0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":1189},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1184":{"this":{"__isSmartRef__":true,"id":824},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1185}},"1185":{"$super":{"__isSmartRef__":true,"id":1186}},"1186":{"varMapping":{"__isSmartRef__":true,"id":1187},"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":1188},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1187":{"obj":{"__isSmartRef__":true,"id":824},"name":"onTouchEnd"},"1188":{},"1189":{"timestamp":{"__isSmartRef__":true,"id":1190},"user":"sstamm","tags":[]},"1190":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (CET)"},"1191":{"varMapping":{"__isSmartRef__":true,"id":1192},"source":"function stayInBounds() {\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta!=0) {\n this.velocity = -delta/15;\n }\n// this.setPosition(pt(0,yPos));\n\n}","funcProperties":{"__isSmartRef__":true,"id":1193},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1192":{"this":{"__isSmartRef__":true,"id":824}},"1193":{"timestamp":{"__isSmartRef__":true,"id":1194},"user":"sstamm","tags":[]},"1194":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (CET)"},"1195":{"varMapping":{"__isSmartRef__":true,"id":1196},"source":"function isInBounds() {\n var heightMenu = this.owner.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":1197},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1196":{"this":{"__isSmartRef__":true,"id":824}},"1197":{"timestamp":{"__isSmartRef__":true,"id":1198},"user":"sstamm","tags":[]},"1198":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (CET)"},"1199":{"position":{"__isSmartRef__":true,"id":1200},"_Extent":{"__isSmartRef__":true,"id":1201},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1202},"_Fill":{"__isSmartRef__":true,"id":1203},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1204},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1205},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1200":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1201":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1202":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1203":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1204":{},"1205":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1206":{"x":7,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1207":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A morph which behaves like an IPad list. Use initialize() to clear and addItem() to ... well ... add items","migrationLevel":4,"partName":"TouchList","changes":[{"__isSmartRef__":true,"id":1208},{"__isSmartRef__":true,"id":1210},{"__isSmartRef__":true,"id":1212},{"__isSmartRef__":true,"id":1214}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1208":{"date":{"__isSmartRef__":true,"id":1209},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"1209":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (CET)"},"1210":{"date":{"__isSmartRef__":true,"id":1211},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"1211":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (CET)"},"1212":{"date":{"__isSmartRef__":true,"id":1213},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"1213":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (CET)"},"1214":{"date":{"__isSmartRef__":true,"id":1215},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"1215":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (CET)"},"1216":{"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"},"1217":{"morph":{"__isSmartRef__":true,"id":823},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1218":{"sourceObj":{"__isSmartRef__":true,"id":823},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":823},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1219":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1220":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"1221":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1222":{"onrestore":{"__isSmartRef__":true,"id":1223},"initialize":{"__isSmartRef__":true,"id":1231},"addItem":{"__isSmartRef__":true,"id":1239},"createListItem":{"__isSmartRef__":true,"id":1243},"touchstartCallback":{"__isSmartRef__":true,"id":861},"touchmoveCallback":{"__isSmartRef__":true,"id":865},"touchendCallback":{"__isSmartRef__":true,"id":869},"updateSelection":{"__isSmartRef__":true,"id":1247},"handleClick":{"__isSmartRef__":true,"id":1251},"initializeListEntries":{"__isSmartRef__":true,"id":1255}},"1223":{"varMapping":{"__isSmartRef__":true,"id":1224},"source":"function onrestore() {\n var that = this;\n\n //TODO: this is a race condition, because the render context is not\n // ready in onrestore\n window.setTimeout(function() { \n that.shape.setClipMode(\"hidden\"); }, 100);\n}","funcProperties":{"__isSmartRef__":true,"id":1229},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1224":{"this":{"__isSmartRef__":true,"id":823},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1225}},"1225":{"$super":{"__isSmartRef__":true,"id":1226}},"1226":{"varMapping":{"__isSmartRef__":true,"id":1227},"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":1228},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1227":{"obj":{"__isSmartRef__":true,"id":823},"name":"onrestore"},"1228":{},"1229":{"timestamp":{"__isSmartRef__":true,"id":1230},"user":"sstamm","tags":[]},"1230":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (CET)"},"1231":{"varMapping":{"__isSmartRef__":true,"id":1232},"source":"function initialize() {\n console.log(\"in initialize\");\n this.itemList = [];\n this.selection = null;\n this.selectedLineNo = -1;\n this.selectedMorph = null;\n this.shape.setClipMode(\"hidden\");\n var itemContainer = this.get(\"ListItemContainer\");\n \n itemContainer.setPosition(pt(0,0));\n itemContainer.submorphs.invoke(\"remove\");\n \n}","funcProperties":{"__isSmartRef__":true,"id":1237},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1232":{"this":{"__isSmartRef__":true,"id":823},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1233}},"1233":{"$super":{"__isSmartRef__":true,"id":1234}},"1234":{"varMapping":{"__isSmartRef__":true,"id":1235},"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":1236},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1235":{"obj":{"__isSmartRef__":true,"id":823},"name":"initialize"},"1236":{},"1237":{"timestamp":{"__isSmartRef__":true,"id":1238},"user":"sstamm","tags":[]},"1238":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (CET)"},"1239":{"varMapping":{"__isSmartRef__":true,"id":1240},"source":"function addItem(text) {\n var newMorph = this.createListItem(text);\n \n newMorph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(newMorph);\n this.get(\"ListItemContainer\").addMorph(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":1241},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1240":{"this":{"__isSmartRef__":true,"id":823}},"1241":{"timestamp":{"__isSmartRef__":true,"id":1242},"user":"sstamm","tags":[]},"1242":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (CET)"},"1243":{"varMapping":{"__isSmartRef__":true,"id":1244},"source":"function createListItem(textString) {\n var part = lively.PartsBin.getPart(\"Rectangle\", \"PartsBin/Basic\");\n\n part.index = this.itemList.length;\n\n part.setExtent(pt(this.getExtent().x,44));\n part.applyStyle({resizeWidth: true});\n part.setFill(new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n ));\n part.setBorderColor(Color.rgb(138,138,138));\n \n\n\n part.onTouchStart = this.touchstartCallback;\n part.onTouchMove = this.touchmoveCallback;\n part.onTouchEnd = this.touchendCallback;\n\n part.registerForEvent(\"touchstart\", part, \"onTouchStart\", false);\n part.registerForEvent(\"touchmove\", part, \"onTouchMove\", false);\n part.registerForEvent(\"touchend\", part, \"onTouchEnd\", false);\n\n var text = lively.PartsBin.getPart(\"Text\", \"PartsBin/Basic\");\n text.setFontSize(14);\n text.setTextColor(Color.rgb(47,47,47));\n text.setFontFamily(\"Helvetica, Arial, sans-serif\");\n\n text.setPosition(pt(10,10));\n text.textString = textString;\n\n text.emphasizeAll({fontWeight: 'bold'});\n text.disableHalos();\n part.addMorph(text);\n\n return part;\n}","funcProperties":{"__isSmartRef__":true,"id":1245},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1244":{"this":{"__isSmartRef__":true,"id":823}},"1245":{"timestamp":{"__isSmartRef__":true,"id":1246},"user":"sstamm","tags":[]},"1246":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (CET)"},"1247":{"varMapping":{"__isSmartRef__":true,"id":1248},"source":"function updateSelection(newSelectedMorph) {\n var hasText = true;\n if(this.selectedMorph) {\n hasText = this.selectedMorph.submorphs[0];\n this.selectedMorph.setFill(\n new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n )\n );\n if(hasText) { this.selectedMorph.submorphs[0].setTextColor(Color.rgb(47,47,47));\n }\n }\n hasText = newSelectedMorph.submorphs[0];\n\n \n if(hasText) {\n this.selection = newSelectedMorph.submorphs[0].textString;\n } else {\n this.selection = \"\";\n }\n this.selectedLineNo = newSelectedMorph.index;\n this.selectedMorph = newSelectedMorph;\n \n this.selectedMorph.setFill(\nnew lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(47,47,47)},\n {offset:0.5,color: Color.rgb(21,21,21)},\n {offset: 1, color: Color.rgb(0,0,0)}\n ],\n 'northSouth'\n ));\n \n if(hasText) {\n this.selectedMorph.submorphs[0].setTextColor(Color.rgb(222,222,222));\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1249},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1248":{"this":{"__isSmartRef__":true,"id":823}},"1249":{"timestamp":{"__isSmartRef__":true,"id":1250},"user":"sstamm","tags":[]},"1250":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (CET)"},"1251":{"varMapping":{"__isSmartRef__":true,"id":1252},"source":"function handleClick() {\n switch(this.selection){\n case \"PartsBin\":\n $world.openPartsBin();\n $world.hideMockMenu();\n break;\n case \"Parts\":\n this.owner.showList(this.selection);\n break;\n case \"Ellipse\":\n case \"Image\":\n case \"Line\":\n case \"Rectangle\":\n case \"Text\":\n $world.openPartItem(this.selection, \"PartsBin/Basic\");\n $world.hideMockMenu();\n break;\n case \"Button\":\n case \"List\":\n case \"ScriptableButton\":\n case \"Slider\":\n $world.openPartItem(this.selection, \"PartsBin/Inputs\");\n $world.hideMockMenu();\n break;\n case \"Tools\":\n this.owner.showList(this.selection);\n break;\n case \"Workspace\":\n $world.openWorkspace();\n $world.hideMockMenu();\n break;\n case \"System Code Browser\":\n $world.openSystemBrowser();\n $world.hideMockMenu();\n break;\n case \"Object Editor\":\n $world.openObjectEditor();\n $world.hideMockMenu();\n break;\n case \"Method Finder\":\n $world.openMethodFinder();\n $world.hideMockMenu();\n break;\n case \"Text Editor\":\n new lively.morphic.TextEditor().openIn(world)\n $world.hideMockMenu();\n break;\n case \"Preferences\":\n this.owner.showList(this.selection);\n break;\n case \"set username\":\n $world.askForUserName();\n $world.hideMockMenu();\n break;\n case \"set extent\":\n $world.askForNewWorldExtent();\n $world.hideMockMenu();\n break;\n case \"disable part caching\":\n $world.hideMockMenu();\n break;\n case \"Debugging\":\n this.owner.showList(this.selection);\n break;\n case \"reset world scale\":\n $world.resetScale();\n $world.hideMockMenu();\n break;\n case \"reset title bars\":\n $world.resetAllTitleBars();\n $world.hideMockMenu();\n break;\n case \"reset button labels\":\n $world.resetAllButtonLabels();\n $world.hideMockMenu();\n break;\n case \"World serialization info\":\n require('lively.persistence.Debugging').toRun(\n function() {\n var json = lively.persistence.Serializer.serialize(world),\n printer = lively.persistence.Debugging.Helper.listObjects(json);\n world.addTextWindow(printer.toString());\n }\n );\n $world.hideMockMenu();\n break;\n case \"clear part cache\":\n $world.hideMockMenu();\n break;\n case \"show connectors\":\n $world.hideMockMenu();\n break;\n case \"Wiki\":\n this.owner.showList(this.selection);\n break;\n case \"about this wiki\":\n $world.openAboutBox();\n $world.hideMockMenu();\n break;\n case \"view versions of this world\":\n $world.openVersionViewer();\n $world.hideMockMenu();\n break;\n case \"download world\":\n require('lively.persistence.StandAlonePackaging').toRun(\n function() {\n lively.persistence.StandAlonePackaging.packageCurrentWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"upload world to Dropbox\":\n require('apps.Dropbox').toRun(\n function() {\n DropboxAPI.uploadArchivedWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"delete world\":\n $world.interactiveDeleteWorldOnServer();\n $world.hideMockMenu();\n break;\n case \"Documentation\":\n this.owner.showList(this.selection);\n break;\n case \"on short cuts\":\n $world.openShortcutDocumentation();\n $world.hideMockMenu();\n break;\n case \"on connect data bindings\":\n $world.openConnectDocumentation();\n $world.hideMockMenu();\n break;\n case \"on Lively's PartsBin\":\n $world.openPartsBinDocumentation();\n $world.hideMockMenu();\n break;\n case \"more...\":\n window.open(Config.rootPath + 'documentation/');\n $world.hideMockMenu();\n break;\n case \"save world as ...\":\n $world.interactiveSaveWorldAs();\n $world.hideMockMenu();\n break;\n case \"save world\":\n $world.saveWorld();\n $world.hideMockMenu();\n break;\n default:\n //Do nothing\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1253},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1252":{"this":{"__isSmartRef__":true,"id":823}},"1253":{"timestamp":{"__isSmartRef__":true,"id":1254},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"1254":{"isSerializedDate":true,"string":"Tue Jan 31 2012 13:26:04 GMT+0100 (CET)"},"1255":{"varMapping":{"__isSmartRef__":true,"id":1256},"source":"function initializeListEntries() {\n this.initialize();\n list = [\"Ellipse\",\"Image\",\"Line\",\"Rectangle\",\"Text\",\n \"Button\",\"List\",\"ScriptableButton\",\"Slider\"];\n for (var i = 0; i < list.length; i++) {\n this.addItem(list[i]);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1257},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1256":{"this":{"__isSmartRef__":true,"id":823}},"1257":{"timestamp":{"__isSmartRef__":true,"id":1258},"user":"conradcalmez","tags":[]},"1258":{"isSerializedDate":true,"string":"Tue Jan 31 2012 11:56:41 GMT+0100 (CET)"},"1259":{"onTouchStart":{"__isSmartRef__":true,"id":1260},"onTouchMove":{"__isSmartRef__":true,"id":1268},"onTouchEnd":{"__isSmartRef__":true,"id":1272},"stayInBounds":{"__isSmartRef__":true,"id":1280},"isInBounds":{"__isSmartRef__":true,"id":1284},"removeAllMenuItems":{"__isSmartRef__":true,"id":1288},"addItemMorph":{"__isSmartRef__":true,"id":1292}},"1260":{"varMapping":{"__isSmartRef__":true,"id":1261},"source":"function onTouchStart(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n\n if(touch) {\n touch.originalDragOffset = touch.clientY;\n touch.originalMenuOffset = this.getPosition().y;\n\n this.isTouched = true;\n this.velocity = 0;\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = new Date().valueOf();\n }\n return true;\n\n \n}","funcProperties":{"__isSmartRef__":true,"id":1266},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1261":{"this":{"__isSmartRef__":true,"id":770},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1262}},"1262":{"$super":{"__isSmartRef__":true,"id":1263}},"1263":{"varMapping":{"__isSmartRef__":true,"id":1264},"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":1265},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1264":{"obj":{"__isSmartRef__":true,"id":770},"name":"onTouchStart"},"1265":{},"1266":{"timestamp":{"__isSmartRef__":true,"id":1267},"user":"sstamm","tags":[]},"1267":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (CET)"},"1268":{"varMapping":{"__isSmartRef__":true,"id":1269},"source":"function onTouchMove(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n \n if(touch && touch.originalDragOffset) {\n //TODO: Store this attributes in the object to save computation time\n var heightMenu = this.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu-heightContainer;\n\n var x = this.getPosition().x;\n\n var delta = touch.clientY - touch.originalDragOffset;\n this.setPosition(pt(x,touch.originalMenuOffset+delta));\n\n if(!this.isInBounds()) {\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n delta = this.getPosition().y-yPos;\n this.moveBy(pt(0,-delta/2));\n }\n\n var positionDelta = touch.lastTouch-touch.clientY;\n var now = new Date().valueOf();\n var timeDelta = now - touch.lastUpdate;\n\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = now;\n\n this.velocity = positionDelta*(-10/timeDelta);\n \n\n }\n return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":1270},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1269":{"this":{"__isSmartRef__":true,"id":770}},"1270":{"timestamp":{"__isSmartRef__":true,"id":1271},"user":"sstamm","tags":[]},"1271":{"isSerializedDate":true,"string":"Fri Mar 02 2012 14:08:15 GMT+0100 (CET)"},"1272":{"varMapping":{"__isSmartRef__":true,"id":1273},"source":"function onTouchEnd(evt) {\n $world.get(\"TouchList\").submorphs[0];\n var lastUpdate = new Date().valueOf();\n this.isTouched = false;\n var that = this;\n\n var flickingFct = function() {\n var now = new Date().valueOf();\n var delta = now - lastUpdate;\n var velo;\n that.velocity *= Math.pow(0.99, delta);\n \n that.moveBy(pt(0,that.velocity));\n that.stayInBounds();\n velo = that.velocity;\n \n lastUpdate = now;\n if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":1278},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1273":{"this":{"__isSmartRef__":true,"id":770},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1274}},"1274":{"$super":{"__isSmartRef__":true,"id":1275}},"1275":{"varMapping":{"__isSmartRef__":true,"id":1276},"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":1277},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1276":{"obj":{"__isSmartRef__":true,"id":770},"name":"onTouchEnd"},"1277":{},"1278":{"timestamp":{"__isSmartRef__":true,"id":1279},"user":"sstamm","tags":[]},"1279":{"isSerializedDate":true,"string":"Fri Mar 02 2012 14:10:41 GMT+0100 (CET)"},"1280":{"varMapping":{"__isSmartRef__":true,"id":1281},"source":"function stayInBounds() {\n var heightMenu = this.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta!=0) {\n this.velocity = -delta/15;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1282},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1281":{"this":{"__isSmartRef__":true,"id":770}},"1282":{"timestamp":{"__isSmartRef__":true,"id":1283},"user":"sstamm","tags":[]},"1283":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:01:17 GMT+0100 (CET)"},"1284":{"varMapping":{"__isSmartRef__":true,"id":1285},"source":"function isInBounds() {\n var heightMenu = this.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":1286},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1285":{"this":{"__isSmartRef__":true,"id":770}},"1286":{"timestamp":{"__isSmartRef__":true,"id":1287},"user":"sstamm","tags":[]},"1287":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:00:09 GMT+0100 (CET)"},"1288":{"varMapping":{"__isSmartRef__":true,"id":1289},"source":"function removeAllMenuItems() {\n this.itemList = [];\n this.setPosition(pt(0,0));\n this.submorphs.invoke(\"remove\");\n}","funcProperties":{"__isSmartRef__":true,"id":1290},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1289":{"this":{"__isSmartRef__":true,"id":770}},"1290":{"timestamp":{"__isSmartRef__":true,"id":1291},"user":"sstamm","tags":[]},"1291":{"isSerializedDate":true,"string":"Fri Mar 02 2012 11:53:17 GMT+0100 (CET)"},"1292":{"varMapping":{"__isSmartRef__":true,"id":1293},"source":"function addItemMorph(morph) {\n morph.disableDropping();\n this.itemList = this.itemList || [];\n morph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(morph);\n this.addMorph(morph);\n}","funcProperties":{"__isSmartRef__":true,"id":1294},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1293":{"this":{"__isSmartRef__":true,"id":770}},"1294":{"timestamp":{"__isSmartRef__":true,"id":1295},"user":"sstamm","tags":[]},"1295":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:41:29 GMT+0100 (CET)"},"1296":{"position":{"__isSmartRef__":true,"id":1297},"_Extent":{"__isSmartRef__":true,"id":1298},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1299},"_Fill":{"__isSmartRef__":true,"id":1300},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1301},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1302},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1297":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1298":{"x":100,"y":397,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1299":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1300":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1301":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1302":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1303":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1304":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":1305}],"revisionOnLoad":140998,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1305":{"date":{"__isSmartRef__":true,"id":1306},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"1306":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"1307":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1308":{"morph":{"__isSmartRef__":true,"id":769},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1309":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1310}},"1310":{"test01IsMorph":{"__isSmartRef__":true,"id":1311}},"1311":{"varMapping":{"__isSmartRef__":true,"id":1312},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1313},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1312":{"this":{"__isSmartRef__":true,"id":1309}},"1313":{},"1314":{"adjustForNewBounds":true,"resizeWidth":false,"resizeHeight":true},"1315":{"x":100,"y":397,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1316":{"position":{"__isSmartRef__":true,"id":1317},"_Extent":{"__isSmartRef__":true,"id":1318},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1319},"_Fill":{"__isSmartRef__":true,"id":1320},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1321},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1322},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1317":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1318":{"x":931,"y":397,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1319":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1320":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1321":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1322":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1323":{"x":-174.5,"y":84,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1324":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A morph which behaves like an IPad list. Use initialize() to clear and addItem() to ... well ... add items","migrationLevel":4,"partName":"TouchList","changes":[{"__isSmartRef__":true,"id":1325},{"__isSmartRef__":true,"id":1327},{"__isSmartRef__":true,"id":1329},{"__isSmartRef__":true,"id":1331}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1325":{"date":{"__isSmartRef__":true,"id":1326},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"1326":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (CET)"},"1327":{"date":{"__isSmartRef__":true,"id":1328},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"1328":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (CET)"},"1329":{"date":{"__isSmartRef__":true,"id":1330},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"1330":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (CET)"},"1331":{"date":{"__isSmartRef__":true,"id":1332},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"1332":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (CET)"},"1333":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1334":{"morph":{"__isSmartRef__":true,"id":768},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1335":{"sourceObj":{"__isSmartRef__":true,"id":768},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":768},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1336":{"sourceObj":{"__isSmartRef__":true,"id":768},"sourceAttrName":"title","targetObj":{"__isSmartRef__":true,"id":1337},"targetMethodName":"textString","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1337":{"submorphs":[],"scripts":[],"id":"D3B3476A-2E08-4014-93C0-DC4FF638683E","shape":{"__isSmartRef__":true,"id":1338},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1344},"_MaxTextWidth":187,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1341},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"MenuPosition","partsBinMetaInfo":{"__isSmartRef__":true,"id":1345},"textChunks":[{"__isSmartRef__":true,"id":1346}],"charsReplaced":"s","lastFindLoc":6,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1348},"renderContextTable":{"__isSmartRef__":true,"id":1349},"eventHandler":{"__isSmartRef__":true,"id":1350},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1351},"_ClipMode":"visible","derivationIds":[355,"22ECB8AE-0B8B-48BE-B3F3-49A4E466081E","3BE478F2-0096-46B5-86B2-6E684B964099","33197E27-2287-4038-ADB6-8821407CA6BB","5C8F4C86-D4D2-434E-A10B-935F98CB2048","65CB19B8-1C21-4964-BE75-112332487E61","A818083A-17F7-468B-80DE-E52DBE4B9739","AE3F7F20-1847-4DB2-B69F-F98A6E3F5B52","2DAD8790-4DA3-43AD-96BD-2C9446C6307E","3578245B-D8E8-430D-8222-FC95BF5A320E","5CEFD686-A401-42A9-9B18-AF536AF6AC31","8DB3E8AD-339C-4FCE-BADE-8EA3929B88D6","3B9E57D4-B753-47E1-9887-6B4709C71CB5","002EECC7-F9ED-4055-BD71-209AE18F76DE","61149D09-440D-4F62-B80A-F248D258826C","B3DA19B7-D650-484E-B624-F4F1F536EF82"],"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":1352},"_MinTextWidth":187,"_MinTextHeight":null,"_TextColor":{"__isSmartRef__":true,"id":4385},"distanceToDragEvent":{"__isSmartRef__":true,"id":4386},"previousSelection":[6,6],"_Align":"left","eventsAreIgnored":true,"_Visible":true,"isCopyMorphRef":true,"morphRefId":1,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1338":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1339},"_Extent":{"__isSmartRef__":true,"id":1340},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1341},"renderContextTable":{"__isSmartRef__":true,"id":1342},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1343},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1339":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1340":{"x":187,"y":92,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1341":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1342":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1343":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1344":{"x":107,"y":9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1345":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1346":{"style":{"__isSmartRef__":true,"id":1347},"chunkOwner":{"__isSmartRef__":true,"id":1337},"storedString":"another very long sentence, with a question mark, too, so you can remember","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1347":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1348":{"x":187,"y":92,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1349":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1350":{"morph":{"__isSmartRef__":true,"id":1337},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1351":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1352":{"submorphs":[{"__isSmartRef__":true,"id":1337}],"scripts":[],"id":"F3CF232C-F7C3-4BB7-98CC-1BFC578D319D","shape":{"__isSmartRef__":true,"id":1353},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1367},"showsHalos":false,"name":"Header","partsBinMetaInfo":{"__isSmartRef__":true,"id":1368},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1369},"eventHandler":{"__isSmartRef__":true,"id":1370},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"ACBC75B3-2117-4599-88DF-98DE3A01B945","9F026C00-2906-4517-84AF-5074606A0111","CCAAB5EF-E2C7-4C26-BC98-8814BBE7816E","2503728C-6E3D-41EC-A9E7-D62F0A101BD3","26D66BEF-833F-492F-91A1-A566527FD073","91ABF2E8-887F-4E30-A51B-9CA909FA0B8F","27B3B527-0488-4989-8A6C-2247B31CF3B9","1BA4D6B6-8FBD-4F8E-BD88-A205A6EBFE4F","19818871-2C05-486B-8CB0-1B8CB8901216","52DC24F1-D515-4A83-8AB4-3A5F96B367D3","3F32BF3A-01F4-473C-823F-D797DB426F2E","DF9E1612-6D05-4B55-821B-AF6F0CB19EB3","5629A044-0874-41F6-993E-344771194369","FA604ECA-4CDA-4882-9EA3-BE2A27FA547A","1EEA3D2C-72BB-4767-B77E-7FCD2B7096BF","5F820F0F-87D3-4CE1-8D45-EC25645EDD07","6B1911FD-1546-4998-BE01-9490F465447B"],"owner":{"__isSmartRef__":true,"id":1371},"priorExtent":{"__isSmartRef__":true,"id":4376},"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":4377},"prevScroll":[0,0],"lastTimeClickedOnIpad":{"__isSmartRef__":true,"id":4378},"layout":{"__isSmartRef__":true,"id":4379},"isLockOwner":false,"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4380},"__LivelyClassName__":"lively.morphic.Box"},"1353":{"position":{"__isSmartRef__":true,"id":1354},"_Extent":{"__isSmartRef__":true,"id":1355},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1356},"_Fill":{"__isSmartRef__":true,"id":1357},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1365},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1366},"_BorderRadius":10.360000000000001,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1354":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1355":{"x":944,"y":35,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1356":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1357":{"stops":[{"__isSmartRef__":true,"id":1358},{"__isSmartRef__":true,"id":1360},{"__isSmartRef__":true,"id":1362}],"vector":{"__isSmartRef__":true,"id":1364},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1358":{"offset":0,"color":{"__isSmartRef__":true,"id":1359}},"1359":{"r":0.30980392156862746,"g":0.3411764705882353,"b":0.40784313725490196,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1360":{"offset":0.5,"color":{"__isSmartRef__":true,"id":1361}},"1361":{"r":0.12941176470588237,"g":0.16862745098039217,"b":0.23529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1362":{"offset":0.51,"color":{"__isSmartRef__":true,"id":1363}},"1363":{"r":0.03529411764705882,"g":0.06274509803921569,"b":0.11372549019607843,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1364":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1365":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1366":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1367":{"x":-180.5,"y":46,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1368":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1369":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1370":{"morph":{"__isSmartRef__":true,"id":1352},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1371":{"submorphs":[{"__isSmartRef__":true,"id":1352},{"__isSmartRef__":true,"id":768}],"scripts":[],"id":"006A3FB2-4107-4E58-A17D-8DD7361EAAF2","shape":{"__isSmartRef__":true,"id":1372},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1380},"showsHalos":false,"name":"FightMenu","partsBinMetaInfo":{"__isSmartRef__":true,"id":1381},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1516},"eventHandler":{"__isSmartRef__":true,"id":1517},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"A76FBC6E-B894-4737-AFE6-2025D367E30A","5484CBBA-3E42-4542-8A5F-9B4E81369181","039B1EA6-D9E2-4FF7-8318-4AF84B6AFDF3","8DA954A4-09B5-4900-89DE-F91A39BD398A","A79CDC87-8485-4BF0-8EAF-8A42A779D1AA","B3E1FD16-D895-4908-A601-424254E67170","7ED86119-18AE-44EC-B5D4-961C93982561","9CF41223-55A4-42CE-85FB-A6D06238A972","AA33BCC7-7C65-421E-A2D4-A3082E606E43","72CEFFA4-1030-4DF0-8B12-F5CBE3144C9A","99DD5984-28D9-4334-A5D1-8FCC0B644F91","B1A0A0AA-C3F5-4D31-B60E-182A24205521","0ACA9E49-26BA-40BD-9AB6-EE603DF7D177","43D49439-3E5F-43C5-9C42-02650D958AE9","19F9429D-13D9-4288-B10E-0981ACE23473","093AAEA1-0E18-4883-B1A4-EF3DE72E8FF7","A06AE4A8-F4B5-4EF3-94DE-4B4F4EC16776"],"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":1518},"prevScroll":[0,0],"lastTimeClickedOnIpad":{"__isSmartRef__":true,"id":1519},"layout":{"__isSmartRef__":true,"id":1520},"isLockOwner":true,"_Visible":true,"lists":{"__isSmartRef__":true,"id":1521},"distanceToDragEvent":{"__isSmartRef__":true,"id":4358},"pinned":false,"moved":true,"headRevision":143376,"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4359},"__LivelyClassName__":"lively.morphic.Box","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"1372":{"position":{"__isSmartRef__":true,"id":1373},"_Extent":{"__isSmartRef__":true,"id":1374},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1375},"_Fill":{"__isSmartRef__":true,"id":1376},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1377},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1378},"_BorderRadius":12.215000000000002,"_Opacity":1,"_BorderStyle":"solid","_Position":{"__isSmartRef__":true,"id":1379},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1373":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1374":{"x":944,"y":434,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1375":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1376":{"r":0.03529411764705882,"g":0.06274509803921569,"b":0.11372549019607843,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1377":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1378":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1379":{"x":-180.5,"y":55,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1380":{"x":236,"y":-21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1381":{"partsSpaceName":"PartsBin/FreedomOfSpeech/","__SourceModuleName__":"Global.lively.PartsBin","comment":"no comment","migrationLevel":4,"partName":"FightMenu","changes":[{"__isSmartRef__":true,"id":1382},{"__isSmartRef__":true,"id":1384},{"__isSmartRef__":true,"id":1386},{"__isSmartRef__":true,"id":1388},{"__isSmartRef__":true,"id":1390},{"__isSmartRef__":true,"id":1392},{"__isSmartRef__":true,"id":1394},{"__isSmartRef__":true,"id":1396},{"__isSmartRef__":true,"id":1398},{"__isSmartRef__":true,"id":1400},{"__isSmartRef__":true,"id":1402},{"__isSmartRef__":true,"id":1404},{"__isSmartRef__":true,"id":1406},{"__isSmartRef__":true,"id":1408},{"__isSmartRef__":true,"id":1410},{"__isSmartRef__":true,"id":1412},{"__isSmartRef__":true,"id":1414},{"__isSmartRef__":true,"id":1416},{"__isSmartRef__":true,"id":1418},{"__isSmartRef__":true,"id":1420},{"__isSmartRef__":true,"id":1422},{"__isSmartRef__":true,"id":1424},{"__isSmartRef__":true,"id":1426},{"__isSmartRef__":true,"id":1428},{"__isSmartRef__":true,"id":1430},{"__isSmartRef__":true,"id":1432},{"__isSmartRef__":true,"id":1434},{"__isSmartRef__":true,"id":1436},{"__isSmartRef__":true,"id":1438},{"__isSmartRef__":true,"id":1440},{"__isSmartRef__":true,"id":1442},{"__isSmartRef__":true,"id":1444},{"__isSmartRef__":true,"id":1446},{"__isSmartRef__":true,"id":1448},{"__isSmartRef__":true,"id":1450},{"__isSmartRef__":true,"id":1452},{"__isSmartRef__":true,"id":1454},{"__isSmartRef__":true,"id":1456},{"__isSmartRef__":true,"id":1458},{"__isSmartRef__":true,"id":1460},{"__isSmartRef__":true,"id":1462},{"__isSmartRef__":true,"id":1464},{"__isSmartRef__":true,"id":1466},{"__isSmartRef__":true,"id":1468},{"__isSmartRef__":true,"id":1470},{"__isSmartRef__":true,"id":1472},{"__isSmartRef__":true,"id":1474},{"__isSmartRef__":true,"id":1476},{"__isSmartRef__":true,"id":1478},{"__isSmartRef__":true,"id":1480},{"__isSmartRef__":true,"id":1482},{"__isSmartRef__":true,"id":1484},{"__isSmartRef__":true,"id":1486},{"__isSmartRef__":true,"id":1488},{"__isSmartRef__":true,"id":1490},{"__isSmartRef__":true,"id":1492},{"__isSmartRef__":true,"id":1494},{"__isSmartRef__":true,"id":1496},{"__isSmartRef__":true,"id":1498},{"__isSmartRef__":true,"id":1500},{"__isSmartRef__":true,"id":1502},{"__isSmartRef__":true,"id":1504},{"__isSmartRef__":true,"id":1506},{"__isSmartRef__":true,"id":1508},{"__isSmartRef__":true,"id":1510},{"__isSmartRef__":true,"id":1512},{"__isSmartRef__":true,"id":1514}],"revisionOnLoad":159504,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1382":{"date":{"__isSmartRef__":true,"id":1383},"author":"sstamm","message":"makes sense","id":"6AC34503-DFE9-4433-A15B-D22C9F0A3E74"},"1383":{"isSerializedDate":true,"string":"Fri Mar 16 2012 14:57:17 GMT+0100 (CET)"},"1384":{"date":{"__isSmartRef__":true,"id":1385},"author":"sstamm","message":"bugfix","id":"D540A228-44D5-419E-A014-652B882C4EEE"},"1385":{"isSerializedDate":true,"string":"Mon Mar 05 2012 16:43:55 GMT+0100 (CET)"},"1386":{"date":{"__isSmartRef__":true,"id":1387},"author":"sstamm","message":"uses CSS transitions to animate sub menu access","id":"60C8E911-E01E-43EF-A345-80E2012BD832"},"1387":{"isSerializedDate":true,"string":"Mon Mar 05 2012 10:44:26 GMT+0100 (CET)"},"1388":{"date":{"__isSmartRef__":true,"id":1389},"author":"bsiegmund","message":"whoopsie","id":"D258ACA7-6A86-4856-ABF2-179327225DCF"},"1389":{"isSerializedDate":true,"string":"Thu Mar 01 2012 14:50:42 GMT+0100 (CET)"},"1390":{"date":{"__isSmartRef__":true,"id":1391},"author":"bsiegmund","message":"using faster list now","id":"F7D13107-E8FC-4D4A-A091-79751F2268B3"},"1391":{"isSerializedDate":true,"string":"Thu Mar 01 2012 14:31:14 GMT+0100 (CET)"},"1392":{"date":{"__isSmartRef__":true,"id":1393},"author":"sstamm","message":"","id":"4F7CC030-24B2-4F51-9BCB-B251C6FF1AA2"},"1393":{"isSerializedDate":true,"string":"Thu Feb 23 2012 16:29:18 GMT+0100 (CET)"},"1394":{"date":{"__isSmartRef__":true,"id":1395},"author":"sstamm","message":"","id":"36E4E28E-802C-46BE-97CB-12173F99E76D"},"1395":{"isSerializedDate":true,"string":"Thu Feb 23 2012 16:25:23 GMT+0100 (CET)"},"1396":{"date":{"__isSmartRef__":true,"id":1397},"author":"sstamm","message":"","id":"B456D301-D6FC-4E4E-A846-485724A62BEB"},"1397":{"isSerializedDate":true,"string":"Wed Feb 22 2012 17:20:54 GMT+0100 (CET)"},"1398":{"date":{"__isSmartRef__":true,"id":1399},"author":"conradcalmez","message":"","id":"A6E16772-7FBD-49E6-9964-7B8450F1106E"},"1399":{"isSerializedDate":true,"string":"Tue Feb 21 2012 12:22:57 GMT+0100 (CET)"},"1400":{"date":{"__isSmartRef__":true,"id":1401},"author":"conradcalmez","message":"changed method invocation from call to apply (needs this.targetMorph to be set)","id":"8DCF73CB-CF10-44C0-BFA8-7717AA176483"},"1401":{"isSerializedDate":true,"string":"Mon Feb 20 2012 13:01:06 GMT+0100 (CET)"},"1402":{"date":{"__isSmartRef__":true,"id":1403},"author":"conradcalmez","message":"set origin to pop over \"nose\"","id":"329961F3-2C7F-4C44-A4A7-81035EA1E614"},"1403":{"isSerializedDate":true,"string":"Tue Feb 07 2012 16:01:37 GMT+0100 (CET)"},"1404":{"date":{"__isSmartRef__":true,"id":1405},"author":"conradcalmez","message":"added setup method to menu morph","id":"3CF652E7-5357-4D3B-8FE6-B153DBF67435"},"1405":{"isSerializedDate":true,"string":"Tue Feb 07 2012 15:46:00 GMT+0100 (CET)"},"1406":{"date":{"__isSmartRef__":true,"id":1407},"author":"conradcalmez","message":"lets try it w/o registering events","id":"0A3D2905-3B19-4207-9310-74A4EFBBE0C9"},"1407":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:30:33 GMT+0100 (CET)"},"1408":{"date":{"__isSmartRef__":true,"id":1409},"author":"conradcalmez","message":"fixed test cases ... ;)","id":"0BE6E5BE-28F1-47B7-9B8A-D4CCEDE700EF"},"1409":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:56:19 GMT+0100 (CET)"},"1410":{"date":{"__isSmartRef__":true,"id":1411},"author":"conradcalmez","message":"added cleanup methods and refactored setup so that it takes a list for initializing the menu list","id":"3B1317E7-8CF6-4726-9841-B073C6223F94"},"1411":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:28:30 GMT+0100 (CET)"},"1412":{"date":{"__isSmartRef__":true,"id":1413},"author":"conradcalmez","message":"removed debug output in TouchList","id":"74DEA054-9267-4622-AC05-D2F63B0F7327"},"1413":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:11:17 GMT+0100 (CET)"},"1414":{"date":{"__isSmartRef__":true,"id":1415},"author":"conradcalmez","message":"refactored so that the menu uses actual world menu entries","id":"51FECE38-542D-4FCE-8227-90896E50DA74"},"1415":{"isSerializedDate":true,"string":"Fri Feb 03 2012 13:29:59 GMT+0100 (CET)"},"1416":{"date":{"__isSmartRef__":true,"id":1417},"author":"conradcalmez","message":"just exchange between worlds","id":"E9721E6D-E28B-4EEF-B190-F3B428EFA7AF"},"1417":{"isSerializedDate":true,"string":"Tue Jan 31 2012 20:57:01 GMT+0100 (CET)"},"1418":{"date":{"__isSmartRef__":true,"id":1419},"author":"athomschke","message":"","id":"EEC630B7-8288-4E1C-A3B0-9CC18BACC8C6"},"1419":{"isSerializedDate":true,"string":"Thu Feb 02 2012 09:59:13 GMT+0100 (CET)"},"1420":{"date":{"__isSmartRef__":true,"id":1421},"author":"conradcalmez","message":"disabled dropping","id":"F84C2DCC-AA8F-4426-8E3A-EF818DCC7A9C"},"1421":{"isSerializedDate":true,"string":"Mon Feb 13 2012 12:31:33 GMT+0100 (CET)"},"1422":{"date":{"__isSmartRef__":true,"id":1423},"author":"conradcalmez","message":"maaaahhhh","id":"5D242D12-C104-4C53-BBA7-E1122A35766D"},"1423":{"isSerializedDate":true,"string":"Thu Feb 16 2012 15:09:11 GMT+0100 (CET)"},"1424":{"date":{"__isSmartRef__":true,"id":1425},"author":"conradcalmez","message":"apply function to morph if a morph is in selection instead of targetMorph","id":"46C194CF-5E98-478C-B7BC-31962C47EC05"},"1425":{"isSerializedDate":true,"string":"Mon Feb 20 2012 14:33:39 GMT+0100 (CET)"},"1426":{"date":{"__isSmartRef__":true,"id":1427},"author":"conradcalmez","message":"","id":"6F9BA15B-53E6-4CFE-BEFF-DF3B28DEAE84"},"1427":{"isSerializedDate":true,"string":"Mon Feb 20 2012 14:35:48 GMT+0100 (CET)"},"1428":{"date":{"__isSmartRef__":true,"id":1429},"author":"conradcalmez","message":"","id":"CF048586-404E-4DAE-A8BF-08B45C200E2C"},"1429":{"isSerializedDate":true,"string":"Tue Feb 21 2012 14:26:31 GMT+0100 (CET)"},"1430":{"date":{"__isSmartRef__":true,"id":1431},"author":"conradcalmez","message":"","id":"A3C4A892-0A0D-4325-A43B-0860E602221B"},"1431":{"isSerializedDate":true,"string":"Tue Feb 21 2012 14:49:00 GMT+0100 (CET)"},"1432":{"date":{"__isSmartRef__":true,"id":1433},"author":"conradcalmez","message":"","id":"3B42230F-8572-4353-8C69-8B895730ED28"},"1433":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:25:56 GMT+0100 (CET)"},"1434":{"date":{"__isSmartRef__":true,"id":1435},"author":"conradcalmez","message":"","id":"A3F60259-5222-4B3F-948F-1B583C83C425"},"1435":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:30:56 GMT+0100 (CET)"},"1436":{"date":{"__isSmartRef__":true,"id":1437},"author":"conradcalmez","message":"","id":"2EDCD7A8-A735-432A-96B9-1579C1F75D18"},"1437":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:47:57 GMT+0100 (CET)"},"1438":{"date":{"__isSmartRef__":true,"id":1439},"author":"conradcalmez","message":"","id":"A3701A65-D12A-49F3-A5AE-B28DA1045DEE"},"1439":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:50:41 GMT+0100 (CET)"},"1440":{"date":{"__isSmartRef__":true,"id":1441},"author":"conradcalmez","message":"","id":"67FB598B-9428-44C9-B475-ADD465C33C41"},"1441":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:52:51 GMT+0100 (CET)"},"1442":{"date":{"__isSmartRef__":true,"id":1443},"author":"conradcalmez","message":"","id":"E808BDF4-71FB-4BF2-AC02-06203D7A49B5"},"1443":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:53:56 GMT+0100 (CET)"},"1444":{"date":{"__isSmartRef__":true,"id":1445},"author":"conradcalmez","message":"","id":"C1750757-32C4-4D61-8C65-73C33A6762B7"},"1445":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:55:34 GMT+0100 (CET)"},"1446":{"date":{"__isSmartRef__":true,"id":1447},"author":"conradcalmez","message":"","id":"15ACB335-1010-4578-A360-7A15F86EC3FC"},"1447":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:57:47 GMT+0100 (CET)"},"1448":{"date":{"__isSmartRef__":true,"id":1449},"author":"conradcalmez","message":"","id":"80B706EB-023D-4E85-8A0D-62960873BE1C"},"1449":{"isSerializedDate":true,"string":"Tue Feb 21 2012 15:58:19 GMT+0100 (CET)"},"1450":{"date":{"__isSmartRef__":true,"id":1451},"author":"conradcalmez","message":"","id":"08455017-118A-49AE-9FB3-4789675CD01B"},"1451":{"isSerializedDate":true,"string":"Tue Feb 21 2012 16:01:48 GMT+0100 (CET)"},"1452":{"date":{"__isSmartRef__":true,"id":1453},"author":"conradcalmez","message":"","id":"85F46876-CA7B-4FB0-A820-E2F3ED26A0DC"},"1453":{"isSerializedDate":true,"string":"Tue Feb 21 2012 16:05:29 GMT+0100 (CET)"},"1454":{"date":{"__isSmartRef__":true,"id":1455},"author":"conradcalmez","message":"","id":"34A17848-E7F1-43BF-8F94-5E6B7055CA99"},"1455":{"isSerializedDate":true,"string":"Tue Feb 21 2012 16:06:26 GMT+0100 (CET)"},"1456":{"date":{"__isSmartRef__":true,"id":1457},"author":"conradcalmez","message":"","id":"8B096776-8212-447B-8D9B-92118B2D8D98"},"1457":{"isSerializedDate":true,"string":"Tue Feb 21 2012 16:08:41 GMT+0100 (CET)"},"1458":{"date":{"__isSmartRef__":true,"id":1459},"author":"conradcalmez","message":"","id":"89D74A5D-CB75-45DF-971D-90BA8E16B1D6"},"1459":{"isSerializedDate":true,"string":"Tue Feb 21 2012 16:10:12 GMT+0100 (CET)"},"1460":{"date":{"__isSmartRef__":true,"id":1461},"author":"conradcalmez","message":"","id":"9B53FD05-7C71-4D2C-9969-7B7E07A3D4E1"},"1461":{"isSerializedDate":true,"string":"Tue Feb 21 2012 16:11:25 GMT+0100 (CET)"},"1462":{"date":{"__isSmartRef__":true,"id":1463},"author":"conradcalmez","message":"added pin button","id":"1F22A05C-0179-4933-A878-30FEBC5B8DC0"},"1463":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:04:01 GMT+0100 (CET)"},"1464":{"date":{"__isSmartRef__":true,"id":1465},"author":"conradcalmez","message":"added pinning functionality","id":"D174C7F1-158B-4744-867F-FC5171FAE408"},"1465":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:25:54 GMT+0100 (CET)"},"1466":{"date":{"__isSmartRef__":true,"id":1467},"author":"conradcalmez","message":"","id":"1E584269-7648-47BF-AF7F-EECE051ED4A6"},"1467":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:27:55 GMT+0100 (CET)"},"1468":{"date":{"__isSmartRef__":true,"id":1469},"author":"conradcalmez","message":"","id":"DA4BEF18-58E7-49F9-8032-C219A9FA256C"},"1469":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:31:32 GMT+0100 (CET)"},"1470":{"date":{"__isSmartRef__":true,"id":1471},"author":"conradcalmez","message":"","id":"9606D610-A410-4809-B8C3-45CB9BCA3361"},"1471":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:34:49 GMT+0100 (CET)"},"1472":{"date":{"__isSmartRef__":true,"id":1473},"author":"conradcalmez","message":"","id":"98C592AA-919B-4626-A3ED-7B621D777CDA"},"1473":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:36:23 GMT+0100 (CET)"},"1474":{"date":{"__isSmartRef__":true,"id":1475},"author":"conradcalmez","message":"","id":"86C17D0B-3877-4E29-A7A6-C2CB33FD0802"},"1475":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:37:07 GMT+0100 (CET)"},"1476":{"date":{"__isSmartRef__":true,"id":1477},"author":"conradcalmez","message":"pinning adds menu to the targetMorph of the menu","id":"FA29B13A-7FFE-4CC7-A396-41ABFB626978"},"1477":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:41:52 GMT+0100 (CET)"},"1478":{"date":{"__isSmartRef__":true,"id":1479},"author":"conradcalmez","message":"oops a typo has come by","id":"2166ACE7-96B9-4683-AFFD-B0E40E807338"},"1479":{"isSerializedDate":true,"string":"Tue Feb 21 2012 17:43:05 GMT+0100 (CET)"},"1480":{"date":{"__isSmartRef__":true,"id":1481},"author":"conradcalmez","message":"","id":"23A81326-F016-4435-816C-29711652684D"},"1481":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:15:15 GMT+0100 (CET)"},"1482":{"date":{"__isSmartRef__":true,"id":1483},"author":"conradcalmez","message":"","id":"FDFD3D57-4401-4603-BF1C-E0A3AFE0F7D9"},"1483":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:17:01 GMT+0100 (CET)"},"1484":{"date":{"__isSmartRef__":true,"id":1485},"author":"conradcalmez","message":"","id":"BC4C2269-9441-4876-B96E-280821720496"},"1485":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:18:29 GMT+0100 (CET)"},"1486":{"date":{"__isSmartRef__":true,"id":1487},"author":"conradcalmez","message":"","id":"953187D9-20B4-441E-BA46-F8D9E309BEE7"},"1487":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:19:48 GMT+0100 (CET)"},"1488":{"date":{"__isSmartRef__":true,"id":1489},"author":"conradcalmez","message":"","id":"44010F70-F3B9-4164-AF04-CBF8590B9FC4"},"1489":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:25:35 GMT+0100 (CET)"},"1490":{"date":{"__isSmartRef__":true,"id":1491},"author":"conradcalmez","message":"","id":"4EA34716-6498-46CD-B9F1-EE93E25BC342"},"1491":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:27:28 GMT+0100 (CET)"},"1492":{"date":{"__isSmartRef__":true,"id":1493},"author":"conradcalmez","message":"","id":"2DE30403-782E-4EA1-ACEB-10B16E17331D"},"1493":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:29:34 GMT+0100 (CET)"},"1494":{"date":{"__isSmartRef__":true,"id":1495},"author":"conradcalmez","message":"","id":"5ADFFA36-2DE8-44B1-ADE0-085E4467E6B2"},"1495":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:34:11 GMT+0100 (CET)"},"1496":{"date":{"__isSmartRef__":true,"id":1497},"author":"conradcalmez","message":"","id":"F97D487B-F43A-4164-9CEC-5100A5639514"},"1497":{"isSerializedDate":true,"string":"Tue Feb 21 2012 18:35:36 GMT+0100 (CET)"},"1498":{"date":{"__isSmartRef__":true,"id":1499},"author":"conradcalmez","message":"copy on pinning","id":"161AD73E-BC7A-4F74-970E-6EE8A9591F04"},"1499":{"isSerializedDate":true,"string":"Wed Feb 22 2012 16:11:04 GMT+0100 (CET)"},"1500":{"date":{"__isSmartRef__":true,"id":1501},"author":"sstamm","message":"callback function is now asynchronous","id":"E412D2ED-68A2-4E46-9872-BE2741D22E4B"},"1501":{"isSerializedDate":true,"string":"Thu Feb 23 2012 16:06:13 GMT+0100 (CET)"},"1502":{"date":{"__isSmartRef__":true,"id":1503},"author":"sstamm","message":"callback function is now called asynchronously, to provide immidiate feedback","id":"5CE7BADD-7D07-4D05-8D6C-1F19528A278E"},"1503":{"isSerializedDate":true,"string":"Thu Feb 23 2012 16:16:34 GMT+0100 (CET)"},"1504":{"date":{"__isSmartRef__":true,"id":1505},"author":"sstamm","message":"scale in setup related to world scale","id":"C61FF380-83B5-47A5-9E90-BB4F3B29737E"},"1505":{"isSerializedDate":true,"string":"Thu Mar 01 2012 14:10:34 GMT+0100 (CET)"},"1506":{"date":{"__isSmartRef__":true,"id":1507},"author":"bsiegmund","message":"using faster list now","id":"F59315D3-BB43-405F-BCB5-5EF72FB89E9B"},"1507":{"isSerializedDate":true,"string":"Thu Mar 01 2012 14:39:59 GMT+0100 (CET)"},"1508":{"date":{"__isSmartRef__":true,"id":1509},"author":"bsiegmund","message":"reverted","id":"6CF23553-C451-4309-9CA3-CDDED6FD3FA0"},"1509":{"isSerializedDate":true,"string":"Thu Mar 01 2012 14:54:36 GMT+0100 (CET)"},"1510":{"date":{"__isSmartRef__":true,"id":1511},"author":"markoroeder","message":"changed an access from direct access to a getter","id":"5C60B13C-48A5-4D3E-A609-493D5FFB12ED"},"1511":{"isSerializedDate":true,"string":"Wed Mar 07 2012 11:22:54 GMT+0100 (CET)"},"1512":{"date":{"__isSmartRef__":true,"id":1513},"author":"timfelgentreff","message":"derived from the iPad widget","id":"05A923FE-CBB7-43F2-B320-40894B8D83BC"},"1513":{"isSerializedDate":true,"string":"Fri May 04 2012 23:51:12 GMT+0200 (CEST)"},"1514":{"date":{"__isSmartRef__":true,"id":1515},"author":"timfelgentreff","message":"removing stuff","id":"417B7502-F812-422B-8117-1C2B3C52973D"},"1515":{"isSerializedDate":true,"string":"Fri May 04 2012 23:54:21 GMT+0200 (CEST)"},"1516":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1517":{"morph":{"__isSmartRef__":true,"id":1371},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1518":{"x":944,"y":434,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1519":{"isSerializedDate":true,"string":"Wed Jan 25 2012 12:10:02 GMT+0100 (CET)"},"1520":{"adjustForNewBounds":true},"1521":{"WorldMenu":{"__isSmartRef__":true,"id":768},"Parts":{"__isSmartRef__":true,"id":823},"Tools":{"__isSmartRef__":true,"id":1522},"Preferences":{"__isSmartRef__":true,"id":2294},"Debugging":{"__isSmartRef__":true,"id":2996},"Wiki":{"__isSmartRef__":true,"id":3803},"Documentation":{"__isSmartRef__":true,"id":4098}},"1522":{"submorphs":[{"__isSmartRef__":true,"id":1523}],"scripts":[],"id":"328F78A9-1F33-4E59-832D-6E0958245D6C","shape":{"__isSmartRef__":true,"id":2234},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2241},"showsHalos":false,"name":"TouchList2","partsBinMetaInfo":{"__isSmartRef__":true,"id":2242},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2251},"eventHandler":{"__isSmartRef__":true,"id":2252},"attributeConnections":[{"__isSmartRef__":true,"id":2253}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"derivationIds":[127,"86FF1C90-3CC2-44B9-8DEE-1BC214D734AE","EEA7DF22-C343-4B58-A447-43BB95D5405F","9665449D-F0E4-4BCE-854B-48D19C73214E","8B65C997-34DC-4F70-A1BA-266488F1588C","CBDEE8B9-9E1C-44E5-85E6-6D85E0738D59","34806B09-40D4-4BE7-B17E-FFFFDB7B0928","28D43242-91D8-4B3A-B492-0318381E6334","61D56253-B792-45A0-8593-6E8D9CDFBDF1"],"priorExtent":{"__isSmartRef__":true,"id":2254},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":2255},"itemList":[{"__isSmartRef__":true,"id":1524},{"__isSmartRef__":true,"id":1571},{"__isSmartRef__":true,"id":1606},{"__isSmartRef__":true,"id":1641},{"__isSmartRef__":true,"id":1676}],"_ClipMode":"hidden","selectedMorph":null,"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":2256},"owner":null,"_Visible":false,"_Rotation":0,"_Scale":1,"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2257},"__LivelyClassName__":"lively.morphic.Box"},"1523":{"submorphs":[{"__isSmartRef__":true,"id":1524},{"__isSmartRef__":true,"id":1571},{"__isSmartRef__":true,"id":1606},{"__isSmartRef__":true,"id":1641},{"__isSmartRef__":true,"id":1676}],"scripts":[],"id":"D5218CB2-3CA3-4C76-BB43-2D494F372DAD","shape":{"__isSmartRef__":true,"id":1711},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1718},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":1719},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1720},"eventHandler":{"__isSmartRef__":true,"id":1721},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"70193F55-BD62-471E-90CE-6CF2F345BFF8","C29938AD-3221-4AB2-80BA-EBF64E5C8063","F478A91E-32FA-4527-BA77-81009843E6E7","3C2C2181-A589-45A7-B023-FDED3CDFE499","45EE0951-5C82-4C8D-808E-E69D6E6AFFC8","3AB7DC6F-888B-4351-A241-EA890F85280A","3F3C7499-A964-487B-9603-9EA48E5C7FE3","1BFDFB18-EDF6-4338-BF31-3A2D2327B20A"],"owner":{"__isSmartRef__":true,"id":1522},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":1722},"layout":{"__isSmartRef__":true,"id":1723},"lists":{"__isSmartRef__":true,"id":1724},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2201},"__LivelyClassName__":"lively.morphic.Box"},"1524":{"submorphs":[{"__isSmartRef__":true,"id":1525}],"scripts":[],"id":"86D6AC44-D485-4A8C-8A65-8DEC0134E3BF","shape":{"__isSmartRef__":true,"id":1541},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1552},"showsHalos":false,"name":"Rectangle23","partsBinMetaInfo":{"__isSmartRef__":true,"id":1553},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1554},"eventHandler":{"__isSmartRef__":true,"id":1555},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"5B3BE47D-EEA1-4F7B-9741-7EF837C47DCF","5109BBCC-1A71-4D2B-9C96-8466CFC3E1AF"],"index":0,"priorExtent":{"__isSmartRef__":true,"id":1556},"layout":{"__isSmartRef__":true,"id":1557},"owner":{"__isSmartRef__":true,"id":1523},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1558},"__LivelyClassName__":"lively.morphic.Box"},"1525":{"submorphs":[],"scripts":[],"id":"3FC40CD1-8DE9-4DA2-988D-AE143469DB23","shape":{"__isSmartRef__":true,"id":1526},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1532},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1529},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text25","partsBinMetaInfo":{"__isSmartRef__":true,"id":1533},"textChunks":[{"__isSmartRef__":true,"id":1534}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1536},"renderContextTable":{"__isSmartRef__":true,"id":1537},"eventHandler":{"__isSmartRef__":true,"id":1538},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1539},"_ClipMode":"visible","derivationIds":[355,"227400A1-23FF-45BB-9D29-B56CF0CC5C25","438BEA72-AEF2-4DFB-8F23-96B0FCDA2779"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1540},"owner":{"__isSmartRef__":true,"id":1524},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1526":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1527},"_Extent":{"__isSmartRef__":true,"id":1528},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1529},"renderContextTable":{"__isSmartRef__":true,"id":1530},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1531},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1527":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1528":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1529":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1530":{"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"},"1531":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1532":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1533":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1534":{"style":{"__isSmartRef__":true,"id":1535},"chunkOwner":{"__isSmartRef__":true,"id":1525},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1535":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1536":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1537":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1538":{"morph":{"__isSmartRef__":true,"id":1525},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1539":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1540":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1541":{"position":{"__isSmartRef__":true,"id":1542},"_Extent":{"__isSmartRef__":true,"id":1543},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1544},"_Fill":{"__isSmartRef__":true,"id":1545},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1550},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1551},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1542":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1543":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1544":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1545":{"stops":[{"__isSmartRef__":true,"id":1546},{"__isSmartRef__":true,"id":1548}],"vector":{"__isSmartRef__":true,"id":851},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1546":{"offset":0,"color":{"__isSmartRef__":true,"id":1547}},"1547":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1548":{"offset":1,"color":{"__isSmartRef__":true,"id":1549}},"1549":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1550":{"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"},"1551":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1552":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1553":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1554":{"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"},"1555":{"morph":{"__isSmartRef__":true,"id":1524},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1556":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1557":{"resizeWidth":true},"1558":{"onTouchStart":{"__isSmartRef__":true,"id":1559},"onTouchMove":{"__isSmartRef__":true,"id":1563},"onTouchEnd":{"__isSmartRef__":true,"id":1567}},"1559":{"varMapping":{"__isSmartRef__":true,"id":1560},"source":"function touchstartCallback(evt) {\n var touch = evt.touches[0];\n\n this.clickPosition = pt(touch.clientX,touch.clientY);\n this.lastClickPos = this.clickPosition;\n\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":1561},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1560":{"this":{"__isSmartRef__":true,"id":1522}},"1561":{"timestamp":{"__isSmartRef__":true,"id":1562},"user":"sstamm","tags":[]},"1562":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (CET)"},"1563":{"varMapping":{"__isSmartRef__":true,"id":1564},"source":"function touchmoveCallback(evt) {\n var touch = evt.touches[0];\n \n this.lastClickPos = pt(touch.clientX,touch.clientY);\n\n return false;\n \n}","funcProperties":{"__isSmartRef__":true,"id":1565},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1564":{"this":{"__isSmartRef__":true,"id":1522}},"1565":{"timestamp":{"__isSmartRef__":true,"id":1566},"user":"sstamm","tags":[]},"1566":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (CET)"},"1567":{"varMapping":{"__isSmartRef__":true,"id":1568},"source":"function touchendCallback(evt) {\n var deltaPt = this.lastClickPos.subPt(this.clickPosition);\n var delta = deltaPt.x*deltaPt.x + deltaPt.y*deltaPt.y;\n if(delta<25) {\n //TODO: find a better way to find the related listMorph\n var listMorph = this.owner.owner;\n \n if(listMorph && listMorph.updateSelection) {\n listMorph.updateSelection(this);\n }\n }\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":1569},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1568":{"this":{"__isSmartRef__":true,"id":1522}},"1569":{"timestamp":{"__isSmartRef__":true,"id":1570},"user":"sstamm","tags":[]},"1570":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (CET)"},"1571":{"submorphs":[{"__isSmartRef__":true,"id":1572}],"scripts":[],"id":"32524821-0B95-4BBB-BE07-D16375CEEE4D","shape":{"__isSmartRef__":true,"id":1588},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1599},"showsHalos":false,"name":"Rectangle24","partsBinMetaInfo":{"__isSmartRef__":true,"id":1600},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1601},"eventHandler":{"__isSmartRef__":true,"id":1602},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"0343561B-A7AB-48DA-B201-6FA2AF439A7C","7C0687E5-22BA-4EC5-BA6F-54DBF58C0930"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":1603},"layout":{"__isSmartRef__":true,"id":1604},"owner":{"__isSmartRef__":true,"id":1523},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1605},"__LivelyClassName__":"lively.morphic.Box"},"1572":{"submorphs":[],"scripts":[],"id":"BE4F4F07-F5FD-4E37-88DF-79E1B4544C1A","shape":{"__isSmartRef__":true,"id":1573},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1579},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1576},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text26","partsBinMetaInfo":{"__isSmartRef__":true,"id":1580},"textChunks":[{"__isSmartRef__":true,"id":1581}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1583},"renderContextTable":{"__isSmartRef__":true,"id":1584},"eventHandler":{"__isSmartRef__":true,"id":1585},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1586},"_ClipMode":"visible","derivationIds":[355,"CE285E6A-C918-476E-9844-15CF2420324B","98C423C1-8E48-4284-8A04-DCE9D143ACDB"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1587},"owner":{"__isSmartRef__":true,"id":1571},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1573":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1574},"_Extent":{"__isSmartRef__":true,"id":1575},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1576},"renderContextTable":{"__isSmartRef__":true,"id":1577},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1578},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1574":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1575":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1576":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1577":{"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"},"1578":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1579":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1580":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1581":{"style":{"__isSmartRef__":true,"id":1582},"chunkOwner":{"__isSmartRef__":true,"id":1572},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1582":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1583":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1584":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1585":{"morph":{"__isSmartRef__":true,"id":1572},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1586":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1587":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1588":{"position":{"__isSmartRef__":true,"id":1589},"_Extent":{"__isSmartRef__":true,"id":1590},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1591},"_Fill":{"__isSmartRef__":true,"id":1592},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1597},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1598},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1589":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1590":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1591":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1592":{"stops":[{"__isSmartRef__":true,"id":1593},{"__isSmartRef__":true,"id":1595}],"vector":{"__isSmartRef__":true,"id":851},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1593":{"offset":0,"color":{"__isSmartRef__":true,"id":1594}},"1594":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1595":{"offset":1,"color":{"__isSmartRef__":true,"id":1596}},"1596":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1597":{"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"},"1598":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1599":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1600":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1601":{"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"},"1602":{"morph":{"__isSmartRef__":true,"id":1571},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1603":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1604":{"resizeWidth":true},"1605":{"onTouchStart":{"__isSmartRef__":true,"id":1559},"onTouchMove":{"__isSmartRef__":true,"id":1563},"onTouchEnd":{"__isSmartRef__":true,"id":1567}},"1606":{"submorphs":[{"__isSmartRef__":true,"id":1607}],"scripts":[],"id":"502F9970-AB83-4E82-ABA0-DCE672CB0FE7","shape":{"__isSmartRef__":true,"id":1623},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1634},"showsHalos":false,"name":"Rectangle25","partsBinMetaInfo":{"__isSmartRef__":true,"id":1635},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1636},"eventHandler":{"__isSmartRef__":true,"id":1637},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"BE18A732-94BB-4993-8CF7-A9BAFEDAEEA1","37D50731-16F2-4971-9231-D91F5D20ECCC"],"index":2,"priorExtent":{"__isSmartRef__":true,"id":1638},"layout":{"__isSmartRef__":true,"id":1639},"owner":{"__isSmartRef__":true,"id":1523},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1640},"__LivelyClassName__":"lively.morphic.Box"},"1607":{"submorphs":[],"scripts":[],"id":"DF7A4634-D1C4-4812-990D-19DF603FAAC2","shape":{"__isSmartRef__":true,"id":1608},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1614},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1611},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text27","partsBinMetaInfo":{"__isSmartRef__":true,"id":1615},"textChunks":[{"__isSmartRef__":true,"id":1616}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1618},"renderContextTable":{"__isSmartRef__":true,"id":1619},"eventHandler":{"__isSmartRef__":true,"id":1620},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1621},"_ClipMode":"visible","derivationIds":[355,"2542118F-0717-4378-B067-43E3706547CA","E84BE39E-3CDE-4199-A915-D4ADC5F3B888"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1622},"owner":{"__isSmartRef__":true,"id":1606},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1608":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1609},"_Extent":{"__isSmartRef__":true,"id":1610},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1611},"renderContextTable":{"__isSmartRef__":true,"id":1612},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1613},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1609":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1610":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1611":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1612":{"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"},"1613":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1614":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1615":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1616":{"style":{"__isSmartRef__":true,"id":1617},"chunkOwner":{"__isSmartRef__":true,"id":1607},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1617":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1618":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1619":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1620":{"morph":{"__isSmartRef__":true,"id":1607},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1621":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1622":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1623":{"position":{"__isSmartRef__":true,"id":1624},"_Extent":{"__isSmartRef__":true,"id":1625},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1626},"_Fill":{"__isSmartRef__":true,"id":1627},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1632},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1633},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1624":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1625":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1626":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1627":{"stops":[{"__isSmartRef__":true,"id":1628},{"__isSmartRef__":true,"id":1630}],"vector":{"__isSmartRef__":true,"id":851},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1628":{"offset":0,"color":{"__isSmartRef__":true,"id":1629}},"1629":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1630":{"offset":1,"color":{"__isSmartRef__":true,"id":1631}},"1631":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1632":{"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"},"1633":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1634":{"x":0,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1635":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1636":{"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"},"1637":{"morph":{"__isSmartRef__":true,"id":1606},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1638":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1639":{"resizeWidth":true},"1640":{"onTouchStart":{"__isSmartRef__":true,"id":1559},"onTouchMove":{"__isSmartRef__":true,"id":1563},"onTouchEnd":{"__isSmartRef__":true,"id":1567}},"1641":{"submorphs":[{"__isSmartRef__":true,"id":1642}],"scripts":[],"id":"871A4387-A049-4740-8F3D-47976812B664","shape":{"__isSmartRef__":true,"id":1658},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1669},"showsHalos":false,"name":"Rectangle26","partsBinMetaInfo":{"__isSmartRef__":true,"id":1670},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1671},"eventHandler":{"__isSmartRef__":true,"id":1672},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"FCFF7273-3FC0-49A9-834F-DFF58B9E3FF6","FEEF1313-EED1-494F-84FE-89FE1D26D72D"],"index":3,"priorExtent":{"__isSmartRef__":true,"id":1673},"layout":{"__isSmartRef__":true,"id":1674},"owner":{"__isSmartRef__":true,"id":1523},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1675},"__LivelyClassName__":"lively.morphic.Box"},"1642":{"submorphs":[],"scripts":[],"id":"C3C96422-865A-472C-ACC5-1D2621B8D0F3","shape":{"__isSmartRef__":true,"id":1643},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1649},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1646},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text28","partsBinMetaInfo":{"__isSmartRef__":true,"id":1650},"textChunks":[{"__isSmartRef__":true,"id":1651}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1653},"renderContextTable":{"__isSmartRef__":true,"id":1654},"eventHandler":{"__isSmartRef__":true,"id":1655},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1656},"_ClipMode":"visible","derivationIds":[355,"0FCDC636-66D9-47E4-9E65-3B78C2FC6B9E","ABA75C06-FCA9-4F44-889F-029F6D20D748"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1657},"owner":{"__isSmartRef__":true,"id":1641},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1643":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1644},"_Extent":{"__isSmartRef__":true,"id":1645},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1646},"renderContextTable":{"__isSmartRef__":true,"id":1647},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1648},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1644":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1645":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1646":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1647":{"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"},"1648":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1649":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1650":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1651":{"style":{"__isSmartRef__":true,"id":1652},"chunkOwner":{"__isSmartRef__":true,"id":1642},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1652":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1653":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1654":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1655":{"morph":{"__isSmartRef__":true,"id":1642},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1656":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1657":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1658":{"position":{"__isSmartRef__":true,"id":1659},"_Extent":{"__isSmartRef__":true,"id":1660},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1661},"_Fill":{"__isSmartRef__":true,"id":1662},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1667},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1668},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1659":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1660":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1661":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1662":{"stops":[{"__isSmartRef__":true,"id":1663},{"__isSmartRef__":true,"id":1665}],"vector":{"__isSmartRef__":true,"id":851},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1663":{"offset":0,"color":{"__isSmartRef__":true,"id":1664}},"1664":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1665":{"offset":1,"color":{"__isSmartRef__":true,"id":1666}},"1666":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1667":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1668":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1669":{"x":0,"y":129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1670":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1671":{"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"},"1672":{"morph":{"__isSmartRef__":true,"id":1641},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1673":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1674":{"resizeWidth":true},"1675":{"onTouchStart":{"__isSmartRef__":true,"id":1559},"onTouchMove":{"__isSmartRef__":true,"id":1563},"onTouchEnd":{"__isSmartRef__":true,"id":1567}},"1676":{"submorphs":[{"__isSmartRef__":true,"id":1677}],"scripts":[],"id":"DBAB88F7-EDFF-48CE-B2FC-11E62D05F011","shape":{"__isSmartRef__":true,"id":1693},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1704},"showsHalos":false,"name":"Rectangle27","partsBinMetaInfo":{"__isSmartRef__":true,"id":1705},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1706},"eventHandler":{"__isSmartRef__":true,"id":1707},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"D7BB4244-7EFE-4A55-8582-4BA9AFAF2D87","8136BACB-CAC3-40CF-BC00-74857C636354"],"index":4,"priorExtent":{"__isSmartRef__":true,"id":1708},"layout":{"__isSmartRef__":true,"id":1709},"owner":{"__isSmartRef__":true,"id":1523},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1710},"__LivelyClassName__":"lively.morphic.Box"},"1677":{"submorphs":[],"scripts":[],"id":"52764EA1-16EB-44B0-9718-2D2AD09BA18E","shape":{"__isSmartRef__":true,"id":1678},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1684},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1681},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text29","partsBinMetaInfo":{"__isSmartRef__":true,"id":1685},"textChunks":[{"__isSmartRef__":true,"id":1686}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1688},"renderContextTable":{"__isSmartRef__":true,"id":1689},"eventHandler":{"__isSmartRef__":true,"id":1690},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1691},"_ClipMode":"visible","derivationIds":[355,"4DC3DC87-FD20-4075-8A52-7F336EDA08AF","49920DDD-AEEA-4250-9342-081F9894010F"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1692},"owner":{"__isSmartRef__":true,"id":1676},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1678":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1679},"_Extent":{"__isSmartRef__":true,"id":1680},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1681},"renderContextTable":{"__isSmartRef__":true,"id":1682},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1683},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1679":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1680":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1681":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"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"},"1683":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1684":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1685":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1686":{"style":{"__isSmartRef__":true,"id":1687},"chunkOwner":{"__isSmartRef__":true,"id":1677},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1687":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1688":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1689":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1690":{"morph":{"__isSmartRef__":true,"id":1677},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1691":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1692":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1693":{"position":{"__isSmartRef__":true,"id":1694},"_Extent":{"__isSmartRef__":true,"id":1695},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1696},"_Fill":{"__isSmartRef__":true,"id":1697},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1702},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1703},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1694":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1695":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1696":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1697":{"stops":[{"__isSmartRef__":true,"id":1698},{"__isSmartRef__":true,"id":1700}],"vector":{"__isSmartRef__":true,"id":851},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1698":{"offset":0,"color":{"__isSmartRef__":true,"id":1699}},"1699":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1700":{"offset":1,"color":{"__isSmartRef__":true,"id":1701}},"1701":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1702":{"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"},"1703":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1704":{"x":0,"y":172,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1705":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1706":{"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"},"1707":{"morph":{"__isSmartRef__":true,"id":1676},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1708":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1709":{"resizeWidth":true},"1710":{"onTouchStart":{"__isSmartRef__":true,"id":1559},"onTouchMove":{"__isSmartRef__":true,"id":1563},"onTouchEnd":{"__isSmartRef__":true,"id":1567}},"1711":{"position":{"__isSmartRef__":true,"id":1712},"_Extent":{"__isSmartRef__":true,"id":1713},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1714},"_Fill":{"__isSmartRef__":true,"id":1715},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1716},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1717},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1712":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1713":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1714":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1715":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1716":{"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"},"1717":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1718":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1719":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1720":{"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"},"1721":{"morph":{"__isSmartRef__":true,"id":1523},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1722":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1723":{"resizeWidth":true,"adjustForNewBounds":true},"1724":{"Parts":{"__isSmartRef__":true,"id":1725}},"1725":{"submorphs":[{"__isSmartRef__":true,"id":1726}],"scripts":[],"id":"B93F122D-B016-4AF4-92C9-4B1A33D0DDC5","shape":{"__isSmartRef__":true,"id":2101},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2108},"showsHalos":false,"name":"TouchList1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2109},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2118},"eventHandler":{"__isSmartRef__":true,"id":2119},"attributeConnections":[{"__isSmartRef__":true,"id":2120}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"derivationIds":[127,"86FF1C90-3CC2-44B9-8DEE-1BC214D734AE","EEA7DF22-C343-4B58-A447-43BB95D5405F","9665449D-F0E4-4BCE-854B-48D19C73214E","8B65C997-34DC-4F70-A1BA-266488F1588C","CBDEE8B9-9E1C-44E5-85E6-6D85E0738D59","34806B09-40D4-4BE7-B17E-FFFFDB7B0928","A96DDB06-4250-4386-905D-8B702E91A05F"],"priorExtent":{"__isSmartRef__":true,"id":2121},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":2122},"itemList":[{"__isSmartRef__":true,"id":1727},{"__isSmartRef__":true,"id":1775},{"__isSmartRef__":true,"id":1810},{"__isSmartRef__":true,"id":1845},{"__isSmartRef__":true,"id":1880},{"__isSmartRef__":true,"id":1915},{"__isSmartRef__":true,"id":1950},{"__isSmartRef__":true,"id":1985},{"__isSmartRef__":true,"id":2020}],"_ClipMode":"hidden","selectedMorph":null,"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":2123},"owner":{"__isSmartRef__":true,"id":2124},"_Rotation":0,"_Scale":1,"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2160},"__LivelyClassName__":"lively.morphic.Box"},"1726":{"submorphs":[{"__isSmartRef__":true,"id":1727},{"__isSmartRef__":true,"id":1775},{"__isSmartRef__":true,"id":1810},{"__isSmartRef__":true,"id":1845},{"__isSmartRef__":true,"id":1880},{"__isSmartRef__":true,"id":1915},{"__isSmartRef__":true,"id":1950},{"__isSmartRef__":true,"id":1985},{"__isSmartRef__":true,"id":2020}],"scripts":[],"id":"ED945231-5F92-4EB9-9EE7-1612C0FC1249","shape":{"__isSmartRef__":true,"id":2055},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2062},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":2063},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2064},"eventHandler":{"__isSmartRef__":true,"id":2065},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"70193F55-BD62-471E-90CE-6CF2F345BFF8","C29938AD-3221-4AB2-80BA-EBF64E5C8063","F478A91E-32FA-4527-BA77-81009843E6E7","3C2C2181-A589-45A7-B023-FDED3CDFE499","45EE0951-5C82-4C8D-808E-E69D6E6AFFC8","3AB7DC6F-888B-4351-A241-EA890F85280A","1DB8DDC7-39AB-4B77-BB60-17766F9CFBD1"],"owner":{"__isSmartRef__":true,"id":1725},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":2066},"layout":{"__isSmartRef__":true,"id":2067},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2068},"__LivelyClassName__":"lively.morphic.Box"},"1727":{"submorphs":[{"__isSmartRef__":true,"id":1728}],"scripts":[],"id":"24E50215-5D49-47BB-A7A6-BB3EE2C2E222","shape":{"__isSmartRef__":true,"id":1744},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1756},"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":1757},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1758},"eventHandler":{"__isSmartRef__":true,"id":1759},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"FE6EF7FA-1F27-401C-8A09-0C3585F4CE1F","27C4A9A5-0C3C-4AF4-B30E-4128270B1ADD"],"index":0,"priorExtent":{"__isSmartRef__":true,"id":1760},"layout":{"__isSmartRef__":true,"id":1761},"owner":{"__isSmartRef__":true,"id":1726},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1762},"__LivelyClassName__":"lively.morphic.Box"},"1728":{"submorphs":[],"scripts":[],"id":"9A2AD62A-C9F3-458C-B8E6-CE5E53CA21D8","shape":{"__isSmartRef__":true,"id":1729},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1735},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1732},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":1736},"textChunks":[{"__isSmartRef__":true,"id":1737}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1739},"renderContextTable":{"__isSmartRef__":true,"id":1740},"eventHandler":{"__isSmartRef__":true,"id":1741},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1742},"_ClipMode":"visible","derivationIds":[355,"97CB562D-C68D-4E75-8C5E-E5D0CEA45A40","FB93AF85-38E5-49B2-81AB-E504A1A5E830"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1743},"owner":{"__isSmartRef__":true,"id":1727},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1729":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1730},"_Extent":{"__isSmartRef__":true,"id":1731},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1732},"renderContextTable":{"__isSmartRef__":true,"id":1733},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1734},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1730":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1731":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1732":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1733":{"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"},"1734":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1735":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1736":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1737":{"style":{"__isSmartRef__":true,"id":1738},"chunkOwner":{"__isSmartRef__":true,"id":1728},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1738":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1739":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1740":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1741":{"morph":{"__isSmartRef__":true,"id":1728},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1742":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1743":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1744":{"position":{"__isSmartRef__":true,"id":1745},"_Extent":{"__isSmartRef__":true,"id":1746},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1747},"_Fill":{"__isSmartRef__":true,"id":1748},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1754},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1755},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1745":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1746":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1747":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1748":{"stops":[{"__isSmartRef__":true,"id":1749},{"__isSmartRef__":true,"id":1751}],"vector":{"__isSmartRef__":true,"id":1753},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1749":{"offset":0,"color":{"__isSmartRef__":true,"id":1750}},"1750":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1751":{"offset":1,"color":{"__isSmartRef__":true,"id":1752}},"1752":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1753":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1754":{"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"},"1755":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1756":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1757":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1758":{"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"},"1759":{"morph":{"__isSmartRef__":true,"id":1727},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1760":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1761":{"resizeWidth":true},"1762":{"onTouchStart":{"__isSmartRef__":true,"id":1763},"onTouchMove":{"__isSmartRef__":true,"id":1767},"onTouchEnd":{"__isSmartRef__":true,"id":1771}},"1763":{"varMapping":{"__isSmartRef__":true,"id":1764},"source":"function touchstartCallback(evt) {\n var touch = evt.touches[0];\n\n this.clickPosition = pt(touch.clientX,touch.clientY);\n this.lastClickPos = this.clickPosition;\n\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":1765},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1764":{"this":{"__isSmartRef__":true,"id":1725}},"1765":{"timestamp":{"__isSmartRef__":true,"id":1766},"user":"sstamm","tags":[]},"1766":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (CET)"},"1767":{"varMapping":{"__isSmartRef__":true,"id":1768},"source":"function touchmoveCallback(evt) {\n var touch = evt.touches[0];\n \n this.lastClickPos = pt(touch.clientX,touch.clientY);\n\n return false;\n \n}","funcProperties":{"__isSmartRef__":true,"id":1769},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1768":{"this":{"__isSmartRef__":true,"id":1725}},"1769":{"timestamp":{"__isSmartRef__":true,"id":1770},"user":"sstamm","tags":[]},"1770":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (CET)"},"1771":{"varMapping":{"__isSmartRef__":true,"id":1772},"source":"function touchendCallback(evt) {\n var deltaPt = this.lastClickPos.subPt(this.clickPosition);\n var delta = deltaPt.x*deltaPt.x + deltaPt.y*deltaPt.y;\n if(delta<25) {\n //TODO: find a better way to find the related listMorph\n var listMorph = this.owner.owner;\n \n if(listMorph && listMorph.updateSelection) {\n listMorph.updateSelection(this);\n }\n }\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":1773},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1772":{"this":{"__isSmartRef__":true,"id":1725}},"1773":{"timestamp":{"__isSmartRef__":true,"id":1774},"user":"sstamm","tags":[]},"1774":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (CET)"},"1775":{"submorphs":[{"__isSmartRef__":true,"id":1776}],"scripts":[],"id":"7F86DED1-9952-46AC-B7C1-303FD1E79FF1","shape":{"__isSmartRef__":true,"id":1792},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1803},"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1804},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1805},"eventHandler":{"__isSmartRef__":true,"id":1806},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"835F3BC8-D36A-49E4-BFAF-6554B4148F66","F469617C-6F84-4FC6-81C2-A6646611401C"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":1807},"layout":{"__isSmartRef__":true,"id":1808},"owner":{"__isSmartRef__":true,"id":1726},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1809},"__LivelyClassName__":"lively.morphic.Box"},"1776":{"submorphs":[],"scripts":[],"id":"D6AD4A43-30FD-4C23-B873-DBD3417965B1","shape":{"__isSmartRef__":true,"id":1777},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1783},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1780},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1784},"textChunks":[{"__isSmartRef__":true,"id":1785}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1787},"renderContextTable":{"__isSmartRef__":true,"id":1788},"eventHandler":{"__isSmartRef__":true,"id":1789},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1790},"_ClipMode":"visible","derivationIds":[355,"E0F8F56D-E4DC-4441-A85E-5428558C130F","5731094C-BBF4-4176-A602-BA3C4079B890"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1791},"owner":{"__isSmartRef__":true,"id":1775},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1777":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1778},"_Extent":{"__isSmartRef__":true,"id":1779},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1780},"renderContextTable":{"__isSmartRef__":true,"id":1781},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1782},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1778":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1779":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1780":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1781":{"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"},"1782":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1783":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1784":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1785":{"style":{"__isSmartRef__":true,"id":1786},"chunkOwner":{"__isSmartRef__":true,"id":1776},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1786":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1787":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1788":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1789":{"morph":{"__isSmartRef__":true,"id":1776},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1790":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1791":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1792":{"position":{"__isSmartRef__":true,"id":1793},"_Extent":{"__isSmartRef__":true,"id":1794},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1795},"_Fill":{"__isSmartRef__":true,"id":1796},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1801},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1802},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1793":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1794":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1795":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1796":{"stops":[{"__isSmartRef__":true,"id":1797},{"__isSmartRef__":true,"id":1799}],"vector":{"__isSmartRef__":true,"id":1753},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1797":{"offset":0,"color":{"__isSmartRef__":true,"id":1798}},"1798":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1799":{"offset":1,"color":{"__isSmartRef__":true,"id":1800}},"1800":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1801":{"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"},"1802":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1803":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1804":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1805":{"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"},"1806":{"morph":{"__isSmartRef__":true,"id":1775},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1807":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1808":{"resizeWidth":true},"1809":{"onTouchStart":{"__isSmartRef__":true,"id":1763},"onTouchMove":{"__isSmartRef__":true,"id":1767},"onTouchEnd":{"__isSmartRef__":true,"id":1771}},"1810":{"submorphs":[{"__isSmartRef__":true,"id":1811}],"scripts":[],"id":"8BCCB5E2-9571-4A48-8FF6-5151898E8779","shape":{"__isSmartRef__":true,"id":1827},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1838},"showsHalos":false,"name":"Rectangle2","partsBinMetaInfo":{"__isSmartRef__":true,"id":1839},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1840},"eventHandler":{"__isSmartRef__":true,"id":1841},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"006661A6-4211-48D6-ABEF-15F43153C2F2","7E813F1E-E127-4B22-B92B-49ABFA4BD168"],"index":2,"priorExtent":{"__isSmartRef__":true,"id":1842},"layout":{"__isSmartRef__":true,"id":1843},"owner":{"__isSmartRef__":true,"id":1726},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1844},"__LivelyClassName__":"lively.morphic.Box"},"1811":{"submorphs":[],"scripts":[],"id":"B36DE922-DC2B-4402-96E0-3AB1D569ECE0","shape":{"__isSmartRef__":true,"id":1812},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1818},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1815},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text2","partsBinMetaInfo":{"__isSmartRef__":true,"id":1819},"textChunks":[{"__isSmartRef__":true,"id":1820}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1822},"renderContextTable":{"__isSmartRef__":true,"id":1823},"eventHandler":{"__isSmartRef__":true,"id":1824},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1825},"_ClipMode":"visible","derivationIds":[355,"88E6F0AC-F183-4785-8583-CADBB7B9F34D","9854C347-679E-49A4-98CF-E5567FE449BA"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1826},"owner":{"__isSmartRef__":true,"id":1810},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1812":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1813},"_Extent":{"__isSmartRef__":true,"id":1814},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1815},"renderContextTable":{"__isSmartRef__":true,"id":1816},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1817},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1813":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1814":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1815":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1816":{"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"},"1817":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1818":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1819":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1820":{"style":{"__isSmartRef__":true,"id":1821},"chunkOwner":{"__isSmartRef__":true,"id":1811},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1821":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1822":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1823":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1824":{"morph":{"__isSmartRef__":true,"id":1811},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1825":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1826":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1827":{"position":{"__isSmartRef__":true,"id":1828},"_Extent":{"__isSmartRef__":true,"id":1829},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1830},"_Fill":{"__isSmartRef__":true,"id":1831},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1836},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1837},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1828":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1829":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1830":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1831":{"stops":[{"__isSmartRef__":true,"id":1832},{"__isSmartRef__":true,"id":1834}],"vector":{"__isSmartRef__":true,"id":1753},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1832":{"offset":0,"color":{"__isSmartRef__":true,"id":1833}},"1833":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1834":{"offset":1,"color":{"__isSmartRef__":true,"id":1835}},"1835":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1836":{"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"},"1837":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1838":{"x":0,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1839":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1840":{"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"},"1841":{"morph":{"__isSmartRef__":true,"id":1810},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1842":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1843":{"resizeWidth":true},"1844":{"onTouchStart":{"__isSmartRef__":true,"id":1763},"onTouchMove":{"__isSmartRef__":true,"id":1767},"onTouchEnd":{"__isSmartRef__":true,"id":1771}},"1845":{"submorphs":[{"__isSmartRef__":true,"id":1846}],"scripts":[],"id":"39B2E2A0-D8A7-4DB7-B021-AAE86780F60E","shape":{"__isSmartRef__":true,"id":1862},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1873},"showsHalos":false,"name":"Rectangle3","partsBinMetaInfo":{"__isSmartRef__":true,"id":1874},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1875},"eventHandler":{"__isSmartRef__":true,"id":1876},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"CE7C3712-8701-4C03-8E3B-5CB3344EB8C8","7598210A-69B5-4120-A438-4AB508482572"],"index":3,"priorExtent":{"__isSmartRef__":true,"id":1877},"layout":{"__isSmartRef__":true,"id":1878},"owner":{"__isSmartRef__":true,"id":1726},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1879},"__LivelyClassName__":"lively.morphic.Box"},"1846":{"submorphs":[],"scripts":[],"id":"61F8C798-53F1-4BE2-B6DE-7591C03C3120","shape":{"__isSmartRef__":true,"id":1847},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1853},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1850},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text3","partsBinMetaInfo":{"__isSmartRef__":true,"id":1854},"textChunks":[{"__isSmartRef__":true,"id":1855}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1857},"renderContextTable":{"__isSmartRef__":true,"id":1858},"eventHandler":{"__isSmartRef__":true,"id":1859},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1860},"_ClipMode":"visible","derivationIds":[355,"DF65E85F-CF63-4D38-B6FB-53EDD47FF17F","A15DAD3C-38C1-418A-8954-77F27DDE77BA"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1861},"owner":{"__isSmartRef__":true,"id":1845},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1847":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1848},"_Extent":{"__isSmartRef__":true,"id":1849},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1850},"renderContextTable":{"__isSmartRef__":true,"id":1851},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1852},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1848":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1849":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1850":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1851":{"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"},"1852":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1853":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1854":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1855":{"style":{"__isSmartRef__":true,"id":1856},"chunkOwner":{"__isSmartRef__":true,"id":1846},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1856":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1857":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1858":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1859":{"morph":{"__isSmartRef__":true,"id":1846},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1860":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1861":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1862":{"position":{"__isSmartRef__":true,"id":1863},"_Extent":{"__isSmartRef__":true,"id":1864},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1865},"_Fill":{"__isSmartRef__":true,"id":1866},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1871},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1872},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1863":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1864":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1865":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1866":{"stops":[{"__isSmartRef__":true,"id":1867},{"__isSmartRef__":true,"id":1869}],"vector":{"__isSmartRef__":true,"id":1753},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1867":{"offset":0,"color":{"__isSmartRef__":true,"id":1868}},"1868":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1869":{"offset":1,"color":{"__isSmartRef__":true,"id":1870}},"1870":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1871":{"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"},"1872":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1873":{"x":0,"y":129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1874":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1875":{"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"},"1876":{"morph":{"__isSmartRef__":true,"id":1845},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1877":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1878":{"resizeWidth":true},"1879":{"onTouchStart":{"__isSmartRef__":true,"id":1763},"onTouchMove":{"__isSmartRef__":true,"id":1767},"onTouchEnd":{"__isSmartRef__":true,"id":1771}},"1880":{"submorphs":[{"__isSmartRef__":true,"id":1881}],"scripts":[],"id":"7D10DDBF-67C3-4470-8CAD-6DB44EC583FD","shape":{"__isSmartRef__":true,"id":1897},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1908},"showsHalos":false,"name":"Rectangle4","partsBinMetaInfo":{"__isSmartRef__":true,"id":1909},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1910},"eventHandler":{"__isSmartRef__":true,"id":1911},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"92F752E8-9991-4E69-82FC-8A505739298E","36935FDF-9046-4666-B31C-E79044FDEE98"],"index":4,"priorExtent":{"__isSmartRef__":true,"id":1912},"layout":{"__isSmartRef__":true,"id":1913},"owner":{"__isSmartRef__":true,"id":1726},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1914},"__LivelyClassName__":"lively.morphic.Box"},"1881":{"submorphs":[],"scripts":[],"id":"85DF3FD2-18C5-40F9-8AE7-FBD159B89FF7","shape":{"__isSmartRef__":true,"id":1882},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1888},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1885},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text4","partsBinMetaInfo":{"__isSmartRef__":true,"id":1889},"textChunks":[{"__isSmartRef__":true,"id":1890}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1892},"renderContextTable":{"__isSmartRef__":true,"id":1893},"eventHandler":{"__isSmartRef__":true,"id":1894},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1895},"_ClipMode":"visible","derivationIds":[355,"C2E55D13-869F-49B5-BFDE-442283D77A9A","22F2AE17-5547-4A16-A121-29178506528C"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1896},"owner":{"__isSmartRef__":true,"id":1880},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1882":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1883},"_Extent":{"__isSmartRef__":true,"id":1884},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1885},"renderContextTable":{"__isSmartRef__":true,"id":1886},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1887},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1883":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1884":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1885":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1886":{"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"},"1887":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1888":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1889":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1890":{"style":{"__isSmartRef__":true,"id":1891},"chunkOwner":{"__isSmartRef__":true,"id":1881},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1891":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1892":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1893":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1894":{"morph":{"__isSmartRef__":true,"id":1881},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1895":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1896":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1897":{"position":{"__isSmartRef__":true,"id":1898},"_Extent":{"__isSmartRef__":true,"id":1899},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1900},"_Fill":{"__isSmartRef__":true,"id":1901},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1906},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1907},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1898":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1899":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1900":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1901":{"stops":[{"__isSmartRef__":true,"id":1902},{"__isSmartRef__":true,"id":1904}],"vector":{"__isSmartRef__":true,"id":1753},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1902":{"offset":0,"color":{"__isSmartRef__":true,"id":1903}},"1903":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1904":{"offset":1,"color":{"__isSmartRef__":true,"id":1905}},"1905":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1906":{"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"},"1907":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1908":{"x":0,"y":172,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1909":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1910":{"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"},"1911":{"morph":{"__isSmartRef__":true,"id":1880},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1912":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1913":{"resizeWidth":true},"1914":{"onTouchStart":{"__isSmartRef__":true,"id":1763},"onTouchMove":{"__isSmartRef__":true,"id":1767},"onTouchEnd":{"__isSmartRef__":true,"id":1771}},"1915":{"submorphs":[{"__isSmartRef__":true,"id":1916}],"scripts":[],"id":"6FF5D970-D596-4B75-85CC-6F4E7E869BA4","shape":{"__isSmartRef__":true,"id":1932},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1943},"showsHalos":false,"name":"Rectangle5","partsBinMetaInfo":{"__isSmartRef__":true,"id":1944},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1945},"eventHandler":{"__isSmartRef__":true,"id":1946},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"7AF04980-152D-46AF-ACA3-DC063EC310D4","7F43F051-7271-4DC0-8084-C50B5E51ECCC"],"index":5,"priorExtent":{"__isSmartRef__":true,"id":1947},"layout":{"__isSmartRef__":true,"id":1948},"owner":{"__isSmartRef__":true,"id":1726},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1949},"__LivelyClassName__":"lively.morphic.Box"},"1916":{"submorphs":[],"scripts":[],"id":"9383151B-3614-4258-8F7A-5657C7F0585F","shape":{"__isSmartRef__":true,"id":1917},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1923},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1920},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text5","partsBinMetaInfo":{"__isSmartRef__":true,"id":1924},"textChunks":[{"__isSmartRef__":true,"id":1925}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1927},"renderContextTable":{"__isSmartRef__":true,"id":1928},"eventHandler":{"__isSmartRef__":true,"id":1929},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1930},"_ClipMode":"visible","derivationIds":[355,"76B5ADFA-B211-41B1-AA34-734C07C5687E","0FC4CA04-9D61-4E58-91DC-4B20C751F7AA"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1931},"owner":{"__isSmartRef__":true,"id":1915},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1917":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1918},"_Extent":{"__isSmartRef__":true,"id":1919},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1920},"renderContextTable":{"__isSmartRef__":true,"id":1921},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1922},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1918":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1919":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1920":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1921":{"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"},"1922":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1923":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1924":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1925":{"style":{"__isSmartRef__":true,"id":1926},"chunkOwner":{"__isSmartRef__":true,"id":1916},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1926":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1927":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1928":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1929":{"morph":{"__isSmartRef__":true,"id":1916},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1930":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1931":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1932":{"position":{"__isSmartRef__":true,"id":1933},"_Extent":{"__isSmartRef__":true,"id":1934},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1935},"_Fill":{"__isSmartRef__":true,"id":1936},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1941},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1942},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1933":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1934":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1935":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1936":{"stops":[{"__isSmartRef__":true,"id":1937},{"__isSmartRef__":true,"id":1939}],"vector":{"__isSmartRef__":true,"id":1753},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1937":{"offset":0,"color":{"__isSmartRef__":true,"id":1938}},"1938":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1939":{"offset":1,"color":{"__isSmartRef__":true,"id":1940}},"1940":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1941":{"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"},"1942":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1943":{"x":0,"y":215,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1944":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1945":{"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"},"1946":{"morph":{"__isSmartRef__":true,"id":1915},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1947":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1948":{"resizeWidth":true},"1949":{"onTouchStart":{"__isSmartRef__":true,"id":1763},"onTouchMove":{"__isSmartRef__":true,"id":1767},"onTouchEnd":{"__isSmartRef__":true,"id":1771}},"1950":{"submorphs":[{"__isSmartRef__":true,"id":1951}],"scripts":[],"id":"4D6597FC-ABE4-4E59-A3CF-611EB5256202","shape":{"__isSmartRef__":true,"id":1967},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1978},"showsHalos":false,"name":"Rectangle6","partsBinMetaInfo":{"__isSmartRef__":true,"id":1979},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1980},"eventHandler":{"__isSmartRef__":true,"id":1981},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"1D70B9CA-F9A2-4EF6-B83A-245FF295A5B3","833874B8-69F2-4C3E-98D8-F51869A60FA2"],"index":6,"priorExtent":{"__isSmartRef__":true,"id":1982},"layout":{"__isSmartRef__":true,"id":1983},"owner":{"__isSmartRef__":true,"id":1726},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1984},"__LivelyClassName__":"lively.morphic.Box"},"1951":{"submorphs":[],"scripts":[],"id":"2101EDDA-05FA-4C8E-9887-8E29ED9EB5B7","shape":{"__isSmartRef__":true,"id":1952},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1958},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1955},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text6","partsBinMetaInfo":{"__isSmartRef__":true,"id":1959},"textChunks":[{"__isSmartRef__":true,"id":1960}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1962},"renderContextTable":{"__isSmartRef__":true,"id":1963},"eventHandler":{"__isSmartRef__":true,"id":1964},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1965},"_ClipMode":"visible","derivationIds":[355,"56DF7BB4-9968-4A6A-9DE0-7AD05DB362A7","7F83A85D-002B-4CE3-9905-6E7156973964"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1966},"owner":{"__isSmartRef__":true,"id":1950},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1952":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1953},"_Extent":{"__isSmartRef__":true,"id":1954},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1955},"renderContextTable":{"__isSmartRef__":true,"id":1956},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1957},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1953":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1954":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1955":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1956":{"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"},"1957":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1958":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1959":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1960":{"style":{"__isSmartRef__":true,"id":1961},"chunkOwner":{"__isSmartRef__":true,"id":1951},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1961":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1962":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1963":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1964":{"morph":{"__isSmartRef__":true,"id":1951},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1965":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1966":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1967":{"position":{"__isSmartRef__":true,"id":1968},"_Extent":{"__isSmartRef__":true,"id":1969},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1970},"_Fill":{"__isSmartRef__":true,"id":1971},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1976},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1977},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1968":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1969":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1970":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1971":{"stops":[{"__isSmartRef__":true,"id":1972},{"__isSmartRef__":true,"id":1974}],"vector":{"__isSmartRef__":true,"id":1753},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1972":{"offset":0,"color":{"__isSmartRef__":true,"id":1973}},"1973":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1974":{"offset":1,"color":{"__isSmartRef__":true,"id":1975}},"1975":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1976":{"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"},"1977":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1978":{"x":0,"y":258,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1979":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1980":{"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"},"1981":{"morph":{"__isSmartRef__":true,"id":1950},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1982":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1983":{"resizeWidth":true},"1984":{"onTouchStart":{"__isSmartRef__":true,"id":1763},"onTouchMove":{"__isSmartRef__":true,"id":1767},"onTouchEnd":{"__isSmartRef__":true,"id":1771}},"1985":{"submorphs":[{"__isSmartRef__":true,"id":1986}],"scripts":[],"id":"E58E6670-BC41-40C7-A6BC-A0407FE95BA2","shape":{"__isSmartRef__":true,"id":2002},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2013},"showsHalos":false,"name":"Rectangle7","partsBinMetaInfo":{"__isSmartRef__":true,"id":2014},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2015},"eventHandler":{"__isSmartRef__":true,"id":2016},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"5461F5D2-20BC-4BBA-9EBC-6C583FF7CB5E","8B72ABA7-C28D-49CA-90F3-DCE8600A0B80"],"index":7,"priorExtent":{"__isSmartRef__":true,"id":2017},"layout":{"__isSmartRef__":true,"id":2018},"owner":{"__isSmartRef__":true,"id":1726},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2019},"__LivelyClassName__":"lively.morphic.Box"},"1986":{"submorphs":[],"scripts":[],"id":"5E8A8CA1-3423-433D-BE81-711FDC7F64DA","shape":{"__isSmartRef__":true,"id":1987},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1993},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1990},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text7","partsBinMetaInfo":{"__isSmartRef__":true,"id":1994},"textChunks":[{"__isSmartRef__":true,"id":1995}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1997},"renderContextTable":{"__isSmartRef__":true,"id":1998},"eventHandler":{"__isSmartRef__":true,"id":1999},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2000},"_ClipMode":"visible","derivationIds":[355,"2CECDAFF-91E7-4156-85A1-79E736BD2E3C","E95C4DC4-7329-4F4E-8091-544F345437B7"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2001},"owner":{"__isSmartRef__":true,"id":1985},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1987":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1988},"_Extent":{"__isSmartRef__":true,"id":1989},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1990},"renderContextTable":{"__isSmartRef__":true,"id":1991},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1992},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1988":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1989":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1990":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1991":{"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"},"1992":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1993":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1994":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1995":{"style":{"__isSmartRef__":true,"id":1996},"chunkOwner":{"__isSmartRef__":true,"id":1986},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1996":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1997":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1998":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1999":{"morph":{"__isSmartRef__":true,"id":1986},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2000":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2001":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2002":{"position":{"__isSmartRef__":true,"id":2003},"_Extent":{"__isSmartRef__":true,"id":2004},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2005},"_Fill":{"__isSmartRef__":true,"id":2006},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2011},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2012},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2003":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2004":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2005":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2006":{"stops":[{"__isSmartRef__":true,"id":2007},{"__isSmartRef__":true,"id":2009}],"vector":{"__isSmartRef__":true,"id":1753},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2007":{"offset":0,"color":{"__isSmartRef__":true,"id":2008}},"2008":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2009":{"offset":1,"color":{"__isSmartRef__":true,"id":2010}},"2010":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2011":{"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"},"2012":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2013":{"x":0,"y":301,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2014":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2015":{"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"},"2016":{"morph":{"__isSmartRef__":true,"id":1985},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2017":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2018":{"resizeWidth":true},"2019":{"onTouchStart":{"__isSmartRef__":true,"id":1763},"onTouchMove":{"__isSmartRef__":true,"id":1767},"onTouchEnd":{"__isSmartRef__":true,"id":1771}},"2020":{"submorphs":[{"__isSmartRef__":true,"id":2021}],"scripts":[],"id":"E51D9334-9A1B-4A38-8D6F-031F0B4F9180","shape":{"__isSmartRef__":true,"id":2037},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2048},"showsHalos":false,"name":"Rectangle8","partsBinMetaInfo":{"__isSmartRef__":true,"id":2049},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2050},"eventHandler":{"__isSmartRef__":true,"id":2051},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"B5A43E89-F4B2-4246-AD8F-42CC79E44CC1","027529C9-3D57-4629-84C2-5D71A73C024D"],"index":8,"priorExtent":{"__isSmartRef__":true,"id":2052},"layout":{"__isSmartRef__":true,"id":2053},"owner":{"__isSmartRef__":true,"id":1726},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2054},"__LivelyClassName__":"lively.morphic.Box"},"2021":{"submorphs":[],"scripts":[],"id":"EA11FD13-57EE-48F8-8017-C2703D6FE322","shape":{"__isSmartRef__":true,"id":2022},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2028},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2025},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text8","partsBinMetaInfo":{"__isSmartRef__":true,"id":2029},"textChunks":[{"__isSmartRef__":true,"id":2030}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2032},"renderContextTable":{"__isSmartRef__":true,"id":2033},"eventHandler":{"__isSmartRef__":true,"id":2034},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2035},"_ClipMode":"visible","derivationIds":[355,"FD82442F-F0AC-49B9-B80A-9053AD062D61","A15D7E6E-A88B-4E24-AEE9-3E7ED020CD95"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2036},"owner":{"__isSmartRef__":true,"id":2020},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2022":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2023},"_Extent":{"__isSmartRef__":true,"id":2024},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2025},"renderContextTable":{"__isSmartRef__":true,"id":2026},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2027},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2023":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2024":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2025":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2026":{"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"},"2027":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2028":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2029":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2030":{"style":{"__isSmartRef__":true,"id":2031},"chunkOwner":{"__isSmartRef__":true,"id":2021},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2031":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2032":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2033":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2034":{"morph":{"__isSmartRef__":true,"id":2021},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2035":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2036":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2037":{"position":{"__isSmartRef__":true,"id":2038},"_Extent":{"__isSmartRef__":true,"id":2039},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2040},"_Fill":{"__isSmartRef__":true,"id":2041},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2046},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2047},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2038":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2039":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2040":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2041":{"stops":[{"__isSmartRef__":true,"id":2042},{"__isSmartRef__":true,"id":2044}],"vector":{"__isSmartRef__":true,"id":1753},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2042":{"offset":0,"color":{"__isSmartRef__":true,"id":2043}},"2043":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2044":{"offset":1,"color":{"__isSmartRef__":true,"id":2045}},"2045":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2046":{"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"},"2047":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2048":{"x":0,"y":344,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2049":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2050":{"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"},"2051":{"morph":{"__isSmartRef__":true,"id":2020},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2052":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2053":{"resizeWidth":true},"2054":{"onTouchStart":{"__isSmartRef__":true,"id":1763},"onTouchMove":{"__isSmartRef__":true,"id":1767},"onTouchEnd":{"__isSmartRef__":true,"id":1771}},"2055":{"position":{"__isSmartRef__":true,"id":2056},"_Extent":{"__isSmartRef__":true,"id":2057},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2058},"_Fill":{"__isSmartRef__":true,"id":2059},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2060},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2061},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2056":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2057":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2058":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2059":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2060":{"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"},"2061":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2062":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2063":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2064":{"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"},"2065":{"morph":{"__isSmartRef__":true,"id":1726},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2066":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2067":{"resizeWidth":true,"adjustForNewBounds":true},"2068":{"onTouchStart":{"__isSmartRef__":true,"id":2069},"onTouchMove":{"__isSmartRef__":true,"id":2077},"onTouchEnd":{"__isSmartRef__":true,"id":2085},"stayInBounds":{"__isSmartRef__":true,"id":2093},"isInBounds":{"__isSmartRef__":true,"id":2097}},"2069":{"varMapping":{"__isSmartRef__":true,"id":2070},"source":"function onTouchStart(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n\n if(touch) {\n touch.originalDragOffset = touch.clientY;\n touch.originalMenuOffset = this.getPosition().y;\n\n this.isTouched = true;\n this.velocity = 0;\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = new Date().valueOf();\n }\n return true;\n\n \n}","funcProperties":{"__isSmartRef__":true,"id":2075},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2070":{"this":{"__isSmartRef__":true,"id":1726},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2071}},"2071":{"$super":{"__isSmartRef__":true,"id":2072}},"2072":{"varMapping":{"__isSmartRef__":true,"id":2073},"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":2074},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2073":{"obj":{"__isSmartRef__":true,"id":1726},"name":"onTouchStart"},"2074":{},"2075":{"timestamp":{"__isSmartRef__":true,"id":2076},"user":"sstamm","tags":[]},"2076":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (CET)"},"2077":{"varMapping":{"__isSmartRef__":true,"id":2078},"source":"function onTouchMove(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n \n if(touch && touch.originalDragOffset) {\n //TODO: Store this attributes in the object to save computation time\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu-heightContainer;\n\n\n var delta = touch.clientY - touch.originalDragOffset;\n this.setPosition(pt(0,touch.originalMenuOffset+delta));\n\n if(!this.isInBounds()) {\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n delta = this.getPosition().y-yPos;\n this.moveBy(pt(0,-delta/2));\n }\n\n var positionDelta = touch.lastTouch-touch.clientY;\n var now = new Date().valueOf();\n var timeDelta = now - touch.lastUpdate;\n\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = now;\n\n this.velocity = positionDelta*(-10/timeDelta);\n \n\n }\n return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":2083},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2078":{"this":{"__isSmartRef__":true,"id":1726},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2079}},"2079":{"$super":{"__isSmartRef__":true,"id":2080}},"2080":{"varMapping":{"__isSmartRef__":true,"id":2081},"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":2082},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2081":{"obj":{"__isSmartRef__":true,"id":1726},"name":"onTouchMove"},"2082":{},"2083":{"timestamp":{"__isSmartRef__":true,"id":2084},"user":"sstamm","tags":[]},"2084":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:54:39 GMT+0100 (CET)"},"2085":{"varMapping":{"__isSmartRef__":true,"id":2086},"source":"function onTouchEnd(evt) {\n $world.get(\"TouchList\").submorphs[0];\n var lastUpdate = new Date().valueOf();\n this.isTouched = false;\n var that = this;\n\n var flickingFct = function() {\n var now = new Date().valueOf();\n var delta = now - lastUpdate;\n var velo;\n that.velocity *= Math.pow(0.99, delta);\n that.moveBy(pt(0,that.velocity));\n that.stayInBounds();\n velo = that.velocity;\n \n lastUpdate = now;\n if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":2091},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2086":{"this":{"__isSmartRef__":true,"id":1726},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2087}},"2087":{"$super":{"__isSmartRef__":true,"id":2088}},"2088":{"varMapping":{"__isSmartRef__":true,"id":2089},"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":2090},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2089":{"obj":{"__isSmartRef__":true,"id":1726},"name":"onTouchEnd"},"2090":{},"2091":{"timestamp":{"__isSmartRef__":true,"id":2092},"user":"sstamm","tags":[]},"2092":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (CET)"},"2093":{"varMapping":{"__isSmartRef__":true,"id":2094},"source":"function stayInBounds() {\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta!=0) {\n this.velocity = -delta/15;\n }\n// this.setPosition(pt(0,yPos));\n\n}","funcProperties":{"__isSmartRef__":true,"id":2095},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2094":{"this":{"__isSmartRef__":true,"id":1726}},"2095":{"timestamp":{"__isSmartRef__":true,"id":2096},"user":"sstamm","tags":[]},"2096":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (CET)"},"2097":{"varMapping":{"__isSmartRef__":true,"id":2098},"source":"function isInBounds() {\n var heightMenu = this.owner.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":2099},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2098":{"this":{"__isSmartRef__":true,"id":1726}},"2099":{"timestamp":{"__isSmartRef__":true,"id":2100},"user":"sstamm","tags":[]},"2100":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (CET)"},"2101":{"position":{"__isSmartRef__":true,"id":2102},"_Extent":{"__isSmartRef__":true,"id":2103},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2104},"_Fill":{"__isSmartRef__":true,"id":2105},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2106},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2107},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2102":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2103":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2104":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2105":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2106":{},"2107":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2108":{"x":1,"y":-42,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2109":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A morph which behaves like an IPad list. Use initialize() to clear and addItem() to ... well ... add items","migrationLevel":4,"partName":"TouchList","changes":[{"__isSmartRef__":true,"id":2110},{"__isSmartRef__":true,"id":2112},{"__isSmartRef__":true,"id":2114},{"__isSmartRef__":true,"id":2116}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2110":{"date":{"__isSmartRef__":true,"id":2111},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"2111":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (CET)"},"2112":{"date":{"__isSmartRef__":true,"id":2113},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"2113":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (CET)"},"2114":{"date":{"__isSmartRef__":true,"id":2115},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"2115":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (CET)"},"2116":{"date":{"__isSmartRef__":true,"id":2117},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"2117":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (CET)"},"2118":{"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"},"2119":{"morph":{"__isSmartRef__":true,"id":1725},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2120":{"sourceObj":{"__isSmartRef__":true,"id":1725},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1725},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2121":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2122":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"2123":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2124":{"submorphs":[{"__isSmartRef__":true,"id":2125},{"__isSmartRef__":true,"id":1725}],"scripts":[],"id":"C727DE20-4AA7-4FDD-B4A9-BC9ED2A62972","shape":{"__isSmartRef__":true,"id":2141},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2153},"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2154},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2155},"eventHandler":{"__isSmartRef__":true,"id":2156},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"835F3BC8-D36A-49E4-BFAF-6554B4148F66"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":2157},"layout":{"__isSmartRef__":true,"id":2158},"owner":null,"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2159},"__LivelyClassName__":"lively.morphic.Box"},"2125":{"submorphs":[],"scripts":[],"id":"F9A264B8-01DF-406D-AA0B-30E5E147A7AD","shape":{"__isSmartRef__":true,"id":2126},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2132},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2129},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2133},"textChunks":[{"__isSmartRef__":true,"id":2134}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2136},"renderContextTable":{"__isSmartRef__":true,"id":2137},"eventHandler":{"__isSmartRef__":true,"id":2138},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2139},"_ClipMode":"visible","derivationIds":[355,"E0F8F56D-E4DC-4441-A85E-5428558C130F"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2140},"owner":{"__isSmartRef__":true,"id":2124},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2126":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2127},"_Extent":{"__isSmartRef__":true,"id":2128},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2129},"renderContextTable":{"__isSmartRef__":true,"id":2130},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2131},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2127":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2128":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2129":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2130":{"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"},"2131":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2132":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2133":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2134":{"style":{"__isSmartRef__":true,"id":2135},"chunkOwner":{"__isSmartRef__":true,"id":2125},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2135":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2136":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2137":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2138":{"morph":{"__isSmartRef__":true,"id":2125},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2139":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2140":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2141":{"position":{"__isSmartRef__":true,"id":2142},"_Extent":{"__isSmartRef__":true,"id":2143},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2144},"_Fill":{"__isSmartRef__":true,"id":2145},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2151},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2152},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2142":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2143":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2144":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2145":{"stops":[{"__isSmartRef__":true,"id":2146},{"__isSmartRef__":true,"id":2148}],"vector":{"__isSmartRef__":true,"id":2150},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2146":{"offset":0,"color":{"__isSmartRef__":true,"id":2147}},"2147":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2148":{"offset":1,"color":{"__isSmartRef__":true,"id":2149}},"2149":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2150":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2151":{"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"},"2152":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2153":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2154":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2155":{"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"},"2156":{"morph":{"__isSmartRef__":true,"id":2124},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2157":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2158":{"resizeWidth":true},"2159":{"onTouchStart":{"__isSmartRef__":true,"id":1559},"onTouchMove":{"__isSmartRef__":true,"id":1563},"onTouchEnd":{"__isSmartRef__":true,"id":1567}},"2160":{"onrestore":{"__isSmartRef__":true,"id":2161},"initialize":{"__isSmartRef__":true,"id":2169},"addItem":{"__isSmartRef__":true,"id":2177},"createListItem":{"__isSmartRef__":true,"id":2181},"touchstartCallback":{"__isSmartRef__":true,"id":1763},"touchmoveCallback":{"__isSmartRef__":true,"id":1767},"touchendCallback":{"__isSmartRef__":true,"id":1771},"updateSelection":{"__isSmartRef__":true,"id":2185},"handleClick":{"__isSmartRef__":true,"id":2189},"openSubmenuWith":{"__isSmartRef__":true,"id":2193},"initializeListEntries":{"__isSmartRef__":true,"id":2197}},"2161":{"varMapping":{"__isSmartRef__":true,"id":2162},"source":"function onrestore() {\n var that = this;\n\n //TODO: this is a race condition, because the render context is not\n // ready in onrestore\n window.setTimeout(function() { \n that.shape.setClipMode(\"hidden\"); }, 100);\n}","funcProperties":{"__isSmartRef__":true,"id":2167},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2162":{"this":{"__isSmartRef__":true,"id":1725},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2163}},"2163":{"$super":{"__isSmartRef__":true,"id":2164}},"2164":{"varMapping":{"__isSmartRef__":true,"id":2165},"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":2166},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2165":{"obj":{"__isSmartRef__":true,"id":1725},"name":"onrestore"},"2166":{},"2167":{"timestamp":{"__isSmartRef__":true,"id":2168},"user":"sstamm","tags":[]},"2168":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (CET)"},"2169":{"varMapping":{"__isSmartRef__":true,"id":2170},"source":"function initialize() {\n console.log(\"in initialize\");\n this.itemList = [];\n this.selection = null;\n this.selectedLineNo = -1;\n this.selectedMorph = null;\n this.shape.setClipMode(\"hidden\");\n var itemContainer = this.get(\"ListItemContainer\");\n \n itemContainer.setPosition(pt(0,0));\n itemContainer.submorphs.invoke(\"remove\");\n \n}","funcProperties":{"__isSmartRef__":true,"id":2175},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2170":{"this":{"__isSmartRef__":true,"id":1725},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2171}},"2171":{"$super":{"__isSmartRef__":true,"id":2172}},"2172":{"varMapping":{"__isSmartRef__":true,"id":2173},"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":2174},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2173":{"obj":{"__isSmartRef__":true,"id":1725},"name":"initialize"},"2174":{},"2175":{"timestamp":{"__isSmartRef__":true,"id":2176},"user":"sstamm","tags":[]},"2176":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (CET)"},"2177":{"varMapping":{"__isSmartRef__":true,"id":2178},"source":"function addItem(text) {\n var newMorph = this.createListItem(text);\n \n newMorph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(newMorph);\n this.get(\"ListItemContainer\").addMorph(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":2179},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2178":{"this":{"__isSmartRef__":true,"id":1725}},"2179":{"timestamp":{"__isSmartRef__":true,"id":2180},"user":"sstamm","tags":[]},"2180":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (CET)"},"2181":{"varMapping":{"__isSmartRef__":true,"id":2182},"source":"function createListItem(textString) {\n var part = lively.PartsBin.getPart(\"Rectangle\", \"PartsBin/Basic\");\n\n part.index = this.itemList.length;\n\n part.setExtent(pt(this.getExtent().x,44));\n part.applyStyle({resizeWidth: true});\n part.setFill(new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n ));\n part.setBorderColor(Color.rgb(138,138,138));\n \n\n\n part.onTouchStart = this.touchstartCallback;\n part.onTouchMove = this.touchmoveCallback;\n part.onTouchEnd = this.touchendCallback;\n\n part.registerForEvent(\"touchstart\", part, \"onTouchStart\", false);\n part.registerForEvent(\"touchmove\", part, \"onTouchMove\", false);\n part.registerForEvent(\"touchend\", part, \"onTouchEnd\", false);\n\n var text = lively.PartsBin.getPart(\"Text\", \"PartsBin/Basic\");\n text.setFontSize(14);\n text.setTextColor(Color.rgb(47,47,47));\n text.setFontFamily(\"Helvetica, Arial, sans-serif\");\n\n text.setPosition(pt(10,10));\n text.textString = textString;\n\n text.emphasizeAll({fontWeight: 'bold'});\n text.disableHalos();\n part.addMorph(text);\n\n return part;\n}","funcProperties":{"__isSmartRef__":true,"id":2183},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2182":{"this":{"__isSmartRef__":true,"id":1725}},"2183":{"timestamp":{"__isSmartRef__":true,"id":2184},"user":"sstamm","tags":[]},"2184":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (CET)"},"2185":{"varMapping":{"__isSmartRef__":true,"id":2186},"source":"function updateSelection(newSelectedMorph) {\n var hasText = true;\n if(this.selectedMorph) {\n hasText = this.selectedMorph.submorphs[0];\n this.selectedMorph.setFill(\n new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n )\n );\n if(hasText) { this.selectedMorph.submorphs[0].setTextColor(Color.rgb(47,47,47));\n }\n }\n hasText = newSelectedMorph.submorphs[0];\n\n \n if(hasText) {\n this.selection = newSelectedMorph.submorphs[0].textString;\n } else {\n this.selection = \"\";\n }\n this.selectedLineNo = newSelectedMorph.index;\n this.selectedMorph = newSelectedMorph;\n \n this.selectedMorph.setFill(\nnew lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(47,47,47)},\n {offset:0.5,color: Color.rgb(21,21,21)},\n {offset: 1, color: Color.rgb(0,0,0)}\n ],\n 'northSouth'\n ));\n \n if(hasText) {\n this.selectedMorph.submorphs[0].setTextColor(Color.rgb(222,222,222));\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2187},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2186":{"this":{"__isSmartRef__":true,"id":1725}},"2187":{"timestamp":{"__isSmartRef__":true,"id":2188},"user":"sstamm","tags":[]},"2188":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (CET)"},"2189":{"varMapping":{"__isSmartRef__":true,"id":2190},"source":"function handleClick() {\n switch(this.selection){\n case \"PartsBin\":\n $world.openPartsBin();\n $world.hideMockMenu();\n break;\n case \"Parts\":\n this.openSubmenuWith(\n [\"Ellipse\",\"Image\",\"Line\",\"Rectangle\",\"Text\",\n \"Button\",\"List\",\"ScriptableButton\",\"Slider\"]\n );\n break;\n case \"Ellipse\":\n case \"Image\":\n case \"Line\":\n case \"Rectangle\":\n case \"Text\":\n $world.openPartItem(this.selection, \"PartsBin/Basic\");\n $world.hideMockMenu();\n break;\n case \"Button\":\n case \"List\":\n case \"ScriptableButton\":\n case \"Slider\":\n $world.openPartItem(this.selection, \"PartsBin/Inputs\");\n $world.hideMockMenu();\n break;\n case \"Tools\":\n this.openSubmenuWith(\n [\"Workspace\",\"System Code Browser\",\"Object Editor\",\n \"Method Finder\",\"Text Editor\"]\n );\n break;\n case \"Workspace\":\n $world.openWorkspace();\n $world.hideMockMenu();\n break;\n case \"System Code Browser\":\n $world.openSystemBrowser();\n $world.hideMockMenu();\n break;\n case \"Object Editor\":\n $world.openObjectEditor();\n $world.hideMockMenu();\n break;\n case \"Method Finder\":\n $world.openMethodFinder();\n $world.hideMockMenu();\n break;\n case \"Text Editor\":\n new lively.morphic.TextEditor().openIn(world)\n $world.hideMockMenu();\n break;\n case \"Preferences\":\n this.openSubmenuWith(\n [\"set username\",\"set extent\",\"disable part caching\"]\n );\n break;\n case \"set username\":\n $world.askForUserName();\n $world.hideMockMenu();\n break;\n case \"set extent\":\n $world.askForNewWorldExtent();\n $world.hideMockMenu();\n break;\n case \"disable part caching\":\n $world.hideMockMenu();\n break;\n case \"Debugging\":\n this.openSubmenuWith(\n [\"reset world scale\",\"reset title bars\",\"reset button labels\",\n \"World serialization info\",\"clear part cache\",\"show connectors\"]\n );\n break;\n case \"reset world scale\":\n $world.resetScale();\n $world.hideMockMenu();\n break;\n case \"reset title bars\":\n $world.resetAllTitleBars();\n $world.hideMockMenu();\n break;\n case \"reset button labels\":\n $world.resetAllButtonLabels();\n $world.hideMockMenu();\n break;\n case \"World serialization info\":\n require('lively.persistence.Debugging').toRun(\n function() {\n var json = lively.persistence.Serializer.serialize(world),\n printer = lively.persistence.Debugging.Helper.listObjects(json);\n world.addTextWindow(printer.toString());\n }\n );\n $world.hideMockMenu();\n break;\n case \"clear part cache\":\n $world.hideMockMenu();\n break;\n case \"show connectors\":\n $world.hideMockMenu();\n break;\n case \"Wiki\":\n this.openSubmenuWith(\n [\"about this wiki\",\"view versions of this world\",\"download world\",\n \"upload world to Dropbox\",\"delete world\"]\n );\n break;\n case \"about this wiki\":\n $world.openAboutBox();\n $world.hideMockMenu();\n break;\n case \"view versions of this world\":\n $world.openVersionViewer();\n $world.hideMockMenu();\n break;\n case \"download world\":\n require('lively.persistence.StandAlonePackaging').toRun(\n function() {\n lively.persistence.StandAlonePackaging.packageCurrentWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"upload world to Dropbox\":\n require('apps.Dropbox').toRun(\n function() {\n DropboxAPI.uploadArchivedWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"delete world\":\n $world.interactiveDeleteWorldOnServer();\n $world.hideMockMenu();\n break;\n case \"Documentation\":\n this.openSubmenuWith(\n [\"on short cuts\",\"on connect data bindings\",\n \"on Lively's PartsBin\",\"more...\"]\n );\n break;\n case \"on short cuts\":\n $world.openShortcutDocumentation();\n $world.hideMockMenu();\n break;\n case \"on connect data bindings\":\n $world.openConnectDocumentation();\n $world.hideMockMenu();\n break;\n case \"on Lively's PartsBin\":\n $world.openPartsBinDocumentation();\n $world.hideMockMenu();\n break;\n case \"more...\":\n window.open(Config.rootPath + 'documentation/');\n $world.hideMockMenu();\n break;\n case \"save world as ...\":\n $world.interactiveSaveWorldAs();\n $world.hideMockMenu();\n break;\n case \"save world\":\n $world.saveWorld();\n $world.hideMockMenu();\n break;\n default:\n //Do nothing\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2191},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2190":{"this":{"__isSmartRef__":true,"id":1725}},"2191":{"timestamp":{"__isSmartRef__":true,"id":2192},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"2192":{"isSerializedDate":true,"string":"Mon Jan 30 2012 19:31:03 GMT+0100 (CET)"},"2193":{"varMapping":{"__isSmartRef__":true,"id":2194},"source":"function openSubmenuWith(list) {\n this.initialize();\n this.owner.get(\"BackButton\").setVisible(true);\n for (var i = 0; i < list.length; i++) {\n this.addItem(list[i]);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2195},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2194":{"this":{"__isSmartRef__":true,"id":1725}},"2195":{"timestamp":{"__isSmartRef__":true,"id":2196},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"2196":{"isSerializedDate":true,"string":"Mon Jan 30 2012 19:31:28 GMT+0100 (CET)"},"2197":{"varMapping":{"__isSmartRef__":true,"id":2198},"source":"function initializeListEntries() {\n this.initialize();\n this.addItem(\"PartsBin\");\n this.addItem(\"Parts\");\n this.addItem(\"Tools\");\n this.addItem(\"Preferences\");\n this.addItem(\"Debugging\");\n this.addItem(\"Wiki\");\n this.addItem(\"Documentation\");\n this.addItem(\"save world as ...\");\n this.addItem(\"save world\");\n this.owner.get(\"BackButton\").setVisible(false);\n}","funcProperties":{"__isSmartRef__":true,"id":2199},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2198":{"this":{"__isSmartRef__":true,"id":1725}},"2199":{"timestamp":{"__isSmartRef__":true,"id":2200},"user":"conradcalmez","tags":[]},"2200":{"isSerializedDate":true,"string":"Tue Jan 31 2012 10:32:29 GMT+0100 (CET)"},"2201":{"onTouchStart":{"__isSmartRef__":true,"id":2202},"onTouchMove":{"__isSmartRef__":true,"id":2210},"onTouchEnd":{"__isSmartRef__":true,"id":2218},"stayInBounds":{"__isSmartRef__":true,"id":2226},"isInBounds":{"__isSmartRef__":true,"id":2230}},"2202":{"varMapping":{"__isSmartRef__":true,"id":2203},"source":"function onTouchStart(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n\n if(touch) {\n touch.originalDragOffset = touch.clientY;\n touch.originalMenuOffset = this.getPosition().y;\n\n this.isTouched = true;\n this.velocity = 0;\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = new Date().valueOf();\n }\n return true;\n\n \n}","funcProperties":{"__isSmartRef__":true,"id":2208},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2203":{"this":{"__isSmartRef__":true,"id":1523},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2204}},"2204":{"$super":{"__isSmartRef__":true,"id":2205}},"2205":{"varMapping":{"__isSmartRef__":true,"id":2206},"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":2207},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2206":{"obj":{"__isSmartRef__":true,"id":1523},"name":"onTouchStart"},"2207":{},"2208":{"timestamp":{"__isSmartRef__":true,"id":2209},"user":"sstamm","tags":[]},"2209":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (CET)"},"2210":{"varMapping":{"__isSmartRef__":true,"id":2211},"source":"function onTouchMove(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n \n if(touch && touch.originalDragOffset) {\n //TODO: Store this attributes in the object to save computation time\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu-heightContainer;\n\n\n var delta = touch.clientY - touch.originalDragOffset;\n this.setPosition(pt(0,touch.originalMenuOffset+delta));\n\n if(!this.isInBounds()) {\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n delta = this.getPosition().y-yPos;\n this.moveBy(pt(0,-delta/2));\n }\n\n var positionDelta = touch.lastTouch-touch.clientY;\n var now = new Date().valueOf();\n var timeDelta = now - touch.lastUpdate;\n\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = now;\n\n this.velocity = positionDelta*(-10/timeDelta);\n \n\n }\n return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":2216},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2211":{"this":{"__isSmartRef__":true,"id":1523},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2212}},"2212":{"$super":{"__isSmartRef__":true,"id":2213}},"2213":{"varMapping":{"__isSmartRef__":true,"id":2214},"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":2215},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2214":{"obj":{"__isSmartRef__":true,"id":1523},"name":"onTouchMove"},"2215":{},"2216":{"timestamp":{"__isSmartRef__":true,"id":2217},"user":"sstamm","tags":[]},"2217":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:54:39 GMT+0100 (CET)"},"2218":{"varMapping":{"__isSmartRef__":true,"id":2219},"source":"function onTouchEnd(evt) {\n $world.get(\"TouchList\").submorphs[0];\n var lastUpdate = new Date().valueOf();\n this.isTouched = false;\n var that = this;\n\n var flickingFct = function() {\n var now = new Date().valueOf();\n var delta = now - lastUpdate;\n var velo;\n that.velocity *= Math.pow(0.99, delta);\n that.moveBy(pt(0,that.velocity));\n that.stayInBounds();\n velo = that.velocity;\n \n lastUpdate = now;\n if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":2224},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2219":{"this":{"__isSmartRef__":true,"id":1523},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2220}},"2220":{"$super":{"__isSmartRef__":true,"id":2221}},"2221":{"varMapping":{"__isSmartRef__":true,"id":2222},"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":2223},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2222":{"obj":{"__isSmartRef__":true,"id":1523},"name":"onTouchEnd"},"2223":{},"2224":{"timestamp":{"__isSmartRef__":true,"id":2225},"user":"sstamm","tags":[]},"2225":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (CET)"},"2226":{"varMapping":{"__isSmartRef__":true,"id":2227},"source":"function stayInBounds() {\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta!=0) {\n this.velocity = -delta/15;\n }\n// this.setPosition(pt(0,yPos));\n\n}","funcProperties":{"__isSmartRef__":true,"id":2228},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2227":{"this":{"__isSmartRef__":true,"id":1523}},"2228":{"timestamp":{"__isSmartRef__":true,"id":2229},"user":"sstamm","tags":[]},"2229":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (CET)"},"2230":{"varMapping":{"__isSmartRef__":true,"id":2231},"source":"function isInBounds() {\n var heightMenu = this.owner.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":2232},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2231":{"this":{"__isSmartRef__":true,"id":1523}},"2232":{"timestamp":{"__isSmartRef__":true,"id":2233},"user":"sstamm","tags":[]},"2233":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (CET)"},"2234":{"position":{"__isSmartRef__":true,"id":2235},"_Extent":{"__isSmartRef__":true,"id":2236},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2237},"_Fill":{"__isSmartRef__":true,"id":2238},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2239},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2240},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2235":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2236":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2237":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2238":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2239":{},"2240":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2241":{"x":7,"y":29,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2242":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A morph which behaves like an IPad list. Use initialize() to clear and addItem() to ... well ... add items","migrationLevel":4,"partName":"TouchList","changes":[{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2245},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2249}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2243":{"date":{"__isSmartRef__":true,"id":2244},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"2244":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (CET)"},"2245":{"date":{"__isSmartRef__":true,"id":2246},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"2246":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (CET)"},"2247":{"date":{"__isSmartRef__":true,"id":2248},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"2248":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (CET)"},"2249":{"date":{"__isSmartRef__":true,"id":2250},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"2250":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (CET)"},"2251":{"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"},"2252":{"morph":{"__isSmartRef__":true,"id":1522},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2253":{"sourceObj":{"__isSmartRef__":true,"id":1522},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1522},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2254":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2255":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"2256":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2257":{"onrestore":{"__isSmartRef__":true,"id":2258},"initialize":{"__isSmartRef__":true,"id":2266},"addItem":{"__isSmartRef__":true,"id":2274},"createListItem":{"__isSmartRef__":true,"id":2278},"touchstartCallback":{"__isSmartRef__":true,"id":1559},"touchmoveCallback":{"__isSmartRef__":true,"id":1563},"touchendCallback":{"__isSmartRef__":true,"id":1567},"updateSelection":{"__isSmartRef__":true,"id":2282},"handleClick":{"__isSmartRef__":true,"id":2286},"initializeListEntries":{"__isSmartRef__":true,"id":2290}},"2258":{"varMapping":{"__isSmartRef__":true,"id":2259},"source":"function onrestore() {\n var that = this;\n\n //TODO: this is a race condition, because the render context is not\n // ready in onrestore\n window.setTimeout(function() { \n that.shape.setClipMode(\"hidden\"); }, 100);\n}","funcProperties":{"__isSmartRef__":true,"id":2264},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2259":{"this":{"__isSmartRef__":true,"id":1522},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2260}},"2260":{"$super":{"__isSmartRef__":true,"id":2261}},"2261":{"varMapping":{"__isSmartRef__":true,"id":2262},"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":2263},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2262":{"obj":{"__isSmartRef__":true,"id":1522},"name":"onrestore"},"2263":{},"2264":{"timestamp":{"__isSmartRef__":true,"id":2265},"user":"sstamm","tags":[]},"2265":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (CET)"},"2266":{"varMapping":{"__isSmartRef__":true,"id":2267},"source":"function initialize() {\n console.log(\"in initialize\");\n this.itemList = [];\n this.selection = null;\n this.selectedLineNo = -1;\n this.selectedMorph = null;\n this.shape.setClipMode(\"hidden\");\n var itemContainer = this.get(\"ListItemContainer\");\n \n itemContainer.setPosition(pt(0,0));\n itemContainer.submorphs.invoke(\"remove\");\n \n}","funcProperties":{"__isSmartRef__":true,"id":2272},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2267":{"this":{"__isSmartRef__":true,"id":1522},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2268}},"2268":{"$super":{"__isSmartRef__":true,"id":2269}},"2269":{"varMapping":{"__isSmartRef__":true,"id":2270},"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":2271},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2270":{"obj":{"__isSmartRef__":true,"id":1522},"name":"initialize"},"2271":{},"2272":{"timestamp":{"__isSmartRef__":true,"id":2273},"user":"sstamm","tags":[]},"2273":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (CET)"},"2274":{"varMapping":{"__isSmartRef__":true,"id":2275},"source":"function addItem(text) {\n var newMorph = this.createListItem(text);\n \n newMorph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(newMorph);\n this.get(\"ListItemContainer\").addMorph(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":2276},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2275":{"this":{"__isSmartRef__":true,"id":1522}},"2276":{"timestamp":{"__isSmartRef__":true,"id":2277},"user":"sstamm","tags":[]},"2277":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (CET)"},"2278":{"varMapping":{"__isSmartRef__":true,"id":2279},"source":"function createListItem(textString) {\n var part = lively.PartsBin.getPart(\"Rectangle\", \"PartsBin/Basic\");\n\n part.index = this.itemList.length;\n\n part.setExtent(pt(this.getExtent().x,44));\n part.applyStyle({resizeWidth: true});\n part.setFill(new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n ));\n part.setBorderColor(Color.rgb(138,138,138));\n \n\n\n part.onTouchStart = this.touchstartCallback;\n part.onTouchMove = this.touchmoveCallback;\n part.onTouchEnd = this.touchendCallback;\n\n part.registerForEvent(\"touchstart\", part, \"onTouchStart\", false);\n part.registerForEvent(\"touchmove\", part, \"onTouchMove\", false);\n part.registerForEvent(\"touchend\", part, \"onTouchEnd\", false);\n\n var text = lively.PartsBin.getPart(\"Text\", \"PartsBin/Basic\");\n text.setFontSize(14);\n text.setTextColor(Color.rgb(47,47,47));\n text.setFontFamily(\"Helvetica, Arial, sans-serif\");\n\n text.setPosition(pt(10,10));\n text.textString = textString;\n\n text.emphasizeAll({fontWeight: 'bold'});\n text.disableHalos();\n part.addMorph(text);\n\n return part;\n}","funcProperties":{"__isSmartRef__":true,"id":2280},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2279":{"this":{"__isSmartRef__":true,"id":1522}},"2280":{"timestamp":{"__isSmartRef__":true,"id":2281},"user":"sstamm","tags":[]},"2281":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (CET)"},"2282":{"varMapping":{"__isSmartRef__":true,"id":2283},"source":"function updateSelection(newSelectedMorph) {\n var hasText = true;\n if(this.selectedMorph) {\n hasText = this.selectedMorph.submorphs[0];\n this.selectedMorph.setFill(\n new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n )\n );\n if(hasText) { this.selectedMorph.submorphs[0].setTextColor(Color.rgb(47,47,47));\n }\n }\n hasText = newSelectedMorph.submorphs[0];\n\n \n if(hasText) {\n this.selection = newSelectedMorph.submorphs[0].textString;\n } else {\n this.selection = \"\";\n }\n this.selectedLineNo = newSelectedMorph.index;\n this.selectedMorph = newSelectedMorph;\n \n this.selectedMorph.setFill(\nnew lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(47,47,47)},\n {offset:0.5,color: Color.rgb(21,21,21)},\n {offset: 1, color: Color.rgb(0,0,0)}\n ],\n 'northSouth'\n ));\n \n if(hasText) {\n this.selectedMorph.submorphs[0].setTextColor(Color.rgb(222,222,222));\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2284},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2283":{"this":{"__isSmartRef__":true,"id":1522}},"2284":{"timestamp":{"__isSmartRef__":true,"id":2285},"user":"sstamm","tags":[]},"2285":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (CET)"},"2286":{"varMapping":{"__isSmartRef__":true,"id":2287},"source":"function handleClick() {\n switch(this.selection){\n case \"PartsBin\":\n $world.openPartsBin();\n $world.hideMockMenu();\n break;\n case \"Parts\":\n this.owner.showList(this.selection);\n break;\n case \"Ellipse\":\n case \"Image\":\n case \"Line\":\n case \"Rectangle\":\n case \"Text\":\n $world.openPartItem(this.selection, \"PartsBin/Basic\");\n $world.hideMockMenu();\n break;\n case \"Button\":\n case \"List\":\n case \"ScriptableButton\":\n case \"Slider\":\n $world.openPartItem(this.selection, \"PartsBin/Inputs\");\n $world.hideMockMenu();\n break;\n case \"Tools\":\n this.owner.showList(this.selection);\n break;\n case \"Workspace\":\n $world.openWorkspace();\n $world.hideMockMenu();\n break;\n case \"System Code Browser\":\n $world.openSystemBrowser();\n $world.hideMockMenu();\n break;\n case \"Object Editor\":\n $world.openObjectEditor();\n $world.hideMockMenu();\n break;\n case \"Method Finder\":\n $world.openMethodFinder();\n $world.hideMockMenu();\n break;\n case \"Text Editor\":\n new lively.morphic.TextEditor().openIn(world)\n $world.hideMockMenu();\n break;\n case \"Preferences\":\n this.owner.showList(this.selection);\n break;\n case \"set username\":\n $world.askForUserName();\n $world.hideMockMenu();\n break;\n case \"set extent\":\n $world.askForNewWorldExtent();\n $world.hideMockMenu();\n break;\n case \"disable part caching\":\n $world.hideMockMenu();\n break;\n case \"Debugging\":\n this.owner.showList(this.selection);\n break;\n case \"reset world scale\":\n $world.resetScale();\n $world.hideMockMenu();\n break;\n case \"reset title bars\":\n $world.resetAllTitleBars();\n $world.hideMockMenu();\n break;\n case \"reset button labels\":\n $world.resetAllButtonLabels();\n $world.hideMockMenu();\n break;\n case \"World serialization info\":\n require('lively.persistence.Debugging').toRun(\n function() {\n var json = lively.persistence.Serializer.serialize(world),\n printer = lively.persistence.Debugging.Helper.listObjects(json);\n world.addTextWindow(printer.toString());\n }\n );\n $world.hideMockMenu();\n break;\n case \"clear part cache\":\n $world.hideMockMenu();\n break;\n case \"show connectors\":\n $world.hideMockMenu();\n break;\n case \"Wiki\":\n this.owner.showList(this.selection);\n break;\n case \"about this wiki\":\n $world.openAboutBox();\n $world.hideMockMenu();\n break;\n case \"view versions of this world\":\n $world.openVersionViewer();\n $world.hideMockMenu();\n break;\n case \"download world\":\n require('lively.persistence.StandAlonePackaging').toRun(\n function() {\n lively.persistence.StandAlonePackaging.packageCurrentWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"upload world to Dropbox\":\n require('apps.Dropbox').toRun(\n function() {\n DropboxAPI.uploadArchivedWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"delete world\":\n $world.interactiveDeleteWorldOnServer();\n $world.hideMockMenu();\n break;\n case \"Documentation\":\n this.owner.showList(this.selection);\n break;\n case \"on short cuts\":\n $world.openShortcutDocumentation();\n $world.hideMockMenu();\n break;\n case \"on connect data bindings\":\n $world.openConnectDocumentation();\n $world.hideMockMenu();\n break;\n case \"on Lively's PartsBin\":\n $world.openPartsBinDocumentation();\n $world.hideMockMenu();\n break;\n case \"more...\":\n window.open(Config.rootPath + 'documentation/');\n $world.hideMockMenu();\n break;\n case \"save world as ...\":\n $world.interactiveSaveWorldAs();\n $world.hideMockMenu();\n break;\n case \"save world\":\n $world.saveWorld();\n $world.hideMockMenu();\n break;\n default:\n //Do nothing\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2288},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2287":{"this":{"__isSmartRef__":true,"id":1522}},"2288":{"timestamp":{"__isSmartRef__":true,"id":2289},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"2289":{"isSerializedDate":true,"string":"Tue Jan 31 2012 13:26:26 GMT+0100 (CET)"},"2290":{"varMapping":{"__isSmartRef__":true,"id":2291},"source":"function initializeListEntries() {\n this.initialize();\n list = [\"Workspace\",\"System Code Browser\",\"Object Editor\",\n \"Method Finder\",\"Text Editor\"];\n for (var i = 0; i < list.length; i++) {\n this.addItem(list[i]);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2292},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2291":{"this":{"__isSmartRef__":true,"id":1522}},"2292":{"timestamp":{"__isSmartRef__":true,"id":2293},"user":"conradcalmez","tags":[]},"2293":{"isSerializedDate":true,"string":"Tue Jan 31 2012 11:56:56 GMT+0100 (CET)"},"2294":{"submorphs":[{"__isSmartRef__":true,"id":2295}],"scripts":[],"id":"FB6435C6-113E-4366-A2E2-C7BFF9D42C5F","shape":{"__isSmartRef__":true,"id":2936},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2943},"showsHalos":false,"name":"TouchList3","partsBinMetaInfo":{"__isSmartRef__":true,"id":2944},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2953},"eventHandler":{"__isSmartRef__":true,"id":2954},"attributeConnections":[{"__isSmartRef__":true,"id":2955}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"derivationIds":[127,"86FF1C90-3CC2-44B9-8DEE-1BC214D734AE","EEA7DF22-C343-4B58-A447-43BB95D5405F","9665449D-F0E4-4BCE-854B-48D19C73214E","8B65C997-34DC-4F70-A1BA-266488F1588C","CBDEE8B9-9E1C-44E5-85E6-6D85E0738D59","34806B09-40D4-4BE7-B17E-FFFFDB7B0928","28D43242-91D8-4B3A-B492-0318381E6334","A099F3A8-DF6A-453C-A9FC-FA29941930DC","2173EC81-CD14-49CB-8700-B5DD97F5AD78"],"priorExtent":{"__isSmartRef__":true,"id":2956},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":2957},"itemList":[{"__isSmartRef__":true,"id":2296},{"__isSmartRef__":true,"id":2343},{"__isSmartRef__":true,"id":2378}],"_ClipMode":"hidden","selectedMorph":null,"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":2958},"owner":null,"_Visible":false,"_Rotation":0,"_Scale":1,"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2959},"__LivelyClassName__":"lively.morphic.Box"},"2295":{"submorphs":[{"__isSmartRef__":true,"id":2296},{"__isSmartRef__":true,"id":2343},{"__isSmartRef__":true,"id":2378}],"scripts":[],"id":"6715D9DF-AA25-4143-9239-42E08A5FA017","shape":{"__isSmartRef__":true,"id":2413},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2420},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":2421},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2422},"eventHandler":{"__isSmartRef__":true,"id":2423},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"70193F55-BD62-471E-90CE-6CF2F345BFF8","C29938AD-3221-4AB2-80BA-EBF64E5C8063","F478A91E-32FA-4527-BA77-81009843E6E7","3C2C2181-A589-45A7-B023-FDED3CDFE499","45EE0951-5C82-4C8D-808E-E69D6E6AFFC8","3AB7DC6F-888B-4351-A241-EA890F85280A","3F3C7499-A964-487B-9603-9EA48E5C7FE3","E18DC16F-D005-4260-AA0C-15BCDFC07AA4","933DE346-057B-4377-8A18-FD25C457F01B"],"owner":{"__isSmartRef__":true,"id":2294},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":2424},"layout":{"__isSmartRef__":true,"id":2425},"lists":{"__isSmartRef__":true,"id":2426},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2903},"__LivelyClassName__":"lively.morphic.Box"},"2296":{"submorphs":[{"__isSmartRef__":true,"id":2297}],"scripts":[],"id":"877B3CA2-DC02-462F-BA0E-EECA3F8D0E33","shape":{"__isSmartRef__":true,"id":2313},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2324},"showsHalos":false,"name":"Rectangle28","partsBinMetaInfo":{"__isSmartRef__":true,"id":2325},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2326},"eventHandler":{"__isSmartRef__":true,"id":2327},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"906A9BCF-51D0-438C-8320-8BD4E34EC6FB","D42614B5-1431-4E60-8BE4-CB51E5D5EB1A"],"index":0,"priorExtent":{"__isSmartRef__":true,"id":2328},"layout":{"__isSmartRef__":true,"id":2329},"owner":{"__isSmartRef__":true,"id":2295},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2330},"__LivelyClassName__":"lively.morphic.Box"},"2297":{"submorphs":[],"scripts":[],"id":"3042DECB-4713-4658-A320-C26C9C6A9D30","shape":{"__isSmartRef__":true,"id":2298},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2304},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2301},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text30","partsBinMetaInfo":{"__isSmartRef__":true,"id":2305},"textChunks":[{"__isSmartRef__":true,"id":2306}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2308},"renderContextTable":{"__isSmartRef__":true,"id":2309},"eventHandler":{"__isSmartRef__":true,"id":2310},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2311},"_ClipMode":"visible","derivationIds":[355,"1A35CB1C-1BAE-45DF-8864-F5DCA0AA95CF","376943B8-CBE8-4A72-A79B-50A3C775973D"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2312},"owner":{"__isSmartRef__":true,"id":2296},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2298":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2299},"_Extent":{"__isSmartRef__":true,"id":2300},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2301},"renderContextTable":{"__isSmartRef__":true,"id":2302},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2303},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2299":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2300":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2301":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2302":{"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"},"2303":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2304":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2305":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2306":{"style":{"__isSmartRef__":true,"id":2307},"chunkOwner":{"__isSmartRef__":true,"id":2297},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2307":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2308":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2309":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2310":{"morph":{"__isSmartRef__":true,"id":2297},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2311":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2312":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2313":{"position":{"__isSmartRef__":true,"id":2314},"_Extent":{"__isSmartRef__":true,"id":2315},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2316},"_Fill":{"__isSmartRef__":true,"id":2317},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2322},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2323},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2314":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2315":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2316":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2317":{"stops":[{"__isSmartRef__":true,"id":2318},{"__isSmartRef__":true,"id":2320}],"vector":{"__isSmartRef__":true,"id":851},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2318":{"offset":0,"color":{"__isSmartRef__":true,"id":2319}},"2319":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2320":{"offset":1,"color":{"__isSmartRef__":true,"id":2321}},"2321":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2322":{"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"},"2323":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2324":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2325":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2326":{"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"},"2327":{"morph":{"__isSmartRef__":true,"id":2296},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2328":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2329":{"resizeWidth":true},"2330":{"onTouchStart":{"__isSmartRef__":true,"id":2331},"onTouchMove":{"__isSmartRef__":true,"id":2335},"onTouchEnd":{"__isSmartRef__":true,"id":2339}},"2331":{"varMapping":{"__isSmartRef__":true,"id":2332},"source":"function touchstartCallback(evt) {\n var touch = evt.touches[0];\n\n this.clickPosition = pt(touch.clientX,touch.clientY);\n this.lastClickPos = this.clickPosition;\n\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":2333},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2332":{"this":{"__isSmartRef__":true,"id":2294}},"2333":{"timestamp":{"__isSmartRef__":true,"id":2334},"user":"sstamm","tags":[]},"2334":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (CET)"},"2335":{"varMapping":{"__isSmartRef__":true,"id":2336},"source":"function touchmoveCallback(evt) {\n var touch = evt.touches[0];\n \n this.lastClickPos = pt(touch.clientX,touch.clientY);\n\n return false;\n \n}","funcProperties":{"__isSmartRef__":true,"id":2337},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2336":{"this":{"__isSmartRef__":true,"id":2294}},"2337":{"timestamp":{"__isSmartRef__":true,"id":2338},"user":"sstamm","tags":[]},"2338":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (CET)"},"2339":{"varMapping":{"__isSmartRef__":true,"id":2340},"source":"function touchendCallback(evt) {\n var deltaPt = this.lastClickPos.subPt(this.clickPosition);\n var delta = deltaPt.x*deltaPt.x + deltaPt.y*deltaPt.y;\n if(delta<25) {\n //TODO: find a better way to find the related listMorph\n var listMorph = this.owner.owner;\n \n if(listMorph && listMorph.updateSelection) {\n listMorph.updateSelection(this);\n }\n }\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":2341},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2340":{"this":{"__isSmartRef__":true,"id":2294}},"2341":{"timestamp":{"__isSmartRef__":true,"id":2342},"user":"sstamm","tags":[]},"2342":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (CET)"},"2343":{"submorphs":[{"__isSmartRef__":true,"id":2344}],"scripts":[],"id":"F9E3C07E-A5CE-48CC-9DD6-2FDCB8F4B3CE","shape":{"__isSmartRef__":true,"id":2360},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2371},"showsHalos":false,"name":"Rectangle29","partsBinMetaInfo":{"__isSmartRef__":true,"id":2372},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2373},"eventHandler":{"__isSmartRef__":true,"id":2374},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"D099016F-C81D-4758-A900-6E151D077005","94225991-45A0-4BDD-9EEB-6CCD2911946E"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":2375},"layout":{"__isSmartRef__":true,"id":2376},"owner":{"__isSmartRef__":true,"id":2295},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2377},"__LivelyClassName__":"lively.morphic.Box"},"2344":{"submorphs":[],"scripts":[],"id":"C847B9BD-481B-4EDA-B49B-5813A89F1ED5","shape":{"__isSmartRef__":true,"id":2345},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2351},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2348},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text31","partsBinMetaInfo":{"__isSmartRef__":true,"id":2352},"textChunks":[{"__isSmartRef__":true,"id":2353}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2355},"renderContextTable":{"__isSmartRef__":true,"id":2356},"eventHandler":{"__isSmartRef__":true,"id":2357},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2358},"_ClipMode":"visible","derivationIds":[355,"EC02F7EF-9F82-4461-90D3-D64BAEBE2F92","54D677F5-F750-4ACD-84B2-93B4B2F0D9D5"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2359},"owner":{"__isSmartRef__":true,"id":2343},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2345":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2346},"_Extent":{"__isSmartRef__":true,"id":2347},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2348},"renderContextTable":{"__isSmartRef__":true,"id":2349},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2350},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2346":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2347":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2348":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2349":{"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"},"2350":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2351":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2352":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2353":{"style":{"__isSmartRef__":true,"id":2354},"chunkOwner":{"__isSmartRef__":true,"id":2344},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2354":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2355":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2356":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2357":{"morph":{"__isSmartRef__":true,"id":2344},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2358":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2359":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2360":{"position":{"__isSmartRef__":true,"id":2361},"_Extent":{"__isSmartRef__":true,"id":2362},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2363},"_Fill":{"__isSmartRef__":true,"id":2364},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2369},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2370},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2361":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2362":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2363":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2364":{"stops":[{"__isSmartRef__":true,"id":2365},{"__isSmartRef__":true,"id":2367}],"vector":{"__isSmartRef__":true,"id":851},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2365":{"offset":0,"color":{"__isSmartRef__":true,"id":2366}},"2366":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2367":{"offset":1,"color":{"__isSmartRef__":true,"id":2368}},"2368":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2369":{"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"},"2370":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2371":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2372":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2373":{"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"},"2374":{"morph":{"__isSmartRef__":true,"id":2343},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2375":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2376":{"resizeWidth":true},"2377":{"onTouchStart":{"__isSmartRef__":true,"id":2331},"onTouchMove":{"__isSmartRef__":true,"id":2335},"onTouchEnd":{"__isSmartRef__":true,"id":2339}},"2378":{"submorphs":[{"__isSmartRef__":true,"id":2379}],"scripts":[],"id":"2C19CCB7-6241-40C5-BCFD-F7E48881B3AD","shape":{"__isSmartRef__":true,"id":2395},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2406},"showsHalos":false,"name":"Rectangle30","partsBinMetaInfo":{"__isSmartRef__":true,"id":2407},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2408},"eventHandler":{"__isSmartRef__":true,"id":2409},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"E426E645-C249-48BF-B95F-28644560EC15","8C915910-1FDF-4D9E-AFA8-604BBCDF5364"],"index":2,"priorExtent":{"__isSmartRef__":true,"id":2410},"layout":{"__isSmartRef__":true,"id":2411},"owner":{"__isSmartRef__":true,"id":2295},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2412},"__LivelyClassName__":"lively.morphic.Box"},"2379":{"submorphs":[],"scripts":[],"id":"CB0D3E7F-9C9A-4030-9054-C70D8873373C","shape":{"__isSmartRef__":true,"id":2380},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2386},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2383},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text32","partsBinMetaInfo":{"__isSmartRef__":true,"id":2387},"textChunks":[{"__isSmartRef__":true,"id":2388}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2390},"renderContextTable":{"__isSmartRef__":true,"id":2391},"eventHandler":{"__isSmartRef__":true,"id":2392},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2393},"_ClipMode":"visible","derivationIds":[355,"686A5DFC-B9D4-42E6-84F1-E233432C19C5","24EE8841-1EE7-4C5D-AB69-4B7664A96EE9"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2394},"owner":{"__isSmartRef__":true,"id":2378},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2380":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2381},"_Extent":{"__isSmartRef__":true,"id":2382},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2383},"renderContextTable":{"__isSmartRef__":true,"id":2384},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2385},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2381":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2382":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2383":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2384":{"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"},"2385":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2386":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2387":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2388":{"style":{"__isSmartRef__":true,"id":2389},"chunkOwner":{"__isSmartRef__":true,"id":2379},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2389":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2390":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2391":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2392":{"morph":{"__isSmartRef__":true,"id":2379},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2393":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2394":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2395":{"position":{"__isSmartRef__":true,"id":2396},"_Extent":{"__isSmartRef__":true,"id":2397},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2398},"_Fill":{"__isSmartRef__":true,"id":2399},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2404},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2405},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2396":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2397":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2398":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2399":{"stops":[{"__isSmartRef__":true,"id":2400},{"__isSmartRef__":true,"id":2402}],"vector":{"__isSmartRef__":true,"id":851},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2400":{"offset":0,"color":{"__isSmartRef__":true,"id":2401}},"2401":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2402":{"offset":1,"color":{"__isSmartRef__":true,"id":2403}},"2403":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2404":{"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"},"2405":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2406":{"x":0,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2407":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2408":{"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"},"2409":{"morph":{"__isSmartRef__":true,"id":2378},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2410":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2411":{"resizeWidth":true},"2412":{"onTouchStart":{"__isSmartRef__":true,"id":2331},"onTouchMove":{"__isSmartRef__":true,"id":2335},"onTouchEnd":{"__isSmartRef__":true,"id":2339}},"2413":{"position":{"__isSmartRef__":true,"id":2414},"_Extent":{"__isSmartRef__":true,"id":2415},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2416},"_Fill":{"__isSmartRef__":true,"id":2417},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2418},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2419},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2414":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2415":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2416":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2417":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2418":{"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"},"2419":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2420":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2421":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2422":{"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"},"2423":{"morph":{"__isSmartRef__":true,"id":2295},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2424":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2425":{"resizeWidth":true,"adjustForNewBounds":true},"2426":{"Parts":{"__isSmartRef__":true,"id":2427}},"2427":{"submorphs":[{"__isSmartRef__":true,"id":2428}],"scripts":[],"id":"3F84A349-52E2-4C32-931A-8EC950A3BBA5","shape":{"__isSmartRef__":true,"id":2803},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2810},"showsHalos":false,"name":"TouchList1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2811},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2820},"eventHandler":{"__isSmartRef__":true,"id":2821},"attributeConnections":[{"__isSmartRef__":true,"id":2822}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"derivationIds":[127,"86FF1C90-3CC2-44B9-8DEE-1BC214D734AE","EEA7DF22-C343-4B58-A447-43BB95D5405F","9665449D-F0E4-4BCE-854B-48D19C73214E","8B65C997-34DC-4F70-A1BA-266488F1588C","CBDEE8B9-9E1C-44E5-85E6-6D85E0738D59","34806B09-40D4-4BE7-B17E-FFFFDB7B0928","A96DDB06-4250-4386-905D-8B702E91A05F","B93F122D-B016-4AF4-92C9-4B1A33D0DDC5"],"priorExtent":{"__isSmartRef__":true,"id":2823},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":2824},"itemList":[{"__isSmartRef__":true,"id":2429},{"__isSmartRef__":true,"id":2477},{"__isSmartRef__":true,"id":2512},{"__isSmartRef__":true,"id":2547},{"__isSmartRef__":true,"id":2582},{"__isSmartRef__":true,"id":2617},{"__isSmartRef__":true,"id":2652},{"__isSmartRef__":true,"id":2687},{"__isSmartRef__":true,"id":2722}],"_ClipMode":"hidden","selectedMorph":null,"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":2825},"owner":{"__isSmartRef__":true,"id":2826},"_Rotation":0,"_Scale":1,"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2862},"__LivelyClassName__":"lively.morphic.Box"},"2428":{"submorphs":[{"__isSmartRef__":true,"id":2429},{"__isSmartRef__":true,"id":2477},{"__isSmartRef__":true,"id":2512},{"__isSmartRef__":true,"id":2547},{"__isSmartRef__":true,"id":2582},{"__isSmartRef__":true,"id":2617},{"__isSmartRef__":true,"id":2652},{"__isSmartRef__":true,"id":2687},{"__isSmartRef__":true,"id":2722}],"scripts":[],"id":"9B5CCF0C-E6FF-4E23-8290-3CFABD86AC33","shape":{"__isSmartRef__":true,"id":2757},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2764},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":2765},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2766},"eventHandler":{"__isSmartRef__":true,"id":2767},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"70193F55-BD62-471E-90CE-6CF2F345BFF8","C29938AD-3221-4AB2-80BA-EBF64E5C8063","F478A91E-32FA-4527-BA77-81009843E6E7","3C2C2181-A589-45A7-B023-FDED3CDFE499","45EE0951-5C82-4C8D-808E-E69D6E6AFFC8","3AB7DC6F-888B-4351-A241-EA890F85280A","1DB8DDC7-39AB-4B77-BB60-17766F9CFBD1","ED945231-5F92-4EB9-9EE7-1612C0FC1249"],"owner":{"__isSmartRef__":true,"id":2427},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":2768},"layout":{"__isSmartRef__":true,"id":2769},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2770},"__LivelyClassName__":"lively.morphic.Box"},"2429":{"submorphs":[{"__isSmartRef__":true,"id":2430}],"scripts":[],"id":"B0B606BC-5900-44EE-9BD3-9D745694811E","shape":{"__isSmartRef__":true,"id":2446},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2458},"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":2459},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2460},"eventHandler":{"__isSmartRef__":true,"id":2461},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"FE6EF7FA-1F27-401C-8A09-0C3585F4CE1F","27C4A9A5-0C3C-4AF4-B30E-4128270B1ADD","24E50215-5D49-47BB-A7A6-BB3EE2C2E222"],"index":0,"priorExtent":{"__isSmartRef__":true,"id":2462},"layout":{"__isSmartRef__":true,"id":2463},"owner":{"__isSmartRef__":true,"id":2428},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2464},"__LivelyClassName__":"lively.morphic.Box"},"2430":{"submorphs":[],"scripts":[],"id":"0434817E-3970-4CB8-B8A0-CC669232784A","shape":{"__isSmartRef__":true,"id":2431},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2437},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2434},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":2438},"textChunks":[{"__isSmartRef__":true,"id":2439}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2441},"renderContextTable":{"__isSmartRef__":true,"id":2442},"eventHandler":{"__isSmartRef__":true,"id":2443},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2444},"_ClipMode":"visible","derivationIds":[355,"97CB562D-C68D-4E75-8C5E-E5D0CEA45A40","FB93AF85-38E5-49B2-81AB-E504A1A5E830","9A2AD62A-C9F3-458C-B8E6-CE5E53CA21D8"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2445},"owner":{"__isSmartRef__":true,"id":2429},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2431":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2432},"_Extent":{"__isSmartRef__":true,"id":2433},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2434},"renderContextTable":{"__isSmartRef__":true,"id":2435},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2436},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2432":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2433":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2434":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2435":{"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"},"2436":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2437":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2438":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2439":{"style":{"__isSmartRef__":true,"id":2440},"chunkOwner":{"__isSmartRef__":true,"id":2430},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2440":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2441":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2442":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2443":{"morph":{"__isSmartRef__":true,"id":2430},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2444":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2445":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2446":{"position":{"__isSmartRef__":true,"id":2447},"_Extent":{"__isSmartRef__":true,"id":2448},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2449},"_Fill":{"__isSmartRef__":true,"id":2450},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2456},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2457},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2447":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2448":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2449":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2450":{"stops":[{"__isSmartRef__":true,"id":2451},{"__isSmartRef__":true,"id":2453}],"vector":{"__isSmartRef__":true,"id":2455},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2451":{"offset":0,"color":{"__isSmartRef__":true,"id":2452}},"2452":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2453":{"offset":1,"color":{"__isSmartRef__":true,"id":2454}},"2454":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2455":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2456":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2457":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2458":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2459":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2460":{"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"},"2461":{"morph":{"__isSmartRef__":true,"id":2429},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2462":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2463":{"resizeWidth":true},"2464":{"onTouchStart":{"__isSmartRef__":true,"id":2465},"onTouchMove":{"__isSmartRef__":true,"id":2469},"onTouchEnd":{"__isSmartRef__":true,"id":2473}},"2465":{"varMapping":{"__isSmartRef__":true,"id":2466},"source":"function touchstartCallback(evt) {\n var touch = evt.touches[0];\n\n this.clickPosition = pt(touch.clientX,touch.clientY);\n this.lastClickPos = this.clickPosition;\n\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":2467},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2466":{"this":{"__isSmartRef__":true,"id":2427}},"2467":{"timestamp":{"__isSmartRef__":true,"id":2468},"user":"sstamm","tags":[]},"2468":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (CET)"},"2469":{"varMapping":{"__isSmartRef__":true,"id":2470},"source":"function touchmoveCallback(evt) {\n var touch = evt.touches[0];\n \n this.lastClickPos = pt(touch.clientX,touch.clientY);\n\n return false;\n \n}","funcProperties":{"__isSmartRef__":true,"id":2471},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2470":{"this":{"__isSmartRef__":true,"id":2427}},"2471":{"timestamp":{"__isSmartRef__":true,"id":2472},"user":"sstamm","tags":[]},"2472":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (CET)"},"2473":{"varMapping":{"__isSmartRef__":true,"id":2474},"source":"function touchendCallback(evt) {\n var deltaPt = this.lastClickPos.subPt(this.clickPosition);\n var delta = deltaPt.x*deltaPt.x + deltaPt.y*deltaPt.y;\n if(delta<25) {\n //TODO: find a better way to find the related listMorph\n var listMorph = this.owner.owner;\n \n if(listMorph && listMorph.updateSelection) {\n listMorph.updateSelection(this);\n }\n }\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":2475},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2474":{"this":{"__isSmartRef__":true,"id":2427}},"2475":{"timestamp":{"__isSmartRef__":true,"id":2476},"user":"sstamm","tags":[]},"2476":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (CET)"},"2477":{"submorphs":[{"__isSmartRef__":true,"id":2478}],"scripts":[],"id":"462E64AA-D52F-418A-8764-B811BEE40622","shape":{"__isSmartRef__":true,"id":2494},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2505},"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2506},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2507},"eventHandler":{"__isSmartRef__":true,"id":2508},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"835F3BC8-D36A-49E4-BFAF-6554B4148F66","F469617C-6F84-4FC6-81C2-A6646611401C","7F86DED1-9952-46AC-B7C1-303FD1E79FF1"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":2509},"layout":{"__isSmartRef__":true,"id":2510},"owner":{"__isSmartRef__":true,"id":2428},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2511},"__LivelyClassName__":"lively.morphic.Box"},"2478":{"submorphs":[],"scripts":[],"id":"C7D10E82-D903-48DF-B43C-148D5CC312FC","shape":{"__isSmartRef__":true,"id":2479},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2485},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2482},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2486},"textChunks":[{"__isSmartRef__":true,"id":2487}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2489},"renderContextTable":{"__isSmartRef__":true,"id":2490},"eventHandler":{"__isSmartRef__":true,"id":2491},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2492},"_ClipMode":"visible","derivationIds":[355,"E0F8F56D-E4DC-4441-A85E-5428558C130F","5731094C-BBF4-4176-A602-BA3C4079B890","D6AD4A43-30FD-4C23-B873-DBD3417965B1"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2493},"owner":{"__isSmartRef__":true,"id":2477},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2479":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2480},"_Extent":{"__isSmartRef__":true,"id":2481},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2482},"renderContextTable":{"__isSmartRef__":true,"id":2483},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2484},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2480":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2481":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2482":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2483":{"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"},"2484":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2485":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2486":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2487":{"style":{"__isSmartRef__":true,"id":2488},"chunkOwner":{"__isSmartRef__":true,"id":2478},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2488":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2489":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2490":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2491":{"morph":{"__isSmartRef__":true,"id":2478},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2492":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2493":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2494":{"position":{"__isSmartRef__":true,"id":2495},"_Extent":{"__isSmartRef__":true,"id":2496},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2497},"_Fill":{"__isSmartRef__":true,"id":2498},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2503},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2504},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2495":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2496":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2497":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2498":{"stops":[{"__isSmartRef__":true,"id":2499},{"__isSmartRef__":true,"id":2501}],"vector":{"__isSmartRef__":true,"id":2455},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2499":{"offset":0,"color":{"__isSmartRef__":true,"id":2500}},"2500":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2501":{"offset":1,"color":{"__isSmartRef__":true,"id":2502}},"2502":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2503":{"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"},"2504":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2505":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2506":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2507":{"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"},"2508":{"morph":{"__isSmartRef__":true,"id":2477},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2509":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2510":{"resizeWidth":true},"2511":{"onTouchStart":{"__isSmartRef__":true,"id":2465},"onTouchMove":{"__isSmartRef__":true,"id":2469},"onTouchEnd":{"__isSmartRef__":true,"id":2473}},"2512":{"submorphs":[{"__isSmartRef__":true,"id":2513}],"scripts":[],"id":"2C80C10D-7530-49A4-80D8-8195CE6314FB","shape":{"__isSmartRef__":true,"id":2529},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2540},"showsHalos":false,"name":"Rectangle2","partsBinMetaInfo":{"__isSmartRef__":true,"id":2541},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2542},"eventHandler":{"__isSmartRef__":true,"id":2543},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"006661A6-4211-48D6-ABEF-15F43153C2F2","7E813F1E-E127-4B22-B92B-49ABFA4BD168","8BCCB5E2-9571-4A48-8FF6-5151898E8779"],"index":2,"priorExtent":{"__isSmartRef__":true,"id":2544},"layout":{"__isSmartRef__":true,"id":2545},"owner":{"__isSmartRef__":true,"id":2428},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2546},"__LivelyClassName__":"lively.morphic.Box"},"2513":{"submorphs":[],"scripts":[],"id":"15D249DA-D25A-4787-922F-C215E450C3FF","shape":{"__isSmartRef__":true,"id":2514},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2520},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2517},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text2","partsBinMetaInfo":{"__isSmartRef__":true,"id":2521},"textChunks":[{"__isSmartRef__":true,"id":2522}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2524},"renderContextTable":{"__isSmartRef__":true,"id":2525},"eventHandler":{"__isSmartRef__":true,"id":2526},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2527},"_ClipMode":"visible","derivationIds":[355,"88E6F0AC-F183-4785-8583-CADBB7B9F34D","9854C347-679E-49A4-98CF-E5567FE449BA","B36DE922-DC2B-4402-96E0-3AB1D569ECE0"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2528},"owner":{"__isSmartRef__":true,"id":2512},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2514":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2515},"_Extent":{"__isSmartRef__":true,"id":2516},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2517},"renderContextTable":{"__isSmartRef__":true,"id":2518},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2519},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2515":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2516":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2517":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2518":{"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"},"2519":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2520":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2521":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2522":{"style":{"__isSmartRef__":true,"id":2523},"chunkOwner":{"__isSmartRef__":true,"id":2513},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2523":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2524":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2525":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2526":{"morph":{"__isSmartRef__":true,"id":2513},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2527":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2528":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2529":{"position":{"__isSmartRef__":true,"id":2530},"_Extent":{"__isSmartRef__":true,"id":2531},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2532},"_Fill":{"__isSmartRef__":true,"id":2533},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2538},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2539},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2530":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2531":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2532":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2533":{"stops":[{"__isSmartRef__":true,"id":2534},{"__isSmartRef__":true,"id":2536}],"vector":{"__isSmartRef__":true,"id":2455},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2534":{"offset":0,"color":{"__isSmartRef__":true,"id":2535}},"2535":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2536":{"offset":1,"color":{"__isSmartRef__":true,"id":2537}},"2537":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2538":{"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"},"2539":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2540":{"x":0,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2541":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2542":{"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"},"2543":{"morph":{"__isSmartRef__":true,"id":2512},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2544":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2545":{"resizeWidth":true},"2546":{"onTouchStart":{"__isSmartRef__":true,"id":2465},"onTouchMove":{"__isSmartRef__":true,"id":2469},"onTouchEnd":{"__isSmartRef__":true,"id":2473}},"2547":{"submorphs":[{"__isSmartRef__":true,"id":2548}],"scripts":[],"id":"AE422775-DEBE-4779-B4F5-060649F5F3DA","shape":{"__isSmartRef__":true,"id":2564},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2575},"showsHalos":false,"name":"Rectangle3","partsBinMetaInfo":{"__isSmartRef__":true,"id":2576},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2577},"eventHandler":{"__isSmartRef__":true,"id":2578},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"CE7C3712-8701-4C03-8E3B-5CB3344EB8C8","7598210A-69B5-4120-A438-4AB508482572","39B2E2A0-D8A7-4DB7-B021-AAE86780F60E"],"index":3,"priorExtent":{"__isSmartRef__":true,"id":2579},"layout":{"__isSmartRef__":true,"id":2580},"owner":{"__isSmartRef__":true,"id":2428},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2581},"__LivelyClassName__":"lively.morphic.Box"},"2548":{"submorphs":[],"scripts":[],"id":"51D5DB89-BD9A-428E-BDE4-5B13CA2850E9","shape":{"__isSmartRef__":true,"id":2549},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2555},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2552},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text3","partsBinMetaInfo":{"__isSmartRef__":true,"id":2556},"textChunks":[{"__isSmartRef__":true,"id":2557}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2559},"renderContextTable":{"__isSmartRef__":true,"id":2560},"eventHandler":{"__isSmartRef__":true,"id":2561},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2562},"_ClipMode":"visible","derivationIds":[355,"DF65E85F-CF63-4D38-B6FB-53EDD47FF17F","A15DAD3C-38C1-418A-8954-77F27DDE77BA","61F8C798-53F1-4BE2-B6DE-7591C03C3120"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2563},"owner":{"__isSmartRef__":true,"id":2547},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2549":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2550},"_Extent":{"__isSmartRef__":true,"id":2551},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2552},"renderContextTable":{"__isSmartRef__":true,"id":2553},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2554},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2550":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2551":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2552":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2553":{"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"},"2554":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2555":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2556":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2557":{"style":{"__isSmartRef__":true,"id":2558},"chunkOwner":{"__isSmartRef__":true,"id":2548},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2558":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2559":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2560":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2561":{"morph":{"__isSmartRef__":true,"id":2548},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2562":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2563":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2564":{"position":{"__isSmartRef__":true,"id":2565},"_Extent":{"__isSmartRef__":true,"id":2566},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2567},"_Fill":{"__isSmartRef__":true,"id":2568},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2573},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2574},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2565":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2566":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2567":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2568":{"stops":[{"__isSmartRef__":true,"id":2569},{"__isSmartRef__":true,"id":2571}],"vector":{"__isSmartRef__":true,"id":2455},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2569":{"offset":0,"color":{"__isSmartRef__":true,"id":2570}},"2570":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2571":{"offset":1,"color":{"__isSmartRef__":true,"id":2572}},"2572":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2573":{"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"},"2574":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2575":{"x":0,"y":129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2576":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2577":{"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"},"2578":{"morph":{"__isSmartRef__":true,"id":2547},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2579":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2580":{"resizeWidth":true},"2581":{"onTouchStart":{"__isSmartRef__":true,"id":2465},"onTouchMove":{"__isSmartRef__":true,"id":2469},"onTouchEnd":{"__isSmartRef__":true,"id":2473}},"2582":{"submorphs":[{"__isSmartRef__":true,"id":2583}],"scripts":[],"id":"D94022B4-90E9-42DD-A213-8812B1F48579","shape":{"__isSmartRef__":true,"id":2599},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2610},"showsHalos":false,"name":"Rectangle4","partsBinMetaInfo":{"__isSmartRef__":true,"id":2611},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2612},"eventHandler":{"__isSmartRef__":true,"id":2613},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"92F752E8-9991-4E69-82FC-8A505739298E","36935FDF-9046-4666-B31C-E79044FDEE98","7D10DDBF-67C3-4470-8CAD-6DB44EC583FD"],"index":4,"priorExtent":{"__isSmartRef__":true,"id":2614},"layout":{"__isSmartRef__":true,"id":2615},"owner":{"__isSmartRef__":true,"id":2428},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2616},"__LivelyClassName__":"lively.morphic.Box"},"2583":{"submorphs":[],"scripts":[],"id":"F0C9DB90-AFCB-4717-A54E-55E7DD0053F7","shape":{"__isSmartRef__":true,"id":2584},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2590},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2587},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text4","partsBinMetaInfo":{"__isSmartRef__":true,"id":2591},"textChunks":[{"__isSmartRef__":true,"id":2592}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2594},"renderContextTable":{"__isSmartRef__":true,"id":2595},"eventHandler":{"__isSmartRef__":true,"id":2596},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2597},"_ClipMode":"visible","derivationIds":[355,"C2E55D13-869F-49B5-BFDE-442283D77A9A","22F2AE17-5547-4A16-A121-29178506528C","85DF3FD2-18C5-40F9-8AE7-FBD159B89FF7"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2598},"owner":{"__isSmartRef__":true,"id":2582},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2584":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2585},"_Extent":{"__isSmartRef__":true,"id":2586},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2587},"renderContextTable":{"__isSmartRef__":true,"id":2588},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2589},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2585":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2586":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2587":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2588":{"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"},"2589":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2590":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2591":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2592":{"style":{"__isSmartRef__":true,"id":2593},"chunkOwner":{"__isSmartRef__":true,"id":2583},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2593":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2594":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2595":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2596":{"morph":{"__isSmartRef__":true,"id":2583},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2597":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2598":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2599":{"position":{"__isSmartRef__":true,"id":2600},"_Extent":{"__isSmartRef__":true,"id":2601},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2602},"_Fill":{"__isSmartRef__":true,"id":2603},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2608},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2609},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2600":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2601":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2602":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2603":{"stops":[{"__isSmartRef__":true,"id":2604},{"__isSmartRef__":true,"id":2606}],"vector":{"__isSmartRef__":true,"id":2455},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2604":{"offset":0,"color":{"__isSmartRef__":true,"id":2605}},"2605":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2606":{"offset":1,"color":{"__isSmartRef__":true,"id":2607}},"2607":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2608":{"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"},"2609":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2610":{"x":0,"y":172,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2611":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2612":{"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"},"2613":{"morph":{"__isSmartRef__":true,"id":2582},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2614":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2615":{"resizeWidth":true},"2616":{"onTouchStart":{"__isSmartRef__":true,"id":2465},"onTouchMove":{"__isSmartRef__":true,"id":2469},"onTouchEnd":{"__isSmartRef__":true,"id":2473}},"2617":{"submorphs":[{"__isSmartRef__":true,"id":2618}],"scripts":[],"id":"233B46E4-E328-475D-AF31-96FE4BA279BB","shape":{"__isSmartRef__":true,"id":2634},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2645},"showsHalos":false,"name":"Rectangle5","partsBinMetaInfo":{"__isSmartRef__":true,"id":2646},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2647},"eventHandler":{"__isSmartRef__":true,"id":2648},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"7AF04980-152D-46AF-ACA3-DC063EC310D4","7F43F051-7271-4DC0-8084-C50B5E51ECCC","6FF5D970-D596-4B75-85CC-6F4E7E869BA4"],"index":5,"priorExtent":{"__isSmartRef__":true,"id":2649},"layout":{"__isSmartRef__":true,"id":2650},"owner":{"__isSmartRef__":true,"id":2428},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2651},"__LivelyClassName__":"lively.morphic.Box"},"2618":{"submorphs":[],"scripts":[],"id":"5DD8451B-FD4A-4499-B471-6447121EA923","shape":{"__isSmartRef__":true,"id":2619},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2625},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2622},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text5","partsBinMetaInfo":{"__isSmartRef__":true,"id":2626},"textChunks":[{"__isSmartRef__":true,"id":2627}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2629},"renderContextTable":{"__isSmartRef__":true,"id":2630},"eventHandler":{"__isSmartRef__":true,"id":2631},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2632},"_ClipMode":"visible","derivationIds":[355,"76B5ADFA-B211-41B1-AA34-734C07C5687E","0FC4CA04-9D61-4E58-91DC-4B20C751F7AA","9383151B-3614-4258-8F7A-5657C7F0585F"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2633},"owner":{"__isSmartRef__":true,"id":2617},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2619":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2620},"_Extent":{"__isSmartRef__":true,"id":2621},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2622},"renderContextTable":{"__isSmartRef__":true,"id":2623},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2624},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2620":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2621":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2622":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2623":{"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"},"2624":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2625":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2626":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2627":{"style":{"__isSmartRef__":true,"id":2628},"chunkOwner":{"__isSmartRef__":true,"id":2618},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2628":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2629":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2630":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2631":{"morph":{"__isSmartRef__":true,"id":2618},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2632":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2633":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2634":{"position":{"__isSmartRef__":true,"id":2635},"_Extent":{"__isSmartRef__":true,"id":2636},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2637},"_Fill":{"__isSmartRef__":true,"id":2638},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2643},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2644},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2635":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2636":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2637":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2638":{"stops":[{"__isSmartRef__":true,"id":2639},{"__isSmartRef__":true,"id":2641}],"vector":{"__isSmartRef__":true,"id":2455},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2639":{"offset":0,"color":{"__isSmartRef__":true,"id":2640}},"2640":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2641":{"offset":1,"color":{"__isSmartRef__":true,"id":2642}},"2642":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2643":{"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"},"2644":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2645":{"x":0,"y":215,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2646":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2647":{"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"},"2648":{"morph":{"__isSmartRef__":true,"id":2617},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2649":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2650":{"resizeWidth":true},"2651":{"onTouchStart":{"__isSmartRef__":true,"id":2465},"onTouchMove":{"__isSmartRef__":true,"id":2469},"onTouchEnd":{"__isSmartRef__":true,"id":2473}},"2652":{"submorphs":[{"__isSmartRef__":true,"id":2653}],"scripts":[],"id":"EE82D661-A41E-4784-903E-30C21D9BB525","shape":{"__isSmartRef__":true,"id":2669},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2680},"showsHalos":false,"name":"Rectangle6","partsBinMetaInfo":{"__isSmartRef__":true,"id":2681},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2682},"eventHandler":{"__isSmartRef__":true,"id":2683},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"1D70B9CA-F9A2-4EF6-B83A-245FF295A5B3","833874B8-69F2-4C3E-98D8-F51869A60FA2","4D6597FC-ABE4-4E59-A3CF-611EB5256202"],"index":6,"priorExtent":{"__isSmartRef__":true,"id":2684},"layout":{"__isSmartRef__":true,"id":2685},"owner":{"__isSmartRef__":true,"id":2428},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2686},"__LivelyClassName__":"lively.morphic.Box"},"2653":{"submorphs":[],"scripts":[],"id":"DBE74BB9-4F8D-4A5B-B6F7-A17A5867A0B0","shape":{"__isSmartRef__":true,"id":2654},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2660},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2657},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text6","partsBinMetaInfo":{"__isSmartRef__":true,"id":2661},"textChunks":[{"__isSmartRef__":true,"id":2662}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2664},"renderContextTable":{"__isSmartRef__":true,"id":2665},"eventHandler":{"__isSmartRef__":true,"id":2666},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2667},"_ClipMode":"visible","derivationIds":[355,"56DF7BB4-9968-4A6A-9DE0-7AD05DB362A7","7F83A85D-002B-4CE3-9905-6E7156973964","2101EDDA-05FA-4C8E-9887-8E29ED9EB5B7"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2668},"owner":{"__isSmartRef__":true,"id":2652},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2654":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2655},"_Extent":{"__isSmartRef__":true,"id":2656},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2657},"renderContextTable":{"__isSmartRef__":true,"id":2658},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2659},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2655":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2656":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2657":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2658":{"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"},"2659":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2660":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2661":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2662":{"style":{"__isSmartRef__":true,"id":2663},"chunkOwner":{"__isSmartRef__":true,"id":2653},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2663":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2664":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2665":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2666":{"morph":{"__isSmartRef__":true,"id":2653},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2667":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2668":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2669":{"position":{"__isSmartRef__":true,"id":2670},"_Extent":{"__isSmartRef__":true,"id":2671},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2672},"_Fill":{"__isSmartRef__":true,"id":2673},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2678},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2679},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2670":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2671":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2672":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2673":{"stops":[{"__isSmartRef__":true,"id":2674},{"__isSmartRef__":true,"id":2676}],"vector":{"__isSmartRef__":true,"id":2455},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2674":{"offset":0,"color":{"__isSmartRef__":true,"id":2675}},"2675":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2676":{"offset":1,"color":{"__isSmartRef__":true,"id":2677}},"2677":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2678":{"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"},"2679":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2680":{"x":0,"y":258,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2681":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2682":{"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"},"2683":{"morph":{"__isSmartRef__":true,"id":2652},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2684":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2685":{"resizeWidth":true},"2686":{"onTouchStart":{"__isSmartRef__":true,"id":2465},"onTouchMove":{"__isSmartRef__":true,"id":2469},"onTouchEnd":{"__isSmartRef__":true,"id":2473}},"2687":{"submorphs":[{"__isSmartRef__":true,"id":2688}],"scripts":[],"id":"5F3D0DCB-1BB2-4392-B256-02560611507A","shape":{"__isSmartRef__":true,"id":2704},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2715},"showsHalos":false,"name":"Rectangle7","partsBinMetaInfo":{"__isSmartRef__":true,"id":2716},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2717},"eventHandler":{"__isSmartRef__":true,"id":2718},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"5461F5D2-20BC-4BBA-9EBC-6C583FF7CB5E","8B72ABA7-C28D-49CA-90F3-DCE8600A0B80","E58E6670-BC41-40C7-A6BC-A0407FE95BA2"],"index":7,"priorExtent":{"__isSmartRef__":true,"id":2719},"layout":{"__isSmartRef__":true,"id":2720},"owner":{"__isSmartRef__":true,"id":2428},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2721},"__LivelyClassName__":"lively.morphic.Box"},"2688":{"submorphs":[],"scripts":[],"id":"09094987-4588-4283-A213-A6783A58BD45","shape":{"__isSmartRef__":true,"id":2689},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2695},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2692},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text7","partsBinMetaInfo":{"__isSmartRef__":true,"id":2696},"textChunks":[{"__isSmartRef__":true,"id":2697}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2699},"renderContextTable":{"__isSmartRef__":true,"id":2700},"eventHandler":{"__isSmartRef__":true,"id":2701},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2702},"_ClipMode":"visible","derivationIds":[355,"2CECDAFF-91E7-4156-85A1-79E736BD2E3C","E95C4DC4-7329-4F4E-8091-544F345437B7","5E8A8CA1-3423-433D-BE81-711FDC7F64DA"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2703},"owner":{"__isSmartRef__":true,"id":2687},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2689":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2690},"_Extent":{"__isSmartRef__":true,"id":2691},"_BorderWidth":0,"_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":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"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","setClipMode":"setClipModeHTML"},"2694":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2695":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2696":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2697":{"style":{"__isSmartRef__":true,"id":2698},"chunkOwner":{"__isSmartRef__":true,"id":2688},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2698":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2699":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2700":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2701":{"morph":{"__isSmartRef__":true,"id":2688},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2702":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2703":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2704":{"position":{"__isSmartRef__":true,"id":2705},"_Extent":{"__isSmartRef__":true,"id":2706},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2707},"_Fill":{"__isSmartRef__":true,"id":2708},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2713},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2714},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2705":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2706":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2707":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2708":{"stops":[{"__isSmartRef__":true,"id":2709},{"__isSmartRef__":true,"id":2711}],"vector":{"__isSmartRef__":true,"id":2455},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2709":{"offset":0,"color":{"__isSmartRef__":true,"id":2710}},"2710":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2711":{"offset":1,"color":{"__isSmartRef__":true,"id":2712}},"2712":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2713":{"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"},"2714":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2715":{"x":0,"y":301,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2716":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2717":{"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"},"2718":{"morph":{"__isSmartRef__":true,"id":2687},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2719":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2720":{"resizeWidth":true},"2721":{"onTouchStart":{"__isSmartRef__":true,"id":2465},"onTouchMove":{"__isSmartRef__":true,"id":2469},"onTouchEnd":{"__isSmartRef__":true,"id":2473}},"2722":{"submorphs":[{"__isSmartRef__":true,"id":2723}],"scripts":[],"id":"A556A6CB-0453-443B-8610-D73169A6726C","shape":{"__isSmartRef__":true,"id":2739},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2750},"showsHalos":false,"name":"Rectangle8","partsBinMetaInfo":{"__isSmartRef__":true,"id":2751},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2752},"eventHandler":{"__isSmartRef__":true,"id":2753},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"B5A43E89-F4B2-4246-AD8F-42CC79E44CC1","027529C9-3D57-4629-84C2-5D71A73C024D","E51D9334-9A1B-4A38-8D6F-031F0B4F9180"],"index":8,"priorExtent":{"__isSmartRef__":true,"id":2754},"layout":{"__isSmartRef__":true,"id":2755},"owner":{"__isSmartRef__":true,"id":2428},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2756},"__LivelyClassName__":"lively.morphic.Box"},"2723":{"submorphs":[],"scripts":[],"id":"38840F11-D643-47C7-9175-392609DE1987","shape":{"__isSmartRef__":true,"id":2724},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2730},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2727},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text8","partsBinMetaInfo":{"__isSmartRef__":true,"id":2731},"textChunks":[{"__isSmartRef__":true,"id":2732}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2734},"renderContextTable":{"__isSmartRef__":true,"id":2735},"eventHandler":{"__isSmartRef__":true,"id":2736},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2737},"_ClipMode":"visible","derivationIds":[355,"FD82442F-F0AC-49B9-B80A-9053AD062D61","A15D7E6E-A88B-4E24-AEE9-3E7ED020CD95","EA11FD13-57EE-48F8-8017-C2703D6FE322"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2738},"owner":{"__isSmartRef__":true,"id":2722},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2724":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2725},"_Extent":{"__isSmartRef__":true,"id":2726},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2727},"renderContextTable":{"__isSmartRef__":true,"id":2728},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2729},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2725":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2726":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2727":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2728":{"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"},"2729":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2730":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2731":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2732":{"style":{"__isSmartRef__":true,"id":2733},"chunkOwner":{"__isSmartRef__":true,"id":2723},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2733":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2734":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2735":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2736":{"morph":{"__isSmartRef__":true,"id":2723},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2737":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2738":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2739":{"position":{"__isSmartRef__":true,"id":2740},"_Extent":{"__isSmartRef__":true,"id":2741},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2742},"_Fill":{"__isSmartRef__":true,"id":2743},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2748},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2749},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2740":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2741":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2742":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2743":{"stops":[{"__isSmartRef__":true,"id":2744},{"__isSmartRef__":true,"id":2746}],"vector":{"__isSmartRef__":true,"id":2455},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2744":{"offset":0,"color":{"__isSmartRef__":true,"id":2745}},"2745":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2746":{"offset":1,"color":{"__isSmartRef__":true,"id":2747}},"2747":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2748":{"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"},"2749":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2750":{"x":0,"y":344,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2751":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2752":{"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"},"2753":{"morph":{"__isSmartRef__":true,"id":2722},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2754":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2755":{"resizeWidth":true},"2756":{"onTouchStart":{"__isSmartRef__":true,"id":2465},"onTouchMove":{"__isSmartRef__":true,"id":2469},"onTouchEnd":{"__isSmartRef__":true,"id":2473}},"2757":{"position":{"__isSmartRef__":true,"id":2758},"_Extent":{"__isSmartRef__":true,"id":2759},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2760},"_Fill":{"__isSmartRef__":true,"id":2761},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2762},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2763},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2758":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2759":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2760":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2761":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2762":{"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"},"2763":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2764":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2765":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2766":{"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"},"2767":{"morph":{"__isSmartRef__":true,"id":2428},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2768":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2769":{"resizeWidth":true,"adjustForNewBounds":true},"2770":{"onTouchStart":{"__isSmartRef__":true,"id":2771},"onTouchMove":{"__isSmartRef__":true,"id":2779},"onTouchEnd":{"__isSmartRef__":true,"id":2787},"stayInBounds":{"__isSmartRef__":true,"id":2795},"isInBounds":{"__isSmartRef__":true,"id":2799}},"2771":{"varMapping":{"__isSmartRef__":true,"id":2772},"source":"function onTouchStart(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n\n if(touch) {\n touch.originalDragOffset = touch.clientY;\n touch.originalMenuOffset = this.getPosition().y;\n\n this.isTouched = true;\n this.velocity = 0;\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = new Date().valueOf();\n }\n return true;\n\n \n}","funcProperties":{"__isSmartRef__":true,"id":2777},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2772":{"this":{"__isSmartRef__":true,"id":2428},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2773}},"2773":{"$super":{"__isSmartRef__":true,"id":2774}},"2774":{"varMapping":{"__isSmartRef__":true,"id":2775},"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":2776},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2775":{"obj":{"__isSmartRef__":true,"id":2428},"name":"onTouchStart"},"2776":{},"2777":{"timestamp":{"__isSmartRef__":true,"id":2778},"user":"sstamm","tags":[]},"2778":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (CET)"},"2779":{"varMapping":{"__isSmartRef__":true,"id":2780},"source":"function onTouchMove(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n \n if(touch && touch.originalDragOffset) {\n //TODO: Store this attributes in the object to save computation time\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu-heightContainer;\n\n\n var delta = touch.clientY - touch.originalDragOffset;\n this.setPosition(pt(0,touch.originalMenuOffset+delta));\n\n if(!this.isInBounds()) {\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n delta = this.getPosition().y-yPos;\n this.moveBy(pt(0,-delta/2));\n }\n\n var positionDelta = touch.lastTouch-touch.clientY;\n var now = new Date().valueOf();\n var timeDelta = now - touch.lastUpdate;\n\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = now;\n\n this.velocity = positionDelta*(-10/timeDelta);\n \n\n }\n return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":2785},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2780":{"this":{"__isSmartRef__":true,"id":2428},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2781}},"2781":{"$super":{"__isSmartRef__":true,"id":2782}},"2782":{"varMapping":{"__isSmartRef__":true,"id":2783},"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":2784},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2783":{"obj":{"__isSmartRef__":true,"id":2428},"name":"onTouchMove"},"2784":{},"2785":{"timestamp":{"__isSmartRef__":true,"id":2786},"user":"sstamm","tags":[]},"2786":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:54:39 GMT+0100 (CET)"},"2787":{"varMapping":{"__isSmartRef__":true,"id":2788},"source":"function onTouchEnd(evt) {\n $world.get(\"TouchList\").submorphs[0];\n var lastUpdate = new Date().valueOf();\n this.isTouched = false;\n var that = this;\n\n var flickingFct = function() {\n var now = new Date().valueOf();\n var delta = now - lastUpdate;\n var velo;\n that.velocity *= Math.pow(0.99, delta);\n that.moveBy(pt(0,that.velocity));\n that.stayInBounds();\n velo = that.velocity;\n \n lastUpdate = now;\n if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":2793},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2788":{"this":{"__isSmartRef__":true,"id":2428},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2789}},"2789":{"$super":{"__isSmartRef__":true,"id":2790}},"2790":{"varMapping":{"__isSmartRef__":true,"id":2791},"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":2792},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2791":{"obj":{"__isSmartRef__":true,"id":2428},"name":"onTouchEnd"},"2792":{},"2793":{"timestamp":{"__isSmartRef__":true,"id":2794},"user":"sstamm","tags":[]},"2794":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (CET)"},"2795":{"varMapping":{"__isSmartRef__":true,"id":2796},"source":"function stayInBounds() {\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta!=0) {\n this.velocity = -delta/15;\n }\n// this.setPosition(pt(0,yPos));\n\n}","funcProperties":{"__isSmartRef__":true,"id":2797},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2796":{"this":{"__isSmartRef__":true,"id":2428}},"2797":{"timestamp":{"__isSmartRef__":true,"id":2798},"user":"sstamm","tags":[]},"2798":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (CET)"},"2799":{"varMapping":{"__isSmartRef__":true,"id":2800},"source":"function isInBounds() {\n var heightMenu = this.owner.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":2801},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2800":{"this":{"__isSmartRef__":true,"id":2428}},"2801":{"timestamp":{"__isSmartRef__":true,"id":2802},"user":"sstamm","tags":[]},"2802":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (CET)"},"2803":{"position":{"__isSmartRef__":true,"id":2804},"_Extent":{"__isSmartRef__":true,"id":2805},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2806},"_Fill":{"__isSmartRef__":true,"id":2807},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2808},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2809},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2804":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2805":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2806":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2807":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2808":{},"2809":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2810":{"x":1,"y":-42,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2811":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A morph which behaves like an IPad list. Use initialize() to clear and addItem() to ... well ... add items","migrationLevel":4,"partName":"TouchList","changes":[{"__isSmartRef__":true,"id":2812},{"__isSmartRef__":true,"id":2814},{"__isSmartRef__":true,"id":2816},{"__isSmartRef__":true,"id":2818}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2812":{"date":{"__isSmartRef__":true,"id":2813},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"2813":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (CET)"},"2814":{"date":{"__isSmartRef__":true,"id":2815},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"2815":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (CET)"},"2816":{"date":{"__isSmartRef__":true,"id":2817},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"2817":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (CET)"},"2818":{"date":{"__isSmartRef__":true,"id":2819},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"2819":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (CET)"},"2820":{"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"},"2821":{"morph":{"__isSmartRef__":true,"id":2427},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2822":{"sourceObj":{"__isSmartRef__":true,"id":2427},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":2427},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2823":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2824":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"2825":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2826":{"submorphs":[{"__isSmartRef__":true,"id":2827},{"__isSmartRef__":true,"id":2427}],"scripts":[],"id":"42E052F8-BF9E-40EA-90D0-797670BBD241","shape":{"__isSmartRef__":true,"id":2843},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2855},"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2856},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2857},"eventHandler":{"__isSmartRef__":true,"id":2858},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"835F3BC8-D36A-49E4-BFAF-6554B4148F66","C727DE20-4AA7-4FDD-B4A9-BC9ED2A62972"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":2859},"layout":{"__isSmartRef__":true,"id":2860},"owner":null,"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2861},"__LivelyClassName__":"lively.morphic.Box"},"2827":{"submorphs":[],"scripts":[],"id":"47E766AB-D2C4-4325-A846-3F5066EE2E1A","shape":{"__isSmartRef__":true,"id":2828},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2834},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2831},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2835},"textChunks":[{"__isSmartRef__":true,"id":2836}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2838},"renderContextTable":{"__isSmartRef__":true,"id":2839},"eventHandler":{"__isSmartRef__":true,"id":2840},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2841},"_ClipMode":"visible","derivationIds":[355,"E0F8F56D-E4DC-4441-A85E-5428558C130F","F9A264B8-01DF-406D-AA0B-30E5E147A7AD"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2842},"owner":{"__isSmartRef__":true,"id":2826},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2828":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2829},"_Extent":{"__isSmartRef__":true,"id":2830},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2831},"renderContextTable":{"__isSmartRef__":true,"id":2832},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2833},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2829":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2830":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2831":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2832":{"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"},"2833":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2834":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2835":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2836":{"style":{"__isSmartRef__":true,"id":2837},"chunkOwner":{"__isSmartRef__":true,"id":2827},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2837":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2838":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2839":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2840":{"morph":{"__isSmartRef__":true,"id":2827},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2841":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2842":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2843":{"position":{"__isSmartRef__":true,"id":2844},"_Extent":{"__isSmartRef__":true,"id":2845},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2846},"_Fill":{"__isSmartRef__":true,"id":2847},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2853},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2854},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2844":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2845":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2846":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2847":{"stops":[{"__isSmartRef__":true,"id":2848},{"__isSmartRef__":true,"id":2850}],"vector":{"__isSmartRef__":true,"id":2852},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2848":{"offset":0,"color":{"__isSmartRef__":true,"id":2849}},"2849":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2850":{"offset":1,"color":{"__isSmartRef__":true,"id":2851}},"2851":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2852":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2853":{"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"},"2854":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2855":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2856":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2857":{"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"},"2858":{"morph":{"__isSmartRef__":true,"id":2826},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2859":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2860":{"resizeWidth":true},"2861":{"onTouchStart":{"__isSmartRef__":true,"id":2331},"onTouchMove":{"__isSmartRef__":true,"id":2335},"onTouchEnd":{"__isSmartRef__":true,"id":2339}},"2862":{"onrestore":{"__isSmartRef__":true,"id":2863},"initialize":{"__isSmartRef__":true,"id":2871},"addItem":{"__isSmartRef__":true,"id":2879},"createListItem":{"__isSmartRef__":true,"id":2883},"touchstartCallback":{"__isSmartRef__":true,"id":2465},"touchmoveCallback":{"__isSmartRef__":true,"id":2469},"touchendCallback":{"__isSmartRef__":true,"id":2473},"updateSelection":{"__isSmartRef__":true,"id":2887},"handleClick":{"__isSmartRef__":true,"id":2891},"openSubmenuWith":{"__isSmartRef__":true,"id":2895},"initializeListEntries":{"__isSmartRef__":true,"id":2899}},"2863":{"varMapping":{"__isSmartRef__":true,"id":2864},"source":"function onrestore() {\n var that = this;\n\n //TODO: this is a race condition, because the render context is not\n // ready in onrestore\n window.setTimeout(function() { \n that.shape.setClipMode(\"hidden\"); }, 100);\n}","funcProperties":{"__isSmartRef__":true,"id":2869},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2864":{"this":{"__isSmartRef__":true,"id":2427},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2865}},"2865":{"$super":{"__isSmartRef__":true,"id":2866}},"2866":{"varMapping":{"__isSmartRef__":true,"id":2867},"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":2868},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2867":{"obj":{"__isSmartRef__":true,"id":2427},"name":"onrestore"},"2868":{},"2869":{"timestamp":{"__isSmartRef__":true,"id":2870},"user":"sstamm","tags":[]},"2870":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (CET)"},"2871":{"varMapping":{"__isSmartRef__":true,"id":2872},"source":"function initialize() {\n console.log(\"in initialize\");\n this.itemList = [];\n this.selection = null;\n this.selectedLineNo = -1;\n this.selectedMorph = null;\n this.shape.setClipMode(\"hidden\");\n var itemContainer = this.get(\"ListItemContainer\");\n \n itemContainer.setPosition(pt(0,0));\n itemContainer.submorphs.invoke(\"remove\");\n \n}","funcProperties":{"__isSmartRef__":true,"id":2877},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2872":{"this":{"__isSmartRef__":true,"id":2427},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2873}},"2873":{"$super":{"__isSmartRef__":true,"id":2874}},"2874":{"varMapping":{"__isSmartRef__":true,"id":2875},"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":2876},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2875":{"obj":{"__isSmartRef__":true,"id":2427},"name":"initialize"},"2876":{},"2877":{"timestamp":{"__isSmartRef__":true,"id":2878},"user":"sstamm","tags":[]},"2878":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (CET)"},"2879":{"varMapping":{"__isSmartRef__":true,"id":2880},"source":"function addItem(text) {\n var newMorph = this.createListItem(text);\n \n newMorph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(newMorph);\n this.get(\"ListItemContainer\").addMorph(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":2881},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2880":{"this":{"__isSmartRef__":true,"id":2427}},"2881":{"timestamp":{"__isSmartRef__":true,"id":2882},"user":"sstamm","tags":[]},"2882":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (CET)"},"2883":{"varMapping":{"__isSmartRef__":true,"id":2884},"source":"function createListItem(textString) {\n var part = lively.PartsBin.getPart(\"Rectangle\", \"PartsBin/Basic\");\n\n part.index = this.itemList.length;\n\n part.setExtent(pt(this.getExtent().x,44));\n part.applyStyle({resizeWidth: true});\n part.setFill(new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n ));\n part.setBorderColor(Color.rgb(138,138,138));\n \n\n\n part.onTouchStart = this.touchstartCallback;\n part.onTouchMove = this.touchmoveCallback;\n part.onTouchEnd = this.touchendCallback;\n\n part.registerForEvent(\"touchstart\", part, \"onTouchStart\", false);\n part.registerForEvent(\"touchmove\", part, \"onTouchMove\", false);\n part.registerForEvent(\"touchend\", part, \"onTouchEnd\", false);\n\n var text = lively.PartsBin.getPart(\"Text\", \"PartsBin/Basic\");\n text.setFontSize(14);\n text.setTextColor(Color.rgb(47,47,47));\n text.setFontFamily(\"Helvetica, Arial, sans-serif\");\n\n text.setPosition(pt(10,10));\n text.textString = textString;\n\n text.emphasizeAll({fontWeight: 'bold'});\n text.disableHalos();\n part.addMorph(text);\n\n return part;\n}","funcProperties":{"__isSmartRef__":true,"id":2885},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2884":{"this":{"__isSmartRef__":true,"id":2427}},"2885":{"timestamp":{"__isSmartRef__":true,"id":2886},"user":"sstamm","tags":[]},"2886":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (CET)"},"2887":{"varMapping":{"__isSmartRef__":true,"id":2888},"source":"function updateSelection(newSelectedMorph) {\n var hasText = true;\n if(this.selectedMorph) {\n hasText = this.selectedMorph.submorphs[0];\n this.selectedMorph.setFill(\n new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n )\n );\n if(hasText) { this.selectedMorph.submorphs[0].setTextColor(Color.rgb(47,47,47));\n }\n }\n hasText = newSelectedMorph.submorphs[0];\n\n \n if(hasText) {\n this.selection = newSelectedMorph.submorphs[0].textString;\n } else {\n this.selection = \"\";\n }\n this.selectedLineNo = newSelectedMorph.index;\n this.selectedMorph = newSelectedMorph;\n \n this.selectedMorph.setFill(\nnew lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(47,47,47)},\n {offset:0.5,color: Color.rgb(21,21,21)},\n {offset: 1, color: Color.rgb(0,0,0)}\n ],\n 'northSouth'\n ));\n \n if(hasText) {\n this.selectedMorph.submorphs[0].setTextColor(Color.rgb(222,222,222));\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2889},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2888":{"this":{"__isSmartRef__":true,"id":2427}},"2889":{"timestamp":{"__isSmartRef__":true,"id":2890},"user":"sstamm","tags":[]},"2890":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (CET)"},"2891":{"varMapping":{"__isSmartRef__":true,"id":2892},"source":"function handleClick() {\n switch(this.selection){\n case \"PartsBin\":\n $world.openPartsBin();\n $world.hideMockMenu();\n break;\n case \"Parts\":\n this.openSubmenuWith(\n [\"Ellipse\",\"Image\",\"Line\",\"Rectangle\",\"Text\",\n \"Button\",\"List\",\"ScriptableButton\",\"Slider\"]\n );\n break;\n case \"Ellipse\":\n case \"Image\":\n case \"Line\":\n case \"Rectangle\":\n case \"Text\":\n $world.openPartItem(this.selection, \"PartsBin/Basic\");\n $world.hideMockMenu();\n break;\n case \"Button\":\n case \"List\":\n case \"ScriptableButton\":\n case \"Slider\":\n $world.openPartItem(this.selection, \"PartsBin/Inputs\");\n $world.hideMockMenu();\n break;\n case \"Tools\":\n this.openSubmenuWith(\n [\"Workspace\",\"System Code Browser\",\"Object Editor\",\n \"Method Finder\",\"Text Editor\"]\n );\n break;\n case \"Workspace\":\n $world.openWorkspace();\n $world.hideMockMenu();\n break;\n case \"System Code Browser\":\n $world.openSystemBrowser();\n $world.hideMockMenu();\n break;\n case \"Object Editor\":\n $world.openObjectEditor();\n $world.hideMockMenu();\n break;\n case \"Method Finder\":\n $world.openMethodFinder();\n $world.hideMockMenu();\n break;\n case \"Text Editor\":\n new lively.morphic.TextEditor().openIn(world)\n $world.hideMockMenu();\n break;\n case \"Preferences\":\n this.openSubmenuWith(\n [\"set username\",\"set extent\",\"disable part caching\"]\n );\n break;\n case \"set username\":\n $world.askForUserName();\n $world.hideMockMenu();\n break;\n case \"set extent\":\n $world.askForNewWorldExtent();\n $world.hideMockMenu();\n break;\n case \"disable part caching\":\n $world.hideMockMenu();\n break;\n case \"Debugging\":\n this.openSubmenuWith(\n [\"reset world scale\",\"reset title bars\",\"reset button labels\",\n \"World serialization info\",\"clear part cache\",\"show connectors\"]\n );\n break;\n case \"reset world scale\":\n $world.resetScale();\n $world.hideMockMenu();\n break;\n case \"reset title bars\":\n $world.resetAllTitleBars();\n $world.hideMockMenu();\n break;\n case \"reset button labels\":\n $world.resetAllButtonLabels();\n $world.hideMockMenu();\n break;\n case \"World serialization info\":\n require('lively.persistence.Debugging').toRun(\n function() {\n var json = lively.persistence.Serializer.serialize(world),\n printer = lively.persistence.Debugging.Helper.listObjects(json);\n world.addTextWindow(printer.toString());\n }\n );\n $world.hideMockMenu();\n break;\n case \"clear part cache\":\n $world.hideMockMenu();\n break;\n case \"show connectors\":\n $world.hideMockMenu();\n break;\n case \"Wiki\":\n this.openSubmenuWith(\n [\"about this wiki\",\"view versions of this world\",\"download world\",\n \"upload world to Dropbox\",\"delete world\"]\n );\n break;\n case \"about this wiki\":\n $world.openAboutBox();\n $world.hideMockMenu();\n break;\n case \"view versions of this world\":\n $world.openVersionViewer();\n $world.hideMockMenu();\n break;\n case \"download world\":\n require('lively.persistence.StandAlonePackaging').toRun(\n function() {\n lively.persistence.StandAlonePackaging.packageCurrentWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"upload world to Dropbox\":\n require('apps.Dropbox').toRun(\n function() {\n DropboxAPI.uploadArchivedWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"delete world\":\n $world.interactiveDeleteWorldOnServer();\n $world.hideMockMenu();\n break;\n case \"Documentation\":\n this.openSubmenuWith(\n [\"on short cuts\",\"on connect data bindings\",\n \"on Lively's PartsBin\",\"more...\"]\n );\n break;\n case \"on short cuts\":\n $world.openShortcutDocumentation();\n $world.hideMockMenu();\n break;\n case \"on connect data bindings\":\n $world.openConnectDocumentation();\n $world.hideMockMenu();\n break;\n case \"on Lively's PartsBin\":\n $world.openPartsBinDocumentation();\n $world.hideMockMenu();\n break;\n case \"more...\":\n window.open(Config.rootPath + 'documentation/');\n $world.hideMockMenu();\n break;\n case \"save world as ...\":\n $world.interactiveSaveWorldAs();\n $world.hideMockMenu();\n break;\n case \"save world\":\n $world.saveWorld();\n $world.hideMockMenu();\n break;\n default:\n //Do nothing\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2893},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2892":{"this":{"__isSmartRef__":true,"id":2427}},"2893":{"timestamp":{"__isSmartRef__":true,"id":2894},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"2894":{"isSerializedDate":true,"string":"Mon Jan 30 2012 19:31:03 GMT+0100 (CET)"},"2895":{"varMapping":{"__isSmartRef__":true,"id":2896},"source":"function openSubmenuWith(list) {\n this.initialize();\n this.owner.get(\"BackButton\").setVisible(true);\n for (var i = 0; i < list.length; i++) {\n this.addItem(list[i]);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2897},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2896":{"this":{"__isSmartRef__":true,"id":2427}},"2897":{"timestamp":{"__isSmartRef__":true,"id":2898},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"2898":{"isSerializedDate":true,"string":"Mon Jan 30 2012 19:31:28 GMT+0100 (CET)"},"2899":{"varMapping":{"__isSmartRef__":true,"id":2900},"source":"function initializeListEntries() {\n this.initialize();\n this.addItem(\"PartsBin\");\n this.addItem(\"Parts\");\n this.addItem(\"Tools\");\n this.addItem(\"Preferences\");\n this.addItem(\"Debugging\");\n this.addItem(\"Wiki\");\n this.addItem(\"Documentation\");\n this.addItem(\"save world as ...\");\n this.addItem(\"save world\");\n this.owner.get(\"BackButton\").setVisible(false);\n}","funcProperties":{"__isSmartRef__":true,"id":2901},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2900":{"this":{"__isSmartRef__":true,"id":2427}},"2901":{"timestamp":{"__isSmartRef__":true,"id":2902},"user":"conradcalmez","tags":[]},"2902":{"isSerializedDate":true,"string":"Tue Jan 31 2012 10:32:29 GMT+0100 (CET)"},"2903":{"onTouchStart":{"__isSmartRef__":true,"id":2904},"onTouchMove":{"__isSmartRef__":true,"id":2912},"onTouchEnd":{"__isSmartRef__":true,"id":2920},"stayInBounds":{"__isSmartRef__":true,"id":2928},"isInBounds":{"__isSmartRef__":true,"id":2932}},"2904":{"varMapping":{"__isSmartRef__":true,"id":2905},"source":"function onTouchStart(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n\n if(touch) {\n touch.originalDragOffset = touch.clientY;\n touch.originalMenuOffset = this.getPosition().y;\n\n this.isTouched = true;\n this.velocity = 0;\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = new Date().valueOf();\n }\n return true;\n\n \n}","funcProperties":{"__isSmartRef__":true,"id":2910},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2905":{"this":{"__isSmartRef__":true,"id":2295},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2906}},"2906":{"$super":{"__isSmartRef__":true,"id":2907}},"2907":{"varMapping":{"__isSmartRef__":true,"id":2908},"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":2909},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2908":{"obj":{"__isSmartRef__":true,"id":2295},"name":"onTouchStart"},"2909":{},"2910":{"timestamp":{"__isSmartRef__":true,"id":2911},"user":"sstamm","tags":[]},"2911":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (CET)"},"2912":{"varMapping":{"__isSmartRef__":true,"id":2913},"source":"function onTouchMove(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n \n if(touch && touch.originalDragOffset) {\n //TODO: Store this attributes in the object to save computation time\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu-heightContainer;\n\n\n var delta = touch.clientY - touch.originalDragOffset;\n this.setPosition(pt(0,touch.originalMenuOffset+delta));\n\n if(!this.isInBounds()) {\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n delta = this.getPosition().y-yPos;\n this.moveBy(pt(0,-delta/2));\n }\n\n var positionDelta = touch.lastTouch-touch.clientY;\n var now = new Date().valueOf();\n var timeDelta = now - touch.lastUpdate;\n\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = now;\n\n this.velocity = positionDelta*(-10/timeDelta);\n \n\n }\n return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":2918},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2913":{"this":{"__isSmartRef__":true,"id":2295},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2914}},"2914":{"$super":{"__isSmartRef__":true,"id":2915}},"2915":{"varMapping":{"__isSmartRef__":true,"id":2916},"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":2917},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2916":{"obj":{"__isSmartRef__":true,"id":2295},"name":"onTouchMove"},"2917":{},"2918":{"timestamp":{"__isSmartRef__":true,"id":2919},"user":"sstamm","tags":[]},"2919":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:54:39 GMT+0100 (CET)"},"2920":{"varMapping":{"__isSmartRef__":true,"id":2921},"source":"function onTouchEnd(evt) {\n $world.get(\"TouchList\").submorphs[0];\n var lastUpdate = new Date().valueOf();\n this.isTouched = false;\n var that = this;\n\n var flickingFct = function() {\n var now = new Date().valueOf();\n var delta = now - lastUpdate;\n var velo;\n that.velocity *= Math.pow(0.99, delta);\n that.moveBy(pt(0,that.velocity));\n that.stayInBounds();\n velo = that.velocity;\n \n lastUpdate = now;\n if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":2926},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2921":{"this":{"__isSmartRef__":true,"id":2295},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2922}},"2922":{"$super":{"__isSmartRef__":true,"id":2923}},"2923":{"varMapping":{"__isSmartRef__":true,"id":2924},"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":2925},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2924":{"obj":{"__isSmartRef__":true,"id":2295},"name":"onTouchEnd"},"2925":{},"2926":{"timestamp":{"__isSmartRef__":true,"id":2927},"user":"sstamm","tags":[]},"2927":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (CET)"},"2928":{"varMapping":{"__isSmartRef__":true,"id":2929},"source":"function stayInBounds() {\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta!=0) {\n this.velocity = -delta/15;\n }\n// this.setPosition(pt(0,yPos));\n\n}","funcProperties":{"__isSmartRef__":true,"id":2930},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2929":{"this":{"__isSmartRef__":true,"id":2295}},"2930":{"timestamp":{"__isSmartRef__":true,"id":2931},"user":"sstamm","tags":[]},"2931":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (CET)"},"2932":{"varMapping":{"__isSmartRef__":true,"id":2933},"source":"function isInBounds() {\n var heightMenu = this.owner.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":2934},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2933":{"this":{"__isSmartRef__":true,"id":2295}},"2934":{"timestamp":{"__isSmartRef__":true,"id":2935},"user":"sstamm","tags":[]},"2935":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (CET)"},"2936":{"position":{"__isSmartRef__":true,"id":2937},"_Extent":{"__isSmartRef__":true,"id":2938},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2939},"_Fill":{"__isSmartRef__":true,"id":2940},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2941},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2942},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2937":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2938":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2939":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2940":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2941":{},"2942":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2943":{"x":7,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2944":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A morph which behaves like an IPad list. Use initialize() to clear and addItem() to ... well ... add items","migrationLevel":4,"partName":"TouchList","changes":[{"__isSmartRef__":true,"id":2945},{"__isSmartRef__":true,"id":2947},{"__isSmartRef__":true,"id":2949},{"__isSmartRef__":true,"id":2951}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2945":{"date":{"__isSmartRef__":true,"id":2946},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"2946":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (CET)"},"2947":{"date":{"__isSmartRef__":true,"id":2948},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"2948":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (CET)"},"2949":{"date":{"__isSmartRef__":true,"id":2950},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"2950":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (CET)"},"2951":{"date":{"__isSmartRef__":true,"id":2952},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"2952":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (CET)"},"2953":{"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"},"2954":{"morph":{"__isSmartRef__":true,"id":2294},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2955":{"sourceObj":{"__isSmartRef__":true,"id":2294},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":2294},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2956":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2957":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"2958":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2959":{"onrestore":{"__isSmartRef__":true,"id":2960},"initialize":{"__isSmartRef__":true,"id":2968},"addItem":{"__isSmartRef__":true,"id":2976},"createListItem":{"__isSmartRef__":true,"id":2980},"touchstartCallback":{"__isSmartRef__":true,"id":2331},"touchmoveCallback":{"__isSmartRef__":true,"id":2335},"touchendCallback":{"__isSmartRef__":true,"id":2339},"updateSelection":{"__isSmartRef__":true,"id":2984},"handleClick":{"__isSmartRef__":true,"id":2988},"initializeListEntries":{"__isSmartRef__":true,"id":2992}},"2960":{"varMapping":{"__isSmartRef__":true,"id":2961},"source":"function onrestore() {\n var that = this;\n\n //TODO: this is a race condition, because the render context is not\n // ready in onrestore\n window.setTimeout(function() { \n that.shape.setClipMode(\"hidden\"); }, 100);\n}","funcProperties":{"__isSmartRef__":true,"id":2966},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2961":{"this":{"__isSmartRef__":true,"id":2294},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2962}},"2962":{"$super":{"__isSmartRef__":true,"id":2963}},"2963":{"varMapping":{"__isSmartRef__":true,"id":2964},"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":2965},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2964":{"obj":{"__isSmartRef__":true,"id":2294},"name":"onrestore"},"2965":{},"2966":{"timestamp":{"__isSmartRef__":true,"id":2967},"user":"sstamm","tags":[]},"2967":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (CET)"},"2968":{"varMapping":{"__isSmartRef__":true,"id":2969},"source":"function initialize() {\n console.log(\"in initialize\");\n this.itemList = [];\n this.selection = null;\n this.selectedLineNo = -1;\n this.selectedMorph = null;\n this.shape.setClipMode(\"hidden\");\n var itemContainer = this.get(\"ListItemContainer\");\n \n itemContainer.setPosition(pt(0,0));\n itemContainer.submorphs.invoke(\"remove\");\n \n}","funcProperties":{"__isSmartRef__":true,"id":2974},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2969":{"this":{"__isSmartRef__":true,"id":2294},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2970}},"2970":{"$super":{"__isSmartRef__":true,"id":2971}},"2971":{"varMapping":{"__isSmartRef__":true,"id":2972},"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":2973},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2972":{"obj":{"__isSmartRef__":true,"id":2294},"name":"initialize"},"2973":{},"2974":{"timestamp":{"__isSmartRef__":true,"id":2975},"user":"sstamm","tags":[]},"2975":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (CET)"},"2976":{"varMapping":{"__isSmartRef__":true,"id":2977},"source":"function addItem(text) {\n var newMorph = this.createListItem(text);\n \n newMorph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(newMorph);\n this.get(\"ListItemContainer\").addMorph(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":2978},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2977":{"this":{"__isSmartRef__":true,"id":2294}},"2978":{"timestamp":{"__isSmartRef__":true,"id":2979},"user":"sstamm","tags":[]},"2979":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (CET)"},"2980":{"varMapping":{"__isSmartRef__":true,"id":2981},"source":"function createListItem(textString) {\n var part = lively.PartsBin.getPart(\"Rectangle\", \"PartsBin/Basic\");\n\n part.index = this.itemList.length;\n\n part.setExtent(pt(this.getExtent().x,44));\n part.applyStyle({resizeWidth: true});\n part.setFill(new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n ));\n part.setBorderColor(Color.rgb(138,138,138));\n \n\n\n part.onTouchStart = this.touchstartCallback;\n part.onTouchMove = this.touchmoveCallback;\n part.onTouchEnd = this.touchendCallback;\n\n part.registerForEvent(\"touchstart\", part, \"onTouchStart\", false);\n part.registerForEvent(\"touchmove\", part, \"onTouchMove\", false);\n part.registerForEvent(\"touchend\", part, \"onTouchEnd\", false);\n\n var text = lively.PartsBin.getPart(\"Text\", \"PartsBin/Basic\");\n text.setFontSize(14);\n text.setTextColor(Color.rgb(47,47,47));\n text.setFontFamily(\"Helvetica, Arial, sans-serif\");\n\n text.setPosition(pt(10,10));\n text.textString = textString;\n\n text.emphasizeAll({fontWeight: 'bold'});\n text.disableHalos();\n part.addMorph(text);\n\n return part;\n}","funcProperties":{"__isSmartRef__":true,"id":2982},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2981":{"this":{"__isSmartRef__":true,"id":2294}},"2982":{"timestamp":{"__isSmartRef__":true,"id":2983},"user":"sstamm","tags":[]},"2983":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (CET)"},"2984":{"varMapping":{"__isSmartRef__":true,"id":2985},"source":"function updateSelection(newSelectedMorph) {\n var hasText = true;\n if(this.selectedMorph) {\n hasText = this.selectedMorph.submorphs[0];\n this.selectedMorph.setFill(\n new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n )\n );\n if(hasText) { this.selectedMorph.submorphs[0].setTextColor(Color.rgb(47,47,47));\n }\n }\n hasText = newSelectedMorph.submorphs[0];\n\n \n if(hasText) {\n this.selection = newSelectedMorph.submorphs[0].textString;\n } else {\n this.selection = \"\";\n }\n this.selectedLineNo = newSelectedMorph.index;\n this.selectedMorph = newSelectedMorph;\n \n this.selectedMorph.setFill(\nnew lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(47,47,47)},\n {offset:0.5,color: Color.rgb(21,21,21)},\n {offset: 1, color: Color.rgb(0,0,0)}\n ],\n 'northSouth'\n ));\n \n if(hasText) {\n this.selectedMorph.submorphs[0].setTextColor(Color.rgb(222,222,222));\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2986},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2985":{"this":{"__isSmartRef__":true,"id":2294}},"2986":{"timestamp":{"__isSmartRef__":true,"id":2987},"user":"sstamm","tags":[]},"2987":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (CET)"},"2988":{"varMapping":{"__isSmartRef__":true,"id":2989},"source":"function handleClick() {\n switch(this.selection){\n case \"PartsBin\":\n $world.openPartsBin();\n $world.hideMockMenu();\n break;\n case \"Parts\":\n this.owner.showList(this.selection);\n break;\n case \"Ellipse\":\n case \"Image\":\n case \"Line\":\n case \"Rectangle\":\n case \"Text\":\n $world.openPartItem(this.selection, \"PartsBin/Basic\");\n $world.hideMockMenu();\n break;\n case \"Button\":\n case \"List\":\n case \"ScriptableButton\":\n case \"Slider\":\n $world.openPartItem(this.selection, \"PartsBin/Inputs\");\n $world.hideMockMenu();\n break;\n case \"Tools\":\n this.owner.showList(this.selection);\n break;\n case \"Workspace\":\n $world.openWorkspace();\n $world.hideMockMenu();\n break;\n case \"System Code Browser\":\n $world.openSystemBrowser();\n $world.hideMockMenu();\n break;\n case \"Object Editor\":\n $world.openObjectEditor();\n $world.hideMockMenu();\n break;\n case \"Method Finder\":\n $world.openMethodFinder();\n $world.hideMockMenu();\n break;\n case \"Text Editor\":\n new lively.morphic.TextEditor().openIn(world)\n $world.hideMockMenu();\n break;\n case \"Preferences\":\n this.owner.showList(this.selection);\n break;\n case \"set username\":\n $world.askForUserName();\n $world.hideMockMenu();\n break;\n case \"set extent\":\n $world.askForNewWorldExtent();\n $world.hideMockMenu();\n break;\n case \"disable part caching\":\n $world.hideMockMenu();\n break;\n case \"Debugging\":\n this.owner.showList(this.selection);\n break;\n case \"reset world scale\":\n $world.resetScale();\n $world.hideMockMenu();\n break;\n case \"reset title bars\":\n $world.resetAllTitleBars();\n $world.hideMockMenu();\n break;\n case \"reset button labels\":\n $world.resetAllButtonLabels();\n $world.hideMockMenu();\n break;\n case \"World serialization info\":\n require('lively.persistence.Debugging').toRun(\n function() {\n var json = lively.persistence.Serializer.serialize(world),\n printer = lively.persistence.Debugging.Helper.listObjects(json);\n world.addTextWindow(printer.toString());\n }\n );\n $world.hideMockMenu();\n break;\n case \"clear part cache\":\n $world.hideMockMenu();\n break;\n case \"show connectors\":\n $world.hideMockMenu();\n break;\n case \"Wiki\":\n this.owner.showList(this.selection);\n break;\n case \"about this wiki\":\n $world.openAboutBox();\n $world.hideMockMenu();\n break;\n case \"view versions of this world\":\n $world.openVersionViewer();\n $world.hideMockMenu();\n break;\n case \"download world\":\n require('lively.persistence.StandAlonePackaging').toRun(\n function() {\n lively.persistence.StandAlonePackaging.packageCurrentWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"upload world to Dropbox\":\n require('apps.Dropbox').toRun(\n function() {\n DropboxAPI.uploadArchivedWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"delete world\":\n $world.interactiveDeleteWorldOnServer();\n $world.hideMockMenu();\n break;\n case \"Documentation\":\n this.owner.showList(this.selection);\n break;\n case \"on short cuts\":\n $world.openShortcutDocumentation();\n $world.hideMockMenu();\n break;\n case \"on connect data bindings\":\n $world.openConnectDocumentation();\n $world.hideMockMenu();\n break;\n case \"on Lively's PartsBin\":\n $world.openPartsBinDocumentation();\n $world.hideMockMenu();\n break;\n case \"more...\":\n window.open(Config.rootPath + 'documentation/');\n $world.hideMockMenu();\n break;\n case \"save world as ...\":\n $world.interactiveSaveWorldAs();\n $world.hideMockMenu();\n break;\n case \"save world\":\n $world.saveWorld();\n $world.hideMockMenu();\n break;\n default:\n //Do nothing\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2990},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2989":{"this":{"__isSmartRef__":true,"id":2294}},"2990":{"timestamp":{"__isSmartRef__":true,"id":2991},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"2991":{"isSerializedDate":true,"string":"Tue Jan 31 2012 13:26:57 GMT+0100 (CET)"},"2992":{"varMapping":{"__isSmartRef__":true,"id":2993},"source":"function initializeListEntries() {\n this.initialize();\n list = [\"set username\",\"set extent\",\"disable part caching\"];\n for (var i = 0; i < list.length; i++) {\n this.addItem(list[i]);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2994},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2993":{"this":{"__isSmartRef__":true,"id":2294}},"2994":{"timestamp":{"__isSmartRef__":true,"id":2995},"user":"conradcalmez","tags":[]},"2995":{"isSerializedDate":true,"string":"Tue Jan 31 2012 11:57:16 GMT+0100 (CET)"},"2996":{"submorphs":[{"__isSmartRef__":true,"id":2997}],"scripts":[],"id":"1A8C0B17-0CC4-410D-BB8B-77F0B043ABA6","shape":{"__isSmartRef__":true,"id":3743},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3750},"showsHalos":false,"name":"TouchList4","partsBinMetaInfo":{"__isSmartRef__":true,"id":3751},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3760},"eventHandler":{"__isSmartRef__":true,"id":3761},"attributeConnections":[{"__isSmartRef__":true,"id":3762}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"derivationIds":[127,"86FF1C90-3CC2-44B9-8DEE-1BC214D734AE","EEA7DF22-C343-4B58-A447-43BB95D5405F","9665449D-F0E4-4BCE-854B-48D19C73214E","8B65C997-34DC-4F70-A1BA-266488F1588C","CBDEE8B9-9E1C-44E5-85E6-6D85E0738D59","34806B09-40D4-4BE7-B17E-FFFFDB7B0928","28D43242-91D8-4B3A-B492-0318381E6334","A099F3A8-DF6A-453C-A9FC-FA29941930DC","6605F884-FDBF-4B19-B539-6CF4FEEFD2F5","7F27B01D-C8D7-46B3-A0AC-D192A8EAC24C"],"priorExtent":{"__isSmartRef__":true,"id":3763},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":3764},"itemList":[{"__isSmartRef__":true,"id":2998},{"__isSmartRef__":true,"id":3045},{"__isSmartRef__":true,"id":3080},{"__isSmartRef__":true,"id":3115},{"__isSmartRef__":true,"id":3150},{"__isSmartRef__":true,"id":3185}],"_ClipMode":"hidden","selectedMorph":null,"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":3765},"owner":null,"_Visible":false,"_Rotation":0,"_Scale":1,"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3766},"__LivelyClassName__":"lively.morphic.Box"},"2997":{"submorphs":[{"__isSmartRef__":true,"id":2998},{"__isSmartRef__":true,"id":3045},{"__isSmartRef__":true,"id":3080},{"__isSmartRef__":true,"id":3115},{"__isSmartRef__":true,"id":3150},{"__isSmartRef__":true,"id":3185}],"scripts":[],"id":"CB4934CC-E041-43B8-81BA-6406AFFFC063","shape":{"__isSmartRef__":true,"id":3220},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3227},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":3228},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3229},"eventHandler":{"__isSmartRef__":true,"id":3230},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"70193F55-BD62-471E-90CE-6CF2F345BFF8","C29938AD-3221-4AB2-80BA-EBF64E5C8063","F478A91E-32FA-4527-BA77-81009843E6E7","3C2C2181-A589-45A7-B023-FDED3CDFE499","45EE0951-5C82-4C8D-808E-E69D6E6AFFC8","3AB7DC6F-888B-4351-A241-EA890F85280A","3F3C7499-A964-487B-9603-9EA48E5C7FE3","E18DC16F-D005-4260-AA0C-15BCDFC07AA4","F52AE348-04F7-48C4-9176-33839329472C","4DAEEED2-79CA-4912-AF1A-D367CB4A60F5"],"owner":{"__isSmartRef__":true,"id":2996},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":3231},"layout":{"__isSmartRef__":true,"id":3232},"lists":{"__isSmartRef__":true,"id":3233},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3710},"__LivelyClassName__":"lively.morphic.Box"},"2998":{"submorphs":[{"__isSmartRef__":true,"id":2999}],"scripts":[],"id":"44E88060-A469-4712-B715-E26D608AEF9B","shape":{"__isSmartRef__":true,"id":3015},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3026},"showsHalos":false,"name":"Rectangle31","partsBinMetaInfo":{"__isSmartRef__":true,"id":3027},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3028},"eventHandler":{"__isSmartRef__":true,"id":3029},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"B4BE4C69-0EAF-46DC-8361-95B99DECF8EF","13C7A5E6-AEBB-4EDF-992A-2406433FE981"],"index":0,"priorExtent":{"__isSmartRef__":true,"id":3030},"layout":{"__isSmartRef__":true,"id":3031},"owner":{"__isSmartRef__":true,"id":2997},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3032},"__LivelyClassName__":"lively.morphic.Box"},"2999":{"submorphs":[],"scripts":[],"id":"E291E18E-8CD3-468B-82A0-E10189AB5C3D","shape":{"__isSmartRef__":true,"id":3000},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3006},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3003},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text33","partsBinMetaInfo":{"__isSmartRef__":true,"id":3007},"textChunks":[{"__isSmartRef__":true,"id":3008}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3010},"renderContextTable":{"__isSmartRef__":true,"id":3011},"eventHandler":{"__isSmartRef__":true,"id":3012},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3013},"_ClipMode":"visible","derivationIds":[355,"E5A54EBB-DA61-493F-8E77-0896D17C9A20","E8936EBB-97A4-468F-88EA-713BC1930B56"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3014},"owner":{"__isSmartRef__":true,"id":2998},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3000":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3001},"_Extent":{"__isSmartRef__":true,"id":3002},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3003},"renderContextTable":{"__isSmartRef__":true,"id":3004},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3005},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3001":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3002":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3003":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3004":{"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"},"3005":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3006":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3007":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3008":{"style":{"__isSmartRef__":true,"id":3009},"chunkOwner":{"__isSmartRef__":true,"id":2999},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3009":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3010":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3011":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3012":{"morph":{"__isSmartRef__":true,"id":2999},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3013":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3014":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3015":{"position":{"__isSmartRef__":true,"id":3016},"_Extent":{"__isSmartRef__":true,"id":3017},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3018},"_Fill":{"__isSmartRef__":true,"id":3019},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3024},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3025},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3016":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3017":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3018":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3019":{"stops":[{"__isSmartRef__":true,"id":3020},{"__isSmartRef__":true,"id":3022}],"vector":{"__isSmartRef__":true,"id":851},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3020":{"offset":0,"color":{"__isSmartRef__":true,"id":3021}},"3021":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3022":{"offset":1,"color":{"__isSmartRef__":true,"id":3023}},"3023":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3024":{"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"},"3025":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3026":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3027":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3028":{"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"},"3029":{"morph":{"__isSmartRef__":true,"id":2998},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3030":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3031":{"resizeWidth":true},"3032":{"onTouchStart":{"__isSmartRef__":true,"id":3033},"onTouchMove":{"__isSmartRef__":true,"id":3037},"onTouchEnd":{"__isSmartRef__":true,"id":3041}},"3033":{"varMapping":{"__isSmartRef__":true,"id":3034},"source":"function touchstartCallback(evt) {\n var touch = evt.touches[0];\n\n this.clickPosition = pt(touch.clientX,touch.clientY);\n this.lastClickPos = this.clickPosition;\n\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":3035},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3034":{"this":{"__isSmartRef__":true,"id":2996}},"3035":{"timestamp":{"__isSmartRef__":true,"id":3036},"user":"sstamm","tags":[]},"3036":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (CET)"},"3037":{"varMapping":{"__isSmartRef__":true,"id":3038},"source":"function touchmoveCallback(evt) {\n var touch = evt.touches[0];\n \n this.lastClickPos = pt(touch.clientX,touch.clientY);\n\n return false;\n \n}","funcProperties":{"__isSmartRef__":true,"id":3039},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3038":{"this":{"__isSmartRef__":true,"id":2996}},"3039":{"timestamp":{"__isSmartRef__":true,"id":3040},"user":"sstamm","tags":[]},"3040":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (CET)"},"3041":{"varMapping":{"__isSmartRef__":true,"id":3042},"source":"function touchendCallback(evt) {\n var deltaPt = this.lastClickPos.subPt(this.clickPosition);\n var delta = deltaPt.x*deltaPt.x + deltaPt.y*deltaPt.y;\n if(delta<25) {\n //TODO: find a better way to find the related listMorph\n var listMorph = this.owner.owner;\n \n if(listMorph && listMorph.updateSelection) {\n listMorph.updateSelection(this);\n }\n }\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":3043},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3042":{"this":{"__isSmartRef__":true,"id":2996}},"3043":{"timestamp":{"__isSmartRef__":true,"id":3044},"user":"sstamm","tags":[]},"3044":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (CET)"},"3045":{"submorphs":[{"__isSmartRef__":true,"id":3046}],"scripts":[],"id":"74504D77-94C9-428C-AF84-42F154478E03","shape":{"__isSmartRef__":true,"id":3062},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3073},"showsHalos":false,"name":"Rectangle32","partsBinMetaInfo":{"__isSmartRef__":true,"id":3074},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3075},"eventHandler":{"__isSmartRef__":true,"id":3076},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"6022201C-3C3A-4B00-9FE2-018982DF5875","468B34A2-D3BE-44BE-95DC-2283E8A1C2FA"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":3077},"layout":{"__isSmartRef__":true,"id":3078},"owner":{"__isSmartRef__":true,"id":2997},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3079},"__LivelyClassName__":"lively.morphic.Box"},"3046":{"submorphs":[],"scripts":[],"id":"FEC96B80-083F-48E5-9255-C1D0F2ACD4AD","shape":{"__isSmartRef__":true,"id":3047},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3053},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3050},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text34","partsBinMetaInfo":{"__isSmartRef__":true,"id":3054},"textChunks":[{"__isSmartRef__":true,"id":3055}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3057},"renderContextTable":{"__isSmartRef__":true,"id":3058},"eventHandler":{"__isSmartRef__":true,"id":3059},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3060},"_ClipMode":"visible","derivationIds":[355,"279FC044-90B9-460A-B855-6AF77AB6BDE1","4AEF7E0F-D43E-4E35-A31D-141F63086412"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3061},"owner":{"__isSmartRef__":true,"id":3045},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3047":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3048},"_Extent":{"__isSmartRef__":true,"id":3049},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3050},"renderContextTable":{"__isSmartRef__":true,"id":3051},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3052},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3048":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3049":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3050":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3051":{"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"},"3052":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3053":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3054":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3055":{"style":{"__isSmartRef__":true,"id":3056},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3056":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3057":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3058":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3059":{"morph":{"__isSmartRef__":true,"id":3046},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3060":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3061":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3062":{"position":{"__isSmartRef__":true,"id":3063},"_Extent":{"__isSmartRef__":true,"id":3064},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3065},"_Fill":{"__isSmartRef__":true,"id":3066},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3071},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3072},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3063":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3064":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3065":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3066":{"stops":[{"__isSmartRef__":true,"id":3067},{"__isSmartRef__":true,"id":3069}],"vector":{"__isSmartRef__":true,"id":851},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3067":{"offset":0,"color":{"__isSmartRef__":true,"id":3068}},"3068":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3069":{"offset":1,"color":{"__isSmartRef__":true,"id":3070}},"3070":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3071":{"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"},"3072":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3073":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3074":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3075":{"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"},"3076":{"morph":{"__isSmartRef__":true,"id":3045},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3077":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3078":{"resizeWidth":true},"3079":{"onTouchStart":{"__isSmartRef__":true,"id":3033},"onTouchMove":{"__isSmartRef__":true,"id":3037},"onTouchEnd":{"__isSmartRef__":true,"id":3041}},"3080":{"submorphs":[{"__isSmartRef__":true,"id":3081}],"scripts":[],"id":"F66ECFCA-B180-4A8C-9F4D-44E40E0D24B2","shape":{"__isSmartRef__":true,"id":3097},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3108},"showsHalos":false,"name":"Rectangle33","partsBinMetaInfo":{"__isSmartRef__":true,"id":3109},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3110},"eventHandler":{"__isSmartRef__":true,"id":3111},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"0CE50E43-28C2-4D5E-9DEC-9EFC8069E39E","DDEE4A88-5658-4A19-8AE5-6DD75F55B917"],"index":2,"priorExtent":{"__isSmartRef__":true,"id":3112},"layout":{"__isSmartRef__":true,"id":3113},"owner":{"__isSmartRef__":true,"id":2997},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3114},"__LivelyClassName__":"lively.morphic.Box"},"3081":{"submorphs":[],"scripts":[],"id":"E00FE889-1A8A-45B1-AE5F-40571FE8EE33","shape":{"__isSmartRef__":true,"id":3082},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3088},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3085},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text35","partsBinMetaInfo":{"__isSmartRef__":true,"id":3089},"textChunks":[{"__isSmartRef__":true,"id":3090}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3092},"renderContextTable":{"__isSmartRef__":true,"id":3093},"eventHandler":{"__isSmartRef__":true,"id":3094},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3095},"_ClipMode":"visible","derivationIds":[355,"67E78A88-7098-47F3-9F4C-D62EE52D1E44","4BFC58D6-FF37-4781-8FDD-96EA888002D0"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3096},"owner":{"__isSmartRef__":true,"id":3080},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3082":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3083},"_Extent":{"__isSmartRef__":true,"id":3084},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3085},"renderContextTable":{"__isSmartRef__":true,"id":3086},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3087},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3083":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3084":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3085":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3086":{"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"},"3087":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3088":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3089":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3090":{"style":{"__isSmartRef__":true,"id":3091},"chunkOwner":{"__isSmartRef__":true,"id":3081},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3091":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3092":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3093":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3094":{"morph":{"__isSmartRef__":true,"id":3081},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3095":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3096":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3097":{"position":{"__isSmartRef__":true,"id":3098},"_Extent":{"__isSmartRef__":true,"id":3099},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3100},"_Fill":{"__isSmartRef__":true,"id":3101},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3106},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3107},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3098":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3099":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3100":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3101":{"stops":[{"__isSmartRef__":true,"id":3102},{"__isSmartRef__":true,"id":3104}],"vector":{"__isSmartRef__":true,"id":851},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3102":{"offset":0,"color":{"__isSmartRef__":true,"id":3103}},"3103":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3104":{"offset":1,"color":{"__isSmartRef__":true,"id":3105}},"3105":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3106":{"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"},"3107":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3108":{"x":0,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3109":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3110":{"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"},"3111":{"morph":{"__isSmartRef__":true,"id":3080},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3112":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3113":{"resizeWidth":true},"3114":{"onTouchStart":{"__isSmartRef__":true,"id":3033},"onTouchMove":{"__isSmartRef__":true,"id":3037},"onTouchEnd":{"__isSmartRef__":true,"id":3041}},"3115":{"submorphs":[{"__isSmartRef__":true,"id":3116}],"scripts":[],"id":"E8F903A9-458C-4894-9D56-8069BD0D6EC9","shape":{"__isSmartRef__":true,"id":3132},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3143},"showsHalos":false,"name":"Rectangle34","partsBinMetaInfo":{"__isSmartRef__":true,"id":3144},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3145},"eventHandler":{"__isSmartRef__":true,"id":3146},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"FDB08C34-4086-4ECA-B371-FEAB3E319CF9","815D99FC-E51B-403B-A056-1693C8A342F8"],"index":3,"priorExtent":{"__isSmartRef__":true,"id":3147},"layout":{"__isSmartRef__":true,"id":3148},"owner":{"__isSmartRef__":true,"id":2997},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3149},"__LivelyClassName__":"lively.morphic.Box"},"3116":{"submorphs":[],"scripts":[],"id":"801CBCFE-24B6-4C44-BD1D-DD175F27FEFF","shape":{"__isSmartRef__":true,"id":3117},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3123},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3120},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text36","partsBinMetaInfo":{"__isSmartRef__":true,"id":3124},"textChunks":[{"__isSmartRef__":true,"id":3125}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3127},"renderContextTable":{"__isSmartRef__":true,"id":3128},"eventHandler":{"__isSmartRef__":true,"id":3129},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3130},"_ClipMode":"visible","derivationIds":[355,"81D59C0E-77D6-46E2-BDDF-EBCD01CCC97F","77CF5D5B-5971-4A40-A995-D5BE4CE37747"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3131},"owner":{"__isSmartRef__":true,"id":3115},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3117":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3118},"_Extent":{"__isSmartRef__":true,"id":3119},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3120},"renderContextTable":{"__isSmartRef__":true,"id":3121},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3122},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3118":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3119":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3120":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3121":{"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"},"3122":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3123":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3124":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3125":{"style":{"__isSmartRef__":true,"id":3126},"chunkOwner":{"__isSmartRef__":true,"id":3116},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3126":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3127":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3128":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3129":{"morph":{"__isSmartRef__":true,"id":3116},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3130":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3131":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3132":{"position":{"__isSmartRef__":true,"id":3133},"_Extent":{"__isSmartRef__":true,"id":3134},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3135},"_Fill":{"__isSmartRef__":true,"id":3136},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3141},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3142},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3133":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3134":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3135":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3136":{"stops":[{"__isSmartRef__":true,"id":3137},{"__isSmartRef__":true,"id":3139}],"vector":{"__isSmartRef__":true,"id":851},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3137":{"offset":0,"color":{"__isSmartRef__":true,"id":3138}},"3138":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3139":{"offset":1,"color":{"__isSmartRef__":true,"id":3140}},"3140":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3141":{"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"},"3142":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3143":{"x":0,"y":129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3144":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3145":{"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"},"3146":{"morph":{"__isSmartRef__":true,"id":3115},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3147":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3148":{"resizeWidth":true},"3149":{"onTouchStart":{"__isSmartRef__":true,"id":3033},"onTouchMove":{"__isSmartRef__":true,"id":3037},"onTouchEnd":{"__isSmartRef__":true,"id":3041}},"3150":{"submorphs":[{"__isSmartRef__":true,"id":3151}],"scripts":[],"id":"428BE5F6-E522-48E1-8867-DBCA70AFCF72","shape":{"__isSmartRef__":true,"id":3167},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3178},"showsHalos":false,"name":"Rectangle35","partsBinMetaInfo":{"__isSmartRef__":true,"id":3179},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3180},"eventHandler":{"__isSmartRef__":true,"id":3181},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"337C2879-ED42-4A58-9069-82477BB469EE","E2E355DC-74A8-4B84-AEF8-6464865DCE33"],"index":4,"priorExtent":{"__isSmartRef__":true,"id":3182},"layout":{"__isSmartRef__":true,"id":3183},"owner":{"__isSmartRef__":true,"id":2997},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3184},"__LivelyClassName__":"lively.morphic.Box"},"3151":{"submorphs":[],"scripts":[],"id":"06C094D0-AEC1-46EB-B570-A4BC61736842","shape":{"__isSmartRef__":true,"id":3152},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3158},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3155},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text37","partsBinMetaInfo":{"__isSmartRef__":true,"id":3159},"textChunks":[{"__isSmartRef__":true,"id":3160}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3162},"renderContextTable":{"__isSmartRef__":true,"id":3163},"eventHandler":{"__isSmartRef__":true,"id":3164},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3165},"_ClipMode":"visible","derivationIds":[355,"738B71EA-C417-40F2-BE6E-7D1B6D4D4895","59BD476C-EE38-4B90-B2DE-FC8F48361319"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3166},"owner":{"__isSmartRef__":true,"id":3150},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3152":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3153},"_Extent":{"__isSmartRef__":true,"id":3154},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3155},"renderContextTable":{"__isSmartRef__":true,"id":3156},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3157},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3153":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3154":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3155":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3156":{"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"},"3157":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3158":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3159":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3160":{"style":{"__isSmartRef__":true,"id":3161},"chunkOwner":{"__isSmartRef__":true,"id":3151},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3161":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3162":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3163":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3164":{"morph":{"__isSmartRef__":true,"id":3151},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3165":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3166":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3167":{"position":{"__isSmartRef__":true,"id":3168},"_Extent":{"__isSmartRef__":true,"id":3169},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3170},"_Fill":{"__isSmartRef__":true,"id":3171},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3176},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3177},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3168":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3169":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3170":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3171":{"stops":[{"__isSmartRef__":true,"id":3172},{"__isSmartRef__":true,"id":3174}],"vector":{"__isSmartRef__":true,"id":851},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3172":{"offset":0,"color":{"__isSmartRef__":true,"id":3173}},"3173":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3174":{"offset":1,"color":{"__isSmartRef__":true,"id":3175}},"3175":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3176":{"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"},"3177":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3178":{"x":0,"y":172,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3179":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3180":{"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"},"3181":{"morph":{"__isSmartRef__":true,"id":3150},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3182":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3183":{"resizeWidth":true},"3184":{"onTouchStart":{"__isSmartRef__":true,"id":3033},"onTouchMove":{"__isSmartRef__":true,"id":3037},"onTouchEnd":{"__isSmartRef__":true,"id":3041}},"3185":{"submorphs":[{"__isSmartRef__":true,"id":3186}],"scripts":[],"id":"A479461F-9425-4AE0-AB92-3B2FC81CBD1B","shape":{"__isSmartRef__":true,"id":3202},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3213},"showsHalos":false,"name":"Rectangle36","partsBinMetaInfo":{"__isSmartRef__":true,"id":3214},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3215},"eventHandler":{"__isSmartRef__":true,"id":3216},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"5C2BAD42-DBE7-4B29-BF43-759B1FD917C4","13282C1E-1E23-4D22-9F5B-36E1E27C2986"],"index":5,"priorExtent":{"__isSmartRef__":true,"id":3217},"layout":{"__isSmartRef__":true,"id":3218},"owner":{"__isSmartRef__":true,"id":2997},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3219},"__LivelyClassName__":"lively.morphic.Box"},"3186":{"submorphs":[],"scripts":[],"id":"AE19F814-C403-4E9A-80A3-00B47FEB5F75","shape":{"__isSmartRef__":true,"id":3187},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3193},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3190},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text38","partsBinMetaInfo":{"__isSmartRef__":true,"id":3194},"textChunks":[{"__isSmartRef__":true,"id":3195}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3197},"renderContextTable":{"__isSmartRef__":true,"id":3198},"eventHandler":{"__isSmartRef__":true,"id":3199},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3200},"_ClipMode":"visible","derivationIds":[355,"DB079735-6860-4BAC-958F-5B320587E9F2","F6030E70-21DF-4505-8704-B2DE96DA6307"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3201},"owner":{"__isSmartRef__":true,"id":3185},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3187":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3188},"_Extent":{"__isSmartRef__":true,"id":3189},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3190},"renderContextTable":{"__isSmartRef__":true,"id":3191},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3192},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3188":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3189":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3190":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3191":{"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"},"3192":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3193":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3194":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3195":{"style":{"__isSmartRef__":true,"id":3196},"chunkOwner":{"__isSmartRef__":true,"id":3186},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3196":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3197":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3198":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3199":{"morph":{"__isSmartRef__":true,"id":3186},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3200":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3201":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3202":{"position":{"__isSmartRef__":true,"id":3203},"_Extent":{"__isSmartRef__":true,"id":3204},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3205},"_Fill":{"__isSmartRef__":true,"id":3206},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3211},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3212},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3203":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3204":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3205":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3206":{"stops":[{"__isSmartRef__":true,"id":3207},{"__isSmartRef__":true,"id":3209}],"vector":{"__isSmartRef__":true,"id":851},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3207":{"offset":0,"color":{"__isSmartRef__":true,"id":3208}},"3208":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3209":{"offset":1,"color":{"__isSmartRef__":true,"id":3210}},"3210":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3211":{"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"},"3212":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3213":{"x":0,"y":215,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3214":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3215":{"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"},"3216":{"morph":{"__isSmartRef__":true,"id":3185},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3217":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3218":{"resizeWidth":true},"3219":{"onTouchStart":{"__isSmartRef__":true,"id":3033},"onTouchMove":{"__isSmartRef__":true,"id":3037},"onTouchEnd":{"__isSmartRef__":true,"id":3041}},"3220":{"position":{"__isSmartRef__":true,"id":3221},"_Extent":{"__isSmartRef__":true,"id":3222},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3223},"_Fill":{"__isSmartRef__":true,"id":3224},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3225},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3226},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3221":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3222":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3223":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3224":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3225":{"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"},"3226":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3227":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3228":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3229":{"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"},"3230":{"morph":{"__isSmartRef__":true,"id":2997},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3231":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3232":{"resizeWidth":true,"adjustForNewBounds":true},"3233":{"Parts":{"__isSmartRef__":true,"id":3234}},"3234":{"submorphs":[{"__isSmartRef__":true,"id":3235}],"scripts":[],"id":"D5F132C4-D6AC-4195-BC33-4811A4DD5A1B","shape":{"__isSmartRef__":true,"id":3610},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3617},"showsHalos":false,"name":"TouchList1","partsBinMetaInfo":{"__isSmartRef__":true,"id":3618},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3627},"eventHandler":{"__isSmartRef__":true,"id":3628},"attributeConnections":[{"__isSmartRef__":true,"id":3629}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"derivationIds":[127,"86FF1C90-3CC2-44B9-8DEE-1BC214D734AE","EEA7DF22-C343-4B58-A447-43BB95D5405F","9665449D-F0E4-4BCE-854B-48D19C73214E","8B65C997-34DC-4F70-A1BA-266488F1588C","CBDEE8B9-9E1C-44E5-85E6-6D85E0738D59","34806B09-40D4-4BE7-B17E-FFFFDB7B0928","A96DDB06-4250-4386-905D-8B702E91A05F","B93F122D-B016-4AF4-92C9-4B1A33D0DDC5","3F84A349-52E2-4C32-931A-8EC950A3BBA5"],"priorExtent":{"__isSmartRef__":true,"id":3630},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":3631},"itemList":[{"__isSmartRef__":true,"id":3236},{"__isSmartRef__":true,"id":3284},{"__isSmartRef__":true,"id":3319},{"__isSmartRef__":true,"id":3354},{"__isSmartRef__":true,"id":3389},{"__isSmartRef__":true,"id":3424},{"__isSmartRef__":true,"id":3459},{"__isSmartRef__":true,"id":3494},{"__isSmartRef__":true,"id":3529}],"_ClipMode":"hidden","selectedMorph":null,"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":3632},"owner":{"__isSmartRef__":true,"id":3633},"_Rotation":0,"_Scale":1,"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3669},"__LivelyClassName__":"lively.morphic.Box"},"3235":{"submorphs":[{"__isSmartRef__":true,"id":3236},{"__isSmartRef__":true,"id":3284},{"__isSmartRef__":true,"id":3319},{"__isSmartRef__":true,"id":3354},{"__isSmartRef__":true,"id":3389},{"__isSmartRef__":true,"id":3424},{"__isSmartRef__":true,"id":3459},{"__isSmartRef__":true,"id":3494},{"__isSmartRef__":true,"id":3529}],"scripts":[],"id":"BCE75999-1D38-4C36-9F4B-4F0780419271","shape":{"__isSmartRef__":true,"id":3564},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3571},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":3572},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3573},"eventHandler":{"__isSmartRef__":true,"id":3574},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"70193F55-BD62-471E-90CE-6CF2F345BFF8","C29938AD-3221-4AB2-80BA-EBF64E5C8063","F478A91E-32FA-4527-BA77-81009843E6E7","3C2C2181-A589-45A7-B023-FDED3CDFE499","45EE0951-5C82-4C8D-808E-E69D6E6AFFC8","3AB7DC6F-888B-4351-A241-EA890F85280A","1DB8DDC7-39AB-4B77-BB60-17766F9CFBD1","ED945231-5F92-4EB9-9EE7-1612C0FC1249","9B5CCF0C-E6FF-4E23-8290-3CFABD86AC33"],"owner":{"__isSmartRef__":true,"id":3234},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":3575},"layout":{"__isSmartRef__":true,"id":3576},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3577},"__LivelyClassName__":"lively.morphic.Box"},"3236":{"submorphs":[{"__isSmartRef__":true,"id":3237}],"scripts":[],"id":"496F21D4-167C-45A3-9BE0-FAA1F9C1490E","shape":{"__isSmartRef__":true,"id":3253},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3265},"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":3266},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3267},"eventHandler":{"__isSmartRef__":true,"id":3268},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"FE6EF7FA-1F27-401C-8A09-0C3585F4CE1F","27C4A9A5-0C3C-4AF4-B30E-4128270B1ADD","24E50215-5D49-47BB-A7A6-BB3EE2C2E222","B0B606BC-5900-44EE-9BD3-9D745694811E"],"index":0,"priorExtent":{"__isSmartRef__":true,"id":3269},"layout":{"__isSmartRef__":true,"id":3270},"owner":{"__isSmartRef__":true,"id":3235},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3271},"__LivelyClassName__":"lively.morphic.Box"},"3237":{"submorphs":[],"scripts":[],"id":"A483A1DD-2AD9-47BB-A008-0EA8AD8AC1B6","shape":{"__isSmartRef__":true,"id":3238},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3244},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3241},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":3245},"textChunks":[{"__isSmartRef__":true,"id":3246}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3248},"renderContextTable":{"__isSmartRef__":true,"id":3249},"eventHandler":{"__isSmartRef__":true,"id":3250},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3251},"_ClipMode":"visible","derivationIds":[355,"97CB562D-C68D-4E75-8C5E-E5D0CEA45A40","FB93AF85-38E5-49B2-81AB-E504A1A5E830","9A2AD62A-C9F3-458C-B8E6-CE5E53CA21D8","0434817E-3970-4CB8-B8A0-CC669232784A"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3252},"owner":{"__isSmartRef__":true,"id":3236},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3238":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3239},"_Extent":{"__isSmartRef__":true,"id":3240},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3241},"renderContextTable":{"__isSmartRef__":true,"id":3242},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3243},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3239":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3240":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3241":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3242":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3243":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3244":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3245":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3246":{"style":{"__isSmartRef__":true,"id":3247},"chunkOwner":{"__isSmartRef__":true,"id":3237},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3247":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3248":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"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","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3250":{"morph":{"__isSmartRef__":true,"id":3237},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3251":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3252":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3253":{"position":{"__isSmartRef__":true,"id":3254},"_Extent":{"__isSmartRef__":true,"id":3255},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3256},"_Fill":{"__isSmartRef__":true,"id":3257},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3263},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3264},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3254":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3255":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3256":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3257":{"stops":[{"__isSmartRef__":true,"id":3258},{"__isSmartRef__":true,"id":3260}],"vector":{"__isSmartRef__":true,"id":3262},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3258":{"offset":0,"color":{"__isSmartRef__":true,"id":3259}},"3259":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3260":{"offset":1,"color":{"__isSmartRef__":true,"id":3261}},"3261":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3262":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3263":{"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"},"3264":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3265":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3266":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3267":{"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"},"3268":{"morph":{"__isSmartRef__":true,"id":3236},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3269":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3270":{"resizeWidth":true},"3271":{"onTouchStart":{"__isSmartRef__":true,"id":3272},"onTouchMove":{"__isSmartRef__":true,"id":3276},"onTouchEnd":{"__isSmartRef__":true,"id":3280}},"3272":{"varMapping":{"__isSmartRef__":true,"id":3273},"source":"function touchstartCallback(evt) {\n var touch = evt.touches[0];\n\n this.clickPosition = pt(touch.clientX,touch.clientY);\n this.lastClickPos = this.clickPosition;\n\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":3274},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3273":{"this":{"__isSmartRef__":true,"id":3234}},"3274":{"timestamp":{"__isSmartRef__":true,"id":3275},"user":"sstamm","tags":[]},"3275":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (CET)"},"3276":{"varMapping":{"__isSmartRef__":true,"id":3277},"source":"function touchmoveCallback(evt) {\n var touch = evt.touches[0];\n \n this.lastClickPos = pt(touch.clientX,touch.clientY);\n\n return false;\n \n}","funcProperties":{"__isSmartRef__":true,"id":3278},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3277":{"this":{"__isSmartRef__":true,"id":3234}},"3278":{"timestamp":{"__isSmartRef__":true,"id":3279},"user":"sstamm","tags":[]},"3279":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (CET)"},"3280":{"varMapping":{"__isSmartRef__":true,"id":3281},"source":"function touchendCallback(evt) {\n var deltaPt = this.lastClickPos.subPt(this.clickPosition);\n var delta = deltaPt.x*deltaPt.x + deltaPt.y*deltaPt.y;\n if(delta<25) {\n //TODO: find a better way to find the related listMorph\n var listMorph = this.owner.owner;\n \n if(listMorph && listMorph.updateSelection) {\n listMorph.updateSelection(this);\n }\n }\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":3282},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3281":{"this":{"__isSmartRef__":true,"id":3234}},"3282":{"timestamp":{"__isSmartRef__":true,"id":3283},"user":"sstamm","tags":[]},"3283":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (CET)"},"3284":{"submorphs":[{"__isSmartRef__":true,"id":3285}],"scripts":[],"id":"598FC1D8-7F2C-41D6-B2F7-3724BA72461D","shape":{"__isSmartRef__":true,"id":3301},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3312},"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":3313},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3314},"eventHandler":{"__isSmartRef__":true,"id":3315},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"835F3BC8-D36A-49E4-BFAF-6554B4148F66","F469617C-6F84-4FC6-81C2-A6646611401C","7F86DED1-9952-46AC-B7C1-303FD1E79FF1","462E64AA-D52F-418A-8764-B811BEE40622"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":3316},"layout":{"__isSmartRef__":true,"id":3317},"owner":{"__isSmartRef__":true,"id":3235},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3318},"__LivelyClassName__":"lively.morphic.Box"},"3285":{"submorphs":[],"scripts":[],"id":"0F09D8DF-74E4-4C3B-BE03-7A11864F14CB","shape":{"__isSmartRef__":true,"id":3286},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3292},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3289},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":3293},"textChunks":[{"__isSmartRef__":true,"id":3294}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3296},"renderContextTable":{"__isSmartRef__":true,"id":3297},"eventHandler":{"__isSmartRef__":true,"id":3298},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3299},"_ClipMode":"visible","derivationIds":[355,"E0F8F56D-E4DC-4441-A85E-5428558C130F","5731094C-BBF4-4176-A602-BA3C4079B890","D6AD4A43-30FD-4C23-B873-DBD3417965B1","C7D10E82-D903-48DF-B43C-148D5CC312FC"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3300},"owner":{"__isSmartRef__":true,"id":3284},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3286":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3287},"_Extent":{"__isSmartRef__":true,"id":3288},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3289},"renderContextTable":{"__isSmartRef__":true,"id":3290},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3291},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3287":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3288":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3289":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3290":{"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"},"3291":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3292":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3293":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3294":{"style":{"__isSmartRef__":true,"id":3295},"chunkOwner":{"__isSmartRef__":true,"id":3285},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3295":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3296":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3297":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3298":{"morph":{"__isSmartRef__":true,"id":3285},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3299":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3300":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3301":{"position":{"__isSmartRef__":true,"id":3302},"_Extent":{"__isSmartRef__":true,"id":3303},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3304},"_Fill":{"__isSmartRef__":true,"id":3305},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3310},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3311},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3302":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3303":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3304":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3305":{"stops":[{"__isSmartRef__":true,"id":3306},{"__isSmartRef__":true,"id":3308}],"vector":{"__isSmartRef__":true,"id":3262},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3306":{"offset":0,"color":{"__isSmartRef__":true,"id":3307}},"3307":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3308":{"offset":1,"color":{"__isSmartRef__":true,"id":3309}},"3309":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3310":{"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"},"3311":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3312":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3313":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3314":{"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"},"3315":{"morph":{"__isSmartRef__":true,"id":3284},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3316":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3317":{"resizeWidth":true},"3318":{"onTouchStart":{"__isSmartRef__":true,"id":3272},"onTouchMove":{"__isSmartRef__":true,"id":3276},"onTouchEnd":{"__isSmartRef__":true,"id":3280}},"3319":{"submorphs":[{"__isSmartRef__":true,"id":3320}],"scripts":[],"id":"688D6D03-BC55-45A6-8489-F8B26EBA655B","shape":{"__isSmartRef__":true,"id":3336},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3347},"showsHalos":false,"name":"Rectangle2","partsBinMetaInfo":{"__isSmartRef__":true,"id":3348},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3349},"eventHandler":{"__isSmartRef__":true,"id":3350},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"006661A6-4211-48D6-ABEF-15F43153C2F2","7E813F1E-E127-4B22-B92B-49ABFA4BD168","8BCCB5E2-9571-4A48-8FF6-5151898E8779","2C80C10D-7530-49A4-80D8-8195CE6314FB"],"index":2,"priorExtent":{"__isSmartRef__":true,"id":3351},"layout":{"__isSmartRef__":true,"id":3352},"owner":{"__isSmartRef__":true,"id":3235},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3353},"__LivelyClassName__":"lively.morphic.Box"},"3320":{"submorphs":[],"scripts":[],"id":"EEE9195F-55C3-4BC4-854A-90277DF5FBC1","shape":{"__isSmartRef__":true,"id":3321},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3327},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3324},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text2","partsBinMetaInfo":{"__isSmartRef__":true,"id":3328},"textChunks":[{"__isSmartRef__":true,"id":3329}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3331},"renderContextTable":{"__isSmartRef__":true,"id":3332},"eventHandler":{"__isSmartRef__":true,"id":3333},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3334},"_ClipMode":"visible","derivationIds":[355,"88E6F0AC-F183-4785-8583-CADBB7B9F34D","9854C347-679E-49A4-98CF-E5567FE449BA","B36DE922-DC2B-4402-96E0-3AB1D569ECE0","15D249DA-D25A-4787-922F-C215E450C3FF"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3335},"owner":{"__isSmartRef__":true,"id":3319},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3321":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3322},"_Extent":{"__isSmartRef__":true,"id":3323},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3324},"renderContextTable":{"__isSmartRef__":true,"id":3325},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3326},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3322":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3323":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3324":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3325":{"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"},"3326":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3327":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3328":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3329":{"style":{"__isSmartRef__":true,"id":3330},"chunkOwner":{"__isSmartRef__":true,"id":3320},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3330":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3331":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3332":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3333":{"morph":{"__isSmartRef__":true,"id":3320},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3334":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3335":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3336":{"position":{"__isSmartRef__":true,"id":3337},"_Extent":{"__isSmartRef__":true,"id":3338},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3339},"_Fill":{"__isSmartRef__":true,"id":3340},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3345},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3346},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3337":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3338":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3339":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3340":{"stops":[{"__isSmartRef__":true,"id":3341},{"__isSmartRef__":true,"id":3343}],"vector":{"__isSmartRef__":true,"id":3262},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3341":{"offset":0,"color":{"__isSmartRef__":true,"id":3342}},"3342":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3343":{"offset":1,"color":{"__isSmartRef__":true,"id":3344}},"3344":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3345":{"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"},"3346":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3347":{"x":0,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3348":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3349":{"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"},"3350":{"morph":{"__isSmartRef__":true,"id":3319},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3351":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3352":{"resizeWidth":true},"3353":{"onTouchStart":{"__isSmartRef__":true,"id":3272},"onTouchMove":{"__isSmartRef__":true,"id":3276},"onTouchEnd":{"__isSmartRef__":true,"id":3280}},"3354":{"submorphs":[{"__isSmartRef__":true,"id":3355}],"scripts":[],"id":"DD187FF9-CADF-4B9C-88FB-E1350BC59D7C","shape":{"__isSmartRef__":true,"id":3371},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3382},"showsHalos":false,"name":"Rectangle3","partsBinMetaInfo":{"__isSmartRef__":true,"id":3383},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3384},"eventHandler":{"__isSmartRef__":true,"id":3385},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"CE7C3712-8701-4C03-8E3B-5CB3344EB8C8","7598210A-69B5-4120-A438-4AB508482572","39B2E2A0-D8A7-4DB7-B021-AAE86780F60E","AE422775-DEBE-4779-B4F5-060649F5F3DA"],"index":3,"priorExtent":{"__isSmartRef__":true,"id":3386},"layout":{"__isSmartRef__":true,"id":3387},"owner":{"__isSmartRef__":true,"id":3235},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3388},"__LivelyClassName__":"lively.morphic.Box"},"3355":{"submorphs":[],"scripts":[],"id":"E5C56BA7-3FB1-404A-A174-E96227525957","shape":{"__isSmartRef__":true,"id":3356},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3362},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3359},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text3","partsBinMetaInfo":{"__isSmartRef__":true,"id":3363},"textChunks":[{"__isSmartRef__":true,"id":3364}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3366},"renderContextTable":{"__isSmartRef__":true,"id":3367},"eventHandler":{"__isSmartRef__":true,"id":3368},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3369},"_ClipMode":"visible","derivationIds":[355,"DF65E85F-CF63-4D38-B6FB-53EDD47FF17F","A15DAD3C-38C1-418A-8954-77F27DDE77BA","61F8C798-53F1-4BE2-B6DE-7591C03C3120","51D5DB89-BD9A-428E-BDE4-5B13CA2850E9"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3370},"owner":{"__isSmartRef__":true,"id":3354},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3356":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3357},"_Extent":{"__isSmartRef__":true,"id":3358},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3359},"renderContextTable":{"__isSmartRef__":true,"id":3360},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3361},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3357":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3358":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3359":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3360":{"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"},"3361":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3362":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3363":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3364":{"style":{"__isSmartRef__":true,"id":3365},"chunkOwner":{"__isSmartRef__":true,"id":3355},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3365":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3366":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3367":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3368":{"morph":{"__isSmartRef__":true,"id":3355},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3369":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3370":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3371":{"position":{"__isSmartRef__":true,"id":3372},"_Extent":{"__isSmartRef__":true,"id":3373},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3374},"_Fill":{"__isSmartRef__":true,"id":3375},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3380},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3381},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3372":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3373":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3374":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3375":{"stops":[{"__isSmartRef__":true,"id":3376},{"__isSmartRef__":true,"id":3378}],"vector":{"__isSmartRef__":true,"id":3262},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3376":{"offset":0,"color":{"__isSmartRef__":true,"id":3377}},"3377":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3378":{"offset":1,"color":{"__isSmartRef__":true,"id":3379}},"3379":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3380":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3381":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3382":{"x":0,"y":129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3383":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3384":{"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"},"3385":{"morph":{"__isSmartRef__":true,"id":3354},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3386":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3387":{"resizeWidth":true},"3388":{"onTouchStart":{"__isSmartRef__":true,"id":3272},"onTouchMove":{"__isSmartRef__":true,"id":3276},"onTouchEnd":{"__isSmartRef__":true,"id":3280}},"3389":{"submorphs":[{"__isSmartRef__":true,"id":3390}],"scripts":[],"id":"1D123B80-4843-4AB9-91F5-B09B20FE9457","shape":{"__isSmartRef__":true,"id":3406},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3417},"showsHalos":false,"name":"Rectangle4","partsBinMetaInfo":{"__isSmartRef__":true,"id":3418},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3419},"eventHandler":{"__isSmartRef__":true,"id":3420},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"92F752E8-9991-4E69-82FC-8A505739298E","36935FDF-9046-4666-B31C-E79044FDEE98","7D10DDBF-67C3-4470-8CAD-6DB44EC583FD","D94022B4-90E9-42DD-A213-8812B1F48579"],"index":4,"priorExtent":{"__isSmartRef__":true,"id":3421},"layout":{"__isSmartRef__":true,"id":3422},"owner":{"__isSmartRef__":true,"id":3235},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3423},"__LivelyClassName__":"lively.morphic.Box"},"3390":{"submorphs":[],"scripts":[],"id":"C356AB43-51DF-4364-BE64-72CA33F97D4E","shape":{"__isSmartRef__":true,"id":3391},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3397},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3394},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text4","partsBinMetaInfo":{"__isSmartRef__":true,"id":3398},"textChunks":[{"__isSmartRef__":true,"id":3399}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3401},"renderContextTable":{"__isSmartRef__":true,"id":3402},"eventHandler":{"__isSmartRef__":true,"id":3403},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3404},"_ClipMode":"visible","derivationIds":[355,"C2E55D13-869F-49B5-BFDE-442283D77A9A","22F2AE17-5547-4A16-A121-29178506528C","85DF3FD2-18C5-40F9-8AE7-FBD159B89FF7","F0C9DB90-AFCB-4717-A54E-55E7DD0053F7"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3405},"owner":{"__isSmartRef__":true,"id":3389},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3391":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3392},"_Extent":{"__isSmartRef__":true,"id":3393},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3394},"renderContextTable":{"__isSmartRef__":true,"id":3395},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3396},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3392":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3393":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3394":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3395":{"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"},"3396":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3397":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3398":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3399":{"style":{"__isSmartRef__":true,"id":3400},"chunkOwner":{"__isSmartRef__":true,"id":3390},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3400":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3401":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3402":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3403":{"morph":{"__isSmartRef__":true,"id":3390},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3404":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3405":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3406":{"position":{"__isSmartRef__":true,"id":3407},"_Extent":{"__isSmartRef__":true,"id":3408},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3409},"_Fill":{"__isSmartRef__":true,"id":3410},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3415},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3416},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3407":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3408":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3409":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3410":{"stops":[{"__isSmartRef__":true,"id":3411},{"__isSmartRef__":true,"id":3413}],"vector":{"__isSmartRef__":true,"id":3262},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3411":{"offset":0,"color":{"__isSmartRef__":true,"id":3412}},"3412":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3413":{"offset":1,"color":{"__isSmartRef__":true,"id":3414}},"3414":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3415":{"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"},"3416":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3417":{"x":0,"y":172,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3418":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3419":{"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"},"3420":{"morph":{"__isSmartRef__":true,"id":3389},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3421":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3422":{"resizeWidth":true},"3423":{"onTouchStart":{"__isSmartRef__":true,"id":3272},"onTouchMove":{"__isSmartRef__":true,"id":3276},"onTouchEnd":{"__isSmartRef__":true,"id":3280}},"3424":{"submorphs":[{"__isSmartRef__":true,"id":3425}],"scripts":[],"id":"1E2BFA0F-F16B-4622-8D6B-AA6574C21724","shape":{"__isSmartRef__":true,"id":3441},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3452},"showsHalos":false,"name":"Rectangle5","partsBinMetaInfo":{"__isSmartRef__":true,"id":3453},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3454},"eventHandler":{"__isSmartRef__":true,"id":3455},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"7AF04980-152D-46AF-ACA3-DC063EC310D4","7F43F051-7271-4DC0-8084-C50B5E51ECCC","6FF5D970-D596-4B75-85CC-6F4E7E869BA4","233B46E4-E328-475D-AF31-96FE4BA279BB"],"index":5,"priorExtent":{"__isSmartRef__":true,"id":3456},"layout":{"__isSmartRef__":true,"id":3457},"owner":{"__isSmartRef__":true,"id":3235},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3458},"__LivelyClassName__":"lively.morphic.Box"},"3425":{"submorphs":[],"scripts":[],"id":"62203988-ED85-425D-B764-F8A0ABF50191","shape":{"__isSmartRef__":true,"id":3426},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3432},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3429},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text5","partsBinMetaInfo":{"__isSmartRef__":true,"id":3433},"textChunks":[{"__isSmartRef__":true,"id":3434}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3436},"renderContextTable":{"__isSmartRef__":true,"id":3437},"eventHandler":{"__isSmartRef__":true,"id":3438},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3439},"_ClipMode":"visible","derivationIds":[355,"76B5ADFA-B211-41B1-AA34-734C07C5687E","0FC4CA04-9D61-4E58-91DC-4B20C751F7AA","9383151B-3614-4258-8F7A-5657C7F0585F","5DD8451B-FD4A-4499-B471-6447121EA923"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3440},"owner":{"__isSmartRef__":true,"id":3424},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3426":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3427},"_Extent":{"__isSmartRef__":true,"id":3428},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3429},"renderContextTable":{"__isSmartRef__":true,"id":3430},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3431},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3427":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3428":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3429":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3430":{"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"},"3431":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3432":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3433":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3434":{"style":{"__isSmartRef__":true,"id":3435},"chunkOwner":{"__isSmartRef__":true,"id":3425},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3435":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3436":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3437":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3438":{"morph":{"__isSmartRef__":true,"id":3425},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3439":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3440":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3441":{"position":{"__isSmartRef__":true,"id":3442},"_Extent":{"__isSmartRef__":true,"id":3443},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3444},"_Fill":{"__isSmartRef__":true,"id":3445},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3450},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3451},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3442":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3443":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3444":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3445":{"stops":[{"__isSmartRef__":true,"id":3446},{"__isSmartRef__":true,"id":3448}],"vector":{"__isSmartRef__":true,"id":3262},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3446":{"offset":0,"color":{"__isSmartRef__":true,"id":3447}},"3447":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3448":{"offset":1,"color":{"__isSmartRef__":true,"id":3449}},"3449":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3450":{"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"},"3451":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3452":{"x":0,"y":215,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3453":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3454":{"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"},"3455":{"morph":{"__isSmartRef__":true,"id":3424},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3456":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3457":{"resizeWidth":true},"3458":{"onTouchStart":{"__isSmartRef__":true,"id":3272},"onTouchMove":{"__isSmartRef__":true,"id":3276},"onTouchEnd":{"__isSmartRef__":true,"id":3280}},"3459":{"submorphs":[{"__isSmartRef__":true,"id":3460}],"scripts":[],"id":"2D04143B-DDB7-43A2-943D-A4D914F3FCB3","shape":{"__isSmartRef__":true,"id":3476},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3487},"showsHalos":false,"name":"Rectangle6","partsBinMetaInfo":{"__isSmartRef__":true,"id":3488},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3489},"eventHandler":{"__isSmartRef__":true,"id":3490},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"1D70B9CA-F9A2-4EF6-B83A-245FF295A5B3","833874B8-69F2-4C3E-98D8-F51869A60FA2","4D6597FC-ABE4-4E59-A3CF-611EB5256202","EE82D661-A41E-4784-903E-30C21D9BB525"],"index":6,"priorExtent":{"__isSmartRef__":true,"id":3491},"layout":{"__isSmartRef__":true,"id":3492},"owner":{"__isSmartRef__":true,"id":3235},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3493},"__LivelyClassName__":"lively.morphic.Box"},"3460":{"submorphs":[],"scripts":[],"id":"79DDC60C-A2FB-446C-961F-240951428B7E","shape":{"__isSmartRef__":true,"id":3461},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3467},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3464},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text6","partsBinMetaInfo":{"__isSmartRef__":true,"id":3468},"textChunks":[{"__isSmartRef__":true,"id":3469}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3471},"renderContextTable":{"__isSmartRef__":true,"id":3472},"eventHandler":{"__isSmartRef__":true,"id":3473},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3474},"_ClipMode":"visible","derivationIds":[355,"56DF7BB4-9968-4A6A-9DE0-7AD05DB362A7","7F83A85D-002B-4CE3-9905-6E7156973964","2101EDDA-05FA-4C8E-9887-8E29ED9EB5B7","DBE74BB9-4F8D-4A5B-B6F7-A17A5867A0B0"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3475},"owner":{"__isSmartRef__":true,"id":3459},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3461":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3462},"_Extent":{"__isSmartRef__":true,"id":3463},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3464},"renderContextTable":{"__isSmartRef__":true,"id":3465},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3466},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3462":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3463":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3464":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3465":{"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"},"3466":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3467":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3468":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3469":{"style":{"__isSmartRef__":true,"id":3470},"chunkOwner":{"__isSmartRef__":true,"id":3460},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3470":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3471":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3472":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3473":{"morph":{"__isSmartRef__":true,"id":3460},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3474":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3475":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3476":{"position":{"__isSmartRef__":true,"id":3477},"_Extent":{"__isSmartRef__":true,"id":3478},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3479},"_Fill":{"__isSmartRef__":true,"id":3480},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3485},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3486},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3477":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3478":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3479":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3480":{"stops":[{"__isSmartRef__":true,"id":3481},{"__isSmartRef__":true,"id":3483}],"vector":{"__isSmartRef__":true,"id":3262},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3481":{"offset":0,"color":{"__isSmartRef__":true,"id":3482}},"3482":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3483":{"offset":1,"color":{"__isSmartRef__":true,"id":3484}},"3484":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3485":{"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"},"3486":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3487":{"x":0,"y":258,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3488":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3489":{"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"},"3490":{"morph":{"__isSmartRef__":true,"id":3459},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3491":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3492":{"resizeWidth":true},"3493":{"onTouchStart":{"__isSmartRef__":true,"id":3272},"onTouchMove":{"__isSmartRef__":true,"id":3276},"onTouchEnd":{"__isSmartRef__":true,"id":3280}},"3494":{"submorphs":[{"__isSmartRef__":true,"id":3495}],"scripts":[],"id":"6A81D2C1-2AD5-41FE-A42C-5A4D756BE786","shape":{"__isSmartRef__":true,"id":3511},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3522},"showsHalos":false,"name":"Rectangle7","partsBinMetaInfo":{"__isSmartRef__":true,"id":3523},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3524},"eventHandler":{"__isSmartRef__":true,"id":3525},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"5461F5D2-20BC-4BBA-9EBC-6C583FF7CB5E","8B72ABA7-C28D-49CA-90F3-DCE8600A0B80","E58E6670-BC41-40C7-A6BC-A0407FE95BA2","5F3D0DCB-1BB2-4392-B256-02560611507A"],"index":7,"priorExtent":{"__isSmartRef__":true,"id":3526},"layout":{"__isSmartRef__":true,"id":3527},"owner":{"__isSmartRef__":true,"id":3235},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3528},"__LivelyClassName__":"lively.morphic.Box"},"3495":{"submorphs":[],"scripts":[],"id":"FB815A1D-A960-431A-8037-0FEE0D9D9744","shape":{"__isSmartRef__":true,"id":3496},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3502},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3499},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text7","partsBinMetaInfo":{"__isSmartRef__":true,"id":3503},"textChunks":[{"__isSmartRef__":true,"id":3504}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3506},"renderContextTable":{"__isSmartRef__":true,"id":3507},"eventHandler":{"__isSmartRef__":true,"id":3508},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3509},"_ClipMode":"visible","derivationIds":[355,"2CECDAFF-91E7-4156-85A1-79E736BD2E3C","E95C4DC4-7329-4F4E-8091-544F345437B7","5E8A8CA1-3423-433D-BE81-711FDC7F64DA","09094987-4588-4283-A213-A6783A58BD45"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3510},"owner":{"__isSmartRef__":true,"id":3494},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3496":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3497},"_Extent":{"__isSmartRef__":true,"id":3498},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3499},"renderContextTable":{"__isSmartRef__":true,"id":3500},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3501},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3497":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3498":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3499":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3500":{"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"},"3501":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3502":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3503":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3504":{"style":{"__isSmartRef__":true,"id":3505},"chunkOwner":{"__isSmartRef__":true,"id":3495},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3505":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3506":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3507":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3508":{"morph":{"__isSmartRef__":true,"id":3495},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3509":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3510":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3511":{"position":{"__isSmartRef__":true,"id":3512},"_Extent":{"__isSmartRef__":true,"id":3513},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3514},"_Fill":{"__isSmartRef__":true,"id":3515},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3520},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3521},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3512":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3513":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3514":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3515":{"stops":[{"__isSmartRef__":true,"id":3516},{"__isSmartRef__":true,"id":3518}],"vector":{"__isSmartRef__":true,"id":3262},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3516":{"offset":0,"color":{"__isSmartRef__":true,"id":3517}},"3517":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3518":{"offset":1,"color":{"__isSmartRef__":true,"id":3519}},"3519":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3520":{"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"},"3521":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3522":{"x":0,"y":301,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3523":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3524":{"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"},"3525":{"morph":{"__isSmartRef__":true,"id":3494},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3526":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3527":{"resizeWidth":true},"3528":{"onTouchStart":{"__isSmartRef__":true,"id":3272},"onTouchMove":{"__isSmartRef__":true,"id":3276},"onTouchEnd":{"__isSmartRef__":true,"id":3280}},"3529":{"submorphs":[{"__isSmartRef__":true,"id":3530}],"scripts":[],"id":"A6F5FB82-215D-4F43-A9BC-2054ACA34AA3","shape":{"__isSmartRef__":true,"id":3546},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3557},"showsHalos":false,"name":"Rectangle8","partsBinMetaInfo":{"__isSmartRef__":true,"id":3558},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3559},"eventHandler":{"__isSmartRef__":true,"id":3560},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"B5A43E89-F4B2-4246-AD8F-42CC79E44CC1","027529C9-3D57-4629-84C2-5D71A73C024D","E51D9334-9A1B-4A38-8D6F-031F0B4F9180","A556A6CB-0453-443B-8610-D73169A6726C"],"index":8,"priorExtent":{"__isSmartRef__":true,"id":3561},"layout":{"__isSmartRef__":true,"id":3562},"owner":{"__isSmartRef__":true,"id":3235},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3563},"__LivelyClassName__":"lively.morphic.Box"},"3530":{"submorphs":[],"scripts":[],"id":"3EA81108-1F88-4CA3-8B72-87B29DA12A2B","shape":{"__isSmartRef__":true,"id":3531},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3537},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3534},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text8","partsBinMetaInfo":{"__isSmartRef__":true,"id":3538},"textChunks":[{"__isSmartRef__":true,"id":3539}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3541},"renderContextTable":{"__isSmartRef__":true,"id":3542},"eventHandler":{"__isSmartRef__":true,"id":3543},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3544},"_ClipMode":"visible","derivationIds":[355,"FD82442F-F0AC-49B9-B80A-9053AD062D61","A15D7E6E-A88B-4E24-AEE9-3E7ED020CD95","EA11FD13-57EE-48F8-8017-C2703D6FE322","38840F11-D643-47C7-9175-392609DE1987"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3545},"owner":{"__isSmartRef__":true,"id":3529},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3531":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3532},"_Extent":{"__isSmartRef__":true,"id":3533},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3534},"renderContextTable":{"__isSmartRef__":true,"id":3535},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3536},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3532":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3533":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3534":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3535":{"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"},"3536":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3537":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3538":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3539":{"style":{"__isSmartRef__":true,"id":3540},"chunkOwner":{"__isSmartRef__":true,"id":3530},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3540":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3541":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3542":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3543":{"morph":{"__isSmartRef__":true,"id":3530},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3544":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3545":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3546":{"position":{"__isSmartRef__":true,"id":3547},"_Extent":{"__isSmartRef__":true,"id":3548},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3549},"_Fill":{"__isSmartRef__":true,"id":3550},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3555},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3556},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3547":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3548":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3549":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3550":{"stops":[{"__isSmartRef__":true,"id":3551},{"__isSmartRef__":true,"id":3553}],"vector":{"__isSmartRef__":true,"id":3262},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3551":{"offset":0,"color":{"__isSmartRef__":true,"id":3552}},"3552":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3553":{"offset":1,"color":{"__isSmartRef__":true,"id":3554}},"3554":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3555":{"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"},"3556":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3557":{"x":0,"y":344,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3558":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3559":{"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"},"3560":{"morph":{"__isSmartRef__":true,"id":3529},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3561":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3562":{"resizeWidth":true},"3563":{"onTouchStart":{"__isSmartRef__":true,"id":3272},"onTouchMove":{"__isSmartRef__":true,"id":3276},"onTouchEnd":{"__isSmartRef__":true,"id":3280}},"3564":{"position":{"__isSmartRef__":true,"id":3565},"_Extent":{"__isSmartRef__":true,"id":3566},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3567},"_Fill":{"__isSmartRef__":true,"id":3568},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3569},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3570},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3565":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3566":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3567":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3568":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3569":{"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"},"3570":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3571":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3572":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3573":{"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"},"3574":{"morph":{"__isSmartRef__":true,"id":3235},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3575":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3576":{"resizeWidth":true,"adjustForNewBounds":true},"3577":{"onTouchStart":{"__isSmartRef__":true,"id":3578},"onTouchMove":{"__isSmartRef__":true,"id":3586},"onTouchEnd":{"__isSmartRef__":true,"id":3594},"stayInBounds":{"__isSmartRef__":true,"id":3602},"isInBounds":{"__isSmartRef__":true,"id":3606}},"3578":{"varMapping":{"__isSmartRef__":true,"id":3579},"source":"function onTouchStart(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n\n if(touch) {\n touch.originalDragOffset = touch.clientY;\n touch.originalMenuOffset = this.getPosition().y;\n\n this.isTouched = true;\n this.velocity = 0;\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = new Date().valueOf();\n }\n return true;\n\n \n}","funcProperties":{"__isSmartRef__":true,"id":3584},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3579":{"this":{"__isSmartRef__":true,"id":3235},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3580}},"3580":{"$super":{"__isSmartRef__":true,"id":3581}},"3581":{"varMapping":{"__isSmartRef__":true,"id":3582},"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":3583},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3582":{"obj":{"__isSmartRef__":true,"id":3235},"name":"onTouchStart"},"3583":{},"3584":{"timestamp":{"__isSmartRef__":true,"id":3585},"user":"sstamm","tags":[]},"3585":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (CET)"},"3586":{"varMapping":{"__isSmartRef__":true,"id":3587},"source":"function onTouchMove(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n \n if(touch && touch.originalDragOffset) {\n //TODO: Store this attributes in the object to save computation time\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu-heightContainer;\n\n\n var delta = touch.clientY - touch.originalDragOffset;\n this.setPosition(pt(0,touch.originalMenuOffset+delta));\n\n if(!this.isInBounds()) {\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n delta = this.getPosition().y-yPos;\n this.moveBy(pt(0,-delta/2));\n }\n\n var positionDelta = touch.lastTouch-touch.clientY;\n var now = new Date().valueOf();\n var timeDelta = now - touch.lastUpdate;\n\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = now;\n\n this.velocity = positionDelta*(-10/timeDelta);\n \n\n }\n return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":3592},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3587":{"this":{"__isSmartRef__":true,"id":3235},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3588}},"3588":{"$super":{"__isSmartRef__":true,"id":3589}},"3589":{"varMapping":{"__isSmartRef__":true,"id":3590},"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":3591},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3590":{"obj":{"__isSmartRef__":true,"id":3235},"name":"onTouchMove"},"3591":{},"3592":{"timestamp":{"__isSmartRef__":true,"id":3593},"user":"sstamm","tags":[]},"3593":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:54:39 GMT+0100 (CET)"},"3594":{"varMapping":{"__isSmartRef__":true,"id":3595},"source":"function onTouchEnd(evt) {\n $world.get(\"TouchList\").submorphs[0];\n var lastUpdate = new Date().valueOf();\n this.isTouched = false;\n var that = this;\n\n var flickingFct = function() {\n var now = new Date().valueOf();\n var delta = now - lastUpdate;\n var velo;\n that.velocity *= Math.pow(0.99, delta);\n that.moveBy(pt(0,that.velocity));\n that.stayInBounds();\n velo = that.velocity;\n \n lastUpdate = now;\n if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":3600},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3595":{"this":{"__isSmartRef__":true,"id":3235},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3596}},"3596":{"$super":{"__isSmartRef__":true,"id":3597}},"3597":{"varMapping":{"__isSmartRef__":true,"id":3598},"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":3599},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3598":{"obj":{"__isSmartRef__":true,"id":3235},"name":"onTouchEnd"},"3599":{},"3600":{"timestamp":{"__isSmartRef__":true,"id":3601},"user":"sstamm","tags":[]},"3601":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (CET)"},"3602":{"varMapping":{"__isSmartRef__":true,"id":3603},"source":"function stayInBounds() {\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta!=0) {\n this.velocity = -delta/15;\n }\n// this.setPosition(pt(0,yPos));\n\n}","funcProperties":{"__isSmartRef__":true,"id":3604},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3603":{"this":{"__isSmartRef__":true,"id":3235}},"3604":{"timestamp":{"__isSmartRef__":true,"id":3605},"user":"sstamm","tags":[]},"3605":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (CET)"},"3606":{"varMapping":{"__isSmartRef__":true,"id":3607},"source":"function isInBounds() {\n var heightMenu = this.owner.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":3608},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3607":{"this":{"__isSmartRef__":true,"id":3235}},"3608":{"timestamp":{"__isSmartRef__":true,"id":3609},"user":"sstamm","tags":[]},"3609":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (CET)"},"3610":{"position":{"__isSmartRef__":true,"id":3611},"_Extent":{"__isSmartRef__":true,"id":3612},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3613},"_Fill":{"__isSmartRef__":true,"id":3614},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3615},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3616},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3611":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3612":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3613":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3614":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3615":{},"3616":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3617":{"x":1,"y":-42,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3618":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A morph which behaves like an IPad list. Use initialize() to clear and addItem() to ... well ... add items","migrationLevel":4,"partName":"TouchList","changes":[{"__isSmartRef__":true,"id":3619},{"__isSmartRef__":true,"id":3621},{"__isSmartRef__":true,"id":3623},{"__isSmartRef__":true,"id":3625}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3619":{"date":{"__isSmartRef__":true,"id":3620},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"3620":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (CET)"},"3621":{"date":{"__isSmartRef__":true,"id":3622},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"3622":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (CET)"},"3623":{"date":{"__isSmartRef__":true,"id":3624},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"3624":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (CET)"},"3625":{"date":{"__isSmartRef__":true,"id":3626},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"3626":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (CET)"},"3627":{"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"},"3628":{"morph":{"__isSmartRef__":true,"id":3234},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3629":{"sourceObj":{"__isSmartRef__":true,"id":3234},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":3234},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3630":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3631":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"3632":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3633":{"submorphs":[{"__isSmartRef__":true,"id":3634},{"__isSmartRef__":true,"id":3234}],"scripts":[],"id":"DF1DBFA6-598A-4507-BF20-68EF01EC237D","shape":{"__isSmartRef__":true,"id":3650},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3662},"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":3663},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3664},"eventHandler":{"__isSmartRef__":true,"id":3665},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"835F3BC8-D36A-49E4-BFAF-6554B4148F66","C727DE20-4AA7-4FDD-B4A9-BC9ED2A62972","42E052F8-BF9E-40EA-90D0-797670BBD241"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":3666},"layout":{"__isSmartRef__":true,"id":3667},"owner":null,"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3668},"__LivelyClassName__":"lively.morphic.Box"},"3634":{"submorphs":[],"scripts":[],"id":"31BADBEA-7E0C-40B3-B758-055163D9F4CE","shape":{"__isSmartRef__":true,"id":3635},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3641},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3638},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":3642},"textChunks":[{"__isSmartRef__":true,"id":3643}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3645},"renderContextTable":{"__isSmartRef__":true,"id":3646},"eventHandler":{"__isSmartRef__":true,"id":3647},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3648},"_ClipMode":"visible","derivationIds":[355,"E0F8F56D-E4DC-4441-A85E-5428558C130F","F9A264B8-01DF-406D-AA0B-30E5E147A7AD","47E766AB-D2C4-4325-A846-3F5066EE2E1A"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3649},"owner":{"__isSmartRef__":true,"id":3633},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3635":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3636},"_Extent":{"__isSmartRef__":true,"id":3637},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3638},"renderContextTable":{"__isSmartRef__":true,"id":3639},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3640},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3636":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3637":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3638":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3639":{"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"},"3640":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3641":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3642":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3643":{"style":{"__isSmartRef__":true,"id":3644},"chunkOwner":{"__isSmartRef__":true,"id":3634},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3644":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3645":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3646":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3647":{"morph":{"__isSmartRef__":true,"id":3634},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3648":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3649":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3650":{"position":{"__isSmartRef__":true,"id":3651},"_Extent":{"__isSmartRef__":true,"id":3652},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3653},"_Fill":{"__isSmartRef__":true,"id":3654},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3660},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3661},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3651":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3652":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3653":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3654":{"stops":[{"__isSmartRef__":true,"id":3655},{"__isSmartRef__":true,"id":3657}],"vector":{"__isSmartRef__":true,"id":3659},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3655":{"offset":0,"color":{"__isSmartRef__":true,"id":3656}},"3656":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3657":{"offset":1,"color":{"__isSmartRef__":true,"id":3658}},"3658":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3659":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3660":{"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"},"3661":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3662":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3663":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3664":{"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"},"3665":{"morph":{"__isSmartRef__":true,"id":3633},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3666":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3667":{"resizeWidth":true},"3668":{"onTouchStart":{"__isSmartRef__":true,"id":3033},"onTouchMove":{"__isSmartRef__":true,"id":3037},"onTouchEnd":{"__isSmartRef__":true,"id":3041}},"3669":{"onrestore":{"__isSmartRef__":true,"id":3670},"initialize":{"__isSmartRef__":true,"id":3678},"addItem":{"__isSmartRef__":true,"id":3686},"createListItem":{"__isSmartRef__":true,"id":3690},"touchstartCallback":{"__isSmartRef__":true,"id":3272},"touchmoveCallback":{"__isSmartRef__":true,"id":3276},"touchendCallback":{"__isSmartRef__":true,"id":3280},"updateSelection":{"__isSmartRef__":true,"id":3694},"handleClick":{"__isSmartRef__":true,"id":3698},"openSubmenuWith":{"__isSmartRef__":true,"id":3702},"initializeListEntries":{"__isSmartRef__":true,"id":3706}},"3670":{"varMapping":{"__isSmartRef__":true,"id":3671},"source":"function onrestore() {\n var that = this;\n\n //TODO: this is a race condition, because the render context is not\n // ready in onrestore\n window.setTimeout(function() { \n that.shape.setClipMode(\"hidden\"); }, 100);\n}","funcProperties":{"__isSmartRef__":true,"id":3676},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3671":{"this":{"__isSmartRef__":true,"id":3234},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3672}},"3672":{"$super":{"__isSmartRef__":true,"id":3673}},"3673":{"varMapping":{"__isSmartRef__":true,"id":3674},"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":3675},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3674":{"obj":{"__isSmartRef__":true,"id":3234},"name":"onrestore"},"3675":{},"3676":{"timestamp":{"__isSmartRef__":true,"id":3677},"user":"sstamm","tags":[]},"3677":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (CET)"},"3678":{"varMapping":{"__isSmartRef__":true,"id":3679},"source":"function initialize() {\n console.log(\"in initialize\");\n this.itemList = [];\n this.selection = null;\n this.selectedLineNo = -1;\n this.selectedMorph = null;\n this.shape.setClipMode(\"hidden\");\n var itemContainer = this.get(\"ListItemContainer\");\n \n itemContainer.setPosition(pt(0,0));\n itemContainer.submorphs.invoke(\"remove\");\n \n}","funcProperties":{"__isSmartRef__":true,"id":3684},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3679":{"this":{"__isSmartRef__":true,"id":3234},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3680}},"3680":{"$super":{"__isSmartRef__":true,"id":3681}},"3681":{"varMapping":{"__isSmartRef__":true,"id":3682},"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":3683},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3682":{"obj":{"__isSmartRef__":true,"id":3234},"name":"initialize"},"3683":{},"3684":{"timestamp":{"__isSmartRef__":true,"id":3685},"user":"sstamm","tags":[]},"3685":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (CET)"},"3686":{"varMapping":{"__isSmartRef__":true,"id":3687},"source":"function addItem(text) {\n var newMorph = this.createListItem(text);\n \n newMorph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(newMorph);\n this.get(\"ListItemContainer\").addMorph(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":3688},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3687":{"this":{"__isSmartRef__":true,"id":3234}},"3688":{"timestamp":{"__isSmartRef__":true,"id":3689},"user":"sstamm","tags":[]},"3689":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (CET)"},"3690":{"varMapping":{"__isSmartRef__":true,"id":3691},"source":"function createListItem(textString) {\n var part = lively.PartsBin.getPart(\"Rectangle\", \"PartsBin/Basic\");\n\n part.index = this.itemList.length;\n\n part.setExtent(pt(this.getExtent().x,44));\n part.applyStyle({resizeWidth: true});\n part.setFill(new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n ));\n part.setBorderColor(Color.rgb(138,138,138));\n \n\n\n part.onTouchStart = this.touchstartCallback;\n part.onTouchMove = this.touchmoveCallback;\n part.onTouchEnd = this.touchendCallback;\n\n part.registerForEvent(\"touchstart\", part, \"onTouchStart\", false);\n part.registerForEvent(\"touchmove\", part, \"onTouchMove\", false);\n part.registerForEvent(\"touchend\", part, \"onTouchEnd\", false);\n\n var text = lively.PartsBin.getPart(\"Text\", \"PartsBin/Basic\");\n text.setFontSize(14);\n text.setTextColor(Color.rgb(47,47,47));\n text.setFontFamily(\"Helvetica, Arial, sans-serif\");\n\n text.setPosition(pt(10,10));\n text.textString = textString;\n\n text.emphasizeAll({fontWeight: 'bold'});\n text.disableHalos();\n part.addMorph(text);\n\n return part;\n}","funcProperties":{"__isSmartRef__":true,"id":3692},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3691":{"this":{"__isSmartRef__":true,"id":3234}},"3692":{"timestamp":{"__isSmartRef__":true,"id":3693},"user":"sstamm","tags":[]},"3693":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (CET)"},"3694":{"varMapping":{"__isSmartRef__":true,"id":3695},"source":"function updateSelection(newSelectedMorph) {\n var hasText = true;\n if(this.selectedMorph) {\n hasText = this.selectedMorph.submorphs[0];\n this.selectedMorph.setFill(\n new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n )\n );\n if(hasText) { this.selectedMorph.submorphs[0].setTextColor(Color.rgb(47,47,47));\n }\n }\n hasText = newSelectedMorph.submorphs[0];\n\n \n if(hasText) {\n this.selection = newSelectedMorph.submorphs[0].textString;\n } else {\n this.selection = \"\";\n }\n this.selectedLineNo = newSelectedMorph.index;\n this.selectedMorph = newSelectedMorph;\n \n this.selectedMorph.setFill(\nnew lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(47,47,47)},\n {offset:0.5,color: Color.rgb(21,21,21)},\n {offset: 1, color: Color.rgb(0,0,0)}\n ],\n 'northSouth'\n ));\n \n if(hasText) {\n this.selectedMorph.submorphs[0].setTextColor(Color.rgb(222,222,222));\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3696},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3695":{"this":{"__isSmartRef__":true,"id":3234}},"3696":{"timestamp":{"__isSmartRef__":true,"id":3697},"user":"sstamm","tags":[]},"3697":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (CET)"},"3698":{"varMapping":{"__isSmartRef__":true,"id":3699},"source":"function handleClick() {\n switch(this.selection){\n case \"PartsBin\":\n $world.openPartsBin();\n $world.hideMockMenu();\n break;\n case \"Parts\":\n this.openSubmenuWith(\n [\"Ellipse\",\"Image\",\"Line\",\"Rectangle\",\"Text\",\n \"Button\",\"List\",\"ScriptableButton\",\"Slider\"]\n );\n break;\n case \"Ellipse\":\n case \"Image\":\n case \"Line\":\n case \"Rectangle\":\n case \"Text\":\n $world.openPartItem(this.selection, \"PartsBin/Basic\");\n $world.hideMockMenu();\n break;\n case \"Button\":\n case \"List\":\n case \"ScriptableButton\":\n case \"Slider\":\n $world.openPartItem(this.selection, \"PartsBin/Inputs\");\n $world.hideMockMenu();\n break;\n case \"Tools\":\n this.openSubmenuWith(\n [\"Workspace\",\"System Code Browser\",\"Object Editor\",\n \"Method Finder\",\"Text Editor\"]\n );\n break;\n case \"Workspace\":\n $world.openWorkspace();\n $world.hideMockMenu();\n break;\n case \"System Code Browser\":\n $world.openSystemBrowser();\n $world.hideMockMenu();\n break;\n case \"Object Editor\":\n $world.openObjectEditor();\n $world.hideMockMenu();\n break;\n case \"Method Finder\":\n $world.openMethodFinder();\n $world.hideMockMenu();\n break;\n case \"Text Editor\":\n new lively.morphic.TextEditor().openIn(world)\n $world.hideMockMenu();\n break;\n case \"Preferences\":\n this.openSubmenuWith(\n [\"set username\",\"set extent\",\"disable part caching\"]\n );\n break;\n case \"set username\":\n $world.askForUserName();\n $world.hideMockMenu();\n break;\n case \"set extent\":\n $world.askForNewWorldExtent();\n $world.hideMockMenu();\n break;\n case \"disable part caching\":\n $world.hideMockMenu();\n break;\n case \"Debugging\":\n this.openSubmenuWith(\n [\"reset world scale\",\"reset title bars\",\"reset button labels\",\n \"World serialization info\",\"clear part cache\",\"show connectors\"]\n );\n break;\n case \"reset world scale\":\n $world.resetScale();\n $world.hideMockMenu();\n break;\n case \"reset title bars\":\n $world.resetAllTitleBars();\n $world.hideMockMenu();\n break;\n case \"reset button labels\":\n $world.resetAllButtonLabels();\n $world.hideMockMenu();\n break;\n case \"World serialization info\":\n require('lively.persistence.Debugging').toRun(\n function() {\n var json = lively.persistence.Serializer.serialize(world),\n printer = lively.persistence.Debugging.Helper.listObjects(json);\n world.addTextWindow(printer.toString());\n }\n );\n $world.hideMockMenu();\n break;\n case \"clear part cache\":\n $world.hideMockMenu();\n break;\n case \"show connectors\":\n $world.hideMockMenu();\n break;\n case \"Wiki\":\n this.openSubmenuWith(\n [\"about this wiki\",\"view versions of this world\",\"download world\",\n \"upload world to Dropbox\",\"delete world\"]\n );\n break;\n case \"about this wiki\":\n $world.openAboutBox();\n $world.hideMockMenu();\n break;\n case \"view versions of this world\":\n $world.openVersionViewer();\n $world.hideMockMenu();\n break;\n case \"download world\":\n require('lively.persistence.StandAlonePackaging').toRun(\n function() {\n lively.persistence.StandAlonePackaging.packageCurrentWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"upload world to Dropbox\":\n require('apps.Dropbox').toRun(\n function() {\n DropboxAPI.uploadArchivedWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"delete world\":\n $world.interactiveDeleteWorldOnServer();\n $world.hideMockMenu();\n break;\n case \"Documentation\":\n this.openSubmenuWith(\n [\"on short cuts\",\"on connect data bindings\",\n \"on Lively's PartsBin\",\"more...\"]\n );\n break;\n case \"on short cuts\":\n $world.openShortcutDocumentation();\n $world.hideMockMenu();\n break;\n case \"on connect data bindings\":\n $world.openConnectDocumentation();\n $world.hideMockMenu();\n break;\n case \"on Lively's PartsBin\":\n $world.openPartsBinDocumentation();\n $world.hideMockMenu();\n break;\n case \"more...\":\n window.open(Config.rootPath + 'documentation/');\n $world.hideMockMenu();\n break;\n case \"save world as ...\":\n $world.interactiveSaveWorldAs();\n $world.hideMockMenu();\n break;\n case \"save world\":\n $world.saveWorld();\n $world.hideMockMenu();\n break;\n default:\n //Do nothing\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3700},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3699":{"this":{"__isSmartRef__":true,"id":3234}},"3700":{"timestamp":{"__isSmartRef__":true,"id":3701},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"3701":{"isSerializedDate":true,"string":"Mon Jan 30 2012 19:31:03 GMT+0100 (CET)"},"3702":{"varMapping":{"__isSmartRef__":true,"id":3703},"source":"function openSubmenuWith(list) {\n this.initialize();\n this.owner.get(\"BackButton\").setVisible(true);\n for (var i = 0; i < list.length; i++) {\n this.addItem(list[i]);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3704},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3703":{"this":{"__isSmartRef__":true,"id":3234}},"3704":{"timestamp":{"__isSmartRef__":true,"id":3705},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"3705":{"isSerializedDate":true,"string":"Mon Jan 30 2012 19:31:28 GMT+0100 (CET)"},"3706":{"varMapping":{"__isSmartRef__":true,"id":3707},"source":"function initializeListEntries() {\n this.initialize();\n this.addItem(\"PartsBin\");\n this.addItem(\"Parts\");\n this.addItem(\"Tools\");\n this.addItem(\"Preferences\");\n this.addItem(\"Debugging\");\n this.addItem(\"Wiki\");\n this.addItem(\"Documentation\");\n this.addItem(\"save world as ...\");\n this.addItem(\"save world\");\n this.owner.get(\"BackButton\").setVisible(false);\n}","funcProperties":{"__isSmartRef__":true,"id":3708},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3707":{"this":{"__isSmartRef__":true,"id":3234}},"3708":{"timestamp":{"__isSmartRef__":true,"id":3709},"user":"conradcalmez","tags":[]},"3709":{"isSerializedDate":true,"string":"Tue Jan 31 2012 10:32:29 GMT+0100 (CET)"},"3710":{"onTouchStart":{"__isSmartRef__":true,"id":3711},"onTouchMove":{"__isSmartRef__":true,"id":3719},"onTouchEnd":{"__isSmartRef__":true,"id":3727},"stayInBounds":{"__isSmartRef__":true,"id":3735},"isInBounds":{"__isSmartRef__":true,"id":3739}},"3711":{"varMapping":{"__isSmartRef__":true,"id":3712},"source":"function onTouchStart(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n\n if(touch) {\n touch.originalDragOffset = touch.clientY;\n touch.originalMenuOffset = this.getPosition().y;\n\n this.isTouched = true;\n this.velocity = 0;\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = new Date().valueOf();\n }\n return true;\n\n \n}","funcProperties":{"__isSmartRef__":true,"id":3717},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3712":{"this":{"__isSmartRef__":true,"id":2997},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3713}},"3713":{"$super":{"__isSmartRef__":true,"id":3714}},"3714":{"varMapping":{"__isSmartRef__":true,"id":3715},"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":3716},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3715":{"obj":{"__isSmartRef__":true,"id":2997},"name":"onTouchStart"},"3716":{},"3717":{"timestamp":{"__isSmartRef__":true,"id":3718},"user":"sstamm","tags":[]},"3718":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (CET)"},"3719":{"varMapping":{"__isSmartRef__":true,"id":3720},"source":"function onTouchMove(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n \n if(touch && touch.originalDragOffset) {\n //TODO: Store this attributes in the object to save computation time\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu-heightContainer;\n\n\n var delta = touch.clientY - touch.originalDragOffset;\n this.setPosition(pt(0,touch.originalMenuOffset+delta));\n\n if(!this.isInBounds()) {\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n delta = this.getPosition().y-yPos;\n this.moveBy(pt(0,-delta/2));\n }\n\n var positionDelta = touch.lastTouch-touch.clientY;\n var now = new Date().valueOf();\n var timeDelta = now - touch.lastUpdate;\n\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = now;\n\n this.velocity = positionDelta*(-10/timeDelta);\n \n\n }\n return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":3725},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3720":{"this":{"__isSmartRef__":true,"id":2997},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3721}},"3721":{"$super":{"__isSmartRef__":true,"id":3722}},"3722":{"varMapping":{"__isSmartRef__":true,"id":3723},"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":3724},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3723":{"obj":{"__isSmartRef__":true,"id":2997},"name":"onTouchMove"},"3724":{},"3725":{"timestamp":{"__isSmartRef__":true,"id":3726},"user":"sstamm","tags":[]},"3726":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:54:39 GMT+0100 (CET)"},"3727":{"varMapping":{"__isSmartRef__":true,"id":3728},"source":"function onTouchEnd(evt) {\n $world.get(\"TouchList\").submorphs[0];\n var lastUpdate = new Date().valueOf();\n this.isTouched = false;\n var that = this;\n\n var flickingFct = function() {\n var now = new Date().valueOf();\n var delta = now - lastUpdate;\n var velo;\n that.velocity *= Math.pow(0.99, delta);\n that.moveBy(pt(0,that.velocity));\n that.stayInBounds();\n velo = that.velocity;\n \n lastUpdate = now;\n if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":3733},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3728":{"this":{"__isSmartRef__":true,"id":2997},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3729}},"3729":{"$super":{"__isSmartRef__":true,"id":3730}},"3730":{"varMapping":{"__isSmartRef__":true,"id":3731},"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":3732},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3731":{"obj":{"__isSmartRef__":true,"id":2997},"name":"onTouchEnd"},"3732":{},"3733":{"timestamp":{"__isSmartRef__":true,"id":3734},"user":"sstamm","tags":[]},"3734":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (CET)"},"3735":{"varMapping":{"__isSmartRef__":true,"id":3736},"source":"function stayInBounds() {\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta!=0) {\n this.velocity = -delta/15;\n }\n// this.setPosition(pt(0,yPos));\n\n}","funcProperties":{"__isSmartRef__":true,"id":3737},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3736":{"this":{"__isSmartRef__":true,"id":2997}},"3737":{"timestamp":{"__isSmartRef__":true,"id":3738},"user":"sstamm","tags":[]},"3738":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (CET)"},"3739":{"varMapping":{"__isSmartRef__":true,"id":3740},"source":"function isInBounds() {\n var heightMenu = this.owner.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":3741},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3740":{"this":{"__isSmartRef__":true,"id":2997}},"3741":{"timestamp":{"__isSmartRef__":true,"id":3742},"user":"sstamm","tags":[]},"3742":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (CET)"},"3743":{"position":{"__isSmartRef__":true,"id":3744},"_Extent":{"__isSmartRef__":true,"id":3745},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3746},"_Fill":{"__isSmartRef__":true,"id":3747},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3748},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3749},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3744":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3745":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3746":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3747":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3748":{},"3749":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3750":{"x":6,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3751":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A morph which behaves like an IPad list. Use initialize() to clear and addItem() to ... well ... add items","migrationLevel":4,"partName":"TouchList","changes":[{"__isSmartRef__":true,"id":3752},{"__isSmartRef__":true,"id":3754},{"__isSmartRef__":true,"id":3756},{"__isSmartRef__":true,"id":3758}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3752":{"date":{"__isSmartRef__":true,"id":3753},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"3753":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (CET)"},"3754":{"date":{"__isSmartRef__":true,"id":3755},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"3755":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (CET)"},"3756":{"date":{"__isSmartRef__":true,"id":3757},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"3757":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (CET)"},"3758":{"date":{"__isSmartRef__":true,"id":3759},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"3759":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (CET)"},"3760":{"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"},"3761":{"morph":{"__isSmartRef__":true,"id":2996},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3762":{"sourceObj":{"__isSmartRef__":true,"id":2996},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":2996},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3763":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3764":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"3765":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3766":{"onrestore":{"__isSmartRef__":true,"id":3767},"initialize":{"__isSmartRef__":true,"id":3775},"addItem":{"__isSmartRef__":true,"id":3783},"createListItem":{"__isSmartRef__":true,"id":3787},"touchstartCallback":{"__isSmartRef__":true,"id":3033},"touchmoveCallback":{"__isSmartRef__":true,"id":3037},"touchendCallback":{"__isSmartRef__":true,"id":3041},"updateSelection":{"__isSmartRef__":true,"id":3791},"handleClick":{"__isSmartRef__":true,"id":3795},"initializeListEntries":{"__isSmartRef__":true,"id":3799}},"3767":{"varMapping":{"__isSmartRef__":true,"id":3768},"source":"function onrestore() {\n var that = this;\n\n //TODO: this is a race condition, because the render context is not\n // ready in onrestore\n window.setTimeout(function() { \n that.shape.setClipMode(\"hidden\"); }, 100);\n}","funcProperties":{"__isSmartRef__":true,"id":3773},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3768":{"this":{"__isSmartRef__":true,"id":2996},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3769}},"3769":{"$super":{"__isSmartRef__":true,"id":3770}},"3770":{"varMapping":{"__isSmartRef__":true,"id":3771},"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":3772},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3771":{"obj":{"__isSmartRef__":true,"id":2996},"name":"onrestore"},"3772":{},"3773":{"timestamp":{"__isSmartRef__":true,"id":3774},"user":"sstamm","tags":[]},"3774":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (CET)"},"3775":{"varMapping":{"__isSmartRef__":true,"id":3776},"source":"function initialize() {\n console.log(\"in initialize\");\n this.itemList = [];\n this.selection = null;\n this.selectedLineNo = -1;\n this.selectedMorph = null;\n this.shape.setClipMode(\"hidden\");\n var itemContainer = this.get(\"ListItemContainer\");\n \n itemContainer.setPosition(pt(0,0));\n itemContainer.submorphs.invoke(\"remove\");\n \n}","funcProperties":{"__isSmartRef__":true,"id":3781},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3776":{"this":{"__isSmartRef__":true,"id":2996},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3777}},"3777":{"$super":{"__isSmartRef__":true,"id":3778}},"3778":{"varMapping":{"__isSmartRef__":true,"id":3779},"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":3780},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3779":{"obj":{"__isSmartRef__":true,"id":2996},"name":"initialize"},"3780":{},"3781":{"timestamp":{"__isSmartRef__":true,"id":3782},"user":"sstamm","tags":[]},"3782":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (CET)"},"3783":{"varMapping":{"__isSmartRef__":true,"id":3784},"source":"function addItem(text) {\n var newMorph = this.createListItem(text);\n \n newMorph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(newMorph);\n this.get(\"ListItemContainer\").addMorph(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":3785},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3784":{"this":{"__isSmartRef__":true,"id":2996}},"3785":{"timestamp":{"__isSmartRef__":true,"id":3786},"user":"sstamm","tags":[]},"3786":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (CET)"},"3787":{"varMapping":{"__isSmartRef__":true,"id":3788},"source":"function createListItem(textString) {\n var part = lively.PartsBin.getPart(\"Rectangle\", \"PartsBin/Basic\");\n\n part.index = this.itemList.length;\n\n part.setExtent(pt(this.getExtent().x,44));\n part.applyStyle({resizeWidth: true});\n part.setFill(new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n ));\n part.setBorderColor(Color.rgb(138,138,138));\n \n\n\n part.onTouchStart = this.touchstartCallback;\n part.onTouchMove = this.touchmoveCallback;\n part.onTouchEnd = this.touchendCallback;\n\n part.registerForEvent(\"touchstart\", part, \"onTouchStart\", false);\n part.registerForEvent(\"touchmove\", part, \"onTouchMove\", false);\n part.registerForEvent(\"touchend\", part, \"onTouchEnd\", false);\n\n var text = lively.PartsBin.getPart(\"Text\", \"PartsBin/Basic\");\n text.setFontSize(14);\n text.setTextColor(Color.rgb(47,47,47));\n text.setFontFamily(\"Helvetica, Arial, sans-serif\");\n\n text.setPosition(pt(10,10));\n text.textString = textString;\n\n text.emphasizeAll({fontWeight: 'bold'});\n text.disableHalos();\n part.addMorph(text);\n\n return part;\n}","funcProperties":{"__isSmartRef__":true,"id":3789},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3788":{"this":{"__isSmartRef__":true,"id":2996}},"3789":{"timestamp":{"__isSmartRef__":true,"id":3790},"user":"sstamm","tags":[]},"3790":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (CET)"},"3791":{"varMapping":{"__isSmartRef__":true,"id":3792},"source":"function updateSelection(newSelectedMorph) {\n var hasText = true;\n if(this.selectedMorph) {\n hasText = this.selectedMorph.submorphs[0];\n this.selectedMorph.setFill(\n new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n )\n );\n if(hasText) { this.selectedMorph.submorphs[0].setTextColor(Color.rgb(47,47,47));\n }\n }\n hasText = newSelectedMorph.submorphs[0];\n\n \n if(hasText) {\n this.selection = newSelectedMorph.submorphs[0].textString;\n } else {\n this.selection = \"\";\n }\n this.selectedLineNo = newSelectedMorph.index;\n this.selectedMorph = newSelectedMorph;\n \n this.selectedMorph.setFill(\nnew lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(47,47,47)},\n {offset:0.5,color: Color.rgb(21,21,21)},\n {offset: 1, color: Color.rgb(0,0,0)}\n ],\n 'northSouth'\n ));\n \n if(hasText) {\n this.selectedMorph.submorphs[0].setTextColor(Color.rgb(222,222,222));\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3793},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3792":{"this":{"__isSmartRef__":true,"id":2996}},"3793":{"timestamp":{"__isSmartRef__":true,"id":3794},"user":"sstamm","tags":[]},"3794":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (CET)"},"3795":{"varMapping":{"__isSmartRef__":true,"id":3796},"source":"function handleClick() {\n switch(this.selection){\n case \"PartsBin\":\n $world.openPartsBin();\n $world.hideMockMenu();\n break;\n case \"Parts\":\n this.owner.showList(this.selection);\n break;\n case \"Ellipse\":\n case \"Image\":\n case \"Line\":\n case \"Rectangle\":\n case \"Text\":\n $world.openPartItem(this.selection, \"PartsBin/Basic\");\n $world.hideMockMenu();\n break;\n case \"Button\":\n case \"List\":\n case \"ScriptableButton\":\n case \"Slider\":\n $world.openPartItem(this.selection, \"PartsBin/Inputs\");\n $world.hideMockMenu();\n break;\n case \"Tools\":\n this.owner.showList(this.selection);\n break;\n case \"Workspace\":\n $world.openWorkspace();\n $world.hideMockMenu();\n break;\n case \"System Code Browser\":\n $world.openSystemBrowser();\n $world.hideMockMenu();\n break;\n case \"Object Editor\":\n $world.openObjectEditor();\n $world.hideMockMenu();\n break;\n case \"Method Finder\":\n $world.openMethodFinder();\n $world.hideMockMenu();\n break;\n case \"Text Editor\":\n new lively.morphic.TextEditor().openIn(world)\n $world.hideMockMenu();\n break;\n case \"Preferences\":\n this.owner.showList(this.selection);\n break;\n case \"set username\":\n $world.askForUserName();\n $world.hideMockMenu();\n break;\n case \"set extent\":\n $world.askForNewWorldExtent();\n $world.hideMockMenu();\n break;\n case \"disable part caching\":\n $world.hideMockMenu();\n break;\n case \"Debugging\":\n this.owner.showList(this.selection);\n break;\n case \"reset world scale\":\n $world.resetScale();\n $world.hideMockMenu();\n break;\n case \"reset title bars\":\n $world.resetAllTitleBars();\n $world.hideMockMenu();\n break;\n case \"reset button labels\":\n $world.resetAllButtonLabels();\n $world.hideMockMenu();\n break;\n case \"World serialization info\":\n require('lively.persistence.Debugging').toRun(\n function() {\n var json = lively.persistence.Serializer.serialize(world),\n printer = lively.persistence.Debugging.Helper.listObjects(json);\n world.addTextWindow(printer.toString());\n }\n );\n $world.hideMockMenu();\n break;\n case \"clear part cache\":\n $world.hideMockMenu();\n break;\n case \"show connectors\":\n $world.hideMockMenu();\n break;\n case \"Wiki\":\n this.owner.showList(this.selection);\n break;\n case \"about this wiki\":\n $world.openAboutBox();\n $world.hideMockMenu();\n break;\n case \"view versions of this world\":\n $world.openVersionViewer();\n $world.hideMockMenu();\n break;\n case \"download world\":\n require('lively.persistence.StandAlonePackaging').toRun(\n function() {\n lively.persistence.StandAlonePackaging.packageCurrentWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"upload world to Dropbox\":\n require('apps.Dropbox').toRun(\n function() {\n DropboxAPI.uploadArchivedWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"delete world\":\n $world.interactiveDeleteWorldOnServer();\n $world.hideMockMenu();\n break;\n case \"Documentation\":\n this.owner.showList(this.selection);\n break;\n case \"on short cuts\":\n $world.openShortcutDocumentation();\n $world.hideMockMenu();\n break;\n case \"on connect data bindings\":\n $world.openConnectDocumentation();\n $world.hideMockMenu();\n break;\n case \"on Lively's PartsBin\":\n $world.openPartsBinDocumentation();\n $world.hideMockMenu();\n break;\n case \"more...\":\n window.open(Config.rootPath + 'documentation/');\n $world.hideMockMenu();\n break;\n case \"save world as ...\":\n $world.interactiveSaveWorldAs();\n $world.hideMockMenu();\n break;\n case \"save world\":\n $world.saveWorld();\n $world.hideMockMenu();\n break;\n default:\n //Do nothing\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3797},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3796":{"this":{"__isSmartRef__":true,"id":2996}},"3797":{"timestamp":{"__isSmartRef__":true,"id":3798},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"3798":{"isSerializedDate":true,"string":"Tue Jan 31 2012 13:27:28 GMT+0100 (CET)"},"3799":{"varMapping":{"__isSmartRef__":true,"id":3800},"source":"function initializeListEntries() {\n this.initialize();\n list = [\"reset world scale\",\"reset title bars\",\"reset button labels\",\n \"World serialization info\",\"clear part cache\",\"show connectors\"];\n for (var i = 0; i < list.length; i++) {\n this.addItem(list[i]);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3801},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3800":{"this":{"__isSmartRef__":true,"id":2996}},"3801":{"timestamp":{"__isSmartRef__":true,"id":3802},"user":"conradcalmez","tags":[]},"3802":{"isSerializedDate":true,"string":"Tue Jan 31 2012 11:52:04 GMT+0100 (CET)"},"3803":{"submorphs":[{"__isSmartRef__":true,"id":3804}],"scripts":[],"id":"5E06DF87-6FDA-4111-B094-3CCC75B5A1A1","shape":{"__isSmartRef__":true,"id":4038},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4045},"showsHalos":false,"name":"TouchList5","partsBinMetaInfo":{"__isSmartRef__":true,"id":4046},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4055},"eventHandler":{"__isSmartRef__":true,"id":4056},"attributeConnections":[{"__isSmartRef__":true,"id":4057}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"derivationIds":[127,"86FF1C90-3CC2-44B9-8DEE-1BC214D734AE","EEA7DF22-C343-4B58-A447-43BB95D5405F","9665449D-F0E4-4BCE-854B-48D19C73214E","8B65C997-34DC-4F70-A1BA-266488F1588C","CBDEE8B9-9E1C-44E5-85E6-6D85E0738D59","34806B09-40D4-4BE7-B17E-FFFFDB7B0928","A96DDB06-4250-4386-905D-8B702E91A05F","B93F122D-B016-4AF4-92C9-4B1A33D0DDC5","3F84A349-52E2-4C32-931A-8EC950A3BBA5","D5F132C4-D6AC-4195-BC33-4811A4DD5A1B","6979C3DE-FB3A-4650-8975-C90AD7039E8A","979EDD23-9A5E-4E06-83F3-57E1ACD3F593"],"priorExtent":{"__isSmartRef__":true,"id":4058},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":4059},"itemList":[{"__isSmartRef__":true,"id":3805},{"__isSmartRef__":true,"id":3852},{"__isSmartRef__":true,"id":3887},{"__isSmartRef__":true,"id":3922},{"__isSmartRef__":true,"id":3957}],"_ClipMode":"hidden","selectedMorph":null,"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":4060},"owner":null,"_Visible":false,"_Rotation":0,"_Scale":1,"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4061},"__LivelyClassName__":"lively.morphic.Box"},"3804":{"submorphs":[{"__isSmartRef__":true,"id":3805},{"__isSmartRef__":true,"id":3852},{"__isSmartRef__":true,"id":3887},{"__isSmartRef__":true,"id":3922},{"__isSmartRef__":true,"id":3957}],"scripts":[],"id":"6694B0E7-E4FD-485A-B126-67821AB1347B","shape":{"__isSmartRef__":true,"id":3992},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3999},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":4000},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4001},"eventHandler":{"__isSmartRef__":true,"id":4002},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"70193F55-BD62-471E-90CE-6CF2F345BFF8","C29938AD-3221-4AB2-80BA-EBF64E5C8063","F478A91E-32FA-4527-BA77-81009843E6E7","3C2C2181-A589-45A7-B023-FDED3CDFE499","45EE0951-5C82-4C8D-808E-E69D6E6AFFC8","3AB7DC6F-888B-4351-A241-EA890F85280A","1DB8DDC7-39AB-4B77-BB60-17766F9CFBD1","ED945231-5F92-4EB9-9EE7-1612C0FC1249","9B5CCF0C-E6FF-4E23-8290-3CFABD86AC33","BCE75999-1D38-4C36-9F4B-4F0780419271","F4533AF5-BA7A-4F20-A1EE-59477E572689","F56EE164-C7B9-4710-B120-DB7D80D35634"],"owner":{"__isSmartRef__":true,"id":3803},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":4003},"layout":{"__isSmartRef__":true,"id":4004},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4005},"__LivelyClassName__":"lively.morphic.Box"},"3805":{"submorphs":[{"__isSmartRef__":true,"id":3806}],"scripts":[],"id":"49191EEE-0A98-41CA-B5DB-9791EBF84094","shape":{"__isSmartRef__":true,"id":3822},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3833},"showsHalos":false,"name":"Rectangle37","partsBinMetaInfo":{"__isSmartRef__":true,"id":3834},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3835},"eventHandler":{"__isSmartRef__":true,"id":3836},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"89165BCA-BD71-4F8F-B689-2FA19EAC88D9","C6D23B90-8B34-4A37-9EE7-3E1A2958E0FA"],"index":0,"priorExtent":{"__isSmartRef__":true,"id":3837},"layout":{"__isSmartRef__":true,"id":3838},"owner":{"__isSmartRef__":true,"id":3804},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3839},"__LivelyClassName__":"lively.morphic.Box"},"3806":{"submorphs":[],"scripts":[],"id":"0E337776-B4AE-4550-86AE-6105272F88AC","shape":{"__isSmartRef__":true,"id":3807},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3813},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3810},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text39","partsBinMetaInfo":{"__isSmartRef__":true,"id":3814},"textChunks":[{"__isSmartRef__":true,"id":3815}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3817},"renderContextTable":{"__isSmartRef__":true,"id":3818},"eventHandler":{"__isSmartRef__":true,"id":3819},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3820},"_ClipMode":"visible","derivationIds":[355,"434C38AC-CFA2-4389-821E-6C766D34ACB1","2F305FA7-5C13-4809-82AD-232764ED66D4"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3821},"owner":{"__isSmartRef__":true,"id":3805},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3807":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3808},"_Extent":{"__isSmartRef__":true,"id":3809},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3810},"renderContextTable":{"__isSmartRef__":true,"id":3811},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3812},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3808":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3809":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3810":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3811":{"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"},"3812":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3813":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3814":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3815":{"style":{"__isSmartRef__":true,"id":3816},"chunkOwner":{"__isSmartRef__":true,"id":3806},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3816":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3817":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3818":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3819":{"morph":{"__isSmartRef__":true,"id":3806},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3820":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3821":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3822":{"position":{"__isSmartRef__":true,"id":3823},"_Extent":{"__isSmartRef__":true,"id":3824},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3825},"_Fill":{"__isSmartRef__":true,"id":3826},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3831},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3832},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3823":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3824":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3825":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3826":{"stops":[{"__isSmartRef__":true,"id":3827},{"__isSmartRef__":true,"id":3829}],"vector":{"__isSmartRef__":true,"id":851},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3827":{"offset":0,"color":{"__isSmartRef__":true,"id":3828}},"3828":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3829":{"offset":1,"color":{"__isSmartRef__":true,"id":3830}},"3830":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3831":{"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"},"3832":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3833":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3834":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3835":{"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"},"3836":{"morph":{"__isSmartRef__":true,"id":3805},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3837":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3838":{"resizeWidth":true},"3839":{"onTouchStart":{"__isSmartRef__":true,"id":3840},"onTouchMove":{"__isSmartRef__":true,"id":3844},"onTouchEnd":{"__isSmartRef__":true,"id":3848}},"3840":{"varMapping":{"__isSmartRef__":true,"id":3841},"source":"function touchstartCallback(evt) {\n var touch = evt.touches[0];\n\n this.clickPosition = pt(touch.clientX,touch.clientY);\n this.lastClickPos = this.clickPosition;\n\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":3842},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3841":{"this":{"__isSmartRef__":true,"id":3803}},"3842":{"timestamp":{"__isSmartRef__":true,"id":3843},"user":"sstamm","tags":[]},"3843":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (CET)"},"3844":{"varMapping":{"__isSmartRef__":true,"id":3845},"source":"function touchmoveCallback(evt) {\n var touch = evt.touches[0];\n \n this.lastClickPos = pt(touch.clientX,touch.clientY);\n\n return false;\n \n}","funcProperties":{"__isSmartRef__":true,"id":3846},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3845":{"this":{"__isSmartRef__":true,"id":3803}},"3846":{"timestamp":{"__isSmartRef__":true,"id":3847},"user":"sstamm","tags":[]},"3847":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (CET)"},"3848":{"varMapping":{"__isSmartRef__":true,"id":3849},"source":"function touchendCallback(evt) {\n var deltaPt = this.lastClickPos.subPt(this.clickPosition);\n var delta = deltaPt.x*deltaPt.x + deltaPt.y*deltaPt.y;\n if(delta<25) {\n //TODO: find a better way to find the related listMorph\n var listMorph = this.owner.owner;\n \n if(listMorph && listMorph.updateSelection) {\n listMorph.updateSelection(this);\n }\n }\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":3850},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3849":{"this":{"__isSmartRef__":true,"id":3803}},"3850":{"timestamp":{"__isSmartRef__":true,"id":3851},"user":"sstamm","tags":[]},"3851":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (CET)"},"3852":{"submorphs":[{"__isSmartRef__":true,"id":3853}],"scripts":[],"id":"AA8CBB02-082A-4267-B9DA-BD6182E844EF","shape":{"__isSmartRef__":true,"id":3869},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3880},"showsHalos":false,"name":"Rectangle38","partsBinMetaInfo":{"__isSmartRef__":true,"id":3881},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3882},"eventHandler":{"__isSmartRef__":true,"id":3883},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"9BD1831E-6048-4E72-AB37-7E959A83A779","91C6F559-A2AC-4F6E-B50F-8627A7EDF92D"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":3884},"layout":{"__isSmartRef__":true,"id":3885},"owner":{"__isSmartRef__":true,"id":3804},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3886},"__LivelyClassName__":"lively.morphic.Box"},"3853":{"submorphs":[],"scripts":[],"id":"96EC2C9C-690C-47E4-BB70-40E6540C6809","shape":{"__isSmartRef__":true,"id":3854},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3860},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3857},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text40","partsBinMetaInfo":{"__isSmartRef__":true,"id":3861},"textChunks":[{"__isSmartRef__":true,"id":3862}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3864},"renderContextTable":{"__isSmartRef__":true,"id":3865},"eventHandler":{"__isSmartRef__":true,"id":3866},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3867},"_ClipMode":"visible","derivationIds":[355,"0ABAE073-B7C4-40C7-93D5-24867B2AAB5A","DA2FE612-9AC1-451B-872D-3586F048FA51"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3868},"owner":{"__isSmartRef__":true,"id":3852},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3854":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3855},"_Extent":{"__isSmartRef__":true,"id":3856},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3857},"renderContextTable":{"__isSmartRef__":true,"id":3858},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3859},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3855":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3856":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3857":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3858":{"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"},"3859":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3860":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3861":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3862":{"style":{"__isSmartRef__":true,"id":3863},"chunkOwner":{"__isSmartRef__":true,"id":3853},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3863":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3864":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3865":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3866":{"morph":{"__isSmartRef__":true,"id":3853},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3867":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3868":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3869":{"position":{"__isSmartRef__":true,"id":3870},"_Extent":{"__isSmartRef__":true,"id":3871},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3872},"_Fill":{"__isSmartRef__":true,"id":3873},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3878},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3879},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3870":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3871":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3872":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3873":{"stops":[{"__isSmartRef__":true,"id":3874},{"__isSmartRef__":true,"id":3876}],"vector":{"__isSmartRef__":true,"id":851},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3874":{"offset":0,"color":{"__isSmartRef__":true,"id":3875}},"3875":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3876":{"offset":1,"color":{"__isSmartRef__":true,"id":3877}},"3877":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3878":{"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"},"3879":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3880":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3881":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3882":{"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"},"3883":{"morph":{"__isSmartRef__":true,"id":3852},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3884":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3885":{"resizeWidth":true},"3886":{"onTouchStart":{"__isSmartRef__":true,"id":3840},"onTouchMove":{"__isSmartRef__":true,"id":3844},"onTouchEnd":{"__isSmartRef__":true,"id":3848}},"3887":{"submorphs":[{"__isSmartRef__":true,"id":3888}],"scripts":[],"id":"DEEFDC37-F8EF-4975-86D7-73375A00328C","shape":{"__isSmartRef__":true,"id":3904},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3915},"showsHalos":false,"name":"Rectangle39","partsBinMetaInfo":{"__isSmartRef__":true,"id":3916},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3917},"eventHandler":{"__isSmartRef__":true,"id":3918},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"4EA6E453-37A8-49EB-BE9C-F62ADF5A3249","E49AD35E-5AE5-4528-B402-E38B280561EA"],"index":2,"priorExtent":{"__isSmartRef__":true,"id":3919},"layout":{"__isSmartRef__":true,"id":3920},"owner":{"__isSmartRef__":true,"id":3804},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3921},"__LivelyClassName__":"lively.morphic.Box"},"3888":{"submorphs":[],"scripts":[],"id":"6D11D50A-CB67-46CA-B81F-6BB8B87CBFC8","shape":{"__isSmartRef__":true,"id":3889},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3895},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3892},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text41","partsBinMetaInfo":{"__isSmartRef__":true,"id":3896},"textChunks":[{"__isSmartRef__":true,"id":3897}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3899},"renderContextTable":{"__isSmartRef__":true,"id":3900},"eventHandler":{"__isSmartRef__":true,"id":3901},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3902},"_ClipMode":"visible","derivationIds":[355,"B0915DC3-42BB-4F4C-B1E1-E20FE39C51FE","81C19F63-6CCC-46F1-96C4-0723D9906BB2"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3903},"owner":{"__isSmartRef__":true,"id":3887},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3889":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3890},"_Extent":{"__isSmartRef__":true,"id":3891},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3892},"renderContextTable":{"__isSmartRef__":true,"id":3893},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3894},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3890":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3891":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3892":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3893":{"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"},"3894":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3895":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3896":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3897":{"style":{"__isSmartRef__":true,"id":3898},"chunkOwner":{"__isSmartRef__":true,"id":3888},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3898":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3899":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3900":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3901":{"morph":{"__isSmartRef__":true,"id":3888},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3902":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3903":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3904":{"position":{"__isSmartRef__":true,"id":3905},"_Extent":{"__isSmartRef__":true,"id":3906},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3907},"_Fill":{"__isSmartRef__":true,"id":3908},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3913},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3914},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3905":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3906":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3907":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3908":{"stops":[{"__isSmartRef__":true,"id":3909},{"__isSmartRef__":true,"id":3911}],"vector":{"__isSmartRef__":true,"id":851},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3909":{"offset":0,"color":{"__isSmartRef__":true,"id":3910}},"3910":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3911":{"offset":1,"color":{"__isSmartRef__":true,"id":3912}},"3912":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3913":{"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"},"3914":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3915":{"x":0,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3916":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3917":{"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"},"3918":{"morph":{"__isSmartRef__":true,"id":3887},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3919":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3920":{"resizeWidth":true},"3921":{"onTouchStart":{"__isSmartRef__":true,"id":3840},"onTouchMove":{"__isSmartRef__":true,"id":3844},"onTouchEnd":{"__isSmartRef__":true,"id":3848}},"3922":{"submorphs":[{"__isSmartRef__":true,"id":3923}],"scripts":[],"id":"2CCB8235-9172-4766-986D-0A226D75488D","shape":{"__isSmartRef__":true,"id":3939},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3950},"showsHalos":false,"name":"Rectangle40","partsBinMetaInfo":{"__isSmartRef__":true,"id":3951},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3952},"eventHandler":{"__isSmartRef__":true,"id":3953},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"ABD1B8D0-5D9F-4D03-8B96-85912C6D5634","BA3F705B-6BF9-4529-B31B-09CD90EF32F5"],"index":3,"priorExtent":{"__isSmartRef__":true,"id":3954},"layout":{"__isSmartRef__":true,"id":3955},"owner":{"__isSmartRef__":true,"id":3804},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3956},"__LivelyClassName__":"lively.morphic.Box"},"3923":{"submorphs":[],"scripts":[],"id":"28120EA0-4D85-4094-8AC6-55E415F79921","shape":{"__isSmartRef__":true,"id":3924},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3930},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3927},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text42","partsBinMetaInfo":{"__isSmartRef__":true,"id":3931},"textChunks":[{"__isSmartRef__":true,"id":3932}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3934},"renderContextTable":{"__isSmartRef__":true,"id":3935},"eventHandler":{"__isSmartRef__":true,"id":3936},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3937},"_ClipMode":"visible","derivationIds":[355,"E45E0647-86A7-4DA6-ABDF-CD719FABA778","4928D086-53FF-4849-8481-CF63524F2011"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3938},"owner":{"__isSmartRef__":true,"id":3922},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3924":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3925},"_Extent":{"__isSmartRef__":true,"id":3926},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3927},"renderContextTable":{"__isSmartRef__":true,"id":3928},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3929},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3925":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3926":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3927":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3928":{"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"},"3929":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3930":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3931":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3932":{"style":{"__isSmartRef__":true,"id":3933},"chunkOwner":{"__isSmartRef__":true,"id":3923},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3933":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3934":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3935":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3936":{"morph":{"__isSmartRef__":true,"id":3923},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3937":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3938":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3939":{"position":{"__isSmartRef__":true,"id":3940},"_Extent":{"__isSmartRef__":true,"id":3941},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3942},"_Fill":{"__isSmartRef__":true,"id":3943},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3948},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3949},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3940":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3941":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3942":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3943":{"stops":[{"__isSmartRef__":true,"id":3944},{"__isSmartRef__":true,"id":3946}],"vector":{"__isSmartRef__":true,"id":851},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3944":{"offset":0,"color":{"__isSmartRef__":true,"id":3945}},"3945":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3946":{"offset":1,"color":{"__isSmartRef__":true,"id":3947}},"3947":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3948":{"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"},"3949":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3950":{"x":0,"y":129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3951":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3952":{"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"},"3953":{"morph":{"__isSmartRef__":true,"id":3922},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3954":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3955":{"resizeWidth":true},"3956":{"onTouchStart":{"__isSmartRef__":true,"id":3840},"onTouchMove":{"__isSmartRef__":true,"id":3844},"onTouchEnd":{"__isSmartRef__":true,"id":3848}},"3957":{"submorphs":[{"__isSmartRef__":true,"id":3958}],"scripts":[],"id":"9A41A4D4-0D8E-4C7F-BA5C-6D3FFD400854","shape":{"__isSmartRef__":true,"id":3974},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3985},"showsHalos":false,"name":"Rectangle41","partsBinMetaInfo":{"__isSmartRef__":true,"id":3986},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3987},"eventHandler":{"__isSmartRef__":true,"id":3988},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"9BE58B5C-4A36-43CA-AB82-726832DA0ED6","E502A963-46CC-4A5E-89EB-8FFC6153856C"],"index":4,"priorExtent":{"__isSmartRef__":true,"id":3989},"layout":{"__isSmartRef__":true,"id":3990},"owner":{"__isSmartRef__":true,"id":3804},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3991},"__LivelyClassName__":"lively.morphic.Box"},"3958":{"submorphs":[],"scripts":[],"id":"153FF022-83D7-4889-869D-3E5B34197203","shape":{"__isSmartRef__":true,"id":3959},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3965},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3962},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text43","partsBinMetaInfo":{"__isSmartRef__":true,"id":3966},"textChunks":[{"__isSmartRef__":true,"id":3967}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3969},"renderContextTable":{"__isSmartRef__":true,"id":3970},"eventHandler":{"__isSmartRef__":true,"id":3971},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3972},"_ClipMode":"visible","derivationIds":[355,"112F807F-1B5D-4FA2-A310-938A34381AA8","7EBE441C-4AE5-4917-9847-4AF30B28F7A3"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3973},"owner":{"__isSmartRef__":true,"id":3957},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3959":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3960},"_Extent":{"__isSmartRef__":true,"id":3961},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3962},"renderContextTable":{"__isSmartRef__":true,"id":3963},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3964},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3960":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3961":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3962":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3963":{"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"},"3964":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3965":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3966":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3967":{"style":{"__isSmartRef__":true,"id":3968},"chunkOwner":{"__isSmartRef__":true,"id":3958},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3968":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3969":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3971":{"morph":{"__isSmartRef__":true,"id":3958},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3972":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3973":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3974":{"position":{"__isSmartRef__":true,"id":3975},"_Extent":{"__isSmartRef__":true,"id":3976},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3977},"_Fill":{"__isSmartRef__":true,"id":3978},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3983},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3984},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3975":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3976":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3977":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3978":{"stops":[{"__isSmartRef__":true,"id":3979},{"__isSmartRef__":true,"id":3981}],"vector":{"__isSmartRef__":true,"id":851},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3979":{"offset":0,"color":{"__isSmartRef__":true,"id":3980}},"3980":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3981":{"offset":1,"color":{"__isSmartRef__":true,"id":3982}},"3982":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3983":{"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"},"3984":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3985":{"x":0,"y":172,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3986":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3987":{"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"},"3988":{"morph":{"__isSmartRef__":true,"id":3957},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3989":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3990":{"resizeWidth":true},"3991":{"onTouchStart":{"__isSmartRef__":true,"id":3840},"onTouchMove":{"__isSmartRef__":true,"id":3844},"onTouchEnd":{"__isSmartRef__":true,"id":3848}},"3992":{"position":{"__isSmartRef__":true,"id":3993},"_Extent":{"__isSmartRef__":true,"id":3994},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3995},"_Fill":{"__isSmartRef__":true,"id":3996},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3997},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3998},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3993":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3994":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3995":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3996":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3997":{"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"},"3998":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3999":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4000":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4001":{"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"},"4002":{"morph":{"__isSmartRef__":true,"id":3804},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4003":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4004":{"resizeWidth":true,"adjustForNewBounds":true},"4005":{"onTouchStart":{"__isSmartRef__":true,"id":4006},"onTouchMove":{"__isSmartRef__":true,"id":4014},"onTouchEnd":{"__isSmartRef__":true,"id":4022},"stayInBounds":{"__isSmartRef__":true,"id":4030},"isInBounds":{"__isSmartRef__":true,"id":4034}},"4006":{"varMapping":{"__isSmartRef__":true,"id":4007},"source":"function onTouchStart(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n\n if(touch) {\n touch.originalDragOffset = touch.clientY;\n touch.originalMenuOffset = this.getPosition().y;\n\n this.isTouched = true;\n this.velocity = 0;\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = new Date().valueOf();\n }\n return true;\n\n \n}","funcProperties":{"__isSmartRef__":true,"id":4012},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4007":{"this":{"__isSmartRef__":true,"id":3804},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4008}},"4008":{"$super":{"__isSmartRef__":true,"id":4009}},"4009":{"varMapping":{"__isSmartRef__":true,"id":4010},"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":4011},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4010":{"obj":{"__isSmartRef__":true,"id":3804},"name":"onTouchStart"},"4011":{},"4012":{"timestamp":{"__isSmartRef__":true,"id":4013},"user":"sstamm","tags":[]},"4013":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (CET)"},"4014":{"varMapping":{"__isSmartRef__":true,"id":4015},"source":"function onTouchMove(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n \n if(touch && touch.originalDragOffset) {\n //TODO: Store this attributes in the object to save computation time\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu-heightContainer;\n\n\n var delta = touch.clientY - touch.originalDragOffset;\n this.setPosition(pt(0,touch.originalMenuOffset+delta));\n\n if(!this.isInBounds()) {\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n delta = this.getPosition().y-yPos;\n this.moveBy(pt(0,-delta/2));\n }\n\n var positionDelta = touch.lastTouch-touch.clientY;\n var now = new Date().valueOf();\n var timeDelta = now - touch.lastUpdate;\n\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = now;\n\n this.velocity = positionDelta*(-10/timeDelta);\n \n\n }\n return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":4020},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4015":{"this":{"__isSmartRef__":true,"id":3804},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4016}},"4016":{"$super":{"__isSmartRef__":true,"id":4017}},"4017":{"varMapping":{"__isSmartRef__":true,"id":4018},"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":4019},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4018":{"obj":{"__isSmartRef__":true,"id":3804},"name":"onTouchMove"},"4019":{},"4020":{"timestamp":{"__isSmartRef__":true,"id":4021},"user":"sstamm","tags":[]},"4021":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:54:39 GMT+0100 (CET)"},"4022":{"varMapping":{"__isSmartRef__":true,"id":4023},"source":"function onTouchEnd(evt) {\n $world.get(\"TouchList\").submorphs[0];\n var lastUpdate = new Date().valueOf();\n this.isTouched = false;\n var that = this;\n\n var flickingFct = function() {\n var now = new Date().valueOf();\n var delta = now - lastUpdate;\n var velo;\n that.velocity *= Math.pow(0.99, delta);\n that.moveBy(pt(0,that.velocity));\n that.stayInBounds();\n velo = that.velocity;\n \n lastUpdate = now;\n if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":4028},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4023":{"this":{"__isSmartRef__":true,"id":3804},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4024}},"4024":{"$super":{"__isSmartRef__":true,"id":4025}},"4025":{"varMapping":{"__isSmartRef__":true,"id":4026},"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":4027},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4026":{"obj":{"__isSmartRef__":true,"id":3804},"name":"onTouchEnd"},"4027":{},"4028":{"timestamp":{"__isSmartRef__":true,"id":4029},"user":"sstamm","tags":[]},"4029":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (CET)"},"4030":{"varMapping":{"__isSmartRef__":true,"id":4031},"source":"function stayInBounds() {\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta!=0) {\n this.velocity = -delta/15;\n }\n// this.setPosition(pt(0,yPos));\n\n}","funcProperties":{"__isSmartRef__":true,"id":4032},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4031":{"this":{"__isSmartRef__":true,"id":3804}},"4032":{"timestamp":{"__isSmartRef__":true,"id":4033},"user":"sstamm","tags":[]},"4033":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (CET)"},"4034":{"varMapping":{"__isSmartRef__":true,"id":4035},"source":"function isInBounds() {\n var heightMenu = this.owner.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":4036},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4035":{"this":{"__isSmartRef__":true,"id":3804}},"4036":{"timestamp":{"__isSmartRef__":true,"id":4037},"user":"sstamm","tags":[]},"4037":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (CET)"},"4038":{"position":{"__isSmartRef__":true,"id":4039},"_Extent":{"__isSmartRef__":true,"id":4040},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4041},"_Fill":{"__isSmartRef__":true,"id":4042},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4043},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":4044},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4039":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4040":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4041":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4042":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4043":{},"4044":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4045":{"x":7,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4046":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A morph which behaves like an IPad list. Use initialize() to clear and addItem() to ... well ... add items","migrationLevel":4,"partName":"TouchList","changes":[{"__isSmartRef__":true,"id":4047},{"__isSmartRef__":true,"id":4049},{"__isSmartRef__":true,"id":4051},{"__isSmartRef__":true,"id":4053}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4047":{"date":{"__isSmartRef__":true,"id":4048},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"4048":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (CET)"},"4049":{"date":{"__isSmartRef__":true,"id":4050},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"4050":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (CET)"},"4051":{"date":{"__isSmartRef__":true,"id":4052},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"4052":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (CET)"},"4053":{"date":{"__isSmartRef__":true,"id":4054},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"4054":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (CET)"},"4055":{"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"},"4056":{"morph":{"__isSmartRef__":true,"id":3803},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4057":{"sourceObj":{"__isSmartRef__":true,"id":3803},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":3803},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4058":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4059":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"4060":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4061":{"onrestore":{"__isSmartRef__":true,"id":4062},"initialize":{"__isSmartRef__":true,"id":4070},"addItem":{"__isSmartRef__":true,"id":4078},"createListItem":{"__isSmartRef__":true,"id":4082},"touchstartCallback":{"__isSmartRef__":true,"id":3840},"touchmoveCallback":{"__isSmartRef__":true,"id":3844},"touchendCallback":{"__isSmartRef__":true,"id":3848},"updateSelection":{"__isSmartRef__":true,"id":4086},"handleClick":{"__isSmartRef__":true,"id":4090},"initializeListEntries":{"__isSmartRef__":true,"id":4094}},"4062":{"varMapping":{"__isSmartRef__":true,"id":4063},"source":"function onrestore() {\n var that = this;\n\n //TODO: this is a race condition, because the render context is not\n // ready in onrestore\n window.setTimeout(function() { \n that.shape.setClipMode(\"hidden\"); }, 100);\n}","funcProperties":{"__isSmartRef__":true,"id":4068},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4063":{"this":{"__isSmartRef__":true,"id":3803},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4064}},"4064":{"$super":{"__isSmartRef__":true,"id":4065}},"4065":{"varMapping":{"__isSmartRef__":true,"id":4066},"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":4067},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4066":{"obj":{"__isSmartRef__":true,"id":3803},"name":"onrestore"},"4067":{},"4068":{"timestamp":{"__isSmartRef__":true,"id":4069},"user":"sstamm","tags":[]},"4069":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (CET)"},"4070":{"varMapping":{"__isSmartRef__":true,"id":4071},"source":"function initialize() {\n console.log(\"in initialize\");\n this.itemList = [];\n this.selection = null;\n this.selectedLineNo = -1;\n this.selectedMorph = null;\n this.shape.setClipMode(\"hidden\");\n var itemContainer = this.get(\"ListItemContainer\");\n \n itemContainer.setPosition(pt(0,0));\n itemContainer.submorphs.invoke(\"remove\");\n \n}","funcProperties":{"__isSmartRef__":true,"id":4076},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4071":{"this":{"__isSmartRef__":true,"id":3803},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4072}},"4072":{"$super":{"__isSmartRef__":true,"id":4073}},"4073":{"varMapping":{"__isSmartRef__":true,"id":4074},"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":4075},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4074":{"obj":{"__isSmartRef__":true,"id":3803},"name":"initialize"},"4075":{},"4076":{"timestamp":{"__isSmartRef__":true,"id":4077},"user":"sstamm","tags":[]},"4077":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (CET)"},"4078":{"varMapping":{"__isSmartRef__":true,"id":4079},"source":"function addItem(text) {\n var newMorph = this.createListItem(text);\n \n newMorph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(newMorph);\n this.get(\"ListItemContainer\").addMorph(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":4080},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4079":{"this":{"__isSmartRef__":true,"id":3803}},"4080":{"timestamp":{"__isSmartRef__":true,"id":4081},"user":"sstamm","tags":[]},"4081":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (CET)"},"4082":{"varMapping":{"__isSmartRef__":true,"id":4083},"source":"function createListItem(textString) {\n var part = lively.PartsBin.getPart(\"Rectangle\", \"PartsBin/Basic\");\n\n part.index = this.itemList.length;\n\n part.setExtent(pt(this.getExtent().x,44));\n part.applyStyle({resizeWidth: true});\n part.setFill(new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n ));\n part.setBorderColor(Color.rgb(138,138,138));\n \n\n\n part.onTouchStart = this.touchstartCallback;\n part.onTouchMove = this.touchmoveCallback;\n part.onTouchEnd = this.touchendCallback;\n\n part.registerForEvent(\"touchstart\", part, \"onTouchStart\", false);\n part.registerForEvent(\"touchmove\", part, \"onTouchMove\", false);\n part.registerForEvent(\"touchend\", part, \"onTouchEnd\", false);\n\n var text = lively.PartsBin.getPart(\"Text\", \"PartsBin/Basic\");\n text.setFontSize(14);\n text.setTextColor(Color.rgb(47,47,47));\n text.setFontFamily(\"Helvetica, Arial, sans-serif\");\n\n text.setPosition(pt(10,10));\n text.textString = textString;\n\n text.emphasizeAll({fontWeight: 'bold'});\n text.disableHalos();\n part.addMorph(text);\n\n return part;\n}","funcProperties":{"__isSmartRef__":true,"id":4084},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4083":{"this":{"__isSmartRef__":true,"id":3803}},"4084":{"timestamp":{"__isSmartRef__":true,"id":4085},"user":"sstamm","tags":[]},"4085":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (CET)"},"4086":{"varMapping":{"__isSmartRef__":true,"id":4087},"source":"function updateSelection(newSelectedMorph) {\n var hasText = true;\n if(this.selectedMorph) {\n hasText = this.selectedMorph.submorphs[0];\n this.selectedMorph.setFill(\n new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n )\n );\n if(hasText) { this.selectedMorph.submorphs[0].setTextColor(Color.rgb(47,47,47));\n }\n }\n hasText = newSelectedMorph.submorphs[0];\n\n \n if(hasText) {\n this.selection = newSelectedMorph.submorphs[0].textString;\n } else {\n this.selection = \"\";\n }\n this.selectedLineNo = newSelectedMorph.index;\n this.selectedMorph = newSelectedMorph;\n \n this.selectedMorph.setFill(\nnew lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(47,47,47)},\n {offset:0.5,color: Color.rgb(21,21,21)},\n {offset: 1, color: Color.rgb(0,0,0)}\n ],\n 'northSouth'\n ));\n \n if(hasText) {\n this.selectedMorph.submorphs[0].setTextColor(Color.rgb(222,222,222));\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4088},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4087":{"this":{"__isSmartRef__":true,"id":3803}},"4088":{"timestamp":{"__isSmartRef__":true,"id":4089},"user":"sstamm","tags":[]},"4089":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (CET)"},"4090":{"varMapping":{"__isSmartRef__":true,"id":4091},"source":"function handleClick() {\n switch(this.selection){\n case \"PartsBin\":\n $world.openPartsBin();\n $world.hideMockMenu();\n break;\n case \"Parts\":\n this.owner.showList(this.selection);\n break;\n case \"Ellipse\":\n case \"Image\":\n case \"Line\":\n case \"Rectangle\":\n case \"Text\":\n $world.openPartItem(this.selection, \"PartsBin/Basic\");\n $world.hideMockMenu();\n break;\n case \"Button\":\n case \"List\":\n case \"ScriptableButton\":\n case \"Slider\":\n $world.openPartItem(this.selection, \"PartsBin/Inputs\");\n $world.hideMockMenu();\n break;\n case \"Tools\":\n this.owner.showList(this.selection);\n break;\n case \"Workspace\":\n $world.openWorkspace();\n $world.hideMockMenu();\n break;\n case \"System Code Browser\":\n $world.openSystemBrowser();\n $world.hideMockMenu();\n break;\n case \"Object Editor\":\n $world.openObjectEditor();\n $world.hideMockMenu();\n break;\n case \"Method Finder\":\n $world.openMethodFinder();\n $world.hideMockMenu();\n break;\n case \"Text Editor\":\n new lively.morphic.TextEditor().openIn(world)\n $world.hideMockMenu();\n break;\n case \"Preferences\":\n this.owner.showList(this.selection);\n break;\n case \"set username\":\n $world.askForUserName();\n $world.hideMockMenu();\n break;\n case \"set extent\":\n $world.askForNewWorldExtent();\n $world.hideMockMenu();\n break;\n case \"disable part caching\":\n $world.hideMockMenu();\n break;\n case \"Debugging\":\n this.owner.showList(this.selection);\n break;\n case \"reset world scale\":\n $world.resetScale();\n $world.hideMockMenu();\n break;\n case \"reset title bars\":\n $world.resetAllTitleBars();\n $world.hideMockMenu();\n break;\n case \"reset button labels\":\n $world.resetAllButtonLabels();\n $world.hideMockMenu();\n break;\n case \"World serialization info\":\n require('lively.persistence.Debugging').toRun(\n function() {\n var json = lively.persistence.Serializer.serialize(world),\n printer = lively.persistence.Debugging.Helper.listObjects(json);\n world.addTextWindow(printer.toString());\n }\n );\n $world.hideMockMenu();\n break;\n case \"clear part cache\":\n $world.hideMockMenu();\n break;\n case \"show connectors\":\n $world.hideMockMenu();\n break;\n case \"Wiki\":\n this.owner.showList(this.selection);\n break;\n case \"about this wiki\":\n $world.openAboutBox();\n $world.hideMockMenu();\n break;\n case \"view versions of this world\":\n $world.openVersionViewer();\n $world.hideMockMenu();\n break;\n case \"download world\":\n require('lively.persistence.StandAlonePackaging').toRun(\n function() {\n lively.persistence.StandAlonePackaging.packageCurrentWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"upload world to Dropbox\":\n require('apps.Dropbox').toRun(\n function() {\n DropboxAPI.uploadArchivedWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"delete world\":\n $world.interactiveDeleteWorldOnServer();\n $world.hideMockMenu();\n break;\n case \"Documentation\":\n this.owner.showList(this.selection);\n break;\n case \"on short cuts\":\n $world.openShortcutDocumentation();\n $world.hideMockMenu();\n break;\n case \"on connect data bindings\":\n $world.openConnectDocumentation();\n $world.hideMockMenu();\n break;\n case \"on Lively's PartsBin\":\n $world.openPartsBinDocumentation();\n $world.hideMockMenu();\n break;\n case \"more...\":\n window.open(Config.rootPath + 'documentation/');\n $world.hideMockMenu();\n break;\n case \"save world as ...\":\n $world.interactiveSaveWorldAs();\n $world.hideMockMenu();\n break;\n case \"save world\":\n $world.saveWorld();\n $world.hideMockMenu();\n break;\n default:\n //Do nothing\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4092},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4091":{"this":{"__isSmartRef__":true,"id":3803}},"4092":{"timestamp":{"__isSmartRef__":true,"id":4093},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"4093":{"isSerializedDate":true,"string":"Tue Jan 31 2012 13:27:43 GMT+0100 (CET)"},"4094":{"varMapping":{"__isSmartRef__":true,"id":4095},"source":"function initializeListEntries() {\n this.initialize();\n list = [\"about this wiki\",\"view versions of this world\",\"download world\",\n \"upload world to Dropbox\",\"delete world\"];\n for (var i = 0; i < list.length; i++) {\n this.addItem(list[i]);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4096},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4095":{"this":{"__isSmartRef__":true,"id":3803}},"4096":{"timestamp":{"__isSmartRef__":true,"id":4097},"user":"conradcalmez","tags":[]},"4097":{"isSerializedDate":true,"string":"Tue Jan 31 2012 12:01:23 GMT+0100 (CET)"},"4098":{"submorphs":[{"__isSmartRef__":true,"id":4099}],"scripts":[],"id":"46C8CBF8-15B2-48B4-A8BA-5F802071FFF6","shape":{"__isSmartRef__":true,"id":4298},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4305},"showsHalos":false,"name":"TouchList6","partsBinMetaInfo":{"__isSmartRef__":true,"id":4306},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4315},"eventHandler":{"__isSmartRef__":true,"id":4316},"attributeConnections":[{"__isSmartRef__":true,"id":4317}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"derivationIds":[127,"86FF1C90-3CC2-44B9-8DEE-1BC214D734AE","EEA7DF22-C343-4B58-A447-43BB95D5405F","9665449D-F0E4-4BCE-854B-48D19C73214E","8B65C997-34DC-4F70-A1BA-266488F1588C","CBDEE8B9-9E1C-44E5-85E6-6D85E0738D59","34806B09-40D4-4BE7-B17E-FFFFDB7B0928","A96DDB06-4250-4386-905D-8B702E91A05F","B93F122D-B016-4AF4-92C9-4B1A33D0DDC5","3F84A349-52E2-4C32-931A-8EC950A3BBA5","D5F132C4-D6AC-4195-BC33-4811A4DD5A1B","6979C3DE-FB3A-4650-8975-C90AD7039E8A","ECA5FBDA-171D-4434-A0CE-843B3399B5E1","A4951C6D-DDAB-4F1A-950D-AC7F07208300"],"priorExtent":{"__isSmartRef__":true,"id":4318},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":4319},"itemList":[{"__isSmartRef__":true,"id":4100},{"__isSmartRef__":true,"id":4147},{"__isSmartRef__":true,"id":4182},{"__isSmartRef__":true,"id":4217}],"_ClipMode":"hidden","selectedMorph":null,"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":4320},"owner":null,"prevScroll":[0,0],"_Visible":false,"_Rotation":0,"_Scale":1,"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4321},"__LivelyClassName__":"lively.morphic.Box"},"4099":{"submorphs":[{"__isSmartRef__":true,"id":4100},{"__isSmartRef__":true,"id":4147},{"__isSmartRef__":true,"id":4182},{"__isSmartRef__":true,"id":4217}],"scripts":[],"id":"2C0A20C0-20D0-4DBC-9834-92B205941E64","shape":{"__isSmartRef__":true,"id":4252},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4259},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":4260},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4261},"eventHandler":{"__isSmartRef__":true,"id":4262},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"70193F55-BD62-471E-90CE-6CF2F345BFF8","C29938AD-3221-4AB2-80BA-EBF64E5C8063","F478A91E-32FA-4527-BA77-81009843E6E7","3C2C2181-A589-45A7-B023-FDED3CDFE499","45EE0951-5C82-4C8D-808E-E69D6E6AFFC8","3AB7DC6F-888B-4351-A241-EA890F85280A","1DB8DDC7-39AB-4B77-BB60-17766F9CFBD1","ED945231-5F92-4EB9-9EE7-1612C0FC1249","9B5CCF0C-E6FF-4E23-8290-3CFABD86AC33","BCE75999-1D38-4C36-9F4B-4F0780419271","F4533AF5-BA7A-4F20-A1EE-59477E572689","96DE6B19-5A57-42DF-AFEB-03CC93CBDF02","4F297791-A12D-46EC-9059-9AD537F4B463"],"owner":{"__isSmartRef__":true,"id":4098},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":4263},"layout":{"__isSmartRef__":true,"id":4264},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4265},"__LivelyClassName__":"lively.morphic.Box"},"4100":{"submorphs":[{"__isSmartRef__":true,"id":4101}],"scripts":[],"id":"725580FD-704D-4E38-92E9-09C8A9CBDA1A","shape":{"__isSmartRef__":true,"id":4117},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4128},"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":4129},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4130},"eventHandler":{"__isSmartRef__":true,"id":4131},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"AA74CF26-9868-4EAD-A706-CA51AEC249E7","557F1598-AC9B-4B2A-A42C-CE35A4AE82CC"],"index":0,"priorExtent":{"__isSmartRef__":true,"id":4132},"layout":{"__isSmartRef__":true,"id":4133},"owner":{"__isSmartRef__":true,"id":4099},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4134},"__LivelyClassName__":"lively.morphic.Box"},"4101":{"submorphs":[],"scripts":[],"id":"DFE4C238-A302-4EB3-AD50-ADF23E1308A6","shape":{"__isSmartRef__":true,"id":4102},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4108},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4105},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":4109},"textChunks":[{"__isSmartRef__":true,"id":4110}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4112},"renderContextTable":{"__isSmartRef__":true,"id":4113},"eventHandler":{"__isSmartRef__":true,"id":4114},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4115},"_ClipMode":"visible","derivationIds":[355,"EAD31862-E8F1-4BF3-A40E-51D774AEA3C0","52C032B7-0A9D-41A9-937B-91E48541C70C"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":4116},"owner":{"__isSmartRef__":true,"id":4100},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4102":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4103},"_Extent":{"__isSmartRef__":true,"id":4104},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4105},"renderContextTable":{"__isSmartRef__":true,"id":4106},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4107},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4103":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4104":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4105":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4106":{"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"},"4107":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4108":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4109":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4110":{"style":{"__isSmartRef__":true,"id":4111},"chunkOwner":{"__isSmartRef__":true,"id":4101},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4111":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4112":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4113":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4114":{"morph":{"__isSmartRef__":true,"id":4101},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4115":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4116":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4117":{"position":{"__isSmartRef__":true,"id":4118},"_Extent":{"__isSmartRef__":true,"id":4119},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4120},"_Fill":{"__isSmartRef__":true,"id":4121},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4126},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4127},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4118":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4119":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4120":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4121":{"stops":[{"__isSmartRef__":true,"id":4122},{"__isSmartRef__":true,"id":4124}],"vector":{"__isSmartRef__":true,"id":851},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4122":{"offset":0,"color":{"__isSmartRef__":true,"id":4123}},"4123":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4124":{"offset":1,"color":{"__isSmartRef__":true,"id":4125}},"4125":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4126":{"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"},"4127":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4128":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4129":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4130":{"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"},"4131":{"morph":{"__isSmartRef__":true,"id":4100},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4132":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4133":{"resizeWidth":true},"4134":{"onTouchStart":{"__isSmartRef__":true,"id":4135},"onTouchMove":{"__isSmartRef__":true,"id":4139},"onTouchEnd":{"__isSmartRef__":true,"id":4143}},"4135":{"varMapping":{"__isSmartRef__":true,"id":4136},"source":"function touchstartCallback(evt) {\n var touch = evt.touches[0];\n\n this.clickPosition = pt(touch.clientX,touch.clientY);\n this.lastClickPos = this.clickPosition;\n\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":4137},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4136":{"this":{"__isSmartRef__":true,"id":4098}},"4137":{"timestamp":{"__isSmartRef__":true,"id":4138},"user":"sstamm","tags":[]},"4138":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (CET)"},"4139":{"varMapping":{"__isSmartRef__":true,"id":4140},"source":"function touchmoveCallback(evt) {\n var touch = evt.touches[0];\n \n this.lastClickPos = pt(touch.clientX,touch.clientY);\n\n return false;\n \n}","funcProperties":{"__isSmartRef__":true,"id":4141},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4140":{"this":{"__isSmartRef__":true,"id":4098}},"4141":{"timestamp":{"__isSmartRef__":true,"id":4142},"user":"sstamm","tags":[]},"4142":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (CET)"},"4143":{"varMapping":{"__isSmartRef__":true,"id":4144},"source":"function touchendCallback(evt) {\n var deltaPt = this.lastClickPos.subPt(this.clickPosition);\n var delta = deltaPt.x*deltaPt.x + deltaPt.y*deltaPt.y;\n if(delta<25) {\n //TODO: find a better way to find the related listMorph\n var listMorph = this.owner.owner;\n \n if(listMorph && listMorph.updateSelection) {\n listMorph.updateSelection(this);\n }\n }\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":4145},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4144":{"this":{"__isSmartRef__":true,"id":4098}},"4145":{"timestamp":{"__isSmartRef__":true,"id":4146},"user":"sstamm","tags":[]},"4146":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (CET)"},"4147":{"submorphs":[{"__isSmartRef__":true,"id":4148}],"scripts":[],"id":"06CEE1DC-3679-46E5-85BA-C5EB6DCFF7E2","shape":{"__isSmartRef__":true,"id":4164},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4175},"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":4176},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4177},"eventHandler":{"__isSmartRef__":true,"id":4178},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"199024B2-928D-4DD8-8366-DDFF15055604","DFE8DB5F-7F3D-4F98-9310-61C440E5278F"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":4179},"layout":{"__isSmartRef__":true,"id":4180},"owner":{"__isSmartRef__":true,"id":4099},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4181},"__LivelyClassName__":"lively.morphic.Box"},"4148":{"submorphs":[],"scripts":[],"id":"9ACADE75-C79D-444E-B489-5D38DF2FFF57","shape":{"__isSmartRef__":true,"id":4149},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4155},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4152},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":4156},"textChunks":[{"__isSmartRef__":true,"id":4157}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4159},"renderContextTable":{"__isSmartRef__":true,"id":4160},"eventHandler":{"__isSmartRef__":true,"id":4161},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4162},"_ClipMode":"visible","derivationIds":[355,"0D2E8EB5-34B3-49E8-9C32-C208D029B76F","B8B72AC4-DD40-4607-8F56-4CFCCBC2D460"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":4163},"owner":{"__isSmartRef__":true,"id":4147},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4149":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4150},"_Extent":{"__isSmartRef__":true,"id":4151},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4152},"renderContextTable":{"__isSmartRef__":true,"id":4153},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4154},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4150":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4151":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4152":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4153":{"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"},"4154":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4155":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4156":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4157":{"style":{"__isSmartRef__":true,"id":4158},"chunkOwner":{"__isSmartRef__":true,"id":4148},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4158":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4159":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4160":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4161":{"morph":{"__isSmartRef__":true,"id":4148},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4162":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4163":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4164":{"position":{"__isSmartRef__":true,"id":4165},"_Extent":{"__isSmartRef__":true,"id":4166},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4167},"_Fill":{"__isSmartRef__":true,"id":4168},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4173},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4174},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4165":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4166":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4167":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4168":{"stops":[{"__isSmartRef__":true,"id":4169},{"__isSmartRef__":true,"id":4171}],"vector":{"__isSmartRef__":true,"id":851},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4169":{"offset":0,"color":{"__isSmartRef__":true,"id":4170}},"4170":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4171":{"offset":1,"color":{"__isSmartRef__":true,"id":4172}},"4172":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4173":{"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"},"4174":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4175":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4176":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4177":{"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"},"4178":{"morph":{"__isSmartRef__":true,"id":4147},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4179":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4180":{"resizeWidth":true},"4181":{"onTouchStart":{"__isSmartRef__":true,"id":4135},"onTouchMove":{"__isSmartRef__":true,"id":4139},"onTouchEnd":{"__isSmartRef__":true,"id":4143}},"4182":{"submorphs":[{"__isSmartRef__":true,"id":4183}],"scripts":[],"id":"4F132FB8-1AB7-43AD-93AB-34A6B727ECF8","shape":{"__isSmartRef__":true,"id":4199},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4210},"showsHalos":false,"name":"Rectangle2","partsBinMetaInfo":{"__isSmartRef__":true,"id":4211},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4212},"eventHandler":{"__isSmartRef__":true,"id":4213},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"E1E9BD1A-32D8-472D-A786-C56050BCCFEC","7C757784-FF1D-461D-8700-617CB426738C"],"index":2,"priorExtent":{"__isSmartRef__":true,"id":4214},"layout":{"__isSmartRef__":true,"id":4215},"owner":{"__isSmartRef__":true,"id":4099},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4216},"__LivelyClassName__":"lively.morphic.Box"},"4183":{"submorphs":[],"scripts":[],"id":"FF9CE818-D75D-4D96-AF20-C3CC629473D8","shape":{"__isSmartRef__":true,"id":4184},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4190},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4187},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text2","partsBinMetaInfo":{"__isSmartRef__":true,"id":4191},"textChunks":[{"__isSmartRef__":true,"id":4192}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4194},"renderContextTable":{"__isSmartRef__":true,"id":4195},"eventHandler":{"__isSmartRef__":true,"id":4196},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4197},"_ClipMode":"visible","derivationIds":[355,"D523E8F5-D82D-45E3-AE94-B952974C1AE5","1BA573B1-4C11-462C-B983-76858B50A942"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":4198},"owner":{"__isSmartRef__":true,"id":4182},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4184":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4185},"_Extent":{"__isSmartRef__":true,"id":4186},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4187},"renderContextTable":{"__isSmartRef__":true,"id":4188},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4189},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4185":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4186":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4187":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4188":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4189":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4190":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4191":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4192":{"style":{"__isSmartRef__":true,"id":4193},"chunkOwner":{"__isSmartRef__":true,"id":4183},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4193":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4194":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4195":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4196":{"morph":{"__isSmartRef__":true,"id":4183},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4197":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4198":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4199":{"position":{"__isSmartRef__":true,"id":4200},"_Extent":{"__isSmartRef__":true,"id":4201},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4202},"_Fill":{"__isSmartRef__":true,"id":4203},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4208},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4209},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4200":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4201":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4202":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4203":{"stops":[{"__isSmartRef__":true,"id":4204},{"__isSmartRef__":true,"id":4206}],"vector":{"__isSmartRef__":true,"id":851},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4204":{"offset":0,"color":{"__isSmartRef__":true,"id":4205}},"4205":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4206":{"offset":1,"color":{"__isSmartRef__":true,"id":4207}},"4207":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4208":{"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"},"4209":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4210":{"x":0,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4211":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4212":{"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"},"4213":{"morph":{"__isSmartRef__":true,"id":4182},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4214":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4215":{"resizeWidth":true},"4216":{"onTouchStart":{"__isSmartRef__":true,"id":4135},"onTouchMove":{"__isSmartRef__":true,"id":4139},"onTouchEnd":{"__isSmartRef__":true,"id":4143}},"4217":{"submorphs":[{"__isSmartRef__":true,"id":4218}],"scripts":[],"id":"21D54EAD-0EF7-46E0-AA31-EF2D0FE5CFE7","shape":{"__isSmartRef__":true,"id":4234},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4245},"showsHalos":false,"name":"Rectangle3","partsBinMetaInfo":{"__isSmartRef__":true,"id":4246},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4247},"eventHandler":{"__isSmartRef__":true,"id":4248},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"63CCF500-5C53-42D9-8216-3994B4B25648","23BC4018-D611-4CFA-8ABE-46D71C417C09"],"index":3,"priorExtent":{"__isSmartRef__":true,"id":4249},"layout":{"__isSmartRef__":true,"id":4250},"owner":{"__isSmartRef__":true,"id":4099},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4251},"__LivelyClassName__":"lively.morphic.Box"},"4218":{"submorphs":[],"scripts":[],"id":"415EA4D1-E1FC-4D37-9BC9-58110B93F5AA","shape":{"__isSmartRef__":true,"id":4219},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4225},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4222},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text3","partsBinMetaInfo":{"__isSmartRef__":true,"id":4226},"textChunks":[{"__isSmartRef__":true,"id":4227}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4229},"renderContextTable":{"__isSmartRef__":true,"id":4230},"eventHandler":{"__isSmartRef__":true,"id":4231},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4232},"_ClipMode":"visible","derivationIds":[355,"B11B4429-8EA5-4803-8DDA-9A5ECFBAFA29","756D781B-875C-4489-8795-18195BED2CE6"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":4233},"owner":{"__isSmartRef__":true,"id":4217},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4219":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4220},"_Extent":{"__isSmartRef__":true,"id":4221},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4222},"renderContextTable":{"__isSmartRef__":true,"id":4223},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4224},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4220":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4221":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4222":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4223":{"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"},"4224":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4225":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4226":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4227":{"style":{"__isSmartRef__":true,"id":4228},"chunkOwner":{"__isSmartRef__":true,"id":4218},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4228":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4229":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4230":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4231":{"morph":{"__isSmartRef__":true,"id":4218},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4232":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4233":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4234":{"position":{"__isSmartRef__":true,"id":4235},"_Extent":{"__isSmartRef__":true,"id":4236},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4237},"_Fill":{"__isSmartRef__":true,"id":4238},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4243},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4244},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4235":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4236":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4237":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4238":{"stops":[{"__isSmartRef__":true,"id":4239},{"__isSmartRef__":true,"id":4241}],"vector":{"__isSmartRef__":true,"id":851},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4239":{"offset":0,"color":{"__isSmartRef__":true,"id":4240}},"4240":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4241":{"offset":1,"color":{"__isSmartRef__":true,"id":4242}},"4242":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4243":{"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"},"4244":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4245":{"x":0,"y":129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4246":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4247":{"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"},"4248":{"morph":{"__isSmartRef__":true,"id":4217},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4249":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4250":{"resizeWidth":true},"4251":{"onTouchStart":{"__isSmartRef__":true,"id":4135},"onTouchMove":{"__isSmartRef__":true,"id":4139},"onTouchEnd":{"__isSmartRef__":true,"id":4143}},"4252":{"position":{"__isSmartRef__":true,"id":4253},"_Extent":{"__isSmartRef__":true,"id":4254},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4255},"_Fill":{"__isSmartRef__":true,"id":4256},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4257},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4258},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4253":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4254":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4255":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4256":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4257":{"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"},"4258":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4259":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4260":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4261":{"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"},"4262":{"morph":{"__isSmartRef__":true,"id":4099},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4263":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4264":{"resizeWidth":true,"adjustForNewBounds":true},"4265":{"onTouchStart":{"__isSmartRef__":true,"id":4266},"onTouchMove":{"__isSmartRef__":true,"id":4274},"onTouchEnd":{"__isSmartRef__":true,"id":4282},"stayInBounds":{"__isSmartRef__":true,"id":4290},"isInBounds":{"__isSmartRef__":true,"id":4294}},"4266":{"varMapping":{"__isSmartRef__":true,"id":4267},"source":"function onTouchStart(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n\n if(touch) {\n touch.originalDragOffset = touch.clientY;\n touch.originalMenuOffset = this.getPosition().y;\n\n this.isTouched = true;\n this.velocity = 0;\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = new Date().valueOf();\n }\n return true;\n\n \n}","funcProperties":{"__isSmartRef__":true,"id":4272},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4267":{"this":{"__isSmartRef__":true,"id":4099},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4268}},"4268":{"$super":{"__isSmartRef__":true,"id":4269}},"4269":{"varMapping":{"__isSmartRef__":true,"id":4270},"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":4271},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4270":{"obj":{"__isSmartRef__":true,"id":4099},"name":"onTouchStart"},"4271":{},"4272":{"timestamp":{"__isSmartRef__":true,"id":4273},"user":"sstamm","tags":[]},"4273":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (CET)"},"4274":{"varMapping":{"__isSmartRef__":true,"id":4275},"source":"function onTouchMove(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n \n if(touch && touch.originalDragOffset) {\n //TODO: Store this attributes in the object to save computation time\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu-heightContainer;\n\n\n var delta = touch.clientY - touch.originalDragOffset;\n this.setPosition(pt(0,touch.originalMenuOffset+delta));\n\n if(!this.isInBounds()) {\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n delta = this.getPosition().y-yPos;\n this.moveBy(pt(0,-delta/2));\n }\n\n var positionDelta = touch.lastTouch-touch.clientY;\n var now = new Date().valueOf();\n var timeDelta = now - touch.lastUpdate;\n\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = now;\n\n this.velocity = positionDelta*(-10/timeDelta);\n \n\n }\n return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":4280},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4275":{"this":{"__isSmartRef__":true,"id":4099},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4276}},"4276":{"$super":{"__isSmartRef__":true,"id":4277}},"4277":{"varMapping":{"__isSmartRef__":true,"id":4278},"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":4279},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4278":{"obj":{"__isSmartRef__":true,"id":4099},"name":"onTouchMove"},"4279":{},"4280":{"timestamp":{"__isSmartRef__":true,"id":4281},"user":"sstamm","tags":[]},"4281":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:54:39 GMT+0100 (CET)"},"4282":{"varMapping":{"__isSmartRef__":true,"id":4283},"source":"function onTouchEnd(evt) {\n $world.get(\"TouchList\").submorphs[0];\n var lastUpdate = new Date().valueOf();\n this.isTouched = false;\n var that = this;\n\n var flickingFct = function() {\n var now = new Date().valueOf();\n var delta = now - lastUpdate;\n var velo;\n that.velocity *= Math.pow(0.99, delta);\n that.moveBy(pt(0,that.velocity));\n that.stayInBounds();\n velo = that.velocity;\n \n lastUpdate = now;\n if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":4288},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4283":{"this":{"__isSmartRef__":true,"id":4099},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4284}},"4284":{"$super":{"__isSmartRef__":true,"id":4285}},"4285":{"varMapping":{"__isSmartRef__":true,"id":4286},"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":4287},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4286":{"obj":{"__isSmartRef__":true,"id":4099},"name":"onTouchEnd"},"4287":{},"4288":{"timestamp":{"__isSmartRef__":true,"id":4289},"user":"sstamm","tags":[]},"4289":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (CET)"},"4290":{"varMapping":{"__isSmartRef__":true,"id":4291},"source":"function stayInBounds() {\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta!=0) {\n this.velocity = -delta/15;\n }\n// this.setPosition(pt(0,yPos));\n\n}","funcProperties":{"__isSmartRef__":true,"id":4292},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4291":{"this":{"__isSmartRef__":true,"id":4099}},"4292":{"timestamp":{"__isSmartRef__":true,"id":4293},"user":"sstamm","tags":[]},"4293":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (CET)"},"4294":{"varMapping":{"__isSmartRef__":true,"id":4295},"source":"function isInBounds() {\n var heightMenu = this.owner.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":4296},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4295":{"this":{"__isSmartRef__":true,"id":4099}},"4296":{"timestamp":{"__isSmartRef__":true,"id":4297},"user":"sstamm","tags":[]},"4297":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (CET)"},"4298":{"position":{"__isSmartRef__":true,"id":4299},"_Extent":{"__isSmartRef__":true,"id":4300},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4301},"_Fill":{"__isSmartRef__":true,"id":4302},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4303},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":4304},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4299":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4300":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4301":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4302":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4303":{},"4304":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4305":{"x":7,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4306":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A morph which behaves like an IPad list. Use initialize() to clear and addItem() to ... well ... add items","migrationLevel":4,"partName":"TouchList","changes":[{"__isSmartRef__":true,"id":4307},{"__isSmartRef__":true,"id":4309},{"__isSmartRef__":true,"id":4311},{"__isSmartRef__":true,"id":4313}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4307":{"date":{"__isSmartRef__":true,"id":4308},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"4308":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (CET)"},"4309":{"date":{"__isSmartRef__":true,"id":4310},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"4310":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (CET)"},"4311":{"date":{"__isSmartRef__":true,"id":4312},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"4312":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (CET)"},"4313":{"date":{"__isSmartRef__":true,"id":4314},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"4314":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (CET)"},"4315":{"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"},"4316":{"morph":{"__isSmartRef__":true,"id":4098},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4317":{"sourceObj":{"__isSmartRef__":true,"id":4098},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":4098},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4318":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4319":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"4320":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4321":{"onrestore":{"__isSmartRef__":true,"id":4322},"initialize":{"__isSmartRef__":true,"id":4330},"addItem":{"__isSmartRef__":true,"id":4338},"createListItem":{"__isSmartRef__":true,"id":4342},"touchstartCallback":{"__isSmartRef__":true,"id":4135},"touchmoveCallback":{"__isSmartRef__":true,"id":4139},"touchendCallback":{"__isSmartRef__":true,"id":4143},"updateSelection":{"__isSmartRef__":true,"id":4346},"handleClick":{"__isSmartRef__":true,"id":4350},"initializeListEntries":{"__isSmartRef__":true,"id":4354}},"4322":{"varMapping":{"__isSmartRef__":true,"id":4323},"source":"function onrestore() {\n var that = this;\n\n //TODO: this is a race condition, because the render context is not\n // ready in onrestore\n window.setTimeout(function() { \n that.shape.setClipMode(\"hidden\"); }, 100);\n}","funcProperties":{"__isSmartRef__":true,"id":4328},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4323":{"this":{"__isSmartRef__":true,"id":4098},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4324}},"4324":{"$super":{"__isSmartRef__":true,"id":4325}},"4325":{"varMapping":{"__isSmartRef__":true,"id":4326},"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":4327},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4326":{"obj":{"__isSmartRef__":true,"id":4098},"name":"onrestore"},"4327":{},"4328":{"timestamp":{"__isSmartRef__":true,"id":4329},"user":"sstamm","tags":[]},"4329":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (CET)"},"4330":{"varMapping":{"__isSmartRef__":true,"id":4331},"source":"function initialize() {\n console.log(\"in initialize\");\n this.itemList = [];\n this.selection = null;\n this.selectedLineNo = -1;\n this.selectedMorph = null;\n this.shape.setClipMode(\"hidden\");\n var itemContainer = this.get(\"ListItemContainer\");\n \n itemContainer.setPosition(pt(0,0));\n itemContainer.submorphs.invoke(\"remove\");\n \n}","funcProperties":{"__isSmartRef__":true,"id":4336},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4331":{"this":{"__isSmartRef__":true,"id":4098},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4332}},"4332":{"$super":{"__isSmartRef__":true,"id":4333}},"4333":{"varMapping":{"__isSmartRef__":true,"id":4334},"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":4335},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4334":{"obj":{"__isSmartRef__":true,"id":4098},"name":"initialize"},"4335":{},"4336":{"timestamp":{"__isSmartRef__":true,"id":4337},"user":"sstamm","tags":[]},"4337":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (CET)"},"4338":{"varMapping":{"__isSmartRef__":true,"id":4339},"source":"function addItem(text) {\n var newMorph = this.createListItem(text);\n \n newMorph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(newMorph);\n this.get(\"ListItemContainer\").addMorph(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":4340},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4339":{"this":{"__isSmartRef__":true,"id":4098}},"4340":{"timestamp":{"__isSmartRef__":true,"id":4341},"user":"sstamm","tags":[]},"4341":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (CET)"},"4342":{"varMapping":{"__isSmartRef__":true,"id":4343},"source":"function createListItem(textString) {\n var part = lively.PartsBin.getPart(\"Rectangle\", \"PartsBin/Basic\");\n\n part.index = this.itemList.length;\n\n part.setExtent(pt(this.getExtent().x,44));\n part.applyStyle({resizeWidth: true});\n part.setFill(new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n ));\n part.setBorderColor(Color.rgb(138,138,138));\n \n\n\n part.onTouchStart = this.touchstartCallback;\n part.onTouchMove = this.touchmoveCallback;\n part.onTouchEnd = this.touchendCallback;\n\n part.registerForEvent(\"touchstart\", part, \"onTouchStart\", false);\n part.registerForEvent(\"touchmove\", part, \"onTouchMove\", false);\n part.registerForEvent(\"touchend\", part, \"onTouchEnd\", false);\n\n var text = lively.PartsBin.getPart(\"Text\", \"PartsBin/Basic\");\n text.setFontSize(14);\n text.setTextColor(Color.rgb(47,47,47));\n text.setFontFamily(\"Helvetica, Arial, sans-serif\");\n\n text.setPosition(pt(10,10));\n text.textString = textString;\n\n text.emphasizeAll({fontWeight: 'bold'});\n text.disableHalos();\n part.addMorph(text);\n\n return part;\n}","funcProperties":{"__isSmartRef__":true,"id":4344},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4343":{"this":{"__isSmartRef__":true,"id":4098}},"4344":{"timestamp":{"__isSmartRef__":true,"id":4345},"user":"sstamm","tags":[]},"4345":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (CET)"},"4346":{"varMapping":{"__isSmartRef__":true,"id":4347},"source":"function updateSelection(newSelectedMorph) {\n var hasText = true;\n if(this.selectedMorph) {\n hasText = this.selectedMorph.submorphs[0];\n this.selectedMorph.setFill(\n new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n )\n );\n if(hasText) { this.selectedMorph.submorphs[0].setTextColor(Color.rgb(47,47,47));\n }\n }\n hasText = newSelectedMorph.submorphs[0];\n\n \n if(hasText) {\n this.selection = newSelectedMorph.submorphs[0].textString;\n } else {\n this.selection = \"\";\n }\n this.selectedLineNo = newSelectedMorph.index;\n this.selectedMorph = newSelectedMorph;\n \n this.selectedMorph.setFill(\nnew lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(47,47,47)},\n {offset:0.5,color: Color.rgb(21,21,21)},\n {offset: 1, color: Color.rgb(0,0,0)}\n ],\n 'northSouth'\n ));\n \n if(hasText) {\n this.selectedMorph.submorphs[0].setTextColor(Color.rgb(222,222,222));\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4348},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4347":{"this":{"__isSmartRef__":true,"id":4098}},"4348":{"timestamp":{"__isSmartRef__":true,"id":4349},"user":"sstamm","tags":[]},"4349":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (CET)"},"4350":{"varMapping":{"__isSmartRef__":true,"id":4351},"source":"function handleClick() {\n switch(this.selection){\n case \"PartsBin\":\n $world.openPartsBin();\n $world.hideMockMenu();\n break;\n case \"Parts\":\n this.owner.showList(this.selection);\n break;\n case \"Ellipse\":\n case \"Image\":\n case \"Line\":\n case \"Rectangle\":\n case \"Text\":\n $world.openPartItem(this.selection, \"PartsBin/Basic\");\n $world.hideMockMenu();\n break;\n case \"Button\":\n case \"List\":\n case \"ScriptableButton\":\n case \"Slider\":\n $world.openPartItem(this.selection, \"PartsBin/Inputs\");\n $world.hideMockMenu();\n break;\n case \"Tools\":\n this.owner.showList(this.selection);\n break;\n case \"Workspace\":\n $world.openWorkspace();\n $world.hideMockMenu();\n break;\n case \"System Code Browser\":\n $world.openSystemBrowser();\n $world.hideMockMenu();\n break;\n case \"Object Editor\":\n $world.openObjectEditor();\n $world.hideMockMenu();\n break;\n case \"Method Finder\":\n $world.openMethodFinder();\n $world.hideMockMenu();\n break;\n case \"Text Editor\":\n new lively.morphic.TextEditor().openIn(world)\n $world.hideMockMenu();\n break;\n case \"Preferences\":\n this.owner.showList(this.selection);\n break;\n case \"set username\":\n $world.askForUserName();\n $world.hideMockMenu();\n break;\n case \"set extent\":\n $world.askForNewWorldExtent();\n $world.hideMockMenu();\n break;\n case \"disable part caching\":\n $world.hideMockMenu();\n break;\n case \"Debugging\":\n this.owner.showList(this.selection);\n break;\n case \"reset world scale\":\n $world.resetScale();\n $world.hideMockMenu();\n break;\n case \"reset title bars\":\n $world.resetAllTitleBars();\n $world.hideMockMenu();\n break;\n case \"reset button labels\":\n $world.resetAllButtonLabels();\n $world.hideMockMenu();\n break;\n case \"World serialization info\":\n require('lively.persistence.Debugging').toRun(\n function() {\n var json = lively.persistence.Serializer.serialize(world),\n printer = lively.persistence.Debugging.Helper.listObjects(json);\n world.addTextWindow(printer.toString());\n }\n );\n $world.hideMockMenu();\n break;\n case \"clear part cache\":\n $world.hideMockMenu();\n break;\n case \"show connectors\":\n $world.hideMockMenu();\n break;\n case \"Wiki\":\n this.owner.showList(this.selection);\n break;\n case \"about this wiki\":\n $world.openAboutBox();\n $world.hideMockMenu();\n break;\n case \"view versions of this world\":\n $world.openVersionViewer();\n $world.hideMockMenu();\n break;\n case \"download world\":\n require('lively.persistence.StandAlonePackaging').toRun(\n function() {\n lively.persistence.StandAlonePackaging.packageCurrentWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"upload world to Dropbox\":\n require('apps.Dropbox').toRun(\n function() {\n DropboxAPI.uploadArchivedWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"delete world\":\n $world.interactiveDeleteWorldOnServer();\n $world.hideMockMenu();\n break;\n case \"Documentation\":\n this.owner.showList(this.selection);\n break;\n case \"on short cuts\":\n $world.openShortcutDocumentation();\n $world.hideMockMenu();\n break;\n case \"on connect data bindings\":\n $world.openConnectDocumentation();\n $world.hideMockMenu();\n break;\n case \"on Lively's PartsBin\":\n $world.openPartsBinDocumentation();\n $world.hideMockMenu();\n break;\n case \"more...\":\n window.open(Config.rootPath + 'documentation/');\n $world.hideMockMenu();\n break;\n case \"save world as ...\":\n $world.interactiveSaveWorldAs();\n $world.hideMockMenu();\n break;\n case \"save world\":\n $world.saveWorld();\n $world.hideMockMenu();\n break;\n default:\n //Do nothing\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4352},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4351":{"this":{"__isSmartRef__":true,"id":4098}},"4352":{"timestamp":{"__isSmartRef__":true,"id":4353},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"4353":{"isSerializedDate":true,"string":"Tue Jan 31 2012 13:28:04 GMT+0100 (CET)"},"4354":{"varMapping":{"__isSmartRef__":true,"id":4355},"source":"function initializeListEntries() {\n this.initialize();\n list = [\"on short cuts\",\"on connect data bindings\",\n \"on Lively's PartsBin\",\"more...\"];\n for (var i = 0; i < list.length; i++) {\n this.addItem(list[i]);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4356},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4355":{"this":{"__isSmartRef__":true,"id":4098}},"4356":{"timestamp":{"__isSmartRef__":true,"id":4357},"user":"conradcalmez","tags":[]},"4357":{"isSerializedDate":true,"string":"Tue Jan 31 2012 12:05:15 GMT+0100 (CET)"},"4358":{"x":200,"y":-68,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4359":{"reset":{"__isSmartRef__":true,"id":4360},"setup":{"__isSmartRef__":true,"id":4364},"setHeader":{"__isSmartRef__":true,"id":4368},"setList":{"__isSmartRef__":true,"id":4372}},"4360":{"varMapping":{"__isSmartRef__":true,"id":4361},"source":"function reset() {\n this.disableDropping();\n this.submorphs.invoke('reset');\n this.setName(\"FightMenu\");\n}","funcProperties":{"__isSmartRef__":true,"id":4362},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4361":{"this":{"__isSmartRef__":true,"id":1371}},"4362":{"timestamp":{"__isSmartRef__":true,"id":4363},"user":"timfelgentreff","tags":[]},"4363":{"isSerializedDate":true,"string":"Fri May 04 2012 23:53:40 GMT+0200 (CEST)"},"4364":{"varMapping":{"__isSmartRef__":true,"id":4365},"source":"function setup(itemList) {\n this.setHeader(\"Test Header\")\n this.setList([\"Hello\", \"World\"])\n}","funcProperties":{"__isSmartRef__":true,"id":4366},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4365":{"this":{"__isSmartRef__":true,"id":1371}},"4366":{"timestamp":{"__isSmartRef__":true,"id":4367},"user":"timfelgentreff","tags":[]},"4367":{"isSerializedDate":true,"string":"Fri May 04 2012 23:52:44 GMT+0200 (CEST)"},"4368":{"varMapping":{"__isSmartRef__":true,"id":4369},"source":"function setHeader(str) {\n this.get(\"MenuPosition\").textString = str\n}","funcProperties":{"__isSmartRef__":true,"id":4370},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4369":{"this":{"__isSmartRef__":true,"id":1371}},"4370":{"timestamp":{"__isSmartRef__":true,"id":4371},"user":"timfelgentreff","tags":[]},"4371":{"isSerializedDate":true,"string":"Fri May 04 2012 23:39:49 GMT+0200 (CEST)"},"4372":{"varMapping":{"__isSmartRef__":true,"id":4373},"source":"function setList(ary, callback) {\n var touchListAry = ary.collect(function (str) {\n return [str, function () { callback(str) }]\n })\n this.get(\"TouchList\").setup(touchListAry)\n}","funcProperties":{"__isSmartRef__":true,"id":4374},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4373":{"this":{"__isSmartRef__":true,"id":1371}},"4374":{"timestamp":{"__isSmartRef__":true,"id":4375},"user":"timfelgentreff","tags":[]},"4375":{"isSerializedDate":true,"string":"Fri May 04 2012 23:43:53 GMT+0200 (CEST)"},"4376":{"x":944,"y":35,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4377":{"x":138,"y":-9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4378":{"isSerializedDate":true,"string":"Wed Jan 25 2012 12:10:02 GMT+0100 (CET)"},"4379":{"adjustForNewBounds":true,"resizeWidth":true},"4380":{"reset":{"__isSmartRef__":true,"id":4381}},"4381":{"varMapping":{"__isSmartRef__":true,"id":4382},"source":"function reset() {\n this.disableDropping();\n this.submorphs.invoke('disableDropping');\n}","funcProperties":{"__isSmartRef__":true,"id":4383},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4382":{"this":{"__isSmartRef__":true,"id":1352}},"4383":{"timestamp":{"__isSmartRef__":true,"id":4384},"user":"conradcalmez","tags":[]},"4384":{"isSerializedDate":true,"string":"Mon Feb 13 2012 12:28:52 GMT+0100 (CET)"},"4385":{"r":0.9686274509803922,"g":0.9686274509803922,"b":0.9686274509803922,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4386":{"x":129,"y":-15,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4387":{"x":931,"y":397,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4388":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"4389":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4390":{"submorphs":[],"scripts":[],"id":"DF0842E0-F505-4F15-91BB-50F84EA0D80A","shape":{"__isSmartRef__":true,"id":4391},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4398},"showsHalos":false,"name":"ListItemContainer1","partsBinMetaInfo":{"__isSmartRef__":true,"id":4399},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4400},"eventHandler":{"__isSmartRef__":true,"id":4401},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"70193F55-BD62-471E-90CE-6CF2F345BFF8","C29938AD-3221-4AB2-80BA-EBF64E5C8063","F478A91E-32FA-4527-BA77-81009843E6E7","3C2C2181-A589-45A7-B023-FDED3CDFE499","45EE0951-5C82-4C8D-808E-E69D6E6AFFC8","3AB7DC6F-888B-4351-A241-EA890F85280A","7AF9C5F0-EE68-416F-A10D-DD34087715DD","FAD6A6E3-B30D-441E-8E2E-91307AB82819","E8E4AF91-BE65-4070-B253-D631CE0F462C","DD3A6529-0925-4E61-ACD5-6046F08790EF","ABC193E1-1AA2-47B1-A05A-46C0CDB40424","B97A4F9F-8478-437F-A460-0AC7D90A8113","8E912F61-7CE7-4AFA-A5A1-4C092E432DBD","87E25E51-49D4-494F-BF2C-9FA542B14D4A","A2A05923-6ADE-4D34-B83E-E84CC6F0CB13","0A1AC4F5-352B-4574-B31A-9AE34DFC2A60","B55A2795-3FD1-454E-9327-EB0FF7727CEE","6E5B9FD2-3323-4DB2-B699-E9CE0754F260","4B5D7FBB-0C95-46F4-B439-C4267B3C0F30","25718CE0-AD32-46AE-8928-FE788FE6ADFC","6AF65CB7-DD3F-4FC0-98C7-30A789006946","7C51FECE-00A1-4616-B8C7-09161732EA81","78BE6D6E-693B-4397-9219-C336101FDA39"],"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":4402},"layout":{"__isSmartRef__":true,"id":4403},"lists":{"__isSmartRef__":true,"id":4404},"prevScroll":[0,0],"itemList":[],"_ClipMode":"visible","_Rotation":0,"_Scale":0.998001,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4841},"__LivelyClassName__":"lively.morphic.Box"},"4391":{"position":{"__isSmartRef__":true,"id":4392},"_Extent":{"__isSmartRef__":true,"id":4393},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4394},"_Fill":{"__isSmartRef__":true,"id":4395},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4396},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4397},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4392":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4393":{"x":348,"y":41.903855807759854,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4394":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4395":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4396":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"4397":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4398":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4399":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4400":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4401":{"morph":{"__isSmartRef__":true,"id":4390},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4402":{"x":348,"y":41.903855807759854,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4403":{"resizeWidth":true,"adjustForNewBounds":true},"4404":{"Parts":{"__isSmartRef__":true,"id":4405}},"4405":{"submorphs":[{"__isSmartRef__":true,"id":4406}],"scripts":[],"id":"E20298AE-1569-4E74-AD48-FE1CB408E472","shape":{"__isSmartRef__":true,"id":4781},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4788},"showsHalos":false,"name":"TouchList1","partsBinMetaInfo":{"__isSmartRef__":true,"id":4789},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4798},"eventHandler":{"__isSmartRef__":true,"id":4799},"attributeConnections":[{"__isSmartRef__":true,"id":4800}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"derivationIds":[127,"86FF1C90-3CC2-44B9-8DEE-1BC214D734AE","EEA7DF22-C343-4B58-A447-43BB95D5405F","9665449D-F0E4-4BCE-854B-48D19C73214E","8B65C997-34DC-4F70-A1BA-266488F1588C","CBDEE8B9-9E1C-44E5-85E6-6D85E0738D59","34806B09-40D4-4BE7-B17E-FFFFDB7B0928","A96DDB06-4250-4386-905D-8B702E91A05F","2D6F8200-15D9-4A2E-8809-3012C71831B8"],"priorExtent":{"__isSmartRef__":true,"id":4801},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":4802},"itemList":[{"__isSmartRef__":true,"id":4407},{"__isSmartRef__":true,"id":4455},{"__isSmartRef__":true,"id":4490},{"__isSmartRef__":true,"id":4525},{"__isSmartRef__":true,"id":4560},{"__isSmartRef__":true,"id":4595},{"__isSmartRef__":true,"id":4630},{"__isSmartRef__":true,"id":4665},{"__isSmartRef__":true,"id":4700}],"_ClipMode":"hidden","selectedMorph":null,"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":4803},"owner":null,"_Visible":false,"_Rotation":0,"_Scale":1,"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4804},"__LivelyClassName__":"lively.morphic.Box"},"4406":{"submorphs":[{"__isSmartRef__":true,"id":4407},{"__isSmartRef__":true,"id":4455},{"__isSmartRef__":true,"id":4490},{"__isSmartRef__":true,"id":4525},{"__isSmartRef__":true,"id":4560},{"__isSmartRef__":true,"id":4595},{"__isSmartRef__":true,"id":4630},{"__isSmartRef__":true,"id":4665},{"__isSmartRef__":true,"id":4700}],"scripts":[],"id":"5BD60918-1B33-4387-8B96-0AA376B1FC62","shape":{"__isSmartRef__":true,"id":4735},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4742},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":4743},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4744},"eventHandler":{"__isSmartRef__":true,"id":4745},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"70193F55-BD62-471E-90CE-6CF2F345BFF8","C29938AD-3221-4AB2-80BA-EBF64E5C8063","F478A91E-32FA-4527-BA77-81009843E6E7","3C2C2181-A589-45A7-B023-FDED3CDFE499","45EE0951-5C82-4C8D-808E-E69D6E6AFFC8","3AB7DC6F-888B-4351-A241-EA890F85280A","1DB8DDC7-39AB-4B77-BB60-17766F9CFBD1","1EF09C78-2811-4346-B693-8B6E1D79A6EB"],"owner":{"__isSmartRef__":true,"id":4405},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":4746},"layout":{"__isSmartRef__":true,"id":4747},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4748},"__LivelyClassName__":"lively.morphic.Box"},"4407":{"submorphs":[{"__isSmartRef__":true,"id":4408}],"scripts":[],"id":"5FE9FAE5-FB3C-49DA-BB28-F65B377FEB19","shape":{"__isSmartRef__":true,"id":4424},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4436},"showsHalos":false,"name":"Rectangle14","partsBinMetaInfo":{"__isSmartRef__":true,"id":4437},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4438},"eventHandler":{"__isSmartRef__":true,"id":4439},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"3685AFE1-33BB-436C-8346-79C62B534359","607E0175-FDFB-4582-AC22-3CD982C54720"],"index":0,"priorExtent":{"__isSmartRef__":true,"id":4440},"layout":{"__isSmartRef__":true,"id":4441},"owner":{"__isSmartRef__":true,"id":4406},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4442},"__LivelyClassName__":"lively.morphic.Box"},"4408":{"submorphs":[],"scripts":[],"id":"0F8FAFCF-7952-4FCE-ACC6-8C7BED2851BF","shape":{"__isSmartRef__":true,"id":4409},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4415},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4412},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text16","partsBinMetaInfo":{"__isSmartRef__":true,"id":4416},"textChunks":[{"__isSmartRef__":true,"id":4417}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4419},"renderContextTable":{"__isSmartRef__":true,"id":4420},"eventHandler":{"__isSmartRef__":true,"id":4421},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4422},"_ClipMode":"visible","derivationIds":[355,"EC03880B-F51C-4053-97E4-D79A89A6D208","8AC5ABA3-243B-428A-B730-BD07AEC42A6C"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":4423},"owner":{"__isSmartRef__":true,"id":4407},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4409":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4410},"_Extent":{"__isSmartRef__":true,"id":4411},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4412},"renderContextTable":{"__isSmartRef__":true,"id":4413},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4414},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4410":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4411":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4412":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4413":{"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"},"4414":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4415":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4416":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4417":{"style":{"__isSmartRef__":true,"id":4418},"chunkOwner":{"__isSmartRef__":true,"id":4408},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4418":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4419":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4420":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4421":{"morph":{"__isSmartRef__":true,"id":4408},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4422":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4423":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4424":{"position":{"__isSmartRef__":true,"id":4425},"_Extent":{"__isSmartRef__":true,"id":4426},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4427},"_Fill":{"__isSmartRef__":true,"id":4428},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4434},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4435},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4425":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4426":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4427":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4428":{"stops":[{"__isSmartRef__":true,"id":4429},{"__isSmartRef__":true,"id":4431}],"vector":{"__isSmartRef__":true,"id":4433},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4429":{"offset":0,"color":{"__isSmartRef__":true,"id":4430}},"4430":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4431":{"offset":1,"color":{"__isSmartRef__":true,"id":4432}},"4432":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4433":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4434":{"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"},"4435":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4436":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4437":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4438":{"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"},"4439":{"morph":{"__isSmartRef__":true,"id":4407},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4440":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4441":{"resizeWidth":true},"4442":{"onTouchStart":{"__isSmartRef__":true,"id":4443},"onTouchMove":{"__isSmartRef__":true,"id":4447},"onTouchEnd":{"__isSmartRef__":true,"id":4451}},"4443":{"varMapping":{"__isSmartRef__":true,"id":4444},"source":"function touchstartCallback(evt) {\n var touch = evt.touches[0];\n\n this.clickPosition = pt(touch.clientX,touch.clientY);\n this.lastClickPos = this.clickPosition;\n\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":4445},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4444":{"this":{"__isSmartRef__":true,"id":4405}},"4445":{"timestamp":{"__isSmartRef__":true,"id":4446},"user":"sstamm","tags":[]},"4446":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (CET)"},"4447":{"varMapping":{"__isSmartRef__":true,"id":4448},"source":"function touchmoveCallback(evt) {\n var touch = evt.touches[0];\n \n this.lastClickPos = pt(touch.clientX,touch.clientY);\n\n return false;\n \n}","funcProperties":{"__isSmartRef__":true,"id":4449},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4448":{"this":{"__isSmartRef__":true,"id":4405}},"4449":{"timestamp":{"__isSmartRef__":true,"id":4450},"user":"sstamm","tags":[]},"4450":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (CET)"},"4451":{"varMapping":{"__isSmartRef__":true,"id":4452},"source":"function touchendCallback(evt) {\n var deltaPt = this.lastClickPos.subPt(this.clickPosition);\n var delta = deltaPt.x*deltaPt.x + deltaPt.y*deltaPt.y;\n if(delta<25) {\n //TODO: find a better way to find the related listMorph\n var listMorph = this.owner.owner;\n \n if(listMorph && listMorph.updateSelection) {\n listMorph.updateSelection(this);\n }\n }\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":4453},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4452":{"this":{"__isSmartRef__":true,"id":4405}},"4453":{"timestamp":{"__isSmartRef__":true,"id":4454},"user":"sstamm","tags":[]},"4454":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (CET)"},"4455":{"submorphs":[{"__isSmartRef__":true,"id":4456}],"scripts":[],"id":"CB015488-847F-4196-9BE1-E280870F454B","shape":{"__isSmartRef__":true,"id":4472},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4483},"showsHalos":false,"name":"Rectangle15","partsBinMetaInfo":{"__isSmartRef__":true,"id":4484},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4485},"eventHandler":{"__isSmartRef__":true,"id":4486},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"C66C3F61-C421-4796-92E9-C74B723D902D","F84212CF-37F3-47B4-A68E-0A68C71BDB5C"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":4487},"layout":{"__isSmartRef__":true,"id":4488},"owner":{"__isSmartRef__":true,"id":4406},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4489},"__LivelyClassName__":"lively.morphic.Box"},"4456":{"submorphs":[],"scripts":[],"id":"07BD3541-B089-4FDF-AFF3-DD05491D208C","shape":{"__isSmartRef__":true,"id":4457},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4463},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4460},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text17","partsBinMetaInfo":{"__isSmartRef__":true,"id":4464},"textChunks":[{"__isSmartRef__":true,"id":4465}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4467},"renderContextTable":{"__isSmartRef__":true,"id":4468},"eventHandler":{"__isSmartRef__":true,"id":4469},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4470},"_ClipMode":"visible","derivationIds":[355,"A94B4C37-835A-4F9F-9594-A4469849AE32","EEC5C72F-D611-400E-9279-F996AB5C5D41"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":4471},"owner":{"__isSmartRef__":true,"id":4455},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4457":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4458},"_Extent":{"__isSmartRef__":true,"id":4459},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4460},"renderContextTable":{"__isSmartRef__":true,"id":4461},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4462},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4458":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4459":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4460":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4461":{"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"},"4462":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4463":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4464":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4465":{"style":{"__isSmartRef__":true,"id":4466},"chunkOwner":{"__isSmartRef__":true,"id":4456},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4466":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4467":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4468":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4469":{"morph":{"__isSmartRef__":true,"id":4456},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4470":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4471":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4472":{"position":{"__isSmartRef__":true,"id":4473},"_Extent":{"__isSmartRef__":true,"id":4474},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4475},"_Fill":{"__isSmartRef__":true,"id":4476},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4481},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4482},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4473":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4474":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4475":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4476":{"stops":[{"__isSmartRef__":true,"id":4477},{"__isSmartRef__":true,"id":4479}],"vector":{"__isSmartRef__":true,"id":4433},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4477":{"offset":0,"color":{"__isSmartRef__":true,"id":4478}},"4478":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4479":{"offset":1,"color":{"__isSmartRef__":true,"id":4480}},"4480":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4481":{"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"},"4482":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4483":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4484":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4485":{"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"},"4486":{"morph":{"__isSmartRef__":true,"id":4455},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4487":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4488":{"resizeWidth":true},"4489":{"onTouchStart":{"__isSmartRef__":true,"id":4443},"onTouchMove":{"__isSmartRef__":true,"id":4447},"onTouchEnd":{"__isSmartRef__":true,"id":4451}},"4490":{"submorphs":[{"__isSmartRef__":true,"id":4491}],"scripts":[],"id":"E5B57597-1832-4144-8C80-CB87E8A22845","shape":{"__isSmartRef__":true,"id":4507},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4518},"showsHalos":false,"name":"Rectangle16","partsBinMetaInfo":{"__isSmartRef__":true,"id":4519},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4520},"eventHandler":{"__isSmartRef__":true,"id":4521},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"7A12DA17-ED87-4021-A663-F310BE5DF0EB","9AB3A5B3-5924-4A09-9B31-22623502DB9B"],"index":2,"priorExtent":{"__isSmartRef__":true,"id":4522},"layout":{"__isSmartRef__":true,"id":4523},"owner":{"__isSmartRef__":true,"id":4406},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4524},"__LivelyClassName__":"lively.morphic.Box"},"4491":{"submorphs":[],"scripts":[],"id":"0FFBB803-65DB-43F4-9887-6DC2EE1628AF","shape":{"__isSmartRef__":true,"id":4492},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4498},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4495},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text18","partsBinMetaInfo":{"__isSmartRef__":true,"id":4499},"textChunks":[{"__isSmartRef__":true,"id":4500}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4502},"renderContextTable":{"__isSmartRef__":true,"id":4503},"eventHandler":{"__isSmartRef__":true,"id":4504},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4505},"_ClipMode":"visible","derivationIds":[355,"D1406DCD-1B6B-4823-AA26-EF7C62BA46B4","851AD306-E5F9-4FF1-8E9F-F3B6CF012A6E"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":4506},"owner":{"__isSmartRef__":true,"id":4490},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4492":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4493},"_Extent":{"__isSmartRef__":true,"id":4494},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4495},"renderContextTable":{"__isSmartRef__":true,"id":4496},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4497},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4493":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4494":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4495":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4496":{"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"},"4497":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4498":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4499":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4500":{"style":{"__isSmartRef__":true,"id":4501},"chunkOwner":{"__isSmartRef__":true,"id":4491},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4501":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4502":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4503":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4504":{"morph":{"__isSmartRef__":true,"id":4491},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4505":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4506":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4507":{"position":{"__isSmartRef__":true,"id":4508},"_Extent":{"__isSmartRef__":true,"id":4509},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4510},"_Fill":{"__isSmartRef__":true,"id":4511},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4516},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4517},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4508":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4509":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4510":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4511":{"stops":[{"__isSmartRef__":true,"id":4512},{"__isSmartRef__":true,"id":4514}],"vector":{"__isSmartRef__":true,"id":4433},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4512":{"offset":0,"color":{"__isSmartRef__":true,"id":4513}},"4513":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4514":{"offset":1,"color":{"__isSmartRef__":true,"id":4515}},"4515":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4516":{"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"},"4517":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4518":{"x":0,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4519":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4520":{"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"},"4521":{"morph":{"__isSmartRef__":true,"id":4490},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4522":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4523":{"resizeWidth":true},"4524":{"onTouchStart":{"__isSmartRef__":true,"id":4443},"onTouchMove":{"__isSmartRef__":true,"id":4447},"onTouchEnd":{"__isSmartRef__":true,"id":4451}},"4525":{"submorphs":[{"__isSmartRef__":true,"id":4526}],"scripts":[],"id":"79A2AEFF-B1C8-4968-80B5-4304E1F3572D","shape":{"__isSmartRef__":true,"id":4542},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4553},"showsHalos":false,"name":"Rectangle17","partsBinMetaInfo":{"__isSmartRef__":true,"id":4554},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4555},"eventHandler":{"__isSmartRef__":true,"id":4556},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"589B1B1C-5D03-4FBB-96B6-FB985B606C29","9335E5B1-C72C-47D7-BE82-8FE7C5FEFCA1"],"index":3,"priorExtent":{"__isSmartRef__":true,"id":4557},"layout":{"__isSmartRef__":true,"id":4558},"owner":{"__isSmartRef__":true,"id":4406},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4559},"__LivelyClassName__":"lively.morphic.Box"},"4526":{"submorphs":[],"scripts":[],"id":"9A151460-6715-434E-A92D-42C882B923B9","shape":{"__isSmartRef__":true,"id":4527},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4533},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4530},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text19","partsBinMetaInfo":{"__isSmartRef__":true,"id":4534},"textChunks":[{"__isSmartRef__":true,"id":4535}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4537},"renderContextTable":{"__isSmartRef__":true,"id":4538},"eventHandler":{"__isSmartRef__":true,"id":4539},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4540},"_ClipMode":"visible","derivationIds":[355,"04DE868C-5CE9-4416-865E-8EF6F84BCCA3","373735A1-3F28-454A-896D-785F4CA54B42"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":4541},"owner":{"__isSmartRef__":true,"id":4525},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4527":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4528},"_Extent":{"__isSmartRef__":true,"id":4529},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4530},"renderContextTable":{"__isSmartRef__":true,"id":4531},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4532},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4528":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4529":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4530":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4531":{"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"},"4532":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4533":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4534":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4535":{"style":{"__isSmartRef__":true,"id":4536},"chunkOwner":{"__isSmartRef__":true,"id":4526},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4536":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4537":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4538":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4539":{"morph":{"__isSmartRef__":true,"id":4526},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4540":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4541":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4542":{"position":{"__isSmartRef__":true,"id":4543},"_Extent":{"__isSmartRef__":true,"id":4544},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4545},"_Fill":{"__isSmartRef__":true,"id":4546},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4551},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4552},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4543":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4544":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4545":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4546":{"stops":[{"__isSmartRef__":true,"id":4547},{"__isSmartRef__":true,"id":4549}],"vector":{"__isSmartRef__":true,"id":4433},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4547":{"offset":0,"color":{"__isSmartRef__":true,"id":4548}},"4548":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4549":{"offset":1,"color":{"__isSmartRef__":true,"id":4550}},"4550":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4551":{"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"},"4552":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4553":{"x":0,"y":129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4554":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4555":{"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"},"4556":{"morph":{"__isSmartRef__":true,"id":4525},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4557":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4558":{"resizeWidth":true},"4559":{"onTouchStart":{"__isSmartRef__":true,"id":4443},"onTouchMove":{"__isSmartRef__":true,"id":4447},"onTouchEnd":{"__isSmartRef__":true,"id":4451}},"4560":{"submorphs":[{"__isSmartRef__":true,"id":4561}],"scripts":[],"id":"3142743E-6C66-4445-8A87-D7D178EF64F4","shape":{"__isSmartRef__":true,"id":4577},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4588},"showsHalos":false,"name":"Rectangle18","partsBinMetaInfo":{"__isSmartRef__":true,"id":4589},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4590},"eventHandler":{"__isSmartRef__":true,"id":4591},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F5519D67-A069-4C3A-ACE8-0AA375A7E34A","59FBAB8D-A12D-4449-AD33-9060CCD6002D"],"index":4,"priorExtent":{"__isSmartRef__":true,"id":4592},"layout":{"__isSmartRef__":true,"id":4593},"owner":{"__isSmartRef__":true,"id":4406},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4594},"__LivelyClassName__":"lively.morphic.Box"},"4561":{"submorphs":[],"scripts":[],"id":"306A19BD-DBB7-4F0C-833C-614F75D992AA","shape":{"__isSmartRef__":true,"id":4562},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4568},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4565},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text20","partsBinMetaInfo":{"__isSmartRef__":true,"id":4569},"textChunks":[{"__isSmartRef__":true,"id":4570}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4572},"renderContextTable":{"__isSmartRef__":true,"id":4573},"eventHandler":{"__isSmartRef__":true,"id":4574},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4575},"_ClipMode":"visible","derivationIds":[355,"0F3AE3FA-2B37-4FB7-9A76-FCCC9E93833A","A5006B05-E83D-4E10-807D-3F2210FF5C28"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":4576},"owner":{"__isSmartRef__":true,"id":4560},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4562":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4563},"_Extent":{"__isSmartRef__":true,"id":4564},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4565},"renderContextTable":{"__isSmartRef__":true,"id":4566},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4567},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4563":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4564":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4565":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4566":{"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"},"4567":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4568":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4569":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4570":{"style":{"__isSmartRef__":true,"id":4571},"chunkOwner":{"__isSmartRef__":true,"id":4561},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4571":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4572":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4573":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4574":{"morph":{"__isSmartRef__":true,"id":4561},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4575":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4576":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4577":{"position":{"__isSmartRef__":true,"id":4578},"_Extent":{"__isSmartRef__":true,"id":4579},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4580},"_Fill":{"__isSmartRef__":true,"id":4581},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4586},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4587},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4578":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4579":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4580":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4581":{"stops":[{"__isSmartRef__":true,"id":4582},{"__isSmartRef__":true,"id":4584}],"vector":{"__isSmartRef__":true,"id":4433},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4582":{"offset":0,"color":{"__isSmartRef__":true,"id":4583}},"4583":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4584":{"offset":1,"color":{"__isSmartRef__":true,"id":4585}},"4585":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4586":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4587":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4588":{"x":0,"y":172,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4589":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4590":{"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"},"4591":{"morph":{"__isSmartRef__":true,"id":4560},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4592":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4593":{"resizeWidth":true},"4594":{"onTouchStart":{"__isSmartRef__":true,"id":4443},"onTouchMove":{"__isSmartRef__":true,"id":4447},"onTouchEnd":{"__isSmartRef__":true,"id":4451}},"4595":{"submorphs":[{"__isSmartRef__":true,"id":4596}],"scripts":[],"id":"6BBC35B8-F512-41B1-B8A8-18380EDD2C38","shape":{"__isSmartRef__":true,"id":4612},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4623},"showsHalos":false,"name":"Rectangle19","partsBinMetaInfo":{"__isSmartRef__":true,"id":4624},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4625},"eventHandler":{"__isSmartRef__":true,"id":4626},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"14E2899E-FDE9-4DE2-A233-224D0A32A245","F2B3022A-6E1B-483B-A901-616629F13A6F"],"index":5,"priorExtent":{"__isSmartRef__":true,"id":4627},"layout":{"__isSmartRef__":true,"id":4628},"owner":{"__isSmartRef__":true,"id":4406},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4629},"__LivelyClassName__":"lively.morphic.Box"},"4596":{"submorphs":[],"scripts":[],"id":"8AB82126-B9DF-471F-A525-BB94F76B665D","shape":{"__isSmartRef__":true,"id":4597},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4603},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4600},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text21","partsBinMetaInfo":{"__isSmartRef__":true,"id":4604},"textChunks":[{"__isSmartRef__":true,"id":4605}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4607},"renderContextTable":{"__isSmartRef__":true,"id":4608},"eventHandler":{"__isSmartRef__":true,"id":4609},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4610},"_ClipMode":"visible","derivationIds":[355,"4740724F-00A9-4F70-9787-A01B0FB0AE84","58940F01-B24D-4CEA-A4C9-50ED9AD21410"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":4611},"owner":{"__isSmartRef__":true,"id":4595},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4597":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4598},"_Extent":{"__isSmartRef__":true,"id":4599},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4600},"renderContextTable":{"__isSmartRef__":true,"id":4601},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4602},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4598":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4599":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4600":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4601":{"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"},"4602":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4603":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4604":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4605":{"style":{"__isSmartRef__":true,"id":4606},"chunkOwner":{"__isSmartRef__":true,"id":4596},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4606":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4607":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4608":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4609":{"morph":{"__isSmartRef__":true,"id":4596},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4610":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4611":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4612":{"position":{"__isSmartRef__":true,"id":4613},"_Extent":{"__isSmartRef__":true,"id":4614},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4615},"_Fill":{"__isSmartRef__":true,"id":4616},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4621},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4622},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4613":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4614":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4615":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4616":{"stops":[{"__isSmartRef__":true,"id":4617},{"__isSmartRef__":true,"id":4619}],"vector":{"__isSmartRef__":true,"id":4433},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4617":{"offset":0,"color":{"__isSmartRef__":true,"id":4618}},"4618":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4619":{"offset":1,"color":{"__isSmartRef__":true,"id":4620}},"4620":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4621":{"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"},"4622":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4623":{"x":0,"y":215,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4624":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4625":{"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"},"4626":{"morph":{"__isSmartRef__":true,"id":4595},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4627":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4628":{"resizeWidth":true},"4629":{"onTouchStart":{"__isSmartRef__":true,"id":4443},"onTouchMove":{"__isSmartRef__":true,"id":4447},"onTouchEnd":{"__isSmartRef__":true,"id":4451}},"4630":{"submorphs":[{"__isSmartRef__":true,"id":4631}],"scripts":[],"id":"C58D383C-F3A5-4D01-8B41-05DA6C61D290","shape":{"__isSmartRef__":true,"id":4647},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4658},"showsHalos":false,"name":"Rectangle20","partsBinMetaInfo":{"__isSmartRef__":true,"id":4659},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4660},"eventHandler":{"__isSmartRef__":true,"id":4661},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"1D856615-6103-491F-924E-274FD76E3EDA","868F296C-68D3-4896-A01F-A994BF66D021"],"index":6,"priorExtent":{"__isSmartRef__":true,"id":4662},"layout":{"__isSmartRef__":true,"id":4663},"owner":{"__isSmartRef__":true,"id":4406},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4664},"__LivelyClassName__":"lively.morphic.Box"},"4631":{"submorphs":[],"scripts":[],"id":"E14CE99E-3E37-4C3D-9BC0-6A739D1C5E3A","shape":{"__isSmartRef__":true,"id":4632},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4638},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4635},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text22","partsBinMetaInfo":{"__isSmartRef__":true,"id":4639},"textChunks":[{"__isSmartRef__":true,"id":4640}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4642},"renderContextTable":{"__isSmartRef__":true,"id":4643},"eventHandler":{"__isSmartRef__":true,"id":4644},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4645},"_ClipMode":"visible","derivationIds":[355,"C8062D9B-D328-465D-997B-9B0AC5F4C985","A2498368-5D61-458F-8B9E-953A1D5EA943"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":4646},"owner":{"__isSmartRef__":true,"id":4630},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4632":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4633},"_Extent":{"__isSmartRef__":true,"id":4634},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4635},"renderContextTable":{"__isSmartRef__":true,"id":4636},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4637},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4633":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4634":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4635":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4636":{"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"},"4637":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4638":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4639":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4640":{"style":{"__isSmartRef__":true,"id":4641},"chunkOwner":{"__isSmartRef__":true,"id":4631},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4641":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4642":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4643":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4644":{"morph":{"__isSmartRef__":true,"id":4631},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4645":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4646":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4647":{"position":{"__isSmartRef__":true,"id":4648},"_Extent":{"__isSmartRef__":true,"id":4649},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4650},"_Fill":{"__isSmartRef__":true,"id":4651},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4656},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4657},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4648":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4649":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4650":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4651":{"stops":[{"__isSmartRef__":true,"id":4652},{"__isSmartRef__":true,"id":4654}],"vector":{"__isSmartRef__":true,"id":4433},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4652":{"offset":0,"color":{"__isSmartRef__":true,"id":4653}},"4653":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4654":{"offset":1,"color":{"__isSmartRef__":true,"id":4655}},"4655":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4656":{"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"},"4657":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4658":{"x":0,"y":258,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4659":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4660":{"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"},"4661":{"morph":{"__isSmartRef__":true,"id":4630},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4662":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4663":{"resizeWidth":true},"4664":{"onTouchStart":{"__isSmartRef__":true,"id":4443},"onTouchMove":{"__isSmartRef__":true,"id":4447},"onTouchEnd":{"__isSmartRef__":true,"id":4451}},"4665":{"submorphs":[{"__isSmartRef__":true,"id":4666}],"scripts":[],"id":"E0CCB80E-08B5-45B8-A4CB-80B59BF3EC9C","shape":{"__isSmartRef__":true,"id":4682},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4693},"showsHalos":false,"name":"Rectangle21","partsBinMetaInfo":{"__isSmartRef__":true,"id":4694},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4695},"eventHandler":{"__isSmartRef__":true,"id":4696},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"EE7DA9BE-241E-4272-A8F9-8F6BD7A79357","4653004D-70CE-483A-9F04-F421C7F1EC2C"],"index":7,"priorExtent":{"__isSmartRef__":true,"id":4697},"layout":{"__isSmartRef__":true,"id":4698},"owner":{"__isSmartRef__":true,"id":4406},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4699},"__LivelyClassName__":"lively.morphic.Box"},"4666":{"submorphs":[],"scripts":[],"id":"42D8B1FB-AE40-4619-B97E-54FCCF140863","shape":{"__isSmartRef__":true,"id":4667},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4673},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4670},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text23","partsBinMetaInfo":{"__isSmartRef__":true,"id":4674},"textChunks":[{"__isSmartRef__":true,"id":4675}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4677},"renderContextTable":{"__isSmartRef__":true,"id":4678},"eventHandler":{"__isSmartRef__":true,"id":4679},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4680},"_ClipMode":"visible","derivationIds":[355,"D10C9D67-E7D7-4B96-89C5-A542439C15AA","34BCB687-561E-4E96-8ACE-53622B72CB1E"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":4681},"owner":{"__isSmartRef__":true,"id":4665},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4667":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4668},"_Extent":{"__isSmartRef__":true,"id":4669},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4670},"renderContextTable":{"__isSmartRef__":true,"id":4671},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4672},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4668":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4669":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4670":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4671":{"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"},"4672":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4673":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4674":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4675":{"style":{"__isSmartRef__":true,"id":4676},"chunkOwner":{"__isSmartRef__":true,"id":4666},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4676":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4677":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4678":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4679":{"morph":{"__isSmartRef__":true,"id":4666},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4680":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4681":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4682":{"position":{"__isSmartRef__":true,"id":4683},"_Extent":{"__isSmartRef__":true,"id":4684},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4685},"_Fill":{"__isSmartRef__":true,"id":4686},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4691},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4692},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4683":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4684":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4685":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4686":{"stops":[{"__isSmartRef__":true,"id":4687},{"__isSmartRef__":true,"id":4689}],"vector":{"__isSmartRef__":true,"id":4433},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4687":{"offset":0,"color":{"__isSmartRef__":true,"id":4688}},"4688":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4689":{"offset":1,"color":{"__isSmartRef__":true,"id":4690}},"4690":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4691":{"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"},"4692":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4693":{"x":0,"y":301,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4694":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4695":{"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"},"4696":{"morph":{"__isSmartRef__":true,"id":4665},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4697":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4698":{"resizeWidth":true},"4699":{"onTouchStart":{"__isSmartRef__":true,"id":4443},"onTouchMove":{"__isSmartRef__":true,"id":4447},"onTouchEnd":{"__isSmartRef__":true,"id":4451}},"4700":{"submorphs":[{"__isSmartRef__":true,"id":4701}],"scripts":[],"id":"FB9DAD23-0505-4F0D-A6B4-6E772E694DF4","shape":{"__isSmartRef__":true,"id":4717},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4728},"showsHalos":false,"name":"Rectangle22","partsBinMetaInfo":{"__isSmartRef__":true,"id":4729},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4730},"eventHandler":{"__isSmartRef__":true,"id":4731},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"2E1D745F-41F1-4D02-B340-3A77BEE1B7C3","77FFD08B-D46C-4713-9726-A96F693E887E"],"index":8,"priorExtent":{"__isSmartRef__":true,"id":4732},"layout":{"__isSmartRef__":true,"id":4733},"owner":{"__isSmartRef__":true,"id":4406},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4734},"__LivelyClassName__":"lively.morphic.Box"},"4701":{"submorphs":[],"scripts":[],"id":"B71F6F46-B717-4A5F-951D-77417F7E6EFD","shape":{"__isSmartRef__":true,"id":4702},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4708},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4705},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text24","partsBinMetaInfo":{"__isSmartRef__":true,"id":4709},"textChunks":[{"__isSmartRef__":true,"id":4710}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4712},"renderContextTable":{"__isSmartRef__":true,"id":4713},"eventHandler":{"__isSmartRef__":true,"id":4714},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4715},"_ClipMode":"visible","derivationIds":[355,"73E4BF5B-12F7-4288-A9ED-02155EB86DB2","D705F0F9-9142-4B7A-894C-5230E2C923C4"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":4716},"owner":{"__isSmartRef__":true,"id":4700},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4702":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4703},"_Extent":{"__isSmartRef__":true,"id":4704},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4705},"renderContextTable":{"__isSmartRef__":true,"id":4706},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4707},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4703":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4704":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4705":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4706":{"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"},"4707":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4708":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4709":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4710":{"style":{"__isSmartRef__":true,"id":4711},"chunkOwner":{"__isSmartRef__":true,"id":4701},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4711":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4712":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4713":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4714":{"morph":{"__isSmartRef__":true,"id":4701},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4715":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4716":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4717":{"position":{"__isSmartRef__":true,"id":4718},"_Extent":{"__isSmartRef__":true,"id":4719},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4720},"_Fill":{"__isSmartRef__":true,"id":4721},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4726},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4727},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4718":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4719":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4720":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4721":{"stops":[{"__isSmartRef__":true,"id":4722},{"__isSmartRef__":true,"id":4724}],"vector":{"__isSmartRef__":true,"id":4433},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4722":{"offset":0,"color":{"__isSmartRef__":true,"id":4723}},"4723":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4724":{"offset":1,"color":{"__isSmartRef__":true,"id":4725}},"4725":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4726":{"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"},"4727":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4728":{"x":0,"y":344,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4729":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4730":{"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"},"4731":{"morph":{"__isSmartRef__":true,"id":4700},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4732":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4733":{"resizeWidth":true},"4734":{"onTouchStart":{"__isSmartRef__":true,"id":4443},"onTouchMove":{"__isSmartRef__":true,"id":4447},"onTouchEnd":{"__isSmartRef__":true,"id":4451}},"4735":{"position":{"__isSmartRef__":true,"id":4736},"_Extent":{"__isSmartRef__":true,"id":4737},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4738},"_Fill":{"__isSmartRef__":true,"id":4739},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4740},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4741},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4736":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4737":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4738":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4739":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4740":{"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"},"4741":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4742":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4743":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4744":{"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"},"4745":{"morph":{"__isSmartRef__":true,"id":4406},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4746":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4747":{"resizeWidth":true,"adjustForNewBounds":true},"4748":{"onTouchStart":{"__isSmartRef__":true,"id":4749},"onTouchMove":{"__isSmartRef__":true,"id":4757},"onTouchEnd":{"__isSmartRef__":true,"id":4765},"stayInBounds":{"__isSmartRef__":true,"id":4773},"isInBounds":{"__isSmartRef__":true,"id":4777}},"4749":{"varMapping":{"__isSmartRef__":true,"id":4750},"source":"function onTouchStart(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n\n if(touch) {\n touch.originalDragOffset = touch.clientY;\n touch.originalMenuOffset = this.getPosition().y;\n\n this.isTouched = true;\n this.velocity = 0;\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = new Date().valueOf();\n }\n return true;\n\n \n}","funcProperties":{"__isSmartRef__":true,"id":4755},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4750":{"this":{"__isSmartRef__":true,"id":4406},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4751}},"4751":{"$super":{"__isSmartRef__":true,"id":4752}},"4752":{"varMapping":{"__isSmartRef__":true,"id":4753},"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":4754},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4753":{"obj":{"__isSmartRef__":true,"id":4406},"name":"onTouchStart"},"4754":{},"4755":{"timestamp":{"__isSmartRef__":true,"id":4756},"user":"sstamm","tags":[]},"4756":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (CET)"},"4757":{"varMapping":{"__isSmartRef__":true,"id":4758},"source":"function onTouchMove(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n \n if(touch && touch.originalDragOffset) {\n //TODO: Store this attributes in the object to save computation time\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu-heightContainer;\n\n\n var delta = touch.clientY - touch.originalDragOffset;\n this.setPosition(pt(0,touch.originalMenuOffset+delta));\n\n if(!this.isInBounds()) {\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n delta = this.getPosition().y-yPos;\n this.moveBy(pt(0,-delta/2));\n }\n\n var positionDelta = touch.lastTouch-touch.clientY;\n var now = new Date().valueOf();\n var timeDelta = now - touch.lastUpdate;\n\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = now;\n\n this.velocity = positionDelta*(-10/timeDelta);\n \n\n }\n return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":4763},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4758":{"this":{"__isSmartRef__":true,"id":4406},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4759}},"4759":{"$super":{"__isSmartRef__":true,"id":4760}},"4760":{"varMapping":{"__isSmartRef__":true,"id":4761},"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":4762},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4761":{"obj":{"__isSmartRef__":true,"id":4406},"name":"onTouchMove"},"4762":{},"4763":{"timestamp":{"__isSmartRef__":true,"id":4764},"user":"sstamm","tags":[]},"4764":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:54:39 GMT+0100 (CET)"},"4765":{"varMapping":{"__isSmartRef__":true,"id":4766},"source":"function onTouchEnd(evt) {\n $world.get(\"TouchList\").submorphs[0];\n var lastUpdate = new Date().valueOf();\n this.isTouched = false;\n var that = this;\n\n var flickingFct = function() {\n var now = new Date().valueOf();\n var delta = now - lastUpdate;\n var velo;\n that.velocity *= Math.pow(0.99, delta);\n that.moveBy(pt(0,that.velocity));\n that.stayInBounds();\n velo = that.velocity;\n \n lastUpdate = now;\n if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":4771},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4766":{"this":{"__isSmartRef__":true,"id":4406},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4767}},"4767":{"$super":{"__isSmartRef__":true,"id":4768}},"4768":{"varMapping":{"__isSmartRef__":true,"id":4769},"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":4770},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4769":{"obj":{"__isSmartRef__":true,"id":4406},"name":"onTouchEnd"},"4770":{},"4771":{"timestamp":{"__isSmartRef__":true,"id":4772},"user":"sstamm","tags":[]},"4772":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (CET)"},"4773":{"varMapping":{"__isSmartRef__":true,"id":4774},"source":"function stayInBounds() {\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta!=0) {\n this.velocity = -delta/15;\n }\n// this.setPosition(pt(0,yPos));\n\n}","funcProperties":{"__isSmartRef__":true,"id":4775},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4774":{"this":{"__isSmartRef__":true,"id":4406}},"4775":{"timestamp":{"__isSmartRef__":true,"id":4776},"user":"sstamm","tags":[]},"4776":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (CET)"},"4777":{"varMapping":{"__isSmartRef__":true,"id":4778},"source":"function isInBounds() {\n var heightMenu = this.owner.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":4779},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4778":{"this":{"__isSmartRef__":true,"id":4406}},"4779":{"timestamp":{"__isSmartRef__":true,"id":4780},"user":"sstamm","tags":[]},"4780":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (CET)"},"4781":{"position":{"__isSmartRef__":true,"id":4782},"_Extent":{"__isSmartRef__":true,"id":4783},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4784},"_Fill":{"__isSmartRef__":true,"id":4785},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4786},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":4787},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4782":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4783":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4784":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4785":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4786":{},"4787":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4788":{"x":7,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4789":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A morph which behaves like an IPad list. Use initialize() to clear and addItem() to ... well ... add items","migrationLevel":4,"partName":"TouchList","changes":[{"__isSmartRef__":true,"id":4790},{"__isSmartRef__":true,"id":4792},{"__isSmartRef__":true,"id":4794},{"__isSmartRef__":true,"id":4796}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4790":{"date":{"__isSmartRef__":true,"id":4791},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"4791":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (CET)"},"4792":{"date":{"__isSmartRef__":true,"id":4793},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"4793":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (CET)"},"4794":{"date":{"__isSmartRef__":true,"id":4795},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"4795":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (CET)"},"4796":{"date":{"__isSmartRef__":true,"id":4797},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"4797":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (CET)"},"4798":{"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"},"4799":{"morph":{"__isSmartRef__":true,"id":4405},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4800":{"sourceObj":{"__isSmartRef__":true,"id":4405},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":4405},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4801":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4802":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"4803":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4804":{"onrestore":{"__isSmartRef__":true,"id":4805},"initialize":{"__isSmartRef__":true,"id":4813},"addItem":{"__isSmartRef__":true,"id":4821},"createListItem":{"__isSmartRef__":true,"id":4825},"touchstartCallback":{"__isSmartRef__":true,"id":4443},"touchmoveCallback":{"__isSmartRef__":true,"id":4447},"touchendCallback":{"__isSmartRef__":true,"id":4451},"updateSelection":{"__isSmartRef__":true,"id":4829},"handleClick":{"__isSmartRef__":true,"id":4833},"initializeListEntries":{"__isSmartRef__":true,"id":4837}},"4805":{"varMapping":{"__isSmartRef__":true,"id":4806},"source":"function onrestore() {\n var that = this;\n\n //TODO: this is a race condition, because the render context is not\n // ready in onrestore\n window.setTimeout(function() { \n that.shape.setClipMode(\"hidden\"); }, 100);\n}","funcProperties":{"__isSmartRef__":true,"id":4811},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4806":{"this":{"__isSmartRef__":true,"id":4405},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4807}},"4807":{"$super":{"__isSmartRef__":true,"id":4808}},"4808":{"varMapping":{"__isSmartRef__":true,"id":4809},"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":4810},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4809":{"obj":{"__isSmartRef__":true,"id":4405},"name":"onrestore"},"4810":{},"4811":{"timestamp":{"__isSmartRef__":true,"id":4812},"user":"sstamm","tags":[]},"4812":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (CET)"},"4813":{"varMapping":{"__isSmartRef__":true,"id":4814},"source":"function initialize() {\n console.log(\"in initialize\");\n this.itemList = [];\n this.selection = null;\n this.selectedLineNo = -1;\n this.selectedMorph = null;\n this.shape.setClipMode(\"hidden\");\n var itemContainer = this.get(\"ListItemContainer\");\n \n itemContainer.setPosition(pt(0,0));\n itemContainer.submorphs.invoke(\"remove\");\n \n}","funcProperties":{"__isSmartRef__":true,"id":4819},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4814":{"this":{"__isSmartRef__":true,"id":4405},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4815}},"4815":{"$super":{"__isSmartRef__":true,"id":4816}},"4816":{"varMapping":{"__isSmartRef__":true,"id":4817},"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":4818},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4817":{"obj":{"__isSmartRef__":true,"id":4405},"name":"initialize"},"4818":{},"4819":{"timestamp":{"__isSmartRef__":true,"id":4820},"user":"sstamm","tags":[]},"4820":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (CET)"},"4821":{"varMapping":{"__isSmartRef__":true,"id":4822},"source":"function addItem(text) {\n var newMorph = this.createListItem(text);\n \n newMorph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(newMorph);\n this.get(\"ListItemContainer\").addMorph(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":4823},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4822":{"this":{"__isSmartRef__":true,"id":4405}},"4823":{"timestamp":{"__isSmartRef__":true,"id":4824},"user":"sstamm","tags":[]},"4824":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (CET)"},"4825":{"varMapping":{"__isSmartRef__":true,"id":4826},"source":"function createListItem(textString) {\n var part = lively.PartsBin.getPart(\"Rectangle\", \"PartsBin/Basic\");\n\n part.index = this.itemList.length;\n\n part.setExtent(pt(this.getExtent().x,44));\n part.applyStyle({resizeWidth: true});\n part.setFill(new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n ));\n part.setBorderColor(Color.rgb(138,138,138));\n \n\n\n part.onTouchStart = this.touchstartCallback;\n part.onTouchMove = this.touchmoveCallback;\n part.onTouchEnd = this.touchendCallback;\n\n part.registerForEvent(\"touchstart\", part, \"onTouchStart\", false);\n part.registerForEvent(\"touchmove\", part, \"onTouchMove\", false);\n part.registerForEvent(\"touchend\", part, \"onTouchEnd\", false);\n\n var text = lively.PartsBin.getPart(\"Text\", \"PartsBin/Basic\");\n text.setFontSize(14);\n text.setTextColor(Color.rgb(47,47,47));\n text.setFontFamily(\"Helvetica, Arial, sans-serif\");\n\n text.setPosition(pt(10,10));\n text.textString = textString;\n\n text.emphasizeAll({fontWeight: 'bold'});\n text.disableHalos();\n part.addMorph(text);\n\n return part;\n}","funcProperties":{"__isSmartRef__":true,"id":4827},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4826":{"this":{"__isSmartRef__":true,"id":4405}},"4827":{"timestamp":{"__isSmartRef__":true,"id":4828},"user":"sstamm","tags":[]},"4828":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (CET)"},"4829":{"varMapping":{"__isSmartRef__":true,"id":4830},"source":"function updateSelection(newSelectedMorph) {\n var hasText = true;\n if(this.selectedMorph) {\n hasText = this.selectedMorph.submorphs[0];\n this.selectedMorph.setFill(\n new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n )\n );\n if(hasText) { this.selectedMorph.submorphs[0].setTextColor(Color.rgb(47,47,47));\n }\n }\n hasText = newSelectedMorph.submorphs[0];\n\n \n if(hasText) {\n this.selection = newSelectedMorph.submorphs[0].textString;\n } else {\n this.selection = \"\";\n }\n this.selectedLineNo = newSelectedMorph.index;\n this.selectedMorph = newSelectedMorph;\n \n this.selectedMorph.setFill(\nnew lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(47,47,47)},\n {offset:0.5,color: Color.rgb(21,21,21)},\n {offset: 1, color: Color.rgb(0,0,0)}\n ],\n 'northSouth'\n ));\n \n if(hasText) {\n this.selectedMorph.submorphs[0].setTextColor(Color.rgb(222,222,222));\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4831},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4830":{"this":{"__isSmartRef__":true,"id":4405}},"4831":{"timestamp":{"__isSmartRef__":true,"id":4832},"user":"sstamm","tags":[]},"4832":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (CET)"},"4833":{"varMapping":{"__isSmartRef__":true,"id":4834},"source":"function handleClick() {\n switch(this.selection){\n case \"PartsBin\":\n $world.openPartsBin();\n $world.hideMockMenu();\n break;\n case \"Parts\":\n this.owner.showList(this.selection);\n break;\n case \"Ellipse\":\n case \"Image\":\n case \"Line\":\n case \"Rectangle\":\n case \"Text\":\n $world.openPartItem(this.selection, \"PartsBin/Basic\");\n $world.hideMockMenu();\n break;\n case \"Button\":\n case \"List\":\n case \"ScriptableButton\":\n case \"Slider\":\n $world.openPartItem(this.selection, \"PartsBin/Inputs\");\n $world.hideMockMenu();\n break;\n case \"Tools\":\n this.owner.showList(this.selection);\n break;\n case \"Workspace\":\n $world.openWorkspace();\n $world.hideMockMenu();\n break;\n case \"System Code Browser\":\n $world.openSystemBrowser();\n $world.hideMockMenu();\n break;\n case \"Object Editor\":\n $world.openObjectEditor();\n $world.hideMockMenu();\n break;\n case \"Method Finder\":\n $world.openMethodFinder();\n $world.hideMockMenu();\n break;\n case \"Text Editor\":\n new lively.morphic.TextEditor().openIn(world)\n $world.hideMockMenu();\n break;\n case \"Preferences\":\n this.owner.showList(this.selection);\n break;\n case \"set username\":\n $world.askForUserName();\n $world.hideMockMenu();\n break;\n case \"set extent\":\n $world.askForNewWorldExtent();\n $world.hideMockMenu();\n break;\n case \"disable part caching\":\n $world.hideMockMenu();\n break;\n case \"Debugging\":\n this.owner.showList(this.selection);\n break;\n case \"reset world scale\":\n $world.resetScale();\n $world.hideMockMenu();\n break;\n case \"reset title bars\":\n $world.resetAllTitleBars();\n $world.hideMockMenu();\n break;\n case \"reset button labels\":\n $world.resetAllButtonLabels();\n $world.hideMockMenu();\n break;\n case \"World serialization info\":\n require('lively.persistence.Debugging').toRun(\n function() {\n var json = lively.persistence.Serializer.serialize(world),\n printer = lively.persistence.Debugging.Helper.listObjects(json);\n world.addTextWindow(printer.toString());\n }\n );\n $world.hideMockMenu();\n break;\n case \"clear part cache\":\n $world.hideMockMenu();\n break;\n case \"show connectors\":\n $world.hideMockMenu();\n break;\n case \"Wiki\":\n this.owner.showList(this.selection);\n break;\n case \"about this wiki\":\n $world.openAboutBox();\n $world.hideMockMenu();\n break;\n case \"view versions of this world\":\n $world.openVersionViewer();\n $world.hideMockMenu();\n break;\n case \"download world\":\n require('lively.persistence.StandAlonePackaging').toRun(\n function() {\n lively.persistence.StandAlonePackaging.packageCurrentWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"upload world to Dropbox\":\n require('apps.Dropbox').toRun(\n function() {\n DropboxAPI.uploadArchivedWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"delete world\":\n $world.interactiveDeleteWorldOnServer();\n $world.hideMockMenu();\n break;\n case \"Documentation\":\n this.owner.showList(this.selection);\n break;\n case \"on short cuts\":\n $world.openShortcutDocumentation();\n $world.hideMockMenu();\n break;\n case \"on connect data bindings\":\n $world.openConnectDocumentation();\n $world.hideMockMenu();\n break;\n case \"on Lively's PartsBin\":\n $world.openPartsBinDocumentation();\n $world.hideMockMenu();\n break;\n case \"more...\":\n window.open(Config.rootPath + 'documentation/');\n $world.hideMockMenu();\n break;\n case \"save world as ...\":\n $world.interactiveSaveWorldAs();\n $world.hideMockMenu();\n break;\n case \"save world\":\n $world.saveWorld();\n $world.hideMockMenu();\n break;\n default:\n //Do nothing\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4835},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4834":{"this":{"__isSmartRef__":true,"id":4405}},"4835":{"timestamp":{"__isSmartRef__":true,"id":4836},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"4836":{"isSerializedDate":true,"string":"Tue Jan 31 2012 13:26:04 GMT+0100 (CET)"},"4837":{"varMapping":{"__isSmartRef__":true,"id":4838},"source":"function initializeListEntries() {\n this.initialize();\n list = [\"Ellipse\",\"Image\",\"Line\",\"Rectangle\",\"Text\",\n \"Button\",\"List\",\"ScriptableButton\",\"Slider\"];\n for (var i = 0; i < list.length; i++) {\n this.addItem(list[i]);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4839},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4838":{"this":{"__isSmartRef__":true,"id":4405}},"4839":{"timestamp":{"__isSmartRef__":true,"id":4840},"user":"conradcalmez","tags":[]},"4840":{"isSerializedDate":true,"string":"Tue Jan 31 2012 11:56:41 GMT+0100 (CET)"},"4841":{"onTouchStart":{"__isSmartRef__":true,"id":4842},"onTouchMove":{"__isSmartRef__":true,"id":4850},"onTouchEnd":{"__isSmartRef__":true,"id":4854},"stayInBounds":{"__isSmartRef__":true,"id":4862},"isInBounds":{"__isSmartRef__":true,"id":4866},"removeAllMenuItems":{"__isSmartRef__":true,"id":4870},"addItemMorph":{"__isSmartRef__":true,"id":4874}},"4842":{"varMapping":{"__isSmartRef__":true,"id":4843},"source":"function onTouchStart(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n\n if(touch) {\n touch.originalDragOffset = touch.clientY;\n touch.originalMenuOffset = this.getPosition().y;\n\n this.isTouched = true;\n this.velocity = 0;\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = new Date().valueOf();\n }\n return true;\n\n \n}","funcProperties":{"__isSmartRef__":true,"id":4848},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4843":{"this":{"__isSmartRef__":true,"id":4390},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4844}},"4844":{"$super":{"__isSmartRef__":true,"id":4845}},"4845":{"varMapping":{"__isSmartRef__":true,"id":4846},"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":4847},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4846":{"obj":{"__isSmartRef__":true,"id":4390},"name":"onTouchStart"},"4847":{},"4848":{"timestamp":{"__isSmartRef__":true,"id":4849},"user":"sstamm","tags":[]},"4849":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (CET)"},"4850":{"varMapping":{"__isSmartRef__":true,"id":4851},"source":"function onTouchMove(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n \n if(touch && touch.originalDragOffset) {\n //TODO: Store this attributes in the object to save computation time\n var heightMenu = this.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu-heightContainer;\n\n var x = this.getPosition().x;\n\n var delta = touch.clientY - touch.originalDragOffset;\n this.setPosition(pt(x,touch.originalMenuOffset+delta));\n\n if(!this.isInBounds()) {\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n delta = this.getPosition().y-yPos;\n this.moveBy(pt(0,-delta/2));\n }\n\n var positionDelta = touch.lastTouch-touch.clientY;\n var now = new Date().valueOf();\n var timeDelta = now - touch.lastUpdate;\n\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = now;\n\n this.velocity = positionDelta*(-10/timeDelta);\n \n\n }\n return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":4852},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4851":{"this":{"__isSmartRef__":true,"id":4390}},"4852":{"timestamp":{"__isSmartRef__":true,"id":4853},"user":"sstamm","tags":[]},"4853":{"isSerializedDate":true,"string":"Fri Mar 02 2012 14:08:15 GMT+0100 (CET)"},"4854":{"varMapping":{"__isSmartRef__":true,"id":4855},"source":"function onTouchEnd(evt) {\n $world.get(\"TouchList\").submorphs[0];\n var lastUpdate = new Date().valueOf();\n this.isTouched = false;\n var that = this;\n\n var flickingFct = function() {\n var now = new Date().valueOf();\n var delta = now - lastUpdate;\n var velo;\n that.velocity *= Math.pow(0.99, delta);\n \n that.moveBy(pt(0,that.velocity));\n that.stayInBounds();\n velo = that.velocity;\n \n lastUpdate = now;\n if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":4860},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4855":{"this":{"__isSmartRef__":true,"id":4390},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4856}},"4856":{"$super":{"__isSmartRef__":true,"id":4857}},"4857":{"varMapping":{"__isSmartRef__":true,"id":4858},"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":4859},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4858":{"obj":{"__isSmartRef__":true,"id":4390},"name":"onTouchEnd"},"4859":{},"4860":{"timestamp":{"__isSmartRef__":true,"id":4861},"user":"sstamm","tags":[]},"4861":{"isSerializedDate":true,"string":"Fri Mar 02 2012 14:10:41 GMT+0100 (CET)"},"4862":{"varMapping":{"__isSmartRef__":true,"id":4863},"source":"function stayInBounds() {\n var heightMenu = this.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta!=0) {\n this.velocity = -delta/15;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4864},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4863":{"this":{"__isSmartRef__":true,"id":4390}},"4864":{"timestamp":{"__isSmartRef__":true,"id":4865},"user":"sstamm","tags":[]},"4865":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:01:17 GMT+0100 (CET)"},"4866":{"varMapping":{"__isSmartRef__":true,"id":4867},"source":"function isInBounds() {\n var heightMenu = this.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":4868},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4867":{"this":{"__isSmartRef__":true,"id":4390}},"4868":{"timestamp":{"__isSmartRef__":true,"id":4869},"user":"sstamm","tags":[]},"4869":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:00:09 GMT+0100 (CET)"},"4870":{"varMapping":{"__isSmartRef__":true,"id":4871},"source":"function removeAllMenuItems() {\n this.itemList = [];\n this.setPosition(pt(0,0));\n this.submorphs.invoke(\"remove\");\n}","funcProperties":{"__isSmartRef__":true,"id":4872},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4871":{"this":{"__isSmartRef__":true,"id":4390}},"4872":{"timestamp":{"__isSmartRef__":true,"id":4873},"user":"sstamm","tags":[]},"4873":{"isSerializedDate":true,"string":"Fri Mar 02 2012 11:53:17 GMT+0100 (CET)"},"4874":{"varMapping":{"__isSmartRef__":true,"id":4875},"source":"function addItemMorph(morph) {\n morph.disableDropping();\n this.itemList = this.itemList || [];\n morph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(morph);\n this.addMorph(morph);\n}","funcProperties":{"__isSmartRef__":true,"id":4876},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4875":{"this":{"__isSmartRef__":true,"id":4390}},"4876":{"timestamp":{"__isSmartRef__":true,"id":4877},"user":"sstamm","tags":[]},"4877":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:41:29 GMT+0100 (CET)"},"4878":{"submorphs":[],"scripts":[],"id":"BD4D9938-6594-4DA3-A858-416095AFD91B","shape":{"__isSmartRef__":true,"id":4879},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4886},"showsHalos":false,"name":"ListItemContainer1","partsBinMetaInfo":{"__isSmartRef__":true,"id":4887},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4888},"eventHandler":{"__isSmartRef__":true,"id":4889},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"70193F55-BD62-471E-90CE-6CF2F345BFF8","C29938AD-3221-4AB2-80BA-EBF64E5C8063","F478A91E-32FA-4527-BA77-81009843E6E7","3C2C2181-A589-45A7-B023-FDED3CDFE499","45EE0951-5C82-4C8D-808E-E69D6E6AFFC8","3AB7DC6F-888B-4351-A241-EA890F85280A","7AF9C5F0-EE68-416F-A10D-DD34087715DD","FAD6A6E3-B30D-441E-8E2E-91307AB82819","E8E4AF91-BE65-4070-B253-D631CE0F462C","DD3A6529-0925-4E61-ACD5-6046F08790EF","ABC193E1-1AA2-47B1-A05A-46C0CDB40424","B97A4F9F-8478-437F-A460-0AC7D90A8113","8E912F61-7CE7-4AFA-A5A1-4C092E432DBD","87E25E51-49D4-494F-BF2C-9FA542B14D4A","A2A05923-6ADE-4D34-B83E-E84CC6F0CB13","0A1AC4F5-352B-4574-B31A-9AE34DFC2A60","B55A2795-3FD1-454E-9327-EB0FF7727CEE","6E5B9FD2-3323-4DB2-B699-E9CE0754F260","4B5D7FBB-0C95-46F4-B439-C4267B3C0F30","25718CE0-AD32-46AE-8928-FE788FE6ADFC","6AF65CB7-DD3F-4FC0-98C7-30A789006946","7C51FECE-00A1-4616-B8C7-09161732EA81","78BE6D6E-693B-4397-9219-C336101FDA39","DF0842E0-F505-4F15-91BB-50F84EA0D80A"],"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":4890},"layout":{"__isSmartRef__":true,"id":4891},"lists":{"__isSmartRef__":true,"id":4892},"prevScroll":[0,0],"itemList":[],"_ClipMode":"visible","_Rotation":0,"_Scale":0.998001,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5329},"__LivelyClassName__":"lively.morphic.Box"},"4879":{"position":{"__isSmartRef__":true,"id":4880},"_Extent":{"__isSmartRef__":true,"id":4881},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4882},"_Fill":{"__isSmartRef__":true,"id":4883},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4884},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4885},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4880":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4881":{"x":348,"y":41.903855807759854,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4882":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4883":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4884":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"4885":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4886":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4887":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4888":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4889":{"morph":{"__isSmartRef__":true,"id":4878},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4890":{"x":348,"y":41.903855807759854,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4891":{"resizeWidth":true,"adjustForNewBounds":true},"4892":{"Parts":{"__isSmartRef__":true,"id":4893}},"4893":{"submorphs":[{"__isSmartRef__":true,"id":4894}],"scripts":[],"id":"E20298AE-1569-4E74-AD48-FE1CB408E472","shape":{"__isSmartRef__":true,"id":5269},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5276},"showsHalos":false,"name":"TouchList1","partsBinMetaInfo":{"__isSmartRef__":true,"id":5277},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":5286},"eventHandler":{"__isSmartRef__":true,"id":5287},"attributeConnections":[{"__isSmartRef__":true,"id":5288}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"derivationIds":[127,"86FF1C90-3CC2-44B9-8DEE-1BC214D734AE","EEA7DF22-C343-4B58-A447-43BB95D5405F","9665449D-F0E4-4BCE-854B-48D19C73214E","8B65C997-34DC-4F70-A1BA-266488F1588C","CBDEE8B9-9E1C-44E5-85E6-6D85E0738D59","34806B09-40D4-4BE7-B17E-FFFFDB7B0928","A96DDB06-4250-4386-905D-8B702E91A05F","2D6F8200-15D9-4A2E-8809-3012C71831B8"],"priorExtent":{"__isSmartRef__":true,"id":5289},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":5290},"itemList":[{"__isSmartRef__":true,"id":4895},{"__isSmartRef__":true,"id":4943},{"__isSmartRef__":true,"id":4978},{"__isSmartRef__":true,"id":5013},{"__isSmartRef__":true,"id":5048},{"__isSmartRef__":true,"id":5083},{"__isSmartRef__":true,"id":5118},{"__isSmartRef__":true,"id":5153},{"__isSmartRef__":true,"id":5188}],"_ClipMode":"hidden","selectedMorph":null,"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":5291},"owner":null,"_Visible":false,"_Rotation":0,"_Scale":1,"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5292},"__LivelyClassName__":"lively.morphic.Box"},"4894":{"submorphs":[{"__isSmartRef__":true,"id":4895},{"__isSmartRef__":true,"id":4943},{"__isSmartRef__":true,"id":4978},{"__isSmartRef__":true,"id":5013},{"__isSmartRef__":true,"id":5048},{"__isSmartRef__":true,"id":5083},{"__isSmartRef__":true,"id":5118},{"__isSmartRef__":true,"id":5153},{"__isSmartRef__":true,"id":5188}],"scripts":[],"id":"5BD60918-1B33-4387-8B96-0AA376B1FC62","shape":{"__isSmartRef__":true,"id":5223},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5230},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":5231},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":5232},"eventHandler":{"__isSmartRef__":true,"id":5233},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"70193F55-BD62-471E-90CE-6CF2F345BFF8","C29938AD-3221-4AB2-80BA-EBF64E5C8063","F478A91E-32FA-4527-BA77-81009843E6E7","3C2C2181-A589-45A7-B023-FDED3CDFE499","45EE0951-5C82-4C8D-808E-E69D6E6AFFC8","3AB7DC6F-888B-4351-A241-EA890F85280A","1DB8DDC7-39AB-4B77-BB60-17766F9CFBD1","1EF09C78-2811-4346-B693-8B6E1D79A6EB"],"owner":{"__isSmartRef__":true,"id":4893},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":5234},"layout":{"__isSmartRef__":true,"id":5235},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5236},"__LivelyClassName__":"lively.morphic.Box"},"4895":{"submorphs":[{"__isSmartRef__":true,"id":4896}],"scripts":[],"id":"5FE9FAE5-FB3C-49DA-BB28-F65B377FEB19","shape":{"__isSmartRef__":true,"id":4912},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4924},"showsHalos":false,"name":"Rectangle14","partsBinMetaInfo":{"__isSmartRef__":true,"id":4925},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4926},"eventHandler":{"__isSmartRef__":true,"id":4927},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"3685AFE1-33BB-436C-8346-79C62B534359","607E0175-FDFB-4582-AC22-3CD982C54720"],"index":0,"priorExtent":{"__isSmartRef__":true,"id":4928},"layout":{"__isSmartRef__":true,"id":4929},"owner":{"__isSmartRef__":true,"id":4894},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4930},"__LivelyClassName__":"lively.morphic.Box"},"4896":{"submorphs":[],"scripts":[],"id":"0F8FAFCF-7952-4FCE-ACC6-8C7BED2851BF","shape":{"__isSmartRef__":true,"id":4897},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4903},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4900},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text16","partsBinMetaInfo":{"__isSmartRef__":true,"id":4904},"textChunks":[{"__isSmartRef__":true,"id":4905}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4907},"renderContextTable":{"__isSmartRef__":true,"id":4908},"eventHandler":{"__isSmartRef__":true,"id":4909},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4910},"_ClipMode":"visible","derivationIds":[355,"EC03880B-F51C-4053-97E4-D79A89A6D208","8AC5ABA3-243B-428A-B730-BD07AEC42A6C"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":4911},"owner":{"__isSmartRef__":true,"id":4895},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4897":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4898},"_Extent":{"__isSmartRef__":true,"id":4899},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4900},"renderContextTable":{"__isSmartRef__":true,"id":4901},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4902},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4898":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4899":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4900":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4901":{"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"},"4902":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4903":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4904":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4905":{"style":{"__isSmartRef__":true,"id":4906},"chunkOwner":{"__isSmartRef__":true,"id":4896},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4906":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4907":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4908":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4909":{"morph":{"__isSmartRef__":true,"id":4896},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4910":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4911":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4912":{"position":{"__isSmartRef__":true,"id":4913},"_Extent":{"__isSmartRef__":true,"id":4914},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4915},"_Fill":{"__isSmartRef__":true,"id":4916},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4922},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4923},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4913":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4914":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4915":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4916":{"stops":[{"__isSmartRef__":true,"id":4917},{"__isSmartRef__":true,"id":4919}],"vector":{"__isSmartRef__":true,"id":4921},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4917":{"offset":0,"color":{"__isSmartRef__":true,"id":4918}},"4918":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4919":{"offset":1,"color":{"__isSmartRef__":true,"id":4920}},"4920":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4921":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4922":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4923":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4924":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4925":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4926":{"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"},"4927":{"morph":{"__isSmartRef__":true,"id":4895},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4928":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4929":{"resizeWidth":true},"4930":{"onTouchStart":{"__isSmartRef__":true,"id":4931},"onTouchMove":{"__isSmartRef__":true,"id":4935},"onTouchEnd":{"__isSmartRef__":true,"id":4939}},"4931":{"varMapping":{"__isSmartRef__":true,"id":4932},"source":"function touchstartCallback(evt) {\n var touch = evt.touches[0];\n\n this.clickPosition = pt(touch.clientX,touch.clientY);\n this.lastClickPos = this.clickPosition;\n\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":4933},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4932":{"this":{"__isSmartRef__":true,"id":4893}},"4933":{"timestamp":{"__isSmartRef__":true,"id":4934},"user":"sstamm","tags":[]},"4934":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (CET)"},"4935":{"varMapping":{"__isSmartRef__":true,"id":4936},"source":"function touchmoveCallback(evt) {\n var touch = evt.touches[0];\n \n this.lastClickPos = pt(touch.clientX,touch.clientY);\n\n return false;\n \n}","funcProperties":{"__isSmartRef__":true,"id":4937},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4936":{"this":{"__isSmartRef__":true,"id":4893}},"4937":{"timestamp":{"__isSmartRef__":true,"id":4938},"user":"sstamm","tags":[]},"4938":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (CET)"},"4939":{"varMapping":{"__isSmartRef__":true,"id":4940},"source":"function touchendCallback(evt) {\n var deltaPt = this.lastClickPos.subPt(this.clickPosition);\n var delta = deltaPt.x*deltaPt.x + deltaPt.y*deltaPt.y;\n if(delta<25) {\n //TODO: find a better way to find the related listMorph\n var listMorph = this.owner.owner;\n \n if(listMorph && listMorph.updateSelection) {\n listMorph.updateSelection(this);\n }\n }\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":4941},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4940":{"this":{"__isSmartRef__":true,"id":4893}},"4941":{"timestamp":{"__isSmartRef__":true,"id":4942},"user":"sstamm","tags":[]},"4942":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (CET)"},"4943":{"submorphs":[{"__isSmartRef__":true,"id":4944}],"scripts":[],"id":"CB015488-847F-4196-9BE1-E280870F454B","shape":{"__isSmartRef__":true,"id":4960},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4971},"showsHalos":false,"name":"Rectangle15","partsBinMetaInfo":{"__isSmartRef__":true,"id":4972},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4973},"eventHandler":{"__isSmartRef__":true,"id":4974},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"C66C3F61-C421-4796-92E9-C74B723D902D","F84212CF-37F3-47B4-A68E-0A68C71BDB5C"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":4975},"layout":{"__isSmartRef__":true,"id":4976},"owner":{"__isSmartRef__":true,"id":4894},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4977},"__LivelyClassName__":"lively.morphic.Box"},"4944":{"submorphs":[],"scripts":[],"id":"07BD3541-B089-4FDF-AFF3-DD05491D208C","shape":{"__isSmartRef__":true,"id":4945},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4951},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4948},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text17","partsBinMetaInfo":{"__isSmartRef__":true,"id":4952},"textChunks":[{"__isSmartRef__":true,"id":4953}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4955},"renderContextTable":{"__isSmartRef__":true,"id":4956},"eventHandler":{"__isSmartRef__":true,"id":4957},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4958},"_ClipMode":"visible","derivationIds":[355,"A94B4C37-835A-4F9F-9594-A4469849AE32","EEC5C72F-D611-400E-9279-F996AB5C5D41"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":4959},"owner":{"__isSmartRef__":true,"id":4943},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4945":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4946},"_Extent":{"__isSmartRef__":true,"id":4947},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4948},"renderContextTable":{"__isSmartRef__":true,"id":4949},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4950},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4946":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4947":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4948":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4949":{"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"},"4950":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4951":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4952":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4953":{"style":{"__isSmartRef__":true,"id":4954},"chunkOwner":{"__isSmartRef__":true,"id":4944},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4954":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4955":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4956":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4957":{"morph":{"__isSmartRef__":true,"id":4944},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4958":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4959":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4960":{"position":{"__isSmartRef__":true,"id":4961},"_Extent":{"__isSmartRef__":true,"id":4962},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4963},"_Fill":{"__isSmartRef__":true,"id":4964},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4969},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4970},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4961":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4962":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4963":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4964":{"stops":[{"__isSmartRef__":true,"id":4965},{"__isSmartRef__":true,"id":4967}],"vector":{"__isSmartRef__":true,"id":4921},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4965":{"offset":0,"color":{"__isSmartRef__":true,"id":4966}},"4966":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4967":{"offset":1,"color":{"__isSmartRef__":true,"id":4968}},"4968":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4969":{"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"},"4970":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4971":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4972":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4973":{"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"},"4974":{"morph":{"__isSmartRef__":true,"id":4943},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4975":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4976":{"resizeWidth":true},"4977":{"onTouchStart":{"__isSmartRef__":true,"id":4931},"onTouchMove":{"__isSmartRef__":true,"id":4935},"onTouchEnd":{"__isSmartRef__":true,"id":4939}},"4978":{"submorphs":[{"__isSmartRef__":true,"id":4979}],"scripts":[],"id":"E5B57597-1832-4144-8C80-CB87E8A22845","shape":{"__isSmartRef__":true,"id":4995},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5006},"showsHalos":false,"name":"Rectangle16","partsBinMetaInfo":{"__isSmartRef__":true,"id":5007},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":5008},"eventHandler":{"__isSmartRef__":true,"id":5009},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"7A12DA17-ED87-4021-A663-F310BE5DF0EB","9AB3A5B3-5924-4A09-9B31-22623502DB9B"],"index":2,"priorExtent":{"__isSmartRef__":true,"id":5010},"layout":{"__isSmartRef__":true,"id":5011},"owner":{"__isSmartRef__":true,"id":4894},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5012},"__LivelyClassName__":"lively.morphic.Box"},"4979":{"submorphs":[],"scripts":[],"id":"0FFBB803-65DB-43F4-9887-6DC2EE1628AF","shape":{"__isSmartRef__":true,"id":4980},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4986},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4983},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text18","partsBinMetaInfo":{"__isSmartRef__":true,"id":4987},"textChunks":[{"__isSmartRef__":true,"id":4988}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4990},"renderContextTable":{"__isSmartRef__":true,"id":4991},"eventHandler":{"__isSmartRef__":true,"id":4992},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4993},"_ClipMode":"visible","derivationIds":[355,"D1406DCD-1B6B-4823-AA26-EF7C62BA46B4","851AD306-E5F9-4FF1-8E9F-F3B6CF012A6E"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":4994},"owner":{"__isSmartRef__":true,"id":4978},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4980":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4981},"_Extent":{"__isSmartRef__":true,"id":4982},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4983},"renderContextTable":{"__isSmartRef__":true,"id":4984},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4985},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4981":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4982":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4983":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4984":{"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"},"4985":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4986":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4987":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4988":{"style":{"__isSmartRef__":true,"id":4989},"chunkOwner":{"__isSmartRef__":true,"id":4979},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4989":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4990":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4991":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4992":{"morph":{"__isSmartRef__":true,"id":4979},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4993":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4994":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4995":{"position":{"__isSmartRef__":true,"id":4996},"_Extent":{"__isSmartRef__":true,"id":4997},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4998},"_Fill":{"__isSmartRef__":true,"id":4999},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":5004},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5005},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4996":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4997":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4998":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4999":{"stops":[{"__isSmartRef__":true,"id":5000},{"__isSmartRef__":true,"id":5002}],"vector":{"__isSmartRef__":true,"id":4921},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"5000":{"offset":0,"color":{"__isSmartRef__":true,"id":5001}},"5001":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5002":{"offset":1,"color":{"__isSmartRef__":true,"id":5003}},"5003":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5004":{"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"},"5005":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5006":{"x":0,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5007":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5008":{"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"},"5009":{"morph":{"__isSmartRef__":true,"id":4978},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5010":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5011":{"resizeWidth":true},"5012":{"onTouchStart":{"__isSmartRef__":true,"id":4931},"onTouchMove":{"__isSmartRef__":true,"id":4935},"onTouchEnd":{"__isSmartRef__":true,"id":4939}},"5013":{"submorphs":[{"__isSmartRef__":true,"id":5014}],"scripts":[],"id":"79A2AEFF-B1C8-4968-80B5-4304E1F3572D","shape":{"__isSmartRef__":true,"id":5030},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5041},"showsHalos":false,"name":"Rectangle17","partsBinMetaInfo":{"__isSmartRef__":true,"id":5042},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":5043},"eventHandler":{"__isSmartRef__":true,"id":5044},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"589B1B1C-5D03-4FBB-96B6-FB985B606C29","9335E5B1-C72C-47D7-BE82-8FE7C5FEFCA1"],"index":3,"priorExtent":{"__isSmartRef__":true,"id":5045},"layout":{"__isSmartRef__":true,"id":5046},"owner":{"__isSmartRef__":true,"id":4894},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5047},"__LivelyClassName__":"lively.morphic.Box"},"5014":{"submorphs":[],"scripts":[],"id":"9A151460-6715-434E-A92D-42C882B923B9","shape":{"__isSmartRef__":true,"id":5015},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5021},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":5018},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text19","partsBinMetaInfo":{"__isSmartRef__":true,"id":5022},"textChunks":[{"__isSmartRef__":true,"id":5023}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":5025},"renderContextTable":{"__isSmartRef__":true,"id":5026},"eventHandler":{"__isSmartRef__":true,"id":5027},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":5028},"_ClipMode":"visible","derivationIds":[355,"04DE868C-5CE9-4416-865E-8EF6F84BCCA3","373735A1-3F28-454A-896D-785F4CA54B42"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":5029},"owner":{"__isSmartRef__":true,"id":5013},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"5015":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":5016},"_Extent":{"__isSmartRef__":true,"id":5017},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":5018},"renderContextTable":{"__isSmartRef__":true,"id":5019},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5020},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5016":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5017":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5018":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5019":{"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"},"5020":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5021":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5022":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5023":{"style":{"__isSmartRef__":true,"id":5024},"chunkOwner":{"__isSmartRef__":true,"id":5014},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"5024":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"5025":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5026":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"5027":{"morph":{"__isSmartRef__":true,"id":5014},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5028":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5029":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5030":{"position":{"__isSmartRef__":true,"id":5031},"_Extent":{"__isSmartRef__":true,"id":5032},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":5033},"_Fill":{"__isSmartRef__":true,"id":5034},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":5039},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5040},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5031":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5032":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5033":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5034":{"stops":[{"__isSmartRef__":true,"id":5035},{"__isSmartRef__":true,"id":5037}],"vector":{"__isSmartRef__":true,"id":4921},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"5035":{"offset":0,"color":{"__isSmartRef__":true,"id":5036}},"5036":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5037":{"offset":1,"color":{"__isSmartRef__":true,"id":5038}},"5038":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5039":{"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"},"5040":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5041":{"x":0,"y":129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5042":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5043":{"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"},"5044":{"morph":{"__isSmartRef__":true,"id":5013},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5045":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5046":{"resizeWidth":true},"5047":{"onTouchStart":{"__isSmartRef__":true,"id":4931},"onTouchMove":{"__isSmartRef__":true,"id":4935},"onTouchEnd":{"__isSmartRef__":true,"id":4939}},"5048":{"submorphs":[{"__isSmartRef__":true,"id":5049}],"scripts":[],"id":"3142743E-6C66-4445-8A87-D7D178EF64F4","shape":{"__isSmartRef__":true,"id":5065},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5076},"showsHalos":false,"name":"Rectangle18","partsBinMetaInfo":{"__isSmartRef__":true,"id":5077},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":5078},"eventHandler":{"__isSmartRef__":true,"id":5079},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F5519D67-A069-4C3A-ACE8-0AA375A7E34A","59FBAB8D-A12D-4449-AD33-9060CCD6002D"],"index":4,"priorExtent":{"__isSmartRef__":true,"id":5080},"layout":{"__isSmartRef__":true,"id":5081},"owner":{"__isSmartRef__":true,"id":4894},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5082},"__LivelyClassName__":"lively.morphic.Box"},"5049":{"submorphs":[],"scripts":[],"id":"306A19BD-DBB7-4F0C-833C-614F75D992AA","shape":{"__isSmartRef__":true,"id":5050},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5056},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":5053},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text20","partsBinMetaInfo":{"__isSmartRef__":true,"id":5057},"textChunks":[{"__isSmartRef__":true,"id":5058}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":5060},"renderContextTable":{"__isSmartRef__":true,"id":5061},"eventHandler":{"__isSmartRef__":true,"id":5062},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":5063},"_ClipMode":"visible","derivationIds":[355,"0F3AE3FA-2B37-4FB7-9A76-FCCC9E93833A","A5006B05-E83D-4E10-807D-3F2210FF5C28"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":5064},"owner":{"__isSmartRef__":true,"id":5048},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"5050":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":5051},"_Extent":{"__isSmartRef__":true,"id":5052},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":5053},"renderContextTable":{"__isSmartRef__":true,"id":5054},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5055},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5051":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5052":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5053":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5054":{"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"},"5055":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5056":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5057":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5058":{"style":{"__isSmartRef__":true,"id":5059},"chunkOwner":{"__isSmartRef__":true,"id":5049},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"5059":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"5060":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5061":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"5062":{"morph":{"__isSmartRef__":true,"id":5049},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5063":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5064":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5065":{"position":{"__isSmartRef__":true,"id":5066},"_Extent":{"__isSmartRef__":true,"id":5067},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":5068},"_Fill":{"__isSmartRef__":true,"id":5069},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":5074},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5075},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5066":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5067":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5068":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5069":{"stops":[{"__isSmartRef__":true,"id":5070},{"__isSmartRef__":true,"id":5072}],"vector":{"__isSmartRef__":true,"id":4921},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"5070":{"offset":0,"color":{"__isSmartRef__":true,"id":5071}},"5071":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5072":{"offset":1,"color":{"__isSmartRef__":true,"id":5073}},"5073":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5074":{"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"},"5075":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5076":{"x":0,"y":172,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5077":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5078":{"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"},"5079":{"morph":{"__isSmartRef__":true,"id":5048},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5080":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5081":{"resizeWidth":true},"5082":{"onTouchStart":{"__isSmartRef__":true,"id":4931},"onTouchMove":{"__isSmartRef__":true,"id":4935},"onTouchEnd":{"__isSmartRef__":true,"id":4939}},"5083":{"submorphs":[{"__isSmartRef__":true,"id":5084}],"scripts":[],"id":"6BBC35B8-F512-41B1-B8A8-18380EDD2C38","shape":{"__isSmartRef__":true,"id":5100},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5111},"showsHalos":false,"name":"Rectangle19","partsBinMetaInfo":{"__isSmartRef__":true,"id":5112},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":5113},"eventHandler":{"__isSmartRef__":true,"id":5114},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"14E2899E-FDE9-4DE2-A233-224D0A32A245","F2B3022A-6E1B-483B-A901-616629F13A6F"],"index":5,"priorExtent":{"__isSmartRef__":true,"id":5115},"layout":{"__isSmartRef__":true,"id":5116},"owner":{"__isSmartRef__":true,"id":4894},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5117},"__LivelyClassName__":"lively.morphic.Box"},"5084":{"submorphs":[],"scripts":[],"id":"8AB82126-B9DF-471F-A525-BB94F76B665D","shape":{"__isSmartRef__":true,"id":5085},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5091},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":5088},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text21","partsBinMetaInfo":{"__isSmartRef__":true,"id":5092},"textChunks":[{"__isSmartRef__":true,"id":5093}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":5095},"renderContextTable":{"__isSmartRef__":true,"id":5096},"eventHandler":{"__isSmartRef__":true,"id":5097},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":5098},"_ClipMode":"visible","derivationIds":[355,"4740724F-00A9-4F70-9787-A01B0FB0AE84","58940F01-B24D-4CEA-A4C9-50ED9AD21410"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":5099},"owner":{"__isSmartRef__":true,"id":5083},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"5085":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":5086},"_Extent":{"__isSmartRef__":true,"id":5087},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":5088},"renderContextTable":{"__isSmartRef__":true,"id":5089},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5090},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5086":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5087":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5088":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5089":{"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"},"5090":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5091":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5092":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5093":{"style":{"__isSmartRef__":true,"id":5094},"chunkOwner":{"__isSmartRef__":true,"id":5084},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"5094":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"5095":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5096":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"5097":{"morph":{"__isSmartRef__":true,"id":5084},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5098":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5099":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5100":{"position":{"__isSmartRef__":true,"id":5101},"_Extent":{"__isSmartRef__":true,"id":5102},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":5103},"_Fill":{"__isSmartRef__":true,"id":5104},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":5109},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5110},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5101":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5102":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5103":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5104":{"stops":[{"__isSmartRef__":true,"id":5105},{"__isSmartRef__":true,"id":5107}],"vector":{"__isSmartRef__":true,"id":4921},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"5105":{"offset":0,"color":{"__isSmartRef__":true,"id":5106}},"5106":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5107":{"offset":1,"color":{"__isSmartRef__":true,"id":5108}},"5108":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5109":{"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"},"5110":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5111":{"x":0,"y":215,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5112":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5113":{"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"},"5114":{"morph":{"__isSmartRef__":true,"id":5083},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5115":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5116":{"resizeWidth":true},"5117":{"onTouchStart":{"__isSmartRef__":true,"id":4931},"onTouchMove":{"__isSmartRef__":true,"id":4935},"onTouchEnd":{"__isSmartRef__":true,"id":4939}},"5118":{"submorphs":[{"__isSmartRef__":true,"id":5119}],"scripts":[],"id":"C58D383C-F3A5-4D01-8B41-05DA6C61D290","shape":{"__isSmartRef__":true,"id":5135},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5146},"showsHalos":false,"name":"Rectangle20","partsBinMetaInfo":{"__isSmartRef__":true,"id":5147},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":5148},"eventHandler":{"__isSmartRef__":true,"id":5149},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"1D856615-6103-491F-924E-274FD76E3EDA","868F296C-68D3-4896-A01F-A994BF66D021"],"index":6,"priorExtent":{"__isSmartRef__":true,"id":5150},"layout":{"__isSmartRef__":true,"id":5151},"owner":{"__isSmartRef__":true,"id":4894},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5152},"__LivelyClassName__":"lively.morphic.Box"},"5119":{"submorphs":[],"scripts":[],"id":"E14CE99E-3E37-4C3D-9BC0-6A739D1C5E3A","shape":{"__isSmartRef__":true,"id":5120},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5126},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":5123},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text22","partsBinMetaInfo":{"__isSmartRef__":true,"id":5127},"textChunks":[{"__isSmartRef__":true,"id":5128}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":5130},"renderContextTable":{"__isSmartRef__":true,"id":5131},"eventHandler":{"__isSmartRef__":true,"id":5132},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":5133},"_ClipMode":"visible","derivationIds":[355,"C8062D9B-D328-465D-997B-9B0AC5F4C985","A2498368-5D61-458F-8B9E-953A1D5EA943"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":5134},"owner":{"__isSmartRef__":true,"id":5118},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"5120":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":5121},"_Extent":{"__isSmartRef__":true,"id":5122},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":5123},"renderContextTable":{"__isSmartRef__":true,"id":5124},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5125},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5121":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5122":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5123":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5124":{"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"},"5125":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5126":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5127":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5128":{"style":{"__isSmartRef__":true,"id":5129},"chunkOwner":{"__isSmartRef__":true,"id":5119},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"5129":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"5130":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5131":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"5132":{"morph":{"__isSmartRef__":true,"id":5119},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5133":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5134":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5135":{"position":{"__isSmartRef__":true,"id":5136},"_Extent":{"__isSmartRef__":true,"id":5137},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":5138},"_Fill":{"__isSmartRef__":true,"id":5139},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":5144},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5145},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5136":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5137":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5138":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5139":{"stops":[{"__isSmartRef__":true,"id":5140},{"__isSmartRef__":true,"id":5142}],"vector":{"__isSmartRef__":true,"id":4921},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"5140":{"offset":0,"color":{"__isSmartRef__":true,"id":5141}},"5141":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5142":{"offset":1,"color":{"__isSmartRef__":true,"id":5143}},"5143":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5144":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5145":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5146":{"x":0,"y":258,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5147":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5148":{"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"},"5149":{"morph":{"__isSmartRef__":true,"id":5118},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5150":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5151":{"resizeWidth":true},"5152":{"onTouchStart":{"__isSmartRef__":true,"id":4931},"onTouchMove":{"__isSmartRef__":true,"id":4935},"onTouchEnd":{"__isSmartRef__":true,"id":4939}},"5153":{"submorphs":[{"__isSmartRef__":true,"id":5154}],"scripts":[],"id":"E0CCB80E-08B5-45B8-A4CB-80B59BF3EC9C","shape":{"__isSmartRef__":true,"id":5170},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5181},"showsHalos":false,"name":"Rectangle21","partsBinMetaInfo":{"__isSmartRef__":true,"id":5182},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":5183},"eventHandler":{"__isSmartRef__":true,"id":5184},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"EE7DA9BE-241E-4272-A8F9-8F6BD7A79357","4653004D-70CE-483A-9F04-F421C7F1EC2C"],"index":7,"priorExtent":{"__isSmartRef__":true,"id":5185},"layout":{"__isSmartRef__":true,"id":5186},"owner":{"__isSmartRef__":true,"id":4894},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5187},"__LivelyClassName__":"lively.morphic.Box"},"5154":{"submorphs":[],"scripts":[],"id":"42D8B1FB-AE40-4619-B97E-54FCCF140863","shape":{"__isSmartRef__":true,"id":5155},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5161},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":5158},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text23","partsBinMetaInfo":{"__isSmartRef__":true,"id":5162},"textChunks":[{"__isSmartRef__":true,"id":5163}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":5165},"renderContextTable":{"__isSmartRef__":true,"id":5166},"eventHandler":{"__isSmartRef__":true,"id":5167},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":5168},"_ClipMode":"visible","derivationIds":[355,"D10C9D67-E7D7-4B96-89C5-A542439C15AA","34BCB687-561E-4E96-8ACE-53622B72CB1E"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":5169},"owner":{"__isSmartRef__":true,"id":5153},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"5155":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":5156},"_Extent":{"__isSmartRef__":true,"id":5157},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":5158},"renderContextTable":{"__isSmartRef__":true,"id":5159},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5160},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5156":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5157":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5158":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5159":{"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"},"5160":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5161":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5162":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5163":{"style":{"__isSmartRef__":true,"id":5164},"chunkOwner":{"__isSmartRef__":true,"id":5154},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"5164":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"5165":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5166":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"5167":{"morph":{"__isSmartRef__":true,"id":5154},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5168":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5169":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5170":{"position":{"__isSmartRef__":true,"id":5171},"_Extent":{"__isSmartRef__":true,"id":5172},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":5173},"_Fill":{"__isSmartRef__":true,"id":5174},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":5179},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5180},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5171":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5172":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5173":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5174":{"stops":[{"__isSmartRef__":true,"id":5175},{"__isSmartRef__":true,"id":5177}],"vector":{"__isSmartRef__":true,"id":4921},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"5175":{"offset":0,"color":{"__isSmartRef__":true,"id":5176}},"5176":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5177":{"offset":1,"color":{"__isSmartRef__":true,"id":5178}},"5178":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5179":{"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"},"5180":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5181":{"x":0,"y":301,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5182":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5183":{"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"},"5184":{"morph":{"__isSmartRef__":true,"id":5153},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5185":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5186":{"resizeWidth":true},"5187":{"onTouchStart":{"__isSmartRef__":true,"id":4931},"onTouchMove":{"__isSmartRef__":true,"id":4935},"onTouchEnd":{"__isSmartRef__":true,"id":4939}},"5188":{"submorphs":[{"__isSmartRef__":true,"id":5189}],"scripts":[],"id":"FB9DAD23-0505-4F0D-A6B4-6E772E694DF4","shape":{"__isSmartRef__":true,"id":5205},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5216},"showsHalos":false,"name":"Rectangle22","partsBinMetaInfo":{"__isSmartRef__":true,"id":5217},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":5218},"eventHandler":{"__isSmartRef__":true,"id":5219},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"2E1D745F-41F1-4D02-B340-3A77BEE1B7C3","77FFD08B-D46C-4713-9726-A96F693E887E"],"index":8,"priorExtent":{"__isSmartRef__":true,"id":5220},"layout":{"__isSmartRef__":true,"id":5221},"owner":{"__isSmartRef__":true,"id":4894},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5222},"__LivelyClassName__":"lively.morphic.Box"},"5189":{"submorphs":[],"scripts":[],"id":"B71F6F46-B717-4A5F-951D-77417F7E6EFD","shape":{"__isSmartRef__":true,"id":5190},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5196},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":5193},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text24","partsBinMetaInfo":{"__isSmartRef__":true,"id":5197},"textChunks":[{"__isSmartRef__":true,"id":5198}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":5200},"renderContextTable":{"__isSmartRef__":true,"id":5201},"eventHandler":{"__isSmartRef__":true,"id":5202},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":5203},"_ClipMode":"visible","derivationIds":[355,"73E4BF5B-12F7-4288-A9ED-02155EB86DB2","D705F0F9-9142-4B7A-894C-5230E2C923C4"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":5204},"owner":{"__isSmartRef__":true,"id":5188},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"5190":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":5191},"_Extent":{"__isSmartRef__":true,"id":5192},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":5193},"renderContextTable":{"__isSmartRef__":true,"id":5194},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5195},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5191":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5192":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5193":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5194":{"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"},"5195":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5196":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5197":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5198":{"style":{"__isSmartRef__":true,"id":5199},"chunkOwner":{"__isSmartRef__":true,"id":5189},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"5199":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"5200":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5201":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"5202":{"morph":{"__isSmartRef__":true,"id":5189},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5203":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5204":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5205":{"position":{"__isSmartRef__":true,"id":5206},"_Extent":{"__isSmartRef__":true,"id":5207},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":5208},"_Fill":{"__isSmartRef__":true,"id":5209},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":5214},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5215},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5206":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5207":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5208":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5209":{"stops":[{"__isSmartRef__":true,"id":5210},{"__isSmartRef__":true,"id":5212}],"vector":{"__isSmartRef__":true,"id":4921},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"5210":{"offset":0,"color":{"__isSmartRef__":true,"id":5211}},"5211":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5212":{"offset":1,"color":{"__isSmartRef__":true,"id":5213}},"5213":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5214":{"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"},"5215":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5216":{"x":0,"y":344,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5217":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5218":{"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"},"5219":{"morph":{"__isSmartRef__":true,"id":5188},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5220":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5221":{"resizeWidth":true},"5222":{"onTouchStart":{"__isSmartRef__":true,"id":4931},"onTouchMove":{"__isSmartRef__":true,"id":4935},"onTouchEnd":{"__isSmartRef__":true,"id":4939}},"5223":{"position":{"__isSmartRef__":true,"id":5224},"_Extent":{"__isSmartRef__":true,"id":5225},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":5226},"_Fill":{"__isSmartRef__":true,"id":5227},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":5228},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5229},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5224":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5225":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5226":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5227":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5228":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"5229":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5230":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5231":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5232":{"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"},"5233":{"morph":{"__isSmartRef__":true,"id":4894},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5234":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5235":{"resizeWidth":true,"adjustForNewBounds":true},"5236":{"onTouchStart":{"__isSmartRef__":true,"id":5237},"onTouchMove":{"__isSmartRef__":true,"id":5245},"onTouchEnd":{"__isSmartRef__":true,"id":5253},"stayInBounds":{"__isSmartRef__":true,"id":5261},"isInBounds":{"__isSmartRef__":true,"id":5265}},"5237":{"varMapping":{"__isSmartRef__":true,"id":5238},"source":"function onTouchStart(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n\n if(touch) {\n touch.originalDragOffset = touch.clientY;\n touch.originalMenuOffset = this.getPosition().y;\n\n this.isTouched = true;\n this.velocity = 0;\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = new Date().valueOf();\n }\n return true;\n\n \n}","funcProperties":{"__isSmartRef__":true,"id":5243},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5238":{"this":{"__isSmartRef__":true,"id":4894},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5239}},"5239":{"$super":{"__isSmartRef__":true,"id":5240}},"5240":{"varMapping":{"__isSmartRef__":true,"id":5241},"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":5242},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5241":{"obj":{"__isSmartRef__":true,"id":4894},"name":"onTouchStart"},"5242":{},"5243":{"timestamp":{"__isSmartRef__":true,"id":5244},"user":"sstamm","tags":[]},"5244":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (CET)"},"5245":{"varMapping":{"__isSmartRef__":true,"id":5246},"source":"function onTouchMove(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n \n if(touch && touch.originalDragOffset) {\n //TODO: Store this attributes in the object to save computation time\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu-heightContainer;\n\n\n var delta = touch.clientY - touch.originalDragOffset;\n this.setPosition(pt(0,touch.originalMenuOffset+delta));\n\n if(!this.isInBounds()) {\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n delta = this.getPosition().y-yPos;\n this.moveBy(pt(0,-delta/2));\n }\n\n var positionDelta = touch.lastTouch-touch.clientY;\n var now = new Date().valueOf();\n var timeDelta = now - touch.lastUpdate;\n\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = now;\n\n this.velocity = positionDelta*(-10/timeDelta);\n \n\n }\n return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":5251},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5246":{"this":{"__isSmartRef__":true,"id":4894},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5247}},"5247":{"$super":{"__isSmartRef__":true,"id":5248}},"5248":{"varMapping":{"__isSmartRef__":true,"id":5249},"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":5250},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5249":{"obj":{"__isSmartRef__":true,"id":4894},"name":"onTouchMove"},"5250":{},"5251":{"timestamp":{"__isSmartRef__":true,"id":5252},"user":"sstamm","tags":[]},"5252":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:54:39 GMT+0100 (CET)"},"5253":{"varMapping":{"__isSmartRef__":true,"id":5254},"source":"function onTouchEnd(evt) {\n $world.get(\"TouchList\").submorphs[0];\n var lastUpdate = new Date().valueOf();\n this.isTouched = false;\n var that = this;\n\n var flickingFct = function() {\n var now = new Date().valueOf();\n var delta = now - lastUpdate;\n var velo;\n that.velocity *= Math.pow(0.99, delta);\n that.moveBy(pt(0,that.velocity));\n that.stayInBounds();\n velo = that.velocity;\n \n lastUpdate = now;\n if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":5259},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5254":{"this":{"__isSmartRef__":true,"id":4894},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5255}},"5255":{"$super":{"__isSmartRef__":true,"id":5256}},"5256":{"varMapping":{"__isSmartRef__":true,"id":5257},"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":5258},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5257":{"obj":{"__isSmartRef__":true,"id":4894},"name":"onTouchEnd"},"5258":{},"5259":{"timestamp":{"__isSmartRef__":true,"id":5260},"user":"sstamm","tags":[]},"5260":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (CET)"},"5261":{"varMapping":{"__isSmartRef__":true,"id":5262},"source":"function stayInBounds() {\n var heightMenu = this.owner.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta!=0) {\n this.velocity = -delta/15;\n }\n// this.setPosition(pt(0,yPos));\n\n}","funcProperties":{"__isSmartRef__":true,"id":5263},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5262":{"this":{"__isSmartRef__":true,"id":4894}},"5263":{"timestamp":{"__isSmartRef__":true,"id":5264},"user":"sstamm","tags":[]},"5264":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (CET)"},"5265":{"varMapping":{"__isSmartRef__":true,"id":5266},"source":"function isInBounds() {\n var heightMenu = this.owner.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":5267},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5266":{"this":{"__isSmartRef__":true,"id":4894}},"5267":{"timestamp":{"__isSmartRef__":true,"id":5268},"user":"sstamm","tags":[]},"5268":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (CET)"},"5269":{"position":{"__isSmartRef__":true,"id":5270},"_Extent":{"__isSmartRef__":true,"id":5271},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":5272},"_Fill":{"__isSmartRef__":true,"id":5273},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":5274},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":5275},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5270":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5271":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5272":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5273":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5274":{},"5275":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5276":{"x":7,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5277":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A morph which behaves like an IPad list. Use initialize() to clear and addItem() to ... well ... add items","migrationLevel":4,"partName":"TouchList","changes":[{"__isSmartRef__":true,"id":5278},{"__isSmartRef__":true,"id":5280},{"__isSmartRef__":true,"id":5282},{"__isSmartRef__":true,"id":5284}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5278":{"date":{"__isSmartRef__":true,"id":5279},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"5279":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (CET)"},"5280":{"date":{"__isSmartRef__":true,"id":5281},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"5281":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (CET)"},"5282":{"date":{"__isSmartRef__":true,"id":5283},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"5283":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (CET)"},"5284":{"date":{"__isSmartRef__":true,"id":5285},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"5285":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (CET)"},"5286":{"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"},"5287":{"morph":{"__isSmartRef__":true,"id":4893},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5288":{"sourceObj":{"__isSmartRef__":true,"id":4893},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":4893},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"5289":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5290":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"5291":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5292":{"onrestore":{"__isSmartRef__":true,"id":5293},"initialize":{"__isSmartRef__":true,"id":5301},"addItem":{"__isSmartRef__":true,"id":5309},"createListItem":{"__isSmartRef__":true,"id":5313},"touchstartCallback":{"__isSmartRef__":true,"id":4931},"touchmoveCallback":{"__isSmartRef__":true,"id":4935},"touchendCallback":{"__isSmartRef__":true,"id":4939},"updateSelection":{"__isSmartRef__":true,"id":5317},"handleClick":{"__isSmartRef__":true,"id":5321},"initializeListEntries":{"__isSmartRef__":true,"id":5325}},"5293":{"varMapping":{"__isSmartRef__":true,"id":5294},"source":"function onrestore() {\n var that = this;\n\n //TODO: this is a race condition, because the render context is not\n // ready in onrestore\n window.setTimeout(function() { \n that.shape.setClipMode(\"hidden\"); }, 100);\n}","funcProperties":{"__isSmartRef__":true,"id":5299},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5294":{"this":{"__isSmartRef__":true,"id":4893},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5295}},"5295":{"$super":{"__isSmartRef__":true,"id":5296}},"5296":{"varMapping":{"__isSmartRef__":true,"id":5297},"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":5298},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5297":{"obj":{"__isSmartRef__":true,"id":4893},"name":"onrestore"},"5298":{},"5299":{"timestamp":{"__isSmartRef__":true,"id":5300},"user":"sstamm","tags":[]},"5300":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (CET)"},"5301":{"varMapping":{"__isSmartRef__":true,"id":5302},"source":"function initialize() {\n console.log(\"in initialize\");\n this.itemList = [];\n this.selection = null;\n this.selectedLineNo = -1;\n this.selectedMorph = null;\n this.shape.setClipMode(\"hidden\");\n var itemContainer = this.get(\"ListItemContainer\");\n \n itemContainer.setPosition(pt(0,0));\n itemContainer.submorphs.invoke(\"remove\");\n \n}","funcProperties":{"__isSmartRef__":true,"id":5307},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5302":{"this":{"__isSmartRef__":true,"id":4893},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5303}},"5303":{"$super":{"__isSmartRef__":true,"id":5304}},"5304":{"varMapping":{"__isSmartRef__":true,"id":5305},"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":5306},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5305":{"obj":{"__isSmartRef__":true,"id":4893},"name":"initialize"},"5306":{},"5307":{"timestamp":{"__isSmartRef__":true,"id":5308},"user":"sstamm","tags":[]},"5308":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (CET)"},"5309":{"varMapping":{"__isSmartRef__":true,"id":5310},"source":"function addItem(text) {\n var newMorph = this.createListItem(text);\n \n newMorph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(newMorph);\n this.get(\"ListItemContainer\").addMorph(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":5311},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5310":{"this":{"__isSmartRef__":true,"id":4893}},"5311":{"timestamp":{"__isSmartRef__":true,"id":5312},"user":"sstamm","tags":[]},"5312":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (CET)"},"5313":{"varMapping":{"__isSmartRef__":true,"id":5314},"source":"function createListItem(textString) {\n var part = lively.PartsBin.getPart(\"Rectangle\", \"PartsBin/Basic\");\n\n part.index = this.itemList.length;\n\n part.setExtent(pt(this.getExtent().x,44));\n part.applyStyle({resizeWidth: true});\n part.setFill(new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n ));\n part.setBorderColor(Color.rgb(138,138,138));\n \n\n\n part.onTouchStart = this.touchstartCallback;\n part.onTouchMove = this.touchmoveCallback;\n part.onTouchEnd = this.touchendCallback;\n\n part.registerForEvent(\"touchstart\", part, \"onTouchStart\", false);\n part.registerForEvent(\"touchmove\", part, \"onTouchMove\", false);\n part.registerForEvent(\"touchend\", part, \"onTouchEnd\", false);\n\n var text = lively.PartsBin.getPart(\"Text\", \"PartsBin/Basic\");\n text.setFontSize(14);\n text.setTextColor(Color.rgb(47,47,47));\n text.setFontFamily(\"Helvetica, Arial, sans-serif\");\n\n text.setPosition(pt(10,10));\n text.textString = textString;\n\n text.emphasizeAll({fontWeight: 'bold'});\n text.disableHalos();\n part.addMorph(text);\n\n return part;\n}","funcProperties":{"__isSmartRef__":true,"id":5315},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5314":{"this":{"__isSmartRef__":true,"id":4893}},"5315":{"timestamp":{"__isSmartRef__":true,"id":5316},"user":"sstamm","tags":[]},"5316":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (CET)"},"5317":{"varMapping":{"__isSmartRef__":true,"id":5318},"source":"function updateSelection(newSelectedMorph) {\n var hasText = true;\n if(this.selectedMorph) {\n hasText = this.selectedMorph.submorphs[0];\n this.selectedMorph.setFill(\n new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n )\n );\n if(hasText) { this.selectedMorph.submorphs[0].setTextColor(Color.rgb(47,47,47));\n }\n }\n hasText = newSelectedMorph.submorphs[0];\n\n \n if(hasText) {\n this.selection = newSelectedMorph.submorphs[0].textString;\n } else {\n this.selection = \"\";\n }\n this.selectedLineNo = newSelectedMorph.index;\n this.selectedMorph = newSelectedMorph;\n \n this.selectedMorph.setFill(\nnew lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(47,47,47)},\n {offset:0.5,color: Color.rgb(21,21,21)},\n {offset: 1, color: Color.rgb(0,0,0)}\n ],\n 'northSouth'\n ));\n \n if(hasText) {\n this.selectedMorph.submorphs[0].setTextColor(Color.rgb(222,222,222));\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5319},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5318":{"this":{"__isSmartRef__":true,"id":4893}},"5319":{"timestamp":{"__isSmartRef__":true,"id":5320},"user":"sstamm","tags":[]},"5320":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (CET)"},"5321":{"varMapping":{"__isSmartRef__":true,"id":5322},"source":"function handleClick() {\n switch(this.selection){\n case \"PartsBin\":\n $world.openPartsBin();\n $world.hideMockMenu();\n break;\n case \"Parts\":\n this.owner.showList(this.selection);\n break;\n case \"Ellipse\":\n case \"Image\":\n case \"Line\":\n case \"Rectangle\":\n case \"Text\":\n $world.openPartItem(this.selection, \"PartsBin/Basic\");\n $world.hideMockMenu();\n break;\n case \"Button\":\n case \"List\":\n case \"ScriptableButton\":\n case \"Slider\":\n $world.openPartItem(this.selection, \"PartsBin/Inputs\");\n $world.hideMockMenu();\n break;\n case \"Tools\":\n this.owner.showList(this.selection);\n break;\n case \"Workspace\":\n $world.openWorkspace();\n $world.hideMockMenu();\n break;\n case \"System Code Browser\":\n $world.openSystemBrowser();\n $world.hideMockMenu();\n break;\n case \"Object Editor\":\n $world.openObjectEditor();\n $world.hideMockMenu();\n break;\n case \"Method Finder\":\n $world.openMethodFinder();\n $world.hideMockMenu();\n break;\n case \"Text Editor\":\n new lively.morphic.TextEditor().openIn(world)\n $world.hideMockMenu();\n break;\n case \"Preferences\":\n this.owner.showList(this.selection);\n break;\n case \"set username\":\n $world.askForUserName();\n $world.hideMockMenu();\n break;\n case \"set extent\":\n $world.askForNewWorldExtent();\n $world.hideMockMenu();\n break;\n case \"disable part caching\":\n $world.hideMockMenu();\n break;\n case \"Debugging\":\n this.owner.showList(this.selection);\n break;\n case \"reset world scale\":\n $world.resetScale();\n $world.hideMockMenu();\n break;\n case \"reset title bars\":\n $world.resetAllTitleBars();\n $world.hideMockMenu();\n break;\n case \"reset button labels\":\n $world.resetAllButtonLabels();\n $world.hideMockMenu();\n break;\n case \"World serialization info\":\n require('lively.persistence.Debugging').toRun(\n function() {\n var json = lively.persistence.Serializer.serialize(world),\n printer = lively.persistence.Debugging.Helper.listObjects(json);\n world.addTextWindow(printer.toString());\n }\n );\n $world.hideMockMenu();\n break;\n case \"clear part cache\":\n $world.hideMockMenu();\n break;\n case \"show connectors\":\n $world.hideMockMenu();\n break;\n case \"Wiki\":\n this.owner.showList(this.selection);\n break;\n case \"about this wiki\":\n $world.openAboutBox();\n $world.hideMockMenu();\n break;\n case \"view versions of this world\":\n $world.openVersionViewer();\n $world.hideMockMenu();\n break;\n case \"download world\":\n require('lively.persistence.StandAlonePackaging').toRun(\n function() {\n lively.persistence.StandAlonePackaging.packageCurrentWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"upload world to Dropbox\":\n require('apps.Dropbox').toRun(\n function() {\n DropboxAPI.uploadArchivedWorld();\n }\n );\n $world.hideMockMenu();\n break;\n case \"delete world\":\n $world.interactiveDeleteWorldOnServer();\n $world.hideMockMenu();\n break;\n case \"Documentation\":\n this.owner.showList(this.selection);\n break;\n case \"on short cuts\":\n $world.openShortcutDocumentation();\n $world.hideMockMenu();\n break;\n case \"on connect data bindings\":\n $world.openConnectDocumentation();\n $world.hideMockMenu();\n break;\n case \"on Lively's PartsBin\":\n $world.openPartsBinDocumentation();\n $world.hideMockMenu();\n break;\n case \"more...\":\n window.open(Config.rootPath + 'documentation/');\n $world.hideMockMenu();\n break;\n case \"save world as ...\":\n $world.interactiveSaveWorldAs();\n $world.hideMockMenu();\n break;\n case \"save world\":\n $world.saveWorld();\n $world.hideMockMenu();\n break;\n default:\n //Do nothing\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5323},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5322":{"this":{"__isSmartRef__":true,"id":4893}},"5323":{"timestamp":{"__isSmartRef__":true,"id":5324},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"5324":{"isSerializedDate":true,"string":"Tue Jan 31 2012 13:26:04 GMT+0100 (CET)"},"5325":{"varMapping":{"__isSmartRef__":true,"id":5326},"source":"function initializeListEntries() {\n this.initialize();\n list = [\"Ellipse\",\"Image\",\"Line\",\"Rectangle\",\"Text\",\n \"Button\",\"List\",\"ScriptableButton\",\"Slider\"];\n for (var i = 0; i < list.length; i++) {\n this.addItem(list[i]);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5327},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5326":{"this":{"__isSmartRef__":true,"id":4893}},"5327":{"timestamp":{"__isSmartRef__":true,"id":5328},"user":"conradcalmez","tags":[]},"5328":{"isSerializedDate":true,"string":"Tue Jan 31 2012 11:56:41 GMT+0100 (CET)"},"5329":{"onTouchStart":{"__isSmartRef__":true,"id":5330},"onTouchMove":{"__isSmartRef__":true,"id":5338},"onTouchEnd":{"__isSmartRef__":true,"id":5342},"stayInBounds":{"__isSmartRef__":true,"id":5350},"isInBounds":{"__isSmartRef__":true,"id":5354},"removeAllMenuItems":{"__isSmartRef__":true,"id":5358},"addItemMorph":{"__isSmartRef__":true,"id":5362}},"5330":{"varMapping":{"__isSmartRef__":true,"id":5331},"source":"function onTouchStart(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n\n if(touch) {\n touch.originalDragOffset = touch.clientY;\n touch.originalMenuOffset = this.getPosition().y;\n\n this.isTouched = true;\n this.velocity = 0;\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = new Date().valueOf();\n }\n return true;\n\n \n}","funcProperties":{"__isSmartRef__":true,"id":5336},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5331":{"this":{"__isSmartRef__":true,"id":4878},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5332}},"5332":{"$super":{"__isSmartRef__":true,"id":5333}},"5333":{"varMapping":{"__isSmartRef__":true,"id":5334},"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":5335},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5334":{"obj":{"__isSmartRef__":true,"id":4878},"name":"onTouchStart"},"5335":{},"5336":{"timestamp":{"__isSmartRef__":true,"id":5337},"user":"sstamm","tags":[]},"5337":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (CET)"},"5338":{"varMapping":{"__isSmartRef__":true,"id":5339},"source":"function onTouchMove(evt) {\n evt.stop();\n\n var touch = evt.touches[0];\n \n if(touch && touch.originalDragOffset) {\n //TODO: Store this attributes in the object to save computation time\n var heightMenu = this.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu-heightContainer;\n\n var x = this.getPosition().x;\n\n var delta = touch.clientY - touch.originalDragOffset;\n this.setPosition(pt(x,touch.originalMenuOffset+delta));\n\n if(!this.isInBounds()) {\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n delta = this.getPosition().y-yPos;\n this.moveBy(pt(0,-delta/2));\n }\n\n var positionDelta = touch.lastTouch-touch.clientY;\n var now = new Date().valueOf();\n var timeDelta = now - touch.lastUpdate;\n\n touch.lastTouch = touch.clientY;\n touch.lastUpdate = now;\n\n this.velocity = positionDelta*(-10/timeDelta);\n \n\n }\n return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":5340},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5339":{"this":{"__isSmartRef__":true,"id":4878}},"5340":{"timestamp":{"__isSmartRef__":true,"id":5341},"user":"sstamm","tags":[]},"5341":{"isSerializedDate":true,"string":"Fri Mar 02 2012 14:08:15 GMT+0100 (CET)"},"5342":{"varMapping":{"__isSmartRef__":true,"id":5343},"source":"function onTouchEnd(evt) {\n $world.get(\"TouchList\").submorphs[0];\n var lastUpdate = new Date().valueOf();\n this.isTouched = false;\n var that = this;\n\n var flickingFct = function() {\n var now = new Date().valueOf();\n var delta = now - lastUpdate;\n var velo;\n that.velocity *= Math.pow(0.99, delta);\n \n that.moveBy(pt(0,that.velocity));\n that.stayInBounds();\n velo = that.velocity;\n \n lastUpdate = now;\n if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n window.setTimeout(flickingFct,10);\n }\n };\n\n window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":5348},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5343":{"this":{"__isSmartRef__":true,"id":4878},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5344}},"5344":{"$super":{"__isSmartRef__":true,"id":5345}},"5345":{"varMapping":{"__isSmartRef__":true,"id":5346},"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":5347},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5346":{"obj":{"__isSmartRef__":true,"id":4878},"name":"onTouchEnd"},"5347":{},"5348":{"timestamp":{"__isSmartRef__":true,"id":5349},"user":"sstamm","tags":[]},"5349":{"isSerializedDate":true,"string":"Fri Mar 02 2012 14:10:41 GMT+0100 (CET)"},"5350":{"varMapping":{"__isSmartRef__":true,"id":5351},"source":"function stayInBounds() {\n var heightMenu = this.itemList.length*43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n if(this.velocity*delta > 0) {\n // out of bounds and velocity is in wrong direction\n this.velocity -= delta/15;\n } else if(delta!=0) {\n this.velocity = -delta/15;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5352},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5351":{"this":{"__isSmartRef__":true,"id":4878}},"5352":{"timestamp":{"__isSmartRef__":true,"id":5353},"user":"sstamm","tags":[]},"5353":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:01:17 GMT+0100 (CET)"},"5354":{"varMapping":{"__isSmartRef__":true,"id":5355},"source":"function isInBounds() {\n var heightMenu = this.itemList.length * 43;\n var heightContainer = this.owner.getExtent().y;\n var maxScroll = heightMenu - heightContainer;\n\n var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n var delta = this.getPosition().y-yPos;\n\n return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":5356},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5355":{"this":{"__isSmartRef__":true,"id":4878}},"5356":{"timestamp":{"__isSmartRef__":true,"id":5357},"user":"sstamm","tags":[]},"5357":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:00:09 GMT+0100 (CET)"},"5358":{"varMapping":{"__isSmartRef__":true,"id":5359},"source":"function removeAllMenuItems() {\n this.itemList = [];\n this.setPosition(pt(0,0));\n this.submorphs.invoke(\"remove\");\n}","funcProperties":{"__isSmartRef__":true,"id":5360},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5359":{"this":{"__isSmartRef__":true,"id":4878}},"5360":{"timestamp":{"__isSmartRef__":true,"id":5361},"user":"sstamm","tags":[]},"5361":{"isSerializedDate":true,"string":"Fri Mar 02 2012 11:53:17 GMT+0100 (CET)"},"5362":{"varMapping":{"__isSmartRef__":true,"id":5363},"source":"function addItemMorph(morph) {\n morph.disableDropping();\n this.itemList = this.itemList || [];\n morph.setPosition(pt(0,this.itemList.length*43));\n this.itemList.push(morph);\n this.addMorph(morph);\n}","funcProperties":{"__isSmartRef__":true,"id":5364},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5363":{"this":{"__isSmartRef__":true,"id":4878}},"5364":{"timestamp":{"__isSmartRef__":true,"id":5365},"user":"sstamm","tags":[]},"5365":{"isSerializedDate":true,"string":"Fri Mar 02 2012 12:41:29 GMT+0100 (CET)"},"5366":{"addItem":{"__isSmartRef__":true,"id":5367},"createListItem":{"__isSmartRef__":true,"id":5371},"updateSelection":{"__isSmartRef__":true,"id":5375},"createMenuItems":{"__isSmartRef__":true,"id":5379},"testSimpleCreate":{"__isSmartRef__":true,"id":5383},"removeAllMenuItems":{"__isSmartRef__":true,"id":5387},"setup":{"__isSmartRef__":true,"id":5391},"reset":{"__isSmartRef__":true,"id":5395},"createContainer":{"__isSmartRef__":true,"id":5399},"getCurrentContainer":{"__isSmartRef__":true,"id":5403},"addMenuItems":{"__isSmartRef__":true,"id":5407},"getLevel":{"__isSmartRef__":true,"id":5411},"createContainerPrototype":{"__isSmartRef__":true,"id":5414},"onItemMouseUp":{"__isSmartRef__":true,"id":805}},"5367":{"varMapping":{"__isSmartRef__":true,"id":5368},"source":"function addItem(item) {\n var newMorph = this.createListItem(item);\n this.getCurrentContainer().addItemMorph(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":5369},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5368":{"this":{"__isSmartRef__":true,"id":768}},"5369":{"timestamp":{"__isSmartRef__":true,"id":5370},"user":"sstamm","tags":[]},"5370":{"isSerializedDate":true,"string":"Fri Mar 02 2012 14:17:35 GMT+0100 (CET)"},"5371":{"varMapping":{"__isSmartRef__":true,"id":5372},"source":"function createListItem(item) {\n var textString = item.string;\n var part = Morph.makeRectangle(0, 0, 10, 10);\n\n part.name = \"MenuItem_\" + textString;\n part.item = item;\n\n part.applyStyle({\n extent: pt(this.getExtent().x,44),\n fill: new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n ),\n resizeWidth: true,\n borderColor: Color.rgb(138,138,138)\n });\n\n part.onMouseUp = this.onItemMouseUp\n\n var text = new TextMorph(new Rectangle(0,0,this.getExtent().x,10));\n text.applyStyle({fill: null, borderWidth: 0});\n text.setFontSize(12);\n text.setTextColor(Color.rgb(47,47,47));\n text.setFontFamily(\"Helvetica, Arial, sans-serif\");\n \n text.setPosition(pt(10,10));\n text.textString = textString;\n\n text.emphasizeAll({fontWeight: 'bold'});\n text.disableHalos();\n text.ignoreEvents();\n part.addMorph(text);\n\n return part;\n}","funcProperties":{"__isSmartRef__":true,"id":5373},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5372":{"this":{"__isSmartRef__":true,"id":768}},"5373":{"timestamp":{"__isSmartRef__":true,"id":5374},"user":"timfelgentreff","tags":[]},"5374":{"isSerializedDate":true,"string":"Sat May 05 2012 00:02:09 GMT+0200 (CEST)"},"5375":{"varMapping":{"__isSmartRef__":true,"id":5376},"source":"function updateSelection(newSelectedMorph) {\n var hasText = true;\n if(this.selectedMorph) {\n hasText = this.selectedMorph.submorphs[0];\n this.selectedMorph.setFill(\n new lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(253,253,253)},\n {offset: 1, color: Color.rgb(238,238,238)}\n ],\n 'northSouth'\n )\n );\n if(hasText) { this.selectedMorph.submorphs[0].setTextColor(Color.rgb(47,47,47));\n }\n }\n hasText = newSelectedMorph.submorphs[0];\n\n \n if(hasText) {\n this.selection = newSelectedMorph.item.value;\n } else {\n this.selection = null;\n }\n this.selectedLineNo = newSelectedMorph.index;\n this.selectedMorph = newSelectedMorph;\n \n this.selectedMorph.setFill(\nnew lively.morphic.LinearGradient(\n [\n {offset: 0, color: Color.rgb(47,47,47)},\n {offset:0.5,color: Color.rgb(21,21,21)},\n {offset: 1, color: Color.rgb(0,0,0)}\n ],\n 'northSouth'\n ));\n \n if(hasText) {\n this.selectedMorph.submorphs[0].setTextColor(Color.rgb(222,222,222));\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5377},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5376":{"this":{"__isSmartRef__":true,"id":768}},"5377":{"timestamp":{"__isSmartRef__":true,"id":5378},"user":"conradcalmez","tags":[]},"5378":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:44:22 GMT+0100 (CET)"},"5379":{"varMapping":{"__isSmartRef__":true,"id":5380},"source":"function createMenuItems(items) {\n this.removeAllMenuItems();\n this.addMenuItems(items);\n}","funcProperties":{"__isSmartRef__":true,"id":5381},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5380":{"this":{"__isSmartRef__":true,"id":768}},"5381":{"timestamp":{"__isSmartRef__":true,"id":5382},"user":"sstamm","tags":[]},"5382":{"isSerializedDate":true,"string":"Fri Mar 02 2012 13:55:23 GMT+0100 (CET)"},"5383":{"varMapping":{"__isSmartRef__":true,"id":5384},"source":"function testSimpleCreate() {\n var helloWasRun = false;\n this.setup([\n [\"hello\", function() {\n helloWasRun = true;}],\n ]);\n this.updateSelection(this.itemList.first());\n assert(helloWasRun, \"hello callback was not run\");\n}","funcProperties":{"__isSmartRef__":true,"id":5385},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5384":{"this":{"__isSmartRef__":true,"id":768}},"5385":{"timestamp":{"__isSmartRef__":true,"id":5386},"user":"conradcalmez","tags":["test"]},"5386":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:39:19 GMT+0100 (CET)"},"5387":{"varMapping":{"__isSmartRef__":true,"id":5388},"source":"function removeAllMenuItems() {\n this.getCurrentContainer().removeAllMenuItems();\n while(this.containerStack.length > 0){\n this.getCurrentContainer().remove();\n this.currentContainer = containerStack.pop();\n this.currentContainer.removeAllMenuItems();\n }\n this.containerPrototype = this.createContainerPrototype();\n this.nextContainer = this.createContainer();\n this.titleStack = [];\n this.containerStack = [];\n}","funcProperties":{"__isSmartRef__":true,"id":5389},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5388":{"this":{"__isSmartRef__":true,"id":768}},"5389":{"timestamp":{"__isSmartRef__":true,"id":5390},"user":"sstamm","tags":[]},"5390":{"isSerializedDate":true,"string":"Fri Mar 02 2012 17:01:55 GMT+0100 (CET)"},"5391":{"varMapping":{"__isSmartRef__":true,"id":5392},"source":"function setup(itemList) {\n this.selection = null;\n this.selectedLineNo = -1;\n this.selectedMorph = null;\n // this.shape.setClipMode = \"hidden\" // not used in desktop browser\n this.titleStack = [];\n this.containerStack = [];\n var container = this.getCurrentContainer();\n this.get(\"SubmenuContainer\").removeAllMorphs();\n this.get(\"SubmenuContainer\").addMorph(container);\n this.currentContainer = container;\n this.get(\"SubmenuContainer\").setPosition(pt(0,0));\n //world menu entries\n this.createMenuItems(itemList);\n}","funcProperties":{"__isSmartRef__":true,"id":5393},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5392":{"this":{"__isSmartRef__":true,"id":768}},"5393":{"timestamp":{"__isSmartRef__":true,"id":5394},"user":"timfelgentreff","tags":[]},"5394":{"isSerializedDate":true,"string":"Fri May 04 2012 23:56:03 GMT+0200 (CEST)"},"5395":{"varMapping":{"__isSmartRef__":true,"id":5396},"source":"function reset() {\n this.disableDropping();\n this.submorphs.invoke('disableDropping');\n this.setup([]);\n}","funcProperties":{"__isSmartRef__":true,"id":5397},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5396":{"this":{"__isSmartRef__":true,"id":768}},"5397":{"timestamp":{"__isSmartRef__":true,"id":5398},"user":"conradcalmez","tags":[]},"5398":{"isSerializedDate":true,"string":"Mon Feb 13 2012 12:30:08 GMT+0100 (CET)"},"5399":{"varMapping":{"__isSmartRef__":true,"id":5400},"source":"function createContainer() {\n var container = this.containerPrototype.copy();\n container.removeAllMenuItems();\n return container;\n}","funcProperties":{"__isSmartRef__":true,"id":5401},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5400":{"this":{"__isSmartRef__":true,"id":768}},"5401":{"timestamp":{"__isSmartRef__":true,"id":5402},"user":"sstamm","tags":[]},"5402":{"isSerializedDate":true,"string":"Fri Mar 02 2012 15:11:52 GMT+0100 (CET)"},"5403":{"varMapping":{"__isSmartRef__":true,"id":5404},"source":"function getCurrentContainer() {\n if(!this.currentContainer){\n this.currentContainer = this.get(\"SubmenuContainer\").submorphs[0];\n }\n return this.currentContainer;\n}","funcProperties":{"__isSmartRef__":true,"id":5405},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5404":{"this":{"__isSmartRef__":true,"id":768}},"5405":{"timestamp":{"__isSmartRef__":true,"id":5406},"user":"sstamm","tags":[]},"5406":{"isSerializedDate":true,"string":"Mon Mar 05 2012 16:25:13 GMT+0100 (CET)"},"5407":{"varMapping":{"__isSmartRef__":true,"id":5408},"source":"function addMenuItems(items) {\n var that = this;\n items.forEach(function (item) {\n that.addItem({string: item[0], value: item, isListItem: true});\n });\n}","funcProperties":{"__isSmartRef__":true,"id":5409},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5408":{"this":{"__isSmartRef__":true,"id":768}},"5409":{"timestamp":{"__isSmartRef__":true,"id":5410},"user":"sstamm","tags":[]},"5410":{"isSerializedDate":true,"string":"Fri Mar 02 2012 14:17:17 GMT+0100 (CET)"},"5411":{"varMapping":{"__isSmartRef__":true,"id":5412},"source":"function getLevel() {\n return this.titleStack.length;\n}","funcProperties":{"__isSmartRef__":true,"id":5413},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5412":{"this":{"__isSmartRef__":true,"id":768}},"5413":{},"5414":{"varMapping":{"__isSmartRef__":true,"id":5415},"source":"function createContainerPrototype() {\n var container = this.getCurrentContainer().copy();\n container.removeAllMenuItems();\n return container;\n}","funcProperties":{"__isSmartRef__":true,"id":5416},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5415":{"this":{"__isSmartRef__":true,"id":768}},"5416":{"timestamp":{"__isSmartRef__":true,"id":5417},"user":"sstamm","tags":[]},"5417":{"isSerializedDate":true,"string":"Fri Mar 02 2012 15:11:30 GMT+0100 (CET)"},"5418":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"5419":{"morph":{"__isSmartRef__":true,"id":498},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5420":{"sourceObj":{"__isSmartRef__":true,"id":498},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":5421},"targetMethodName":"indicateUnsavedChanges","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"5421":{"submorphs":[],"scripts":[],"id":"71EB6888-13F2-4BCD-81C7-28C898A5A5A1","shape":{"__isSmartRef__":true,"id":5422},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5428},"showsHalos":false,"name":"ChangeIndicator","partsBinMetaInfo":{"__isSmartRef__":true,"id":5429},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":5430},"eventHandler":{"__isSmartRef__":true,"id":5431},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":2},"priorExtent":{"__isSmartRef__":true,"id":5432},"layout":{"__isSmartRef__":true,"id":5433},"isBeingDragged":false,"savedColor":{"__isSmartRef__":true,"id":5425},"alarmColor":{"__isSmartRef__":true,"id":5434},"grabbingEnabled":false,"draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":5435},"isCopyMorphRef":true,"morphRefId":26,"derivationIds":[220,"EE491D24-F056-4AFE-A669-7B7048C6C3D1","3FA4A8C3-0FC0-43A0-8C00-00A96F9022E2","62DAD3C6-A81D-450F-B32F-601EA7E619D8","EEDB0C58-5990-481A-A7FF-ACB1A2DF08DD","16F708CB-1259-4A75-BAEF-1A5216C6CB19","97CA61D3-E09B-43CD-9880-D8B36FA303F3","0AF6BEEC-8A57-44FF-9D8D-40BA6CC6A0CD","AF2BEE76-C34F-457E-8699-9896327A4C07","5EC39FF0-602F-44A2-BE3A-04FCA127E5D1","44CEBF61-9A92-4E36-9576-425D5054B471"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5436},"__LivelyClassName__":"lively.morphic.Box"},"5422":{"position":{"__isSmartRef__":true,"id":5423},"_Extent":{"__isSmartRef__":true,"id":5424},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":5425},"_Fill":{"__isSmartRef__":true,"id":5425},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":5426},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5427},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5423":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5424":{"x":8.637782619743348,"y":9.712632235981744,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5425":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5426":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"5427":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5428":{"x":883.0245425248855,"y":39.999999999999986,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5429":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5430":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5431":{"morph":{"__isSmartRef__":true,"id":5421},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5432":{"x":8.637782619743348,"y":10.787481852220026,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5433":{"moveHorizontal":true,"adjustForNewBounds":true},"5434":{"r":0.9411764705882353,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5435":{"x":37.328206296760186,"y":-17.53316489131697,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5436":{"indicateUnsavedChanges":{"__isSmartRef__":true,"id":5437},"setColors":{"__isSmartRef__":true,"id":5441}},"5437":{"varMapping":{"__isSmartRef__":true,"id":5438},"source":"function indicateUnsavedChanges() {\n if (this.owner.scriptPane.hasChanged()) {\n this.setColors(this.alarmColor);\n } else {\n this.setColors(this.savedColor);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5439},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5438":{"this":{"__isSmartRef__":true,"id":5421}},"5439":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":5440}},"5440":{"isSerializedDate":true,"string":"Tue Sep 27 2011 20:09:19 GMT+0200 (CEST)"},"5441":{"varMapping":{"__isSmartRef__":true,"id":5442},"source":"function setColors(color) {\n this.setFill(color);\n this.setBorderColor(color);\n}","funcProperties":{"__isSmartRef__":true,"id":5443},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5442":{"this":{"__isSmartRef__":true,"id":5421}},"5443":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":5444}},"5444":{"isSerializedDate":true,"string":"Tue Sep 27 2011 19:06:09 GMT+0200 (CEST)"},"5445":{"x":341.1979959929888,"y":-18.288721442524036,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5446":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5447},"id":553,"renderContextTable":{"__isSmartRef__":true,"id":5454},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":5455}],"eventHandler":{"__isSmartRef__":true,"id":5457},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"visible","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":11,"_Position":{"__isSmartRef__":true,"id":5458},"priorExtent":{"__isSmartRef__":true,"id":5459},"_MaxTextWidth":90,"_MinTextWidth":90,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"_Align":"center","_VerticalAlign":"center","_TextColor":{"__isSmartRef__":true,"id":5460},"owner":null,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"5447":{"_Position":{"__isSmartRef__":true,"id":5448},"renderContextTable":{"__isSmartRef__":true,"id":5449},"_Extent":{"__isSmartRef__":true,"id":5450},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5451},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":5452},"_Fill":{"__isSmartRef__":true,"id":5453},"_StrokeOpacity":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5448":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5449":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"5450":{"x":100,"y":25,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5451":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5452":{"r":0.8,"g":0.8,"b":0.8,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5453":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5454":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"5455":{"style":{"__isSmartRef__":true,"id":5456},"chunkOwner":{"__isSmartRef__":true,"id":5446},"storedString":"saved source","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5456":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5457":{"morph":{"__isSmartRef__":true,"id":5446},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5458":{"x":295.51426826444225,"y":225.30626630721798,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5459":{"x":100,"y":25,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5460":{"r":0,"g":0.8,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5461":{"x":200,"y":40,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5462":{"doSave":{"__isSmartRef__":true,"id":5463},"boundEval":{"__isSmartRef__":true,"id":5471},"reset":{"__isSmartRef__":true,"id":5479},"display":{"__isSmartRef__":true,"id":5483},"hasChanged":{"__isSmartRef__":true,"id":5487},"setTarget":{"__isSmartRef__":true,"id":5491},"displayStatus":{"__isSmartRef__":true,"id":5495}},"5463":{"varMapping":{"__isSmartRef__":true,"id":5464},"source":"function doSave() {\n $super();\n var saved = this.boundEval(this.getTextString());\n if (saved) {\n this.lastSaveSource = this.textString;\n this.owner.changeIndicator.indicateUnsavedChanges();\n this.owner.updateLists();\n this.owner.selectChangedContent(this.getTextString());\n this.displayStatus(\"saved source\", Color.green);\n } else {\n this.displayStatus(\"not saved\", Color.red);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5469},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5464":{"this":{"__isSmartRef__":true,"id":498},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5465}},"5465":{"$super":{"__isSmartRef__":true,"id":5466}},"5466":{"varMapping":{"__isSmartRef__":true,"id":5467},"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":5468},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5467":{"obj":{"__isSmartRef__":true,"id":498},"name":"doSave"},"5468":{},"5469":{"timestamp":{"__isSmartRef__":true,"id":5470},"user":"lauritz"},"5470":{"isSerializedDate":true,"string":"Thu Nov 17 2011 23:15:19 GMT+0100 (CET)"},"5471":{"varMapping":{"__isSmartRef__":true,"id":5472},"source":"function boundEval(str) {\n var result;\n\n this.objectEditorPane.ensureAnnotationLayer();\n withLayers([ScriptAnnotationLayer], function() {\n result = $super(str);\n })\n \n return result\n}","funcProperties":{"__isSmartRef__":true,"id":5477},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5472":{"this":{"__isSmartRef__":true,"id":498},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5473}},"5473":{"$super":{"__isSmartRef__":true,"id":5474}},"5474":{"varMapping":{"__isSmartRef__":true,"id":5475},"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":5476},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5475":{"obj":{"__isSmartRef__":true,"id":498},"name":"boundEval"},"5476":{},"5477":{"timestamp":{"__isSmartRef__":true,"id":5478},"user":"lauritz","categories":[]},"5478":{"isSerializedDate":true,"string":"Wed Nov 16 2011 05:41:53 GMT+0100 (CET)"},"5479":{"varMapping":{"__isSmartRef__":true,"id":5480},"source":"function reset() {\n this.doitContext = null;\n this.lastSaveSource = \"\";\n this.textString = \"\";\n this.lastSaveSource = this.textString;\n}","funcProperties":{"__isSmartRef__":true,"id":5481},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5480":{"this":{"__isSmartRef__":true,"id":498}},"5481":{"timestamp":{"__isSmartRef__":true,"id":5482},"user":"lauritz","categories":[]},"5482":{"isSerializedDate":true,"string":"Tue Sep 27 2011 20:14:35 GMT+0200 (CEST)"},"5483":{"varMapping":{"__isSmartRef__":true,"id":5484},"source":"function display(jsCode) {\n this.lastSaveSource = jsCode;\n this.setTextString(jsCode);\n this.highlightJavaScriptSyntax();\n this.applyStyle({align: 'left'});\n}","funcProperties":{"__isSmartRef__":true,"id":5485},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5484":{"this":{"__isSmartRef__":true,"id":498}},"5485":{"timestamp":{"__isSmartRef__":true,"id":5486},"user":"lauritz","categories":[]},"5486":{"isSerializedDate":true,"string":"Tue Sep 27 2011 19:47:57 GMT+0200 (CEST)"},"5487":{"varMapping":{"__isSmartRef__":true,"id":5488},"source":"function hasChanged() {\n var cleanText = function (string) {\n var source = string.trim();\n if (source.substring(0,2) === \"//\") {\n // removes annotation line\n source = source.substring(source.indexOf(\"\\n\"), source.length);\n source = source.trim();\n }\n if (source === 'undefined' || source === 'null') source = '';\n return source;\n }\n var cleanedTextString = cleanText(this.textString);\n var cleanedLastSource = cleanText(this.lastSaveSource);\n return cleanedTextString !== cleanedLastSource;\n}","funcProperties":{"__isSmartRef__":true,"id":5489},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5488":{"this":{"__isSmartRef__":true,"id":498}},"5489":{"timestamp":{"__isSmartRef__":true,"id":5490},"user":"lauritz","categories":[]},"5490":{"isSerializedDate":true,"string":"Mon Oct 03 2011 18:29:45 GMT+0200 (CEST)"},"5491":{"varMapping":{"__isSmartRef__":true,"id":5492},"source":"function setTarget(target) {\n module('lively.ide.SyntaxHighlighting').load(true);\n this.doitContext = target;\n}","funcProperties":{"__isSmartRef__":true,"id":5493},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5492":{"this":{"__isSmartRef__":true,"id":498}},"5493":{"timestamp":{"__isSmartRef__":true,"id":5494},"user":"lauritz","categories":[]},"5494":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:30:39 GMT+0100 (CET)"},"5495":{"varMapping":{"__isSmartRef__":true,"id":5496},"source":"function displayStatus(msg, color, delay) {\n if (!this.statusMorph) {\n this.statusMorph = new TextMorph(pt(100,25).extentAsRectangle());\n this.statusMorph.applyStyle({borderWidth: 1, strokeOpacity: 0, borderColor: Color.gray});\n this.statusMorph.setFill(this.owner.getFill());\n this.statusMorph.setFontSize(11);\n this.statusMorph.setAlign('center');\n this.statusMorph.setVerticalAlign('center');\n }\n this.statusMorph.setTextString(msg);\n this.statusMorph.centerAt(this.innerBounds().center());\n this.statusMorph.setTextColor(color || Color.black);\n this.addMorph(this.statusMorph);\n (function() { this.statusMorph.remove() }).bind(this).delay(delay || 2); \n}","funcProperties":{"__isSmartRef__":true,"id":5497},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5496":{"this":{"__isSmartRef__":true,"id":498}},"5497":{"timestamp":{"__isSmartRef__":true,"id":5498},"user":"lauritz","categories":[]},"5498":{"isSerializedDate":true,"string":"Wed Nov 23 2011 18:23:05 GMT+0100 (CET)"},"5499":{"submorphs":[{"__isSmartRef__":true,"id":5500}],"scripts":[],"id":847,"shape":{"__isSmartRef__":true,"id":5514},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5529},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":5517},"lighterFill":{"__isSmartRef__":true,"id":5530},"label":{"__isSmartRef__":true,"id":5500},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","_Rotation":0,"padding":{"__isSmartRef__":true,"id":5539},"name":"ObjectEditorClassButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":5540},"_Scale":1,"owner":null,"layout":{"__isSmartRef__":true,"id":5541},"renderContextTable":{"__isSmartRef__":true,"id":5542},"eventHandler":{"__isSmartRef__":true,"id":5543},"__LivelyClassName__":"lively.morphic.Button"},"5500":{"submorphs":[],"scripts":[],"id":848,"shape":{"__isSmartRef__":true,"id":5501},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":18,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5506},"textColor":{"__isSmartRef__":true,"id":5504},"owner":{"__isSmartRef__":true,"id":5499},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":5507}],"padding":{"__isSmartRef__":true,"id":5509},"_Padding":{"__isSmartRef__":true,"id":5510},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":5511},"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":5512},"eventHandler":{"__isSmartRef__":true,"id":5513},"_HandStyle":"default","_PointerEvents":"none","__LivelyClassName__":"lively.morphic.Text"},"5501":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":5502},"_Extent":{"__isSmartRef__":true,"id":5503},"_BorderColor":{"__isSmartRef__":true,"id":5504},"renderContextTable":{"__isSmartRef__":true,"id":5505},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5502":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5503":{"x":116,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5504":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5505":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"5506":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5507":{"style":{"__isSmartRef__":true,"id":5508},"chunkOwner":{"__isSmartRef__":true,"id":5500},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"5508":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"5509":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5510":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5511":{"x":116,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5512":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"5513":{"morph":{"__isSmartRef__":true,"id":5500},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5514":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":5515},"_Extent":{"__isSmartRef__":true,"id":5516},"_Fill":{"__isSmartRef__":true,"id":5517},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":5527},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":5528},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5515":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5516":{"x":116,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5517":{"stops":[{"__isSmartRef__":true,"id":5518},{"__isSmartRef__":true,"id":5520},{"__isSmartRef__":true,"id":5522},{"__isSmartRef__":true,"id":5524}],"vector":{"__isSmartRef__":true,"id":5526},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"5518":{"offset":0,"color":{"__isSmartRef__":true,"id":5519}},"5519":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5520":{"offset":0.4,"color":{"__isSmartRef__":true,"id":5521}},"5521":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5522":{"offset":0.6,"color":{"__isSmartRef__":true,"id":5523}},"5523":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5524":{"offset":1,"color":{"__isSmartRef__":true,"id":5525}},"5525":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5526":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5527":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5528":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"5529":{"x":820,"y":8.999999999999972,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5530":{"stops":[{"__isSmartRef__":true,"id":5531},{"__isSmartRef__":true,"id":5533},{"__isSmartRef__":true,"id":5535},{"__isSmartRef__":true,"id":5537}],"vector":{"__isSmartRef__":true,"id":5526},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"5531":{"offset":0,"color":{"__isSmartRef__":true,"id":5532}},"5532":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5533":{"offset":0.4,"color":{"__isSmartRef__":true,"id":5534}},"5534":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5535":{"offset":0.6,"color":{"__isSmartRef__":true,"id":5536}},"5536":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5537":{"offset":1,"color":{"__isSmartRef__":true,"id":5538}},"5538":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5539":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5540":{"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"},"5541":{"moveHorizontal":true},"5542":{"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"},"5543":{"morph":{"__isSmartRef__":true,"id":5499},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5544":{"submorphs":[],"scripts":[],"id":"717F20F0-18AB-4CAE-93F5-55EC511FD4BD","shape":{"__isSmartRef__":true,"id":5545},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5552},"itemList":["-- ALL --",["selection",{"__isSmartRef__":true,"id":1335}],["title",{"__isSmartRef__":true,"id":1336}]],"selectedLineNo":1,"showsHalos":false,"name":"ObjectEditorConnectionList","partsBinMetaInfo":{"__isSmartRef__":true,"id":5553},"__SourceModuleName__":"Global.lively.morphic.Core","_ClipMode":"auto","owner":{"__isSmartRef__":true,"id":2},"priorExtent":{"__isSmartRef__":true,"id":5554},"attributeConnections":[{"__isSmartRef__":true,"id":5555}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"prevScroll":[0,0],"layout":{"__isSmartRef__":true,"id":5560},"renderContextTable":{"__isSmartRef__":true,"id":5561},"eventHandler":{"__isSmartRef__":true,"id":5562},"_FontSize":10,"distanceToDragEvent":{"__isSmartRef__":true,"id":5563},"grabbingEnabled":false,"draggingEnabled":false,"isCopyMorphRef":true,"morphRefId":19,"derivationIds":[209,"3900F5DF-0FF7-4C94-8BDB-44AAE12B4A3E","35301083-B60D-4A43-8566-23860EEB4C04","9CC401CC-5A35-4643-935B-FD049C284E16","C9879D40-5E79-4C56-AA79-562ED82BF052","9F6F9261-EB76-4B58-B77D-7D70813A1ED7","8B59E237-F372-4F70-9768-7E9C1A7A021D","FC85F1B9-1978-42D2-850C-BD249981E8B4","D2B607C6-A89B-4B3F-91BB-720451EAB98D","CC361093-FF73-479B-9431-C645CB48F518","307D3B7C-C0E1-484F-8D7E-39FBA9D8EDA5"],"selection":null,"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5564},"__LivelyClassName__":"lively.morphic.List"},"5545":{"position":{"__isSmartRef__":true,"id":5546},"_Extent":{"__isSmartRef__":true,"id":5547},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":5548},"_Fill":{"__isSmartRef__":true,"id":5549},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"renderContextTable":{"__isSmartRef__":true,"id":5550},"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":5551},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5546":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5547":{"x":180,"y":74,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5548":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5549":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5550":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"5551":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5552":{"x":10,"y":441.5965565984398,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5553":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5554":{"x":180,"y":75,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5555":{"sourceObj":{"__isSmartRef__":true,"id":5544},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":2},"targetMethodName":"displaySourceForConnection","converterString":"function (value) {\n if (!value) return;\n return (value === '-- ALL --') ? null : value[1];\n}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":5556},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5557},"__LivelyClassName__":"AttributeConnection"},"5556":{"source":{"__isSmartRef__":true,"id":5544},"target":{"__isSmartRef__":true,"id":2}},"5557":{"converter":{"__isSmartRef__":true,"id":5558}},"5558":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":5556},"source":"function (value) {\n if (!value) return;\n return (value === '-- ALL --') ? null : value[1];\n}","funcProperties":{"__isSmartRef__":true,"id":5559},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5559":{},"5560":{"resizeHeight":false,"moveVertical":true},"5561":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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"},"5562":{"morph":{"__isSmartRef__":true,"id":5544},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5563":{"x":124.95989979964943,"y":-17.076643708895745,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5564":{"preselectItem":{"__isSmartRef__":true,"id":5565}},"5565":{"varMapping":{"__isSmartRef__":true,"id":5566},"source":"function preselectItem() {\n if (this.getList().size() === 2) {\n this.selectAt(1);\n } else {\n this.selectAt(0);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5567},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5566":{"this":{"__isSmartRef__":true,"id":5544}},"5567":{"timestamp":{"__isSmartRef__":true,"id":5568},"user":"lauritz"},"5568":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:12:58 GMT+0100 (CET)"},"5569":{"submorphs":[{"__isSmartRef__":true,"id":5570}],"scripts":[],"id":47,"shape":{"__isSmartRef__":true,"id":5583},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5598},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":5586},"lighterFill":{"__isSmartRef__":true,"id":5599},"label":{"__isSmartRef__":true,"id":5570},"attributeConnections":[{"__isSmartRef__":true,"id":5608}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","_Rotation":0,"padding":{"__isSmartRef__":true,"id":5609},"name":"ObjectEditorTargetButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":5610},"_Scale":1,"owner":null,"renderContextTable":{"__isSmartRef__":true,"id":5611},"isCopyMorphRef":true,"morphRefId":1,"__LivelyClassName__":"lively.morphic.Button"},"5570":{"submorphs":[],"scripts":[],"id":48,"shape":{"__isSmartRef__":true,"id":5571},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":20,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5576},"textColor":{"__isSmartRef__":true,"id":5574},"owner":{"__isSmartRef__":true,"id":5569},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":5577}],"padding":{"__isSmartRef__":true,"id":5579},"_Padding":{"__isSmartRef__":true,"id":5580},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":5581},"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":5582},"__LivelyClassName__":"lively.morphic.Text"},"5571":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":5572},"_Extent":{"__isSmartRef__":true,"id":5573},"_BorderColor":{"__isSmartRef__":true,"id":5574},"renderContextTable":{"__isSmartRef__":true,"id":5575},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5572":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5573":{"x":116,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5574":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5575":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"5576":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5577":{"style":{"__isSmartRef__":true,"id":5578},"chunkOwner":{"__isSmartRef__":true,"id":5570},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"5578":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"5579":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5580":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5581":{"x":116,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5582":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"5583":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":5584},"_Extent":{"__isSmartRef__":true,"id":5585},"_Fill":{"__isSmartRef__":true,"id":5586},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":5596},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":5597},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5584":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5585":{"x":116,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5586":{"stops":[{"__isSmartRef__":true,"id":5587},{"__isSmartRef__":true,"id":5589},{"__isSmartRef__":true,"id":5591},{"__isSmartRef__":true,"id":5593}],"vector":{"__isSmartRef__":true,"id":5595},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"5587":{"offset":0,"color":{"__isSmartRef__":true,"id":5588}},"5588":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5589":{"offset":0.4,"color":{"__isSmartRef__":true,"id":5590}},"5590":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5591":{"offset":0.6,"color":{"__isSmartRef__":true,"id":5592}},"5592":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5593":{"offset":1,"color":{"__isSmartRef__":true,"id":5594}},"5594":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5595":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5596":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5597":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"5598":{"x":215,"y":35,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5599":{"stops":[{"__isSmartRef__":true,"id":5600},{"__isSmartRef__":true,"id":5602},{"__isSmartRef__":true,"id":5604},{"__isSmartRef__":true,"id":5606}],"vector":{"__isSmartRef__":true,"id":5595},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"5600":{"offset":0,"color":{"__isSmartRef__":true,"id":5601}},"5601":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5602":{"offset":0.4,"color":{"__isSmartRef__":true,"id":5603}},"5603":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5604":{"offset":0.6,"color":{"__isSmartRef__":true,"id":5605}},"5605":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5606":{"offset":1,"color":{"__isSmartRef__":true,"id":5607}},"5607":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5608":{"sourceObj":{"__isSmartRef__":true,"id":5569},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":20},"targetMethodName":"chooseTargetMorphMenu","__SourceModuleName__":"Global.lively.bindings","converter":null,"converterString":null,"updater":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection"},"5609":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5610":{"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"},"5611":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"5612":{"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"},"5613":{"x":715.5,"y":73.89999999999998,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5614":{"submorphs":[],"scripts":[],"id":435,"shape":{"__isSmartRef__":true,"id":5615},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5622},"_MaxTextWidth":218,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":5623},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorMorphSelector","partsBinMetaInfo":{"__isSmartRef__":true,"id":5624},"textChunks":[{"__isSmartRef__":true,"id":5625}],"charsReplaced":"","lastFindLoc":5,"priorSelectionRange":[15,15],"prevScroll":[0,0],"_ClipMode":"visible","list":[],"attributeConnections":[{"__isSmartRef__":true,"id":5627}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"listMorph":null,"_WhiteSpaceHandling":"pre-wrap","owner":null,"priorExtent":{"__isSmartRef__":true,"id":5629},"_Align":"left","renderContextTable":{"__isSmartRef__":true,"id":5630},"eventHandler":{"__isSmartRef__":true,"id":5631},"_MinTextWidth":218,"_MinTextHeight":null,"scriptAnnotations":{"__isSmartRef__":true,"id":5632},"selection":{"__isSmartRef__":true,"id":1},"previousSelection":[0,13],"isCopyMorphRef":true,"morphRefId":1,"isBeingDragged":false,"draggingEnabled":false,"layout":{"__isSmartRef__":true,"id":5651},"_Rotation":0,"_Scale":1,"distanceToDragEvent":{"__isSmartRef__":true,"id":5652},"savedTextString":"100","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5653},"__LivelyClassName__":"lively.morphic.Text"},"5615":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":5616},"_Extent":{"__isSmartRef__":true,"id":5617},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":5618},"renderContextTable":{"__isSmartRef__":true,"id":5619},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5620},"_BorderRadius":3.7000000000000006,"_Opacity":1,"_BorderStyle":"solid","_Fill":{"__isSmartRef__":true,"id":5621},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5616":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5617":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5618":{"r":0.753,"g":0.753,"b":0.753,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5619":{"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"},"5620":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5621":{"r":0.9548430751559654,"g":0.9548430751559654,"b":0.9548430751559654,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5622":{"x":200,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5623":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5624":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5625":{"style":{"__isSmartRef__":true,"id":5626},"chunkOwner":{"__isSmartRef__":true,"id":5614},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"5626":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"5627":{"sourceObj":{"__isSmartRef__":true,"id":5614},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":2},"targetMethodName":"setTarget","converter":null,"converterString":"function (name) { return $world.get(name)}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":5628},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"5628":{"source":{"__isSmartRef__":true,"id":5614},"target":{"__isSmartRef__":true,"id":2}},"5629":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5630":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"5631":{"morph":{"__isSmartRef__":true,"id":5614},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5632":{"createListMorph":{"__isSmartRef__":true,"id":5633},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":5635},"onMouseUp":{"__isSmartRef__":true,"id":5637},"resetConnections":{"__isSmartRef__":true,"id":5639},"setTargetToListSelection":{"__isSmartRef__":true,"id":5641},"setTargetOfPane":{"__isSmartRef__":true,"id":5643},"onBlur":{"__isSmartRef__":true,"id":5645},"reset":{"__isSmartRef__":true,"id":5647},"onMouseDown":{"__isSmartRef__":true,"id":5649}},"5633":{"time":{"__isSmartRef__":true,"id":5634},"user":"lauritz"},"5634":{"isSerializedDate":true,"string":"Fri Oct 28 2011 05:27:29 GMT+0200 (CEST)"},"5635":{"time":{"__isSmartRef__":true,"id":5636},"user":"lauritz"},"5636":{"isSerializedDate":true,"string":"Fri Oct 14 2011 23:48:37 GMT+0200 (CEST)"},"5637":{"time":{"__isSmartRef__":true,"id":5638},"user":"lauritz"},"5638":{"isSerializedDate":true,"string":"Mon Oct 03 2011 18:51:14 GMT+0200 (CEST)"},"5639":{"time":{"__isSmartRef__":true,"id":5640},"user":"lauritz"},"5640":{"isSerializedDate":true,"string":"Wed Sep 28 2011 01:03:17 GMT+0200 (CEST)"},"5641":{"time":{"__isSmartRef__":true,"id":5642},"user":"lauritz"},"5642":{"isSerializedDate":true,"string":"Sat Oct 15 2011 00:00:58 GMT+0200 (CEST)"},"5643":{"time":{"__isSmartRef__":true,"id":5644},"user":"lauritz"},"5644":{"isSerializedDate":true,"string":"Mon Oct 03 2011 18:34:37 GMT+0200 (CEST)"},"5645":{"time":{"__isSmartRef__":true,"id":5646},"user":"lauritz"},"5646":{"isSerializedDate":true,"string":"Fri Oct 07 2011 19:24:18 GMT+0200 (CEST)"},"5647":{"time":{"__isSmartRef__":true,"id":5648},"user":"lauritz"},"5648":{"isSerializedDate":true,"string":"Fri Oct 07 2011 19:26:15 GMT+0200 (CEST)"},"5649":{"time":{"__isSmartRef__":true,"id":5650},"user":"lauritz"},"5650":{"isSerializedDate":true,"string":"Mon Oct 17 2011 19:49:00 GMT+0200 (CEST)"},"5651":{},"5652":{"x":153.8540395186758,"y":-23.74126935194758,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5653":{"getList":{"__isSmartRef__":true,"id":5654},"setList":{"__isSmartRef__":true,"id":5657},"reset":{"__isSmartRef__":true,"id":5660},"example":{"__isSmartRef__":true,"id":5663},"removeList":{"__isSmartRef__":true,"id":5666},"onBlur":{"__isSmartRef__":true,"id":5669},"createListMorph":{"__isSmartRef__":true,"id":5676},"resetConnections":{"__isSmartRef__":true,"id":5679},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":5682},"setTargetToListSelection":{"__isSmartRef__":true,"id":5685},"setTargetOfPane":{"__isSmartRef__":true,"id":5688},"onMouseDown":{"__isSmartRef__":true,"id":5691}},"5654":{"varMapping":{"__isSmartRef__":true,"id":5655},"source":"function getList() {\n return this.world().indentedListItemsOfMorphNames();\n}","funcProperties":{"__isSmartRef__":true,"id":5656},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5655":{"this":{"__isSmartRef__":true,"id":5614}},"5656":{},"5657":{"varMapping":{"__isSmartRef__":true,"id":5658},"source":"function setList(list) {\n return this.list = list;\n}","funcProperties":{"__isSmartRef__":true,"id":5659},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5658":{"this":{"__isSmartRef__":true,"id":5614}},"5659":{},"5660":{"varMapping":{"__isSmartRef__":true,"id":5661},"source":"function reset() {\n this.list = [];\n this.textString = 'empty';\n this.removeList();\n this.resetConnections();\n this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'})\n}","funcProperties":{"__isSmartRef__":true,"id":5662},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5661":{"this":{"__isSmartRef__":true,"id":5614}},"5662":{},"5663":{"varMapping":{"__isSmartRef__":true,"id":5664},"source":"function example() {\n/*\nthis.example()\nthis.getList()\n*/\n this.setList(Array.range(0,100));\n this.textString = 'empty';\n}","funcProperties":{"__isSmartRef__":true,"id":5665},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5664":{"this":{"__isSmartRef__":true,"id":5614}},"5665":{},"5666":{"varMapping":{"__isSmartRef__":true,"id":5667},"source":"function removeList() {\n this.listMorph && this.listMorph.remove()\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":5668},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5667":{"this":{"__isSmartRef__":true,"id":5614}},"5668":{},"5669":{"varMapping":{"__isSmartRef__":true,"id":5670},"source":"function onBlur() {\n $super();\n this.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":5675},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5670":{"this":{"__isSmartRef__":true,"id":5614},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5671}},"5671":{"$super":{"__isSmartRef__":true,"id":5672}},"5672":{"varMapping":{"__isSmartRef__":true,"id":5673},"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":5674},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5673":{"obj":{"__isSmartRef__":true,"id":5614},"name":"onBlur"},"5674":{},"5675":{},"5676":{"varMapping":{"__isSmartRef__":true,"id":5677},"source":"function createListMorph() {\n var list = new lively.morphic.List(new Rectangle(0,0, this.getExtent().x, 520));\n list.setList(this.getList());\n list.setFontSize(12);\n\n list.disableGrabbing();\n list.disableDragging();\n \n this.addMorph(list);\n list.setPosition(pt(0,0));\n\n connect(list, 'selection', this, 'setTargetToListSelection');\n \n return list;\n}","funcProperties":{"__isSmartRef__":true,"id":5678},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5677":{"this":{"__isSmartRef__":true,"id":5614}},"5678":{},"5679":{"varMapping":{"__isSmartRef__":true,"id":5680},"source":"function resetConnections() {\n disconnectAll(this);\n connect(this, 'savedTextString', this.owner, 'setTarget', {converter: \n\tfunction (name) { return $world.get(name)}});\n}","funcProperties":{"__isSmartRef__":true,"id":5681},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5680":{"this":{"__isSmartRef__":true,"id":5614}},"5681":{},"5682":{"varMapping":{"__isSmartRef__":true,"id":5683},"source":"function displayTopLevelMorphs() {\n if (this.listMorph) { this.removeList(); return true }\n var list = this.createListMorph(); \n this.addMorph(list);\n this.listMorph = list;\n}","funcProperties":{"__isSmartRef__":true,"id":5684},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5683":{"this":{"__isSmartRef__":true,"id":5614}},"5684":{},"5685":{"varMapping":{"__isSmartRef__":true,"id":5686},"source":"function setTargetToListSelection(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":5687},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5686":{"this":{"__isSmartRef__":true,"id":5614}},"5687":{},"5688":{"varMapping":{"__isSmartRef__":true,"id":5689},"source":"function setTargetOfPane(selection) {\n this.owner.setTarget(selection);\n this.setTextString(selection.getName());\n this.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":5690},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5689":{"this":{"__isSmartRef__":true,"id":5614}},"5690":{},"5691":{"varMapping":{"__isSmartRef__":true,"id":5692},"source":"function onMouseDown(evt) {\n if (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n if (this.listMorph) {\n return false;\n } else {\n this.displayTopLevelMorphs();\n return true;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5697},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5692":{"this":{"__isSmartRef__":true,"id":5614},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5693}},"5693":{"$super":{"__isSmartRef__":true,"id":5694}},"5694":{"varMapping":{"__isSmartRef__":true,"id":5695},"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":5696},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5695":{"obj":{"__isSmartRef__":true,"id":5614},"name":"onMouseDown"},"5696":{},"5697":{},"5698":{"morph":{"__isSmartRef__":true,"id":20},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5699":{"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":5700},"setTarget":{"__isSmartRef__":true,"id":5703},"generateSourceForScript":{"__isSmartRef__":true,"id":5706},"generateSourceForConnection":{"__isSmartRef__":true,"id":5709},"generateTargetCode":{"__isSmartRef__":true,"id":5712},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":5715},"displayJavaScriptSource":{"__isSmartRef__":true,"id":5718},"displaySourceForScript":{"__isSmartRef__":true,"id":5721},"displaySourceForConnection":{"__isSmartRef__":true,"id":5724},"newScript":{"__isSmartRef__":true,"id":5727},"newConnection":{"__isSmartRef__":true,"id":5730},"deleteSelectedScript":{"__isSmartRef__":true,"id":5733},"disconnectConnection":{"__isSmartRef__":true,"id":5736},"updateLists":{"__isSmartRef__":true,"id":5739},"displayInitialScript":{"__isSmartRef__":true,"id":5742},"reset":{"__isSmartRef__":true,"id":5745},"selectChangedContent":{"__isSmartRef__":true,"id":5748}},"5700":{"varMapping":{"__isSmartRef__":true,"id":5701},"source":"function sortedScriptNamesOfObj(obj) {\n if (!Functions.own(obj) || Functions.own(obj).size() == 0) return [];\n return Functions.own(obj)\n\t.select(function(name) { return obj[name].hasLivelyClosure })\n\t.sortBy(function(name) { return name.toLowerCase() });\n}","funcProperties":{"__isSmartRef__":true,"id":5702},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5701":{"this":{"__isSmartRef__":true,"id":20}},"5702":{},"5703":{"varMapping":{"__isSmartRef__":true,"id":5704},"source":"function setTarget(morph) {\n this.reset();\n module('lively.ide.SyntaxHighlighting').load(true);\n this.target = morph;\n this.morphSelector.textString = (this.target.getName() || this.target.toString());\n this.scriptPane.doitContext = this.target;\n this.updateLists();\n this.displayInitialScript();\n}","funcProperties":{"__isSmartRef__":true,"id":5705},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5704":{"this":{"__isSmartRef__":true,"id":20}},"5705":{},"5706":{"varMapping":{"__isSmartRef__":true,"id":5707},"source":"function generateSourceForScript(scriptName) {\n var script = this.target[scriptName].getOriginal();\n return Strings.format('this.addScript(%s);' ,script)\n}","funcProperties":{"__isSmartRef__":true,"id":5708},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5707":{"this":{"__isSmartRef__":true,"id":20}},"5708":{},"5709":{"varMapping":{"__isSmartRef__":true,"id":5710},"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":5711},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5710":{"this":{"__isSmartRef__":true,"id":20}},"5711":{},"5712":{"varMapping":{"__isSmartRef__":true,"id":5713},"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":5714},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5713":{"this":{"__isSmartRef__":true,"id":20}},"5714":{},"5715":{"varMapping":{"__isSmartRef__":true,"id":5716},"source":"function sortedConnectionNamesOfObj(obj) {\n if (\"attributeConnections\" in obj) {\n return obj.attributeConnections\n .sortBy(function(each) {return name.toLowerCase() })\n .collect(function(each) {return [each.getSourceAttrName(), each]});\n } else {\n return [];\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5717},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5716":{"this":{"__isSmartRef__":true,"id":20}},"5717":{},"5718":{"varMapping":{"__isSmartRef__":true,"id":5719},"source":"function displayJavaScriptSource(jsCode) {\n this.scriptPane.setTextString(jsCode);\n this.scriptPane.highlightJavaScriptSyntax();\n}","funcProperties":{"__isSmartRef__":true,"id":5720},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5719":{"this":{"__isSmartRef__":true,"id":20}},"5720":{},"5721":{"varMapping":{"__isSmartRef__":true,"id":5722},"source":"function displaySourceForScript(scriptName) {\n if (!scriptName) return;\n var code = \"\", that = this;\n if (scriptName === \"-- ALL --\") {\n this.sortedScriptNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForScript(each)).concat(\"\\n\\n\");\n });\n } else {\n code = this.generateSourceForScript(scriptName); \n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":5723},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5722":{"this":{"__isSmartRef__":true,"id":20}},"5723":{},"5724":{"varMapping":{"__isSmartRef__":true,"id":5725},"source":"function displaySourceForConnection(connection) {\n if (!connection) return;\n var code = \"\", that = this;\n if ((typeof connection === \"string\") && connection === \"-- ALL --\") {\n this.sortedConnectionNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForConnection(each[1])).concat(\"\\n\\n\");\n })\n } else {\n code = this.generateSourceForConnection(connection);\n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":5726},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5725":{"this":{"__isSmartRef__":true,"id":20}},"5726":{},"5727":{"varMapping":{"__isSmartRef__":true,"id":5728},"source":"function newScript() {\n if (this.target) {\n var code = \"this.addScript(function SCRIPTNAME() {\\n\\t\\n});\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5729},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5728":{"this":{"__isSmartRef__":true,"id":20}},"5729":{},"5730":{"varMapping":{"__isSmartRef__":true,"id":5731},"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":5732},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5731":{"this":{"__isSmartRef__":true,"id":20}},"5732":{},"5733":{"varMapping":{"__isSmartRef__":true,"id":5734},"source":"function deleteSelectedScript() {\n if (this.scriptList.selection && this.target) {\n if (!this.target.hasOwnProperty(this.scriptList.selection)) return;\n delete this.target[this.scriptList.selection];\n this.updateLists();\n this.displayInitialScript();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5735},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5734":{"this":{"__isSmartRef__":true,"id":20}},"5735":{},"5736":{"varMapping":{"__isSmartRef__":true,"id":5737},"source":"function disconnectConnection() {\n var selection = this.connectionList.selection;\n if (selection && \n (typeof selection !== \"string\") &&\n this.target.attributeConnections.indexOf(selection[1]) > -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":5738},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5737":{"this":{"__isSmartRef__":true,"id":20}},"5738":{},"5739":{"varMapping":{"__isSmartRef__":true,"id":5740},"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":5741},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5740":{"this":{"__isSmartRef__":true,"id":20}},"5741":{},"5742":{"varMapping":{"__isSmartRef__":true,"id":5743},"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":5744},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5743":{"this":{"__isSmartRef__":true,"id":20}},"5744":{},"5745":{"varMapping":{"__isSmartRef__":true,"id":5746},"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":5747},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5746":{"this":{"__isSmartRef__":true,"id":20}},"5747":{},"5748":{"varMapping":{"__isSmartRef__":true,"id":5749},"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":5948},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5947":{"this":{"__isSmartRef__":true,"id":5894}},"5948":{"timestamp":{"__isSmartRef__":true,"id":5949},"user":"lauritz","categories":[]},"5949":{"isSerializedDate":true,"string":"Fri Nov 11 2011 01:46:54 GMT+0100 (CET)"},"5950":{"submorphs":[{"__isSmartRef__":true,"id":5951}],"scripts":[],"id":"69632880-4E01-419A-AA64-B5B54B629D14","shape":{"__isSmartRef__":true,"id":5966},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5982},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":5969},"lighterFill":{"__isSmartRef__":true,"id":5983},"label":{"__isSmartRef__":true,"id":5951},"attributeConnections":[{"__isSmartRef__":true,"id":5992}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":5994},"name":"ObjectEditorRemoveScriptButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":5995},"renderContextTable":{"__isSmartRef__":true,"id":5996},"priorExtent":{"__isSmartRef__":true,"id":5997},"owner":{"__isSmartRef__":true,"id":2},"eventHandler":{"__isSmartRef__":true,"id":5998},"isCopyMorphRef":true,"morphRefId":24,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":2},"distanceToDragEvent":{"__isSmartRef__":true,"id":5999},"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","7DDF7175-34FC-4521-A7C3-580A8BE63351","DEA39C05-FAD7-4882-AB3D-0EE12C3408F9","99186A50-1411-4B6F-B1CB-FF0742C20D7D"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6000},"__LivelyClassName__":"lively.morphic.Button"},"5951":{"submorphs":[],"scripts":[],"id":"C1193934-8E0C-4AF5-B6CC-5D38E27EA660","shape":{"__isSmartRef__":true,"id":5952},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":21,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5958},"textColor":{"__isSmartRef__":true,"id":5955},"owner":{"__isSmartRef__":true,"id":5950},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":5959}],"padding":{"__isSmartRef__":true,"id":5961},"_Padding":{"__isSmartRef__":true,"id":5962},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":5963},"_FontFamily":"Helvetica, Sans-Serif","renderContextTable":{"__isSmartRef__":true,"id":5964},"_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":5965},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":21,"_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","B4C4F09B-F663-47A1-B85F-461D5452F5F8","FD966AB1-4685-4151-9A38-B1B21B0237EF","CA91FC2C-D7CC-4123-AFD2-108F8F0C2E97"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"5952":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":5953},"_Extent":{"__isSmartRef__":true,"id":5954},"_BorderColor":{"__isSmartRef__":true,"id":5955},"renderContextTable":{"__isSmartRef__":true,"id":5956},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":5957},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5953":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5954":{"x":25,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5955":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5956":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"5957":{"x":2,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5958":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5959":{"style":{"__isSmartRef__":true,"id":5960},"chunkOwner":{"__isSmartRef__":true,"id":5951},"storedString":"-","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"5960":{"__SourceModuleName__":"Global.lively.morphic.TextCore","textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis"},"5961":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5962":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5963":{"x":25,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5964":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"5965":{"morph":{"__isSmartRef__":true,"id":5951},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5966":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":5967},"_Extent":{"__isSmartRef__":true,"id":5968},"_Fill":{"__isSmartRef__":true,"id":5969},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":5979},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":5980},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5981},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5967":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5968":{"x":25,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5969":{"stops":[{"__isSmartRef__":true,"id":5970},{"__isSmartRef__":true,"id":5972},{"__isSmartRef__":true,"id":5974},{"__isSmartRef__":true,"id":5976}],"vector":{"__isSmartRef__":true,"id":5978},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"5970":{"offset":0,"color":{"__isSmartRef__":true,"id":5971}},"5971":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5972":{"offset":0.4,"color":{"__isSmartRef__":true,"id":5973}},"5973":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5974":{"offset":0.6,"color":{"__isSmartRef__":true,"id":5975}},"5975":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5976":{"offset":1,"color":{"__isSmartRef__":true,"id":5977}},"5977":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5978":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5979":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5980":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"5981":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5982":{"x":160,"y":40,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5983":{"stops":[{"__isSmartRef__":true,"id":5984},{"__isSmartRef__":true,"id":5986},{"__isSmartRef__":true,"id":5988},{"__isSmartRef__":true,"id":5990}],"vector":{"__isSmartRef__":true,"id":5978},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"5984":{"offset":0,"color":{"__isSmartRef__":true,"id":5985}},"5985":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5986":{"offset":0.4,"color":{"__isSmartRef__":true,"id":5987}},"5987":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5988":{"offset":0.6,"color":{"__isSmartRef__":true,"id":5989}},"5989":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5990":{"offset":1,"color":{"__isSmartRef__":true,"id":5991}},"5991":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5992":{"sourceObj":{"__isSmartRef__":true,"id":5950},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":5950},"targetMethodName":"deleteSelectedScript","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":5993},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"5993":{"source":{"__isSmartRef__":true,"id":5950},"target":{"__isSmartRef__":true,"id":5950}},"5994":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5995":{"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"},"5996":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"5997":{"x":30,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5998":{"morph":{"__isSmartRef__":true,"id":5950},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5999":{"x":33.35839679439101,"y":-21.324811622839547,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6000":{"deleteSelectedScript":{"__isSmartRef__":true,"id":6001}},"6001":{"varMapping":{"__isSmartRef__":true,"id":6002},"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":6003},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6002":{"this":{"__isSmartRef__":true,"id":5950}},"6003":{"timestamp":{"__isSmartRef__":true,"id":6004},"user":"lauritz"},"6004":{"isSerializedDate":true,"string":"Thu Nov 17 2011 18:12:21 GMT+0100 (CET)"},"6005":{"submorphs":[{"__isSmartRef__":true,"id":6006}],"scripts":[],"id":"CC76D268-57D3-4672-A3A2-8941FC6E80A8","shape":{"__isSmartRef__":true,"id":6022},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6038},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":6025},"lighterFill":{"__isSmartRef__":true,"id":6039},"label":{"__isSmartRef__":true,"id":6006},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":6048},"name":"ObjectEditorMorphSelector","partsBinMetaInfo":{"__isSmartRef__":true,"id":6049},"list":[],"renderContextTable":{"__isSmartRef__":true,"id":6050},"eventHandler":{"__isSmartRef__":true,"id":6051},"distanceToDragEvent":{"__isSmartRef__":true,"id":6052},"priorExtent":{"__isSmartRef__":true,"id":6053},"owner":{"__isSmartRef__":true,"id":2},"textString":"","selection":{"__isSmartRef__":true,"id":6054},"_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","A50C1893-4138-4E29-865B-92F53F76D08A","1EC5D2B9-3539-419A-8DD6-CE82DEABB02C","95DC06D5-F4C7-49E2-8A01-110D1B0AFBD0"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6071},"__LivelyClassName__":"lively.morphic.Button"},"6006":{"submorphs":[],"scripts":[],"id":"D060CC1C-140A-4E3E-9EB8-02A3F6920C8D","shape":{"__isSmartRef__":true,"id":6007},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":220,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6013},"textColor":{"__isSmartRef__":true,"id":6010},"owner":{"__isSmartRef__":true,"id":6005},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":6014}],"padding":{"__isSmartRef__":true,"id":6016},"_Padding":{"__isSmartRef__":true,"id":6016},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":6017},"attributeConnections":[{"__isSmartRef__":true,"id":6018}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"renderContextTable":{"__isSmartRef__":true,"id":6019},"eventHandler":{"__isSmartRef__":true,"id":6020},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":220,"_MinTextHeight":null,"_Align":"left","_FontFamily":"Arial","_FontSize":10,"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","74158C3D-B79E-43E7-B111-48701B10ACE2","B19E117B-E40F-4B9F-86AC-BFB2AAFD5336","4E3B3D72-E52C-44ED-AE32-78939BA1ECFD"],"_TextColor":{"__isSmartRef__":true,"id":6021},"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"6007":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":6008},"_Extent":{"__isSmartRef__":true,"id":6009},"_BorderColor":{"__isSmartRef__":true,"id":6010},"renderContextTable":{"__isSmartRef__":true,"id":6011},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":6012},"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6008":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6009":{"x":220,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6010":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6011":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"6012":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6013":{"x":2,"y":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6014":{"style":{"__isSmartRef__":true,"id":6015},"chunkOwner":{"__isSmartRef__":true,"id":6006},"storedString":"TouchList","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"6015":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6016":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6017":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6018":{"sourceObj":{"__isSmartRef__":true,"id":6006},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":6005},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"6019":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"6020":{"morph":{"__isSmartRef__":true,"id":6006},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6021":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6022":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":6023},"_Extent":{"__isSmartRef__":true,"id":6024},"_Fill":{"__isSmartRef__":true,"id":6025},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6035},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":6036},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6037},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6023":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6024":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6025":{"stops":[{"__isSmartRef__":true,"id":6026},{"__isSmartRef__":true,"id":6028},{"__isSmartRef__":true,"id":6030},{"__isSmartRef__":true,"id":6032}],"vector":{"__isSmartRef__":true,"id":6034},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6026":{"offset":0,"color":{"__isSmartRef__":true,"id":6027}},"6027":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6028":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6029}},"6029":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6030":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6031}},"6031":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6032":{"offset":1,"color":{"__isSmartRef__":true,"id":6033}},"6033":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6034":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6035":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6036":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"6037":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6038":{"x":240.1308656788165,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6039":{"stops":[{"__isSmartRef__":true,"id":6040},{"__isSmartRef__":true,"id":6042},{"__isSmartRef__":true,"id":6044},{"__isSmartRef__":true,"id":6046}],"vector":{"__isSmartRef__":true,"id":6034},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6040":{"offset":0,"color":{"__isSmartRef__":true,"id":6041}},"6041":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6042":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6043}},"6043":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6044":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6045}},"6045":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6046":{"offset":1,"color":{"__isSmartRef__":true,"id":6047}},"6047":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6048":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6049":{"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"},"6050":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6051":{"morph":{"__isSmartRef__":true,"id":6005},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6052":{"x":122.93118375058827,"y":-11.582832083333244,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6053":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6054":{"submorphs":[],"scripts":[],"id":181,"shape":{"__isSmartRef__":true,"id":6055},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6061},"_MaxTextWidth":580,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":6062},"showsHalos":false,"_FontSize":28,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Title","partsBinMetaInfo":{"__isSmartRef__":true,"id":6063},"_TextColor":{"__isSmartRef__":true,"id":6064},"renderContextTable":{"__isSmartRef__":true,"id":6065},"textChunks":[{"__isSmartRef__":true,"id":6066}],"eventHandler":{"__isSmartRef__":true,"id":6068},"priorExtent":{"__isSmartRef__":true,"id":6069},"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":6070},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","isCopyMorphRef":true,"morphRefId":2,"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.Text"},"6055":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":6056},"_Extent":{"__isSmartRef__":true,"id":6057},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6058},"renderContextTable":{"__isSmartRef__":true,"id":6059},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6060},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6056":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6057":{"x":580,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6058":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6059":{"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"},"6060":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6061":{"x":37,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6062":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6063":{"partsSpaceName":"PartsBin/Worlds/","__SourceModuleName__":"Global.lively.PartsBin","comment":"For example a world title.","partName":"Title","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"6064":{"r":0,"g":0.309,"b":0.595,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6065":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"6066":{"style":{"__isSmartRef__":true,"id":6067},"chunkOwner":{"__isSmartRef__":true,"id":6054},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"6067":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6068":{"morph":{"__isSmartRef__":true,"id":6054},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6069":{"x":580,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6070":{"x":221,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6071":{"createListMorph":{"__isSmartRef__":true,"id":6072},"getList":{"__isSmartRef__":true,"id":6076},"removeList":{"__isSmartRef__":true,"id":6080},"reset":{"__isSmartRef__":true,"id":6084},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":6088},"onMouseDown":{"__isSmartRef__":true,"id":6092},"setTargetOfPane":{"__isSmartRef__":true,"id":6100},"setTargetToListSelection":{"__isSmartRef__":true,"id":6104},"onBlur":{"__isSmartRef__":true,"id":6108},"setTarget":{"__isSmartRef__":true,"id":6116},"setTargetOnSelection":{"__isSmartRef__":true,"id":6120}},"6072":{"varMapping":{"__isSmartRef__":true,"id":6073},"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":6074},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6073":{"this":{"__isSmartRef__":true,"id":6005}},"6074":{"timestamp":{"__isSmartRef__":true,"id":6075},"user":"lauritz","tags":[]},"6075":{"isSerializedDate":true,"string":"Tue Dec 13 2011 18:55:41 GMT+0100 (CET)"},"6076":{"varMapping":{"__isSmartRef__":true,"id":6077},"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":6078},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6077":{"this":{"__isSmartRef__":true,"id":6005}},"6078":{"timestamp":{"__isSmartRef__":true,"id":6079},"user":"lauritz","tags":[]},"6079":{"isSerializedDate":true,"string":"Mon Nov 21 2011 23:12:23 GMT+0100 (CET)"},"6080":{"varMapping":{"__isSmartRef__":true,"id":6081},"source":"function removeList() {\n this.listMorph && this.listMorph.remove();\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":6082},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6081":{"this":{"__isSmartRef__":true,"id":6005}},"6082":{"timestamp":{"__isSmartRef__":true,"id":6083},"user":"lauritz","tags":[]},"6083":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:51:07 GMT+0100 (CET)"},"6084":{"varMapping":{"__isSmartRef__":true,"id":6085},"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":6086},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6085":{"this":{"__isSmartRef__":true,"id":6005}},"6086":{"timestamp":{"__isSmartRef__":true,"id":6087},"user":"lauritz","tags":[]},"6087":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:34:06 GMT+0100 (CET)"},"6088":{"varMapping":{"__isSmartRef__":true,"id":6089},"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":6090},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6089":{"this":{"__isSmartRef__":true,"id":6005}},"6090":{"timestamp":{"__isSmartRef__":true,"id":6091},"user":"lauritz","tags":[]},"6091":{"isSerializedDate":true,"string":"Tue Dec 13 2011 18:53:20 GMT+0100 (CET)"},"6092":{"varMapping":{"__isSmartRef__":true,"id":6093},"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":6098},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6093":{"this":{"__isSmartRef__":true,"id":6005},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6094}},"6094":{"$super":{"__isSmartRef__":true,"id":6095}},"6095":{"varMapping":{"__isSmartRef__":true,"id":6096},"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":6097},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6096":{"obj":{"__isSmartRef__":true,"id":6005},"name":"onMouseDown"},"6097":{},"6098":{"timestamp":{"__isSmartRef__":true,"id":6099},"user":"lauritz","tags":[]},"6099":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:30:39 GMT+0100 (CET)"},"6100":{"varMapping":{"__isSmartRef__":true,"id":6101},"source":"function setTargetOfPane(selection) {\n this.owner.setTarget(selection);\n this.label.setAlign('left');\n}","funcProperties":{"__isSmartRef__":true,"id":6102},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6101":{"this":{"__isSmartRef__":true,"id":6005}},"6102":{"timestamp":{"__isSmartRef__":true,"id":6103},"user":"lauritz","tags":[]},"6103":{"isSerializedDate":true,"string":"Wed Dec 07 2011 04:30:42 GMT+0100 (CET)"},"6104":{"varMapping":{"__isSmartRef__":true,"id":6105},"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":6106},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6105":{"this":{"__isSmartRef__":true,"id":6005}},"6106":{"timestamp":{"__isSmartRef__":true,"id":6107},"user":"lauritz","tags":[]},"6107":{"isSerializedDate":true,"string":"Wed Dec 07 2011 06:06:48 GMT+0100 (CET)"},"6108":{"varMapping":{"__isSmartRef__":true,"id":6109},"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":6114},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6109":{"this":{"__isSmartRef__":true,"id":6005},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6110}},"6110":{"$super":{"__isSmartRef__":true,"id":6111}},"6111":{"varMapping":{"__isSmartRef__":true,"id":6112},"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":6113},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6112":{"obj":{"__isSmartRef__":true,"id":6005},"name":"onBlur"},"6113":{},"6114":{"timestamp":{"__isSmartRef__":true,"id":6115},"user":"lauritz","tags":[]},"6115":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:30:08 GMT+0100 (CET)"},"6116":{"varMapping":{"__isSmartRef__":true,"id":6117},"source":"function setTarget(target) {\n this.label.setTextString(target.getName() || target.toString());\n}","funcProperties":{"__isSmartRef__":true,"id":6118},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6117":{"this":{"__isSmartRef__":true,"id":6005}},"6118":{"timestamp":{"__isSmartRef__":true,"id":6119},"user":"lauritz","tags":[]},"6119":{"isSerializedDate":true,"string":"Wed Dec 07 2011 04:29:39 GMT+0100 (CET)"},"6120":{"varMapping":{"__isSmartRef__":true,"id":6121},"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":6122},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6121":{"this":{"__isSmartRef__":true,"id":6005}},"6122":{"timestamp":{"__isSmartRef__":true,"id":6123},"user":"lauritz","tags":[]},"6123":{"isSerializedDate":true,"string":"Wed Dec 07 2011 06:12:06 GMT+0100 (CET)"},"6124":{"submorphs":[],"scripts":[],"id":"70A6820F-19BB-4DB6-B717-A3C87394766B","shape":{"__isSmartRef__":true,"id":6125},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6131},"_MaxTextWidth":64.8979476392384,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":6128},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorScriptsText1","partsBinMetaInfo":{"__isSmartRef__":true,"id":6132},"textChunks":[{"__isSmartRef__":true,"id":6133}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":6135},"renderContextTable":{"__isSmartRef__":true,"id":6136},"eventHandler":{"__isSmartRef__":true,"id":6137},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_MinTextHeight":null,"_ClipMode":"visible","draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":6138},"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":2},"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","36D1ECF9-591F-426B-A4F6-B337D7DB053B","CB52849C-BE64-4053-8D07-758F969F84EB","F1C241D4-A689-4DB7-942F-ADB5F39D9CAA"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"6125":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":6126},"_Extent":{"__isSmartRef__":true,"id":6127},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6128},"renderContextTable":{"__isSmartRef__":true,"id":6129},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6130},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6126":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6127":{"x":64.8979476392384,"y":15,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6128":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6129":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"6130":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6131":{"x":198.16434648623274,"y":12.911539589748486,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6132":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"6133":{"style":{"__isSmartRef__":true,"id":6134},"chunkOwner":{"__isSmartRef__":true,"id":6124},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Target:","__LivelyClassName__":"lively.morphic.TextChunk"},"6134":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6135":{"x":64.8979476392384,"y":15,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6136":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"6137":{"morph":{"__isSmartRef__":true,"id":6124},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6138":{"x":41.065989525935834,"y":-10.506047005169194,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6139":{"submorphs":[],"scripts":[],"id":"500878A1-D606-4502-9CF5-2B7490EA723A","shape":{"__isSmartRef__":true,"id":6140},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6146},"_MaxTextWidth":64.8979476392384,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":6143},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorScriptsText2","partsBinMetaInfo":{"__isSmartRef__":true,"id":6147},"textChunks":[{"__isSmartRef__":true,"id":6148}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":6150},"renderContextTable":{"__isSmartRef__":true,"id":6151},"eventHandler":{"__isSmartRef__":true,"id":6152},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_MinTextHeight":null,"_ClipMode":"visible","draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":6153},"eventsAreIgnored":true,"isCopyMorphRef":true,"morphRefId":27,"owner":{"__isSmartRef__":true,"id":2},"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","75C07D11-AE5D-4A36-B2D0-F2A6EA414E72","494AB1C0-2C09-49DE-B4AA-1F24DC7495FF","25199967-E3BA-4763-A704-37BD3152A5F7"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"6140":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":6141},"_Extent":{"__isSmartRef__":true,"id":6142},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6143},"renderContextTable":{"__isSmartRef__":true,"id":6144},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6145},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6141":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6142":{"x":64.8979476392384,"y":15,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6143":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6144":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"6145":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6146":{"x":10,"y":12.911539589749026,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6147":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"6148":{"style":{"__isSmartRef__":true,"id":6149},"chunkOwner":{"__isSmartRef__":true,"id":6139},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Tag:","__LivelyClassName__":"lively.morphic.TextChunk"},"6149":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6150":{"x":64.8979476392384,"y":15,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6151":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"6152":{"morph":{"__isSmartRef__":true,"id":6139},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6153":{"x":45.76052154281416,"y":-27.783027415339603,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6154":{"submorphs":[{"__isSmartRef__":true,"id":6155}],"scripts":[],"id":"96D70D21-FB8F-4DD1-8594-46B14C3DAC44","shape":{"__isSmartRef__":true,"id":6169},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6185},"value":true,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":6186},"lighterFill":{"__isSmartRef__":true,"id":6172},"label":{"__isSmartRef__":true,"id":6155},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":6195},"name":"ObjectEditorTagChooser","partsBinMetaInfo":{"__isSmartRef__":true,"id":6196},"listMorph":null,"list":[],"renderContextTable":{"__isSmartRef__":true,"id":6197},"eventHandler":{"__isSmartRef__":true,"id":6198},"distanceToDragEvent":{"__isSmartRef__":true,"id":6199},"priorExtent":{"__isSmartRef__":true,"id":6200},"textString":"PartsBinBrowser","selection":"","_ClipMode":"visible","prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":2},"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","C66EBEEC-B7CE-4DD9-8BDF-905F071F965D","D68B143A-A712-4FD0-8803-62CCB4C7F763","ED802271-AE5C-4BE9-AC4E-7CED44BC864B"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6201},"__LivelyClassName__":"lively.morphic.Button"},"6155":{"submorphs":[],"scripts":[],"id":"D55D3D22-B28E-45B2-BD32-FE4EA783A10F","shape":{"__isSmartRef__":true,"id":6156},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":130,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6161},"textColor":{"__isSmartRef__":true,"id":6159},"owner":{"__isSmartRef__":true,"id":6154},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":6162}],"padding":{"__isSmartRef__":true,"id":6164},"_Padding":{"__isSmartRef__":true,"id":6164},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":6165},"attributeConnections":[{"__isSmartRef__":true,"id":6166}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"renderContextTable":{"__isSmartRef__":true,"id":6167},"eventHandler":{"__isSmartRef__":true,"id":6168},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":130,"_MinTextHeight":null,"_Align":"left","_FontFamily":"Arial","_FontSize":10,"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","567FC668-A57C-41CB-8252-8912826B3144","D0B0775F-C8E7-49EB-BBB2-C7BB7DD464BF","AABED87D-D7C0-494A-8803-26F4601E35FF"],"_TextColor":{"__isSmartRef__":true,"id":6021},"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"6156":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":6157},"_Extent":{"__isSmartRef__":true,"id":6158},"_BorderColor":{"__isSmartRef__":true,"id":6159},"renderContextTable":{"__isSmartRef__":true,"id":6160},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":6012},"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6157":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6158":{"x":130,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6159":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6160":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"6161":{"x":2,"y":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6162":{"style":{"__isSmartRef__":true,"id":6163},"chunkOwner":{"__isSmartRef__":true,"id":6155},"storedString":"all","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"6163":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6164":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6165":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6166":{"sourceObj":{"__isSmartRef__":true,"id":6155},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":6154},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"6167":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"6168":{"morph":{"__isSmartRef__":true,"id":6155},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6169":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":6170},"_Extent":{"__isSmartRef__":true,"id":6171},"_Fill":{"__isSmartRef__":true,"id":6172},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6182},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":6183},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6184},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6170":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6171":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6172":{"stops":[{"__isSmartRef__":true,"id":6173},{"__isSmartRef__":true,"id":6175},{"__isSmartRef__":true,"id":6177},{"__isSmartRef__":true,"id":6179}],"vector":{"__isSmartRef__":true,"id":6181},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6173":{"offset":0,"color":{"__isSmartRef__":true,"id":6174}},"6174":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6175":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6176}},"6176":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6177":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6178}},"6178":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6179":{"offset":1,"color":{"__isSmartRef__":true,"id":6180}},"6180":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6181":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6182":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6183":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"6184":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6185":{"x":39.12381412396891,"y":10.000000000000057,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6186":{"stops":[{"__isSmartRef__":true,"id":6187},{"__isSmartRef__":true,"id":6189},{"__isSmartRef__":true,"id":6191},{"__isSmartRef__":true,"id":6193}],"vector":{"__isSmartRef__":true,"id":6181},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6187":{"offset":0,"color":{"__isSmartRef__":true,"id":6188}},"6188":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6189":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6190}},"6190":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6191":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6192}},"6192":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6193":{"offset":1,"color":{"__isSmartRef__":true,"id":6194}},"6194":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6195":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6196":{"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"},"6197":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6198":{"morph":{"__isSmartRef__":true,"id":6154},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6199":{"x":85.7442776093583,"y":-11.582832083333244,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6200":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6201":{"createListMorph":{"__isSmartRef__":true,"id":6202},"getList":{"__isSmartRef__":true,"id":6206},"removeList":{"__isSmartRef__":true,"id":6210},"reset":{"__isSmartRef__":true,"id":6214},"onMouseUp":{"__isSmartRef__":true,"id":6218},"onBlur":{"__isSmartRef__":true,"id":6226},"setTag":{"__isSmartRef__":true,"id":6234}},"6202":{"varMapping":{"__isSmartRef__":true,"id":6203},"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":6204},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6203":{"this":{"__isSmartRef__":true,"id":6154}},"6204":{"timestamp":{"__isSmartRef__":true,"id":6205},"user":"lauritz","categories":[]},"6205":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:35:59 GMT+0100 (CET)"},"6206":{"varMapping":{"__isSmartRef__":true,"id":6207},"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":6208},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6207":{"this":{"__isSmartRef__":true,"id":6154}},"6208":{"timestamp":{"__isSmartRef__":true,"id":6209},"user":"lauritz","tags":[]},"6209":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:27:25 GMT+0100 (CET)"},"6210":{"varMapping":{"__isSmartRef__":true,"id":6211},"source":"function removeList() {\n this.listMorph && this.listMorph.remove()\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":6212},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6211":{"this":{"__isSmartRef__":true,"id":6154}},"6212":{"timestamp":{"__isSmartRef__":true,"id":6213},"user":"lauritz","categories":[]},"6213":{"isSerializedDate":true,"string":"Thu Nov 17 2011 19:06:51 GMT+0100 (CET)"},"6214":{"varMapping":{"__isSmartRef__":true,"id":6215},"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":6216},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6215":{"this":{"__isSmartRef__":true,"id":6154}},"6216":{"timestamp":{"__isSmartRef__":true,"id":6217},"user":"lauritz","tags":[]},"6217":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:27:53 GMT+0100 (CET)"},"6218":{"varMapping":{"__isSmartRef__":true,"id":6219},"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":6224},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6219":{"this":{"__isSmartRef__":true,"id":6154},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6220}},"6220":{"$super":{"__isSmartRef__":true,"id":6221}},"6221":{"varMapping":{"__isSmartRef__":true,"id":6222},"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":6223},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6222":{"obj":{"__isSmartRef__":true,"id":6154},"name":"onMouseUp"},"6223":{},"6224":{"timestamp":{"__isSmartRef__":true,"id":6225},"user":"lauritz","categories":[]},"6225":{"isSerializedDate":true,"string":"Thu Nov 17 2011 18:59:16 GMT+0100 (CET)"},"6226":{"varMapping":{"__isSmartRef__":true,"id":6227},"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":6232},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6227":{"this":{"__isSmartRef__":true,"id":6154},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6228}},"6228":{"$super":{"__isSmartRef__":true,"id":6229}},"6229":{"varMapping":{"__isSmartRef__":true,"id":6230},"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":6231},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6230":{"obj":{"__isSmartRef__":true,"id":6154},"name":"onBlur"},"6231":{},"6232":{"timestamp":{"__isSmartRef__":true,"id":6233},"user":"lauritz","categories":[]},"6233":{"isSerializedDate":true,"string":"Mon Nov 21 2011 23:10:03 GMT+0100 (CET)"},"6234":{"varMapping":{"__isSmartRef__":true,"id":6235},"source":"function setTag(tag) {\n this.setLabel(tag || '');\n this.label.setAlign('left');\n this.owner.setTag(tag);\n}","funcProperties":{"__isSmartRef__":true,"id":6236},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6235":{"this":{"__isSmartRef__":true,"id":6154}},"6236":{"timestamp":{"__isSmartRef__":true,"id":6237},"user":"lauritz","categories":[]},"6237":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:36:12 GMT+0100 (CET)"},"6238":{"submorphs":[{"__isSmartRef__":true,"id":6239}],"scripts":[],"id":"7AD4828B-4DE5-415F-A61B-73A954FA5DA2","shape":{"__isSmartRef__":true,"id":6254},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":6258},"lighterFill":{"__isSmartRef__":true,"id":6270},"label":{"__isSmartRef__":true,"id":6239},"name":"Button","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":6279},"attributeConnections":[{"__isSmartRef__":true,"id":6280}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":6316},"renderContextTable":{"__isSmartRef__":true,"id":6317},"eventHandler":{"__isSmartRef__":true,"id":6318},"distanceToDragEvent":{"__isSmartRef__":true,"id":6319},"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","1C6D1DC9-2F9B-4DC4-B453-1CA45B17C516","0E8EC0BF-934B-410B-AEC2-0ECA8C8F774D","97086CE7-CD46-4035-A371-02A41D555A66"],"_Position":{"__isSmartRef__":true,"id":6320},"owner":{"__isSmartRef__":true,"id":2},"layout":{"__isSmartRef__":true,"id":6321},"_ClipMode":"visible","_Rotation":0,"_Scale":0.994014980014994,"__LivelyClassName__":"lively.morphic.Button"},"6239":{"submorphs":[],"scripts":[],"id":"C2164C32-F19E-467C-A5EA-D67D70CC765B","shape":{"__isSmartRef__":true,"id":6240},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6246},"_MaxTextWidth":97,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":6247},"_Padding":{"__isSmartRef__":true,"id":6248},"owner":{"__isSmartRef__":true,"id":6238},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":6249},"textChunks":[{"__isSmartRef__":true,"id":6250}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":6252},"eventHandler":{"__isSmartRef__":true,"id":6253},"_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","81041CF7-31DB-4F65-BB39-FE438A4F266F","D03829B3-268E-40A0-A440-3E4BAC344F30","714637F0-714A-4833-909B-BA4AF1B4628B"],"_MinTextWidth":97,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"6240":{"position":{"__isSmartRef__":true,"id":6241},"_Extent":{"__isSmartRef__":true,"id":6242},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6243},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":6244},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":6245},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6241":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6242":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6243":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6244":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"6245":{"x":2,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6246":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6247":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6248":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6249":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6250":{"style":{"__isSmartRef__":true,"id":6251},"chunkOwner":{"__isSmartRef__":true,"id":6239},"storedString":"run","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"6251":{"__SourceModuleName__":"Global.lively.morphic.TextCore","textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6252":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"6253":{"morph":{"__isSmartRef__":true,"id":6239},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6254":{"position":{"__isSmartRef__":true,"id":6255},"_Extent":{"__isSmartRef__":true,"id":6256},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":6257},"_Fill":{"__isSmartRef__":true,"id":6258},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":6268},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6269},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6255":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6256":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6257":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6258":{"stops":[{"__isSmartRef__":true,"id":6259},{"__isSmartRef__":true,"id":6261},{"__isSmartRef__":true,"id":6263},{"__isSmartRef__":true,"id":6265}],"vector":{"__isSmartRef__":true,"id":6267},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6259":{"offset":0,"color":{"__isSmartRef__":true,"id":6260}},"6260":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6261":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6262}},"6262":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6263":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6264}},"6264":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6265":{"offset":1,"color":{"__isSmartRef__":true,"id":6266}},"6266":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6267":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6268":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"6269":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6270":{"stops":[{"__isSmartRef__":true,"id":6271},{"__isSmartRef__":true,"id":6273},{"__isSmartRef__":true,"id":6275},{"__isSmartRef__":true,"id":6277}],"vector":{"__isSmartRef__":true,"id":6267},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6271":{"offset":0,"color":{"__isSmartRef__":true,"id":6272}},"6272":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6273":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6274}},"6274":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6275":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6276}},"6276":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6277":{"offset":1,"color":{"__isSmartRef__":true,"id":6278}},"6278":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6279":{"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"},"6280":{"sourceObj":{"__isSmartRef__":true,"id":6238},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2},"targetMethodName":"runScript","visualConnector":{"__isSmartRef__":true,"id":6281},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"6281":{"submorphs":[{"__isSmartRef__":true,"id":6282}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6297},"derivationIds":[null],"id":"C89B50A0-17E7-4D22-AE1D-5112520DAEE7","renderContextTable":{"__isSmartRef__":true,"id":6304},"eventHandler":{"__isSmartRef__":true,"id":6305},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":6306},{"__isSmartRef__":true,"id":6307}],"con":{"__isSmartRef__":true,"id":6280},"showsMorphMenu":true,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6308},"__LivelyClassName__":"lively.morphic.Path"},"6282":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6283},"derivationIds":[null],"id":"2A71BE9E-6820-46AF-ACED-3C9BDCC918AF","renderContextTable":{"__isSmartRef__":true,"id":6294},"eventHandler":{"__isSmartRef__":true,"id":6295},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":6296},"owner":{"__isSmartRef__":true,"id":6281},"_Rotation":-3.130064002485303,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"6283":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":6284},{"__isSmartRef__":true,"id":6285},{"__isSmartRef__":true,"id":6286},{"__isSmartRef__":true,"id":6287}],"renderContextTable":{"__isSmartRef__":true,"id":6288},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":6289},"_Extent":{"__isSmartRef__":true,"id":6290},"_Padding":{"__isSmartRef__":true,"id":6291},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6292},"_Fill":{"__isSmartRef__":true,"id":6293},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"6284":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"6285":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"6286":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"6287":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"6288":{"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"},"6289":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6290":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6291":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6292":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6293":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6294":{"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"},"6295":{"morph":{"__isSmartRef__":true,"id":6282},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6296":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6297":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":6298},{"__isSmartRef__":true,"id":6299}],"renderContextTable":{"__isSmartRef__":true,"id":6300},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":6301},"_Extent":{"__isSmartRef__":true,"id":6302},"_Padding":{"__isSmartRef__":true,"id":6303},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6292},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"6298":{"isAbsolute":true,"x":829.7085000406639,"y":9.565843617262885,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"6299":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"6300":{"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"},"6301":{"x":-1,"y":-1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6302":{"x":831,"y":11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6303":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6304":{"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"},"6305":{"morph":{"__isSmartRef__":true,"id":6281},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6306":{"morph":{"__isSmartRef__":true,"id":6281},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"6307":{"morph":{"__isSmartRef__":true,"id":6281},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":6282},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"6308":{"morphMenuItems":{"__isSmartRef__":true,"id":6309}},"6309":{"varMapping":{"__isSmartRef__":true,"id":6310},"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":6315},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6310":{"this":{"__isSmartRef__":true,"id":6281},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6311}},"6311":{"$super":{"__isSmartRef__":true,"id":6312}},"6312":{"varMapping":{"__isSmartRef__":true,"id":6313},"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":6314},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6313":{"obj":{"__isSmartRef__":true,"id":6281},"name":"morphMenuItems"},"6314":{},"6315":{},"6316":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6317":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6318":{"morph":{"__isSmartRef__":true,"id":6238},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6319":{"x":71.99397894387357,"y":-13.030105280631261,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6320":{"x":788.7426780861911,"y":9.508591852040126,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6321":{"centeredHorizontal":false,"moveHorizontal":true},"6322":{"submorphs":[{"__isSmartRef__":true,"id":6323}],"scripts":[],"id":"FDF4107F-9151-45D1-B895-6EC3838DB38E","shape":{"__isSmartRef__":true,"id":6338},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":6342},"lighterFill":{"__isSmartRef__":true,"id":6354},"label":{"__isSmartRef__":true,"id":6323},"name":"saveButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":6363},"attributeConnections":[{"__isSmartRef__":true,"id":6364}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":6400},"renderContextTable":{"__isSmartRef__":true,"id":6401},"eventHandler":{"__isSmartRef__":true,"id":6402},"distanceToDragEvent":{"__isSmartRef__":true,"id":6403},"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","B05829EB-D452-4D81-983B-E2CE425C8260","32B117E5-52D8-4843-B80E-090B9817E099","49AC923E-5272-4E3C-8F02-4F2AED2BC4E9"],"layout":{"__isSmartRef__":true,"id":6404},"_Position":{"__isSmartRef__":true,"id":6405},"owner":{"__isSmartRef__":true,"id":2},"_ClipMode":"visible","_Rotation":0,"_Scale":0.9880657804942089,"__LivelyClassName__":"lively.morphic.Button"},"6323":{"submorphs":[],"scripts":[],"id":"BAC3F780-8691-42B8-8B80-1AEE8A656BAD","shape":{"__isSmartRef__":true,"id":6324},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6330},"_MaxTextWidth":97,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":6331},"_Padding":{"__isSmartRef__":true,"id":6332},"owner":{"__isSmartRef__":true,"id":6322},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":6333},"textChunks":[{"__isSmartRef__":true,"id":6334}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":6336},"eventHandler":{"__isSmartRef__":true,"id":6337},"_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","4529D79B-4CC5-467E-91F8-661C3A5F49F8","1E5E570C-FD42-45E3-A7F6-768BB14ACD14","A13FB4E0-72F2-4E7C-A861-EDCBA1393860"],"_MinTextWidth":97,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"6324":{"position":{"__isSmartRef__":true,"id":6325},"_Extent":{"__isSmartRef__":true,"id":6326},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6327},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":6328},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":6329},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6325":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6326":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6327":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6328":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"6329":{"x":2,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6330":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6331":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6332":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6333":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6334":{"style":{"__isSmartRef__":true,"id":6335},"chunkOwner":{"__isSmartRef__":true,"id":6323},"storedString":"save","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"6335":{"__SourceModuleName__":"Global.lively.morphic.TextCore","textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6336":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"6337":{"morph":{"__isSmartRef__":true,"id":6323},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6338":{"position":{"__isSmartRef__":true,"id":6339},"_Extent":{"__isSmartRef__":true,"id":6340},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":6341},"_Fill":{"__isSmartRef__":true,"id":6342},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":6352},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6353},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6339":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6340":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6341":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6342":{"stops":[{"__isSmartRef__":true,"id":6343},{"__isSmartRef__":true,"id":6345},{"__isSmartRef__":true,"id":6347},{"__isSmartRef__":true,"id":6349}],"vector":{"__isSmartRef__":true,"id":6351},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6343":{"offset":0,"color":{"__isSmartRef__":true,"id":6344}},"6344":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6345":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6346}},"6346":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6347":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6348}},"6348":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6349":{"offset":1,"color":{"__isSmartRef__":true,"id":6350}},"6350":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6351":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6352":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"6353":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6354":{"stops":[{"__isSmartRef__":true,"id":6355},{"__isSmartRef__":true,"id":6357},{"__isSmartRef__":true,"id":6359},{"__isSmartRef__":true,"id":6361}],"vector":{"__isSmartRef__":true,"id":6351},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6355":{"offset":0,"color":{"__isSmartRef__":true,"id":6356}},"6356":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6357":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6358}},"6358":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6359":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6360}},"6360":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6361":{"offset":1,"color":{"__isSmartRef__":true,"id":6362}},"6362":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6363":{"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"},"6364":{"sourceObj":{"__isSmartRef__":true,"id":6322},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":498},"targetMethodName":"doSave","visualConnector":{"__isSmartRef__":true,"id":6365},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"6365":{"submorphs":[{"__isSmartRef__":true,"id":6366}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6381},"derivationIds":[null],"id":"F46012D5-C8BE-4E52-BF98-D052FDAAE17A","renderContextTable":{"__isSmartRef__":true,"id":6388},"eventHandler":{"__isSmartRef__":true,"id":6389},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":6390},{"__isSmartRef__":true,"id":6391}],"con":{"__isSmartRef__":true,"id":6364},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6392},"__LivelyClassName__":"lively.morphic.Path"},"6366":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6367},"derivationIds":[null],"id":"A2A83C78-09B8-473C-829B-198206D7A9E4","renderContextTable":{"__isSmartRef__":true,"id":6378},"eventHandler":{"__isSmartRef__":true,"id":6379},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":6380},"owner":{"__isSmartRef__":true,"id":6365},"_Rotation":3.077607197692381,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"6367":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":6368},{"__isSmartRef__":true,"id":6369},{"__isSmartRef__":true,"id":6370},{"__isSmartRef__":true,"id":6371}],"renderContextTable":{"__isSmartRef__":true,"id":6372},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":6373},"_Extent":{"__isSmartRef__":true,"id":6374},"_Padding":{"__isSmartRef__":true,"id":6375},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6376},"_Fill":{"__isSmartRef__":true,"id":6377},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"6368":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"6369":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"6370":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"6371":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"6372":{"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"},"6373":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6374":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6375":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6376":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6377":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6378":{"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"},"6379":{"morph":{"__isSmartRef__":true,"id":6366},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6380":{"x":201.20421122525056,"y":40.24084224505009,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6381":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":6382},{"__isSmartRef__":true,"id":6383}],"renderContextTable":{"__isSmartRef__":true,"id":6384},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":6385},"_Extent":{"__isSmartRef__":true,"id":6386},"_Padding":{"__isSmartRef__":true,"id":6387},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6376},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"6382":{"isAbsolute":true,"x":679.4857209639925,"y":9.595948897894004,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"6383":{"isAbsolute":true,"x":201.20421122525056,"y":40.24084224505009,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"6384":{"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"},"6385":{"x":200,"y":9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6386":{"x":480,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6387":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6388":{"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"},"6389":{"morph":{"__isSmartRef__":true,"id":6365},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6390":{"morph":{"__isSmartRef__":true,"id":6365},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"6391":{"morph":{"__isSmartRef__":true,"id":6365},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":6366},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"6392":{"morphMenuItems":{"__isSmartRef__":true,"id":6393}},"6393":{"varMapping":{"__isSmartRef__":true,"id":6394},"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":6399},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6394":{"this":{"__isSmartRef__":true,"id":6365},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6395}},"6395":{"$super":{"__isSmartRef__":true,"id":6396}},"6396":{"varMapping":{"__isSmartRef__":true,"id":6397},"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":6398},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6397":{"obj":{"__isSmartRef__":true,"id":6365},"name":"morphMenuItems"},"6398":{},"6399":{},"6400":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6401":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6402":{"morph":{"__isSmartRef__":true,"id":6322},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6403":{"x":68.77671624028653,"y":-14.497241813457947,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6404":{"centeredHorizontal":false,"moveHorizontal":true},"6405":{"x":675.4189853444968,"y":9.53851695196505,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6406":{"submorphs":[{"__isSmartRef__":true,"id":6407}],"scripts":[],"id":"276D6F47-3055-48B0-B667-B6A39F9B4315","shape":{"__isSmartRef__":true,"id":6422},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6438},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":6426},"lighterFill":{"__isSmartRef__":true,"id":6439},"label":{"__isSmartRef__":true,"id":6407},"name":"openTestsButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":6448},"attributeConnections":[{"__isSmartRef__":true,"id":6449}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":6450},"renderContextTable":{"__isSmartRef__":true,"id":6451},"eventHandler":{"__isSmartRef__":true,"id":6452},"distanceToDragEvent":{"__isSmartRef__":true,"id":6453},"derivationIds":[7251,"84054D2E-8176-440D-B413-279956A34FC2","79434046-F834-490E-B705-0CE871D9E8B3","FF38CA79-C0DF-4F2F-8FC3-407571EF6A54","B1D50332-9F4F-4F7C-AC3F-95DC6C73EAA4","5B8D7C39-987A-4849-BFFD-3F316CE03852"],"owner":{"__isSmartRef__":true,"id":2},"_ClipMode":"visible","_Rotation":0,"_Scale":0.9940149800149939,"__LivelyClassName__":"lively.morphic.Button"},"6407":{"submorphs":[],"scripts":[],"id":"A5A37A37-1BFC-465D-A794-9CA2157A90B7","shape":{"__isSmartRef__":true,"id":6408},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6414},"_MaxTextWidth":97,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":6415},"_Padding":{"__isSmartRef__":true,"id":6416},"owner":{"__isSmartRef__":true,"id":6406},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":6417},"textChunks":[{"__isSmartRef__":true,"id":6418}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":6420},"eventHandler":{"__isSmartRef__":true,"id":6421},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"0A0A6CB1-BD92-4F39-A425-2EB3D2D4CBA2","CB475566-05CE-43E2-B04D-EE32BC4CB718","6BB077CE-92E6-47BE-BE88-9A48488562D1","9E359973-2FDB-417B-BB06-AB34D52BD310","58F098ED-A190-44F2-B73E-80802B2CF2F6"],"_MinTextWidth":97,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"6408":{"position":{"__isSmartRef__":true,"id":6409},"_Extent":{"__isSmartRef__":true,"id":6410},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6411},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":6412},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":6413},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6409":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6410":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6411":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6412":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"6413":{"x":2,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6414":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6415":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6416":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6417":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6418":{"style":{"__isSmartRef__":true,"id":6419},"chunkOwner":{"__isSmartRef__":true,"id":6407},"storedString":"Tests","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"6419":{"__SourceModuleName__":"Global.lively.morphic.TextCore","textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6420":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"6421":{"morph":{"__isSmartRef__":true,"id":6407},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6422":{"position":{"__isSmartRef__":true,"id":6423},"_Extent":{"__isSmartRef__":true,"id":6424},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":6425},"_Fill":{"__isSmartRef__":true,"id":6426},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":6436},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6437},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6423":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6424":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6425":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6426":{"stops":[{"__isSmartRef__":true,"id":6427},{"__isSmartRef__":true,"id":6429},{"__isSmartRef__":true,"id":6431},{"__isSmartRef__":true,"id":6433}],"vector":{"__isSmartRef__":true,"id":6435},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6427":{"offset":0,"color":{"__isSmartRef__":true,"id":6428}},"6428":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6429":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6430}},"6430":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6431":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6432}},"6432":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6433":{"offset":1,"color":{"__isSmartRef__":true,"id":6434}},"6434":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6435":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6436":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"6437":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6438":{"x":510,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6439":{"stops":[{"__isSmartRef__":true,"id":6440},{"__isSmartRef__":true,"id":6442},{"__isSmartRef__":true,"id":6444},{"__isSmartRef__":true,"id":6446}],"vector":{"__isSmartRef__":true,"id":6435},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6440":{"offset":0,"color":{"__isSmartRef__":true,"id":6441}},"6441":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6442":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6443}},"6443":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6444":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6445}},"6445":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6446":{"offset":1,"color":{"__isSmartRef__":true,"id":6447}},"6447":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6448":{"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"},"6449":{"sourceObj":{"__isSmartRef__":true,"id":6406},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2},"targetMethodName":"openPartTestRunner","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"6450":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6451":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6452":{"morph":{"__isSmartRef__":true,"id":6406},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6453":{"x":65.95178327801523,"y":-8.024108360992386,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6454":{"target":{"__isSmartRef__":true,"id":2},"selector":"update","args":[],"stopped":false,"tickTime":500,"currentTimeout":13001,"suspended":false,"__SourceModuleName__":"Global.lively.morphic.Core","__LivelyClassName__":"lively.morphic.TargetScript"},"6455":{"position":{"__isSmartRef__":true,"id":6456},"_Extent":{"__isSmartRef__":true,"id":6457},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6458},"_Fill":{"__isSmartRef__":true,"id":6459},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":6460},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6461},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6456":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6457":{"x":909.0285365288845,"y":526.612532614436,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6458":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6459":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6460":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"6461":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6462":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"Edit scripts and connections of a specific morph.","migrationLevel":4,"partName":"ObjectEditorPane","changes":[{"__isSmartRef__":true,"id":6463}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"6463":{"date":{"__isSmartRef__":true,"id":6464},"author":"lauritz","message":"Adapted the update behavior on ticks. Reduces the impact of HTML's autoscroll to selected list items."},"6464":{"isSerializedDate":true,"string":"Fri Oct 21 2011 00:39:30 GMT+0200 (CEST)"},"6465":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6466":{"morph":{"__isSmartRef__":true,"id":2},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6467":{"x":909.0285365288845,"y":526.612532614436,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6468":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"6469":{"x":350.2386236582805,"y":-3.2455173507596555,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6470":{"x":0.971126750461849,"y":21.45669012569269,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6471":{},"6472":{"displayInitialScript":{"__isSmartRef__":true,"id":6473},"displayJavaScriptSource":{"__isSmartRef__":true,"id":6477},"displaySourceForConnection":{"__isSmartRef__":true,"id":6481},"displaySourceForScript":{"__isSmartRef__":true,"id":6485},"generateSourceForConnection":{"__isSmartRef__":true,"id":6489},"generateSourceForScript":{"__isSmartRef__":true,"id":6493},"generateTargetCode":{"__isSmartRef__":true,"id":6497},"newConnection":{"__isSmartRef__":true,"id":6501},"newScript":{"__isSmartRef__":true,"id":6505},"reset":{"__isSmartRef__":true,"id":6509},"selectChangedContent":{"__isSmartRef__":true,"id":6513},"setTarget":{"__isSmartRef__":true,"id":6517},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":6521},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":6525},"updateLists":{"__isSmartRef__":true,"id":6529},"onShutdown":{"__isSmartRef__":true,"id":6533},"confirmUnsavedChanges":{"__isSmartRef__":true,"id":6537},"update":{"__isSmartRef__":true,"id":6541},"ensureAnnotationLayer":{"__isSmartRef__":true,"id":6545},"migrateOldScriptAnnotations":{"__isSmartRef__":true,"id":6549},"copyToPartsBinWithUserRequest":{"__isSmartRef__":true,"id":6553},"printTags":{"__isSmartRef__":true,"id":6561},"setTag":{"__isSmartRef__":true,"id":6565},"runScript":{"__isSmartRef__":true,"id":6569},"openPartTestRunner":{"__isSmartRef__":true,"id":6573}},"6473":{"varMapping":{"__isSmartRef__":true,"id":6474},"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":6475},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6474":{"this":{"__isSmartRef__":true,"id":2}},"6475":{"timestamp":{"__isSmartRef__":true,"id":6476},"user":"lauritz","tags":[]},"6476":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:13:43 GMT+0100 (CET)"},"6477":{"varMapping":{"__isSmartRef__":true,"id":6478},"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":6479},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6478":{"this":{"__isSmartRef__":true,"id":2}},"6479":{"timestamp":{"__isSmartRef__":true,"id":6480},"user":"lauritz","tags":[]},"6480":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"6481":{"varMapping":{"__isSmartRef__":true,"id":6482},"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":6483},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6482":{"this":{"__isSmartRef__":true,"id":2}},"6483":{"timestamp":{"__isSmartRef__":true,"id":6484},"user":"conradcalmez","tags":[]},"6484":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:59:30 GMT+0100 (CET)"},"6485":{"varMapping":{"__isSmartRef__":true,"id":6486},"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":6487},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6486":{"this":{"__isSmartRef__":true,"id":2}},"6487":{"timestamp":{"__isSmartRef__":true,"id":6488},"user":"lauritz","tags":[]},"6488":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:51:37 GMT+0100 (CET)"},"6489":{"varMapping":{"__isSmartRef__":true,"id":6490},"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":6491},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6490":{"this":{"__isSmartRef__":true,"id":2}},"6491":{"timestamp":{"__isSmartRef__":true,"id":6492},"user":"lauritz","tags":[]},"6492":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"6493":{"varMapping":{"__isSmartRef__":true,"id":6494},"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":6495},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6494":{"this":{"__isSmartRef__":true,"id":2}},"6495":{"timestamp":{"__isSmartRef__":true,"id":6496},"user":"lauritz","tags":[]},"6496":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:32:42 GMT+0100 (CET)"},"6497":{"varMapping":{"__isSmartRef__":true,"id":6498},"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":6499},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6498":{"this":{"__isSmartRef__":true,"id":2}},"6499":{"timestamp":{"__isSmartRef__":true,"id":6500},"user":"lauritz","tags":[]},"6500":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"6501":{"varMapping":{"__isSmartRef__":true,"id":6502},"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":6503},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6502":{"this":{"__isSmartRef__":true,"id":2}},"6503":{"timestamp":{"__isSmartRef__":true,"id":6504},"user":"lauritz","tags":[]},"6504":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"6505":{"varMapping":{"__isSmartRef__":true,"id":6506},"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":6507},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6506":{"this":{"__isSmartRef__":true,"id":2}},"6507":{"timestamp":{"__isSmartRef__":true,"id":6508},"user":"lauritz","tags":[]},"6508":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:24:25 GMT+0100 (CET)"},"6509":{"varMapping":{"__isSmartRef__":true,"id":6510},"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":6511},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6510":{"this":{"__isSmartRef__":true,"id":2}},"6511":{"timestamp":{"__isSmartRef__":true,"id":6512},"user":"conradcalmez","tags":[]},"6512":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:57:50 GMT+0100 (CET)"},"6513":{"varMapping":{"__isSmartRef__":true,"id":6514},"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 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":6923},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6922":{"this":{"__isSmartRef__":true,"id":6907}},"6923":{},"6924":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6925},"derivationIds":[null],"id":"A474A1AD-3C57-4B4A-A056-AC99973208F4","renderContextTable":{"__isSmartRef__":true,"id":6930},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":6931},{"__isSmartRef__":true,"id":6933}],"eventHandler":{"__isSmartRef__":true,"id":6936},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":6937},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":6906},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6938},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6925":{"_Position":{"__isSmartRef__":true,"id":6926},"renderContextTable":{"__isSmartRef__":true,"id":6927},"_Extent":{"__isSmartRef__":true,"id":6928},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":{"__isSmartRef__":true,"id":6929},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6926":{"x":18,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6927":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"6928":{"x":157.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6929":{"r":0.9529411764705882,"g":0.9529411764705882,"b":0.9529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6930":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"6931":{"style":{"__isSmartRef__":true,"id":6932},"chunkOwner":{"__isSmartRef__":true,"id":6924},"storedString":"Properties","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6932":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6933":{"style":{"__isSmartRef__":true,"id":6934},"chunkOwner":{"__isSmartRef__":true,"id":6924},"storedString":": FightMenu","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6934":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6935":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6936":{"morph":{"__isSmartRef__":true,"id":6924},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6937":{"x":157.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6938":{"layoutText":{"__isSmartRef__":true,"id":6939}},"6939":{"varMapping":{"__isSmartRef__":true,"id":6940},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":6941},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6940":{"this":{"__isSmartRef__":true,"id":6924}},"6941":{},"6942":{"_Position":{"__isSmartRef__":true,"id":6943},"renderContextTable":{"__isSmartRef__":true,"id":6944},"_Extent":{"__isSmartRef__":true,"id":6945},"_Padding":{"__isSmartRef__":true,"id":6946},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6943":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6944":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"6945":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6946":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6947":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6948":{"morph":{"__isSmartRef__":true,"id":6906},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6949":{"resizeWidth":true},"6950":{"submorphs":[{"__isSmartRef__":true,"id":6951},{"__isSmartRef__":true,"id":6968}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6984},"derivationIds":[null],"id":"C407AC52-D4E8-419E-A156-76478A31ED99","renderContextTable":{"__isSmartRef__":true,"id":6989},"eventHandler":{"__isSmartRef__":true,"id":6990},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6991},"grabbingEnabled":false,"draggingEnabled":false,"data":"visible","propertyList":["0","1","2","3","4","5","6"],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"_ClipMode","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":6951},"text":{"__isSmartRef__":true,"id":6968},"owner":{"__isSmartRef__":true,"id":6992},"_Position":{"__isSmartRef__":true,"id":25329},"priorExtent":{"__isSmartRef__":true,"id":25330},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":25331},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"6951":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6952},"derivationIds":[null],"id":"D1B44C9C-6F5B-492B-8AF9-D8DABC8B4F60","renderContextTable":{"__isSmartRef__":true,"id":6958},"eventHandler":{"__isSmartRef__":true,"id":6959},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":6960},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":6950},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6961},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"6952":{"_Position":{"__isSmartRef__":true,"id":6953},"renderContextTable":{"__isSmartRef__":true,"id":6954},"_Extent":{"__isSmartRef__":true,"id":6955},"_Padding":{"__isSmartRef__":true,"id":6956},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":6957},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6953":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6954":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"6955":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6956":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6957":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6958":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6959":{"morph":{"__isSmartRef__":true,"id":6951},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6960":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6961":{"toggle":{"__isSmartRef__":true,"id":6962},"toggleExpansion":{"__isSmartRef__":true,"id":6965}},"6962":{"varMapping":{"__isSmartRef__":true,"id":6963},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":6964},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6963":{"this":{"__isSmartRef__":true,"id":6951}},"6964":{},"6965":{"varMapping":{"__isSmartRef__":true,"id":6966},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":6967},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6966":{"this":{"__isSmartRef__":true,"id":6951}},"6967":{},"6968":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6969},"derivationIds":[null],"id":"24A8B3EF-A3A6-4A54-80CA-05946DF53266","renderContextTable":{"__isSmartRef__":true,"id":6973},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":6974},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":6975},{"__isSmartRef__":true,"id":6977}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":6979},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":6950},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6980},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6969":{"_Position":{"__isSmartRef__":true,"id":6970},"renderContextTable":{"__isSmartRef__":true,"id":6971},"_Extent":{"__isSmartRef__":true,"id":6972},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6970":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6971":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"6972":{"x":114,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6973":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"6974":{"morph":{"__isSmartRef__":true,"id":6968},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6975":{"style":{"__isSmartRef__":true,"id":6976},"chunkOwner":{"__isSmartRef__":true,"id":6968},"storedString":"_ClipMode","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6976":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6977":{"style":{"__isSmartRef__":true,"id":6978},"chunkOwner":{"__isSmartRef__":true,"id":6968},"storedString":": visible","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6978":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6979":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6980":{"layoutText":{"__isSmartRef__":true,"id":6981}},"6981":{"varMapping":{"__isSmartRef__":true,"id":6982},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":6983},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6982":{"this":{"__isSmartRef__":true,"id":6968}},"6983":{},"6984":{"_Position":{"__isSmartRef__":true,"id":6985},"renderContextTable":{"__isSmartRef__":true,"id":6986},"_Extent":{"__isSmartRef__":true,"id":6987},"_Padding":{"__isSmartRef__":true,"id":6988},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6985":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6986":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"6987":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6988":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6989":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6990":{"morph":{"__isSmartRef__":true,"id":6950},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6991":{"resizeWidth":true},"6992":{"submorphs":[{"__isSmartRef__":true,"id":6950}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6993},"derivationIds":[null],"id":"AB3573FA-0006-489B-B216-465FD9093C6F","renderContextTable":{"__isSmartRef__":true,"id":6998},"eventHandler":{"__isSmartRef__":true,"id":6999},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7000},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":7002},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":25320},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":25321},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"6993":{"_Position":{"__isSmartRef__":true,"id":6994},"renderContextTable":{"__isSmartRef__":true,"id":6995},"_Extent":{"__isSmartRef__":true,"id":6996},"_Padding":{"__isSmartRef__":true,"id":6997},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6994":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6995":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"6996":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6997":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6998":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6999":{"morph":{"__isSmartRef__":true,"id":6992},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7000":{"layouter":{"__isSmartRef__":true,"id":7001},"resizeWidth":true},"7001":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":6992},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"7002":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7003":{"submorphs":[{"__isSmartRef__":true,"id":6992},{"__isSmartRef__":true,"id":7004},{"__isSmartRef__":true,"id":7088},{"__isSmartRef__":true,"id":7172},{"__isSmartRef__":true,"id":7256},{"__isSmartRef__":true,"id":7340},{"__isSmartRef__":true,"id":7424},{"__isSmartRef__":true,"id":7508},{"__isSmartRef__":true,"id":7593},{"__isSmartRef__":true,"id":7677},{"__isSmartRef__":true,"id":7761},{"__isSmartRef__":true,"id":7845},{"__isSmartRef__":true,"id":7929},{"__isSmartRef__":true,"id":8013},{"__isSmartRef__":true,"id":8097},{"__isSmartRef__":true,"id":8181},{"__isSmartRef__":true,"id":8264},{"__isSmartRef__":true,"id":8348},{"__isSmartRef__":true,"id":8432},{"__isSmartRef__":true,"id":8516},{"__isSmartRef__":true,"id":8600},{"__isSmartRef__":true,"id":8684},{"__isSmartRef__":true,"id":8768},{"__isSmartRef__":true,"id":8852},{"__isSmartRef__":true,"id":8936},{"__isSmartRef__":true,"id":9020},{"__isSmartRef__":true,"id":9104},{"__isSmartRef__":true,"id":9188},{"__isSmartRef__":true,"id":9272},{"__isSmartRef__":true,"id":9356},{"__isSmartRef__":true,"id":9440},{"__isSmartRef__":true,"id":9524},{"__isSmartRef__":true,"id":9608},{"__isSmartRef__":true,"id":9692},{"__isSmartRef__":true,"id":9776},{"__isSmartRef__":true,"id":9860},{"__isSmartRef__":true,"id":9944},{"__isSmartRef__":true,"id":10028},{"__isSmartRef__":true,"id":10112}],"scripts":[],"shape":{"__isSmartRef__":true,"id":25298},"derivationIds":[null],"id":"DDBFE244-D621-4278-B8AD-26771E1A10E2","renderContextTable":{"__isSmartRef__":true,"id":25303},"eventHandler":{"__isSmartRef__":true,"id":25304},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":25305},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":25307},"owner":{"__isSmartRef__":true,"id":6905},"_Position":{"__isSmartRef__":true,"id":25308},"_Visible":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":25309},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7004":{"submorphs":[{"__isSmartRef__":true,"id":7005}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7069},"derivationIds":[null],"id":"55E34BDF-3F8C-4E37-B02B-E4D631ACAB4C","renderContextTable":{"__isSmartRef__":true,"id":7074},"eventHandler":{"__isSmartRef__":true,"id":7075},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7076},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":7078},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":7079},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7080},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7005":{"submorphs":[{"__isSmartRef__":true,"id":7006},{"__isSmartRef__":true,"id":7023}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7039},"derivationIds":[null],"id":"F3004D23-0A17-4313-8AF3-0FEA7FA1EA1D","renderContextTable":{"__isSmartRef__":true,"id":7044},"eventHandler":{"__isSmartRef__":true,"id":7045},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7046},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1380},"propertyList":["x","y"],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"_Position","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":7006},"text":{"__isSmartRef__":true,"id":7023},"owner":{"__isSmartRef__":true,"id":7004},"_Position":{"__isSmartRef__":true,"id":7047},"priorExtent":{"__isSmartRef__":true,"id":7048},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7049},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7006":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7007},"derivationIds":[null],"id":"340AA62F-3FC8-416C-89D2-997BACC7CAE8","renderContextTable":{"__isSmartRef__":true,"id":7013},"eventHandler":{"__isSmartRef__":true,"id":7014},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":7015},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":7005},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7016},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"7007":{"_Position":{"__isSmartRef__":true,"id":7008},"renderContextTable":{"__isSmartRef__":true,"id":7009},"_Extent":{"__isSmartRef__":true,"id":7010},"_Padding":{"__isSmartRef__":true,"id":7011},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":7012},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7008":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7009":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7010":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7011":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7012":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7013":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7014":{"morph":{"__isSmartRef__":true,"id":7006},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7015":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7016":{"toggle":{"__isSmartRef__":true,"id":7017},"toggleExpansion":{"__isSmartRef__":true,"id":7020}},"7017":{"varMapping":{"__isSmartRef__":true,"id":7018},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":7019},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7018":{"this":{"__isSmartRef__":true,"id":7006}},"7019":{},"7020":{"varMapping":{"__isSmartRef__":true,"id":7021},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":7022},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7021":{"this":{"__isSmartRef__":true,"id":7006}},"7022":{},"7023":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7024},"derivationIds":[null],"id":"DFC90A86-46AA-4368-B2E9-72BB0A1AC77A","renderContextTable":{"__isSmartRef__":true,"id":7028},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":7029},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":7030},{"__isSmartRef__":true,"id":7032}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":7034},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":7005},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7035},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7024":{"_Position":{"__isSmartRef__":true,"id":7025},"renderContextTable":{"__isSmartRef__":true,"id":7026},"_Extent":{"__isSmartRef__":true,"id":7027},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7025":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7026":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7027":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7028":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"7029":{"morph":{"__isSmartRef__":true,"id":7023},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7030":{"style":{"__isSmartRef__":true,"id":7031},"chunkOwner":{"__isSmartRef__":true,"id":7023},"storedString":"_Position","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7031":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7032":{"style":{"__isSmartRef__":true,"id":7033},"chunkOwner":{"__isSmartRef__":true,"id":7023},"storedString":": Point","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7033":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7034":{"x":120,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7035":{"layoutText":{"__isSmartRef__":true,"id":7036}},"7036":{"varMapping":{"__isSmartRef__":true,"id":7037},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":7038},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7037":{"this":{"__isSmartRef__":true,"id":7023}},"7038":{},"7039":{"_Position":{"__isSmartRef__":true,"id":7040},"renderContextTable":{"__isSmartRef__":true,"id":7041},"_Extent":{"__isSmartRef__":true,"id":7042},"_Padding":{"__isSmartRef__":true,"id":7043},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7040":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7041":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7042":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7043":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7044":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7045":{"morph":{"__isSmartRef__":true,"id":7005},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7046":{"resizeWidth":true},"7047":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7048":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7049":{"updateExpanderColor":{"__isSmartRef__":true,"id":7050},"onMouseDown":{"__isSmartRef__":true,"id":7053},"isRoot":{"__isSmartRef__":true,"id":7060},"displayValue":{"__isSmartRef__":true,"id":7063},"update":{"__isSmartRef__":true,"id":7066}},"7050":{"varMapping":{"__isSmartRef__":true,"id":7051},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":7052},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7051":{"this":{"__isSmartRef__":true,"id":7005}},"7052":{},"7053":{"varMapping":{"__isSmartRef__":true,"id":7054},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":7059},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7054":{"this":{"__isSmartRef__":true,"id":7005},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7055}},"7055":{"$super":{"__isSmartRef__":true,"id":7056}},"7056":{"varMapping":{"__isSmartRef__":true,"id":7057},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7058},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7057":{"obj":{"__isSmartRef__":true,"id":7005},"name":"onMouseDown"},"7058":{},"7059":{},"7060":{"varMapping":{"__isSmartRef__":true,"id":7061},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":7062},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7061":{"this":{"__isSmartRef__":true,"id":7005}},"7062":{},"7063":{"varMapping":{"__isSmartRef__":true,"id":7064},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":7065},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7064":{"this":{"__isSmartRef__":true,"id":7005}},"7065":{},"7066":{"varMapping":{"__isSmartRef__":true,"id":7067},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7068},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7067":{"this":{"__isSmartRef__":true,"id":7005}},"7068":{},"7069":{"_Position":{"__isSmartRef__":true,"id":7070},"renderContextTable":{"__isSmartRef__":true,"id":7071},"_Extent":{"__isSmartRef__":true,"id":7072},"_Padding":{"__isSmartRef__":true,"id":7073},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7070":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7071":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7072":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7073":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7074":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7075":{"morph":{"__isSmartRef__":true,"id":7004},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7076":{"layouter":{"__isSmartRef__":true,"id":7077},"resizeWidth":true},"7077":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":7004},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"7078":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7079":{"x":0,"y":760,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7080":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":7081}},"7081":{"varMapping":{"__isSmartRef__":true,"id":7082},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7087},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7082":{"this":{"__isSmartRef__":true,"id":7004},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7083}},"7083":{"$super":{"__isSmartRef__":true,"id":7084}},"7084":{"varMapping":{"__isSmartRef__":true,"id":7085},"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":7086},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7085":{"obj":{"__isSmartRef__":true,"id":7004},"name":"getLayoutableSubmorphs"},"7086":{},"7087":{},"7088":{"submorphs":[{"__isSmartRef__":true,"id":7089}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7153},"derivationIds":[null],"id":"BFCF7819-1F40-4B36-92AA-05E89DE80850","renderContextTable":{"__isSmartRef__":true,"id":7158},"eventHandler":{"__isSmartRef__":true,"id":7159},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7160},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":7162},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":7163},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7164},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7089":{"submorphs":[{"__isSmartRef__":true,"id":7090},{"__isSmartRef__":true,"id":7107}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7123},"derivationIds":[null],"id":"CCF5BF8D-65DF-4716-8F8E-452759A072E2","renderContextTable":{"__isSmartRef__":true,"id":7128},"eventHandler":{"__isSmartRef__":true,"id":7129},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7130},"grabbingEnabled":false,"draggingEnabled":false,"data":0,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"_Rotation","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":7090},"text":{"__isSmartRef__":true,"id":7107},"owner":{"__isSmartRef__":true,"id":7088},"_Position":{"__isSmartRef__":true,"id":7131},"priorExtent":{"__isSmartRef__":true,"id":7132},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7133},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7090":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7091},"derivationIds":[null],"id":"AE1883F5-3C9A-4922-90EF-41684E62851C","renderContextTable":{"__isSmartRef__":true,"id":7097},"eventHandler":{"__isSmartRef__":true,"id":7098},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":7099},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":7089},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7100},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"7091":{"_Position":{"__isSmartRef__":true,"id":7092},"renderContextTable":{"__isSmartRef__":true,"id":7093},"_Extent":{"__isSmartRef__":true,"id":7094},"_Padding":{"__isSmartRef__":true,"id":7095},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":7096},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7092":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7093":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7094":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7095":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7096":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7097":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7098":{"morph":{"__isSmartRef__":true,"id":7090},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7099":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7100":{"toggle":{"__isSmartRef__":true,"id":7101},"toggleExpansion":{"__isSmartRef__":true,"id":7104}},"7101":{"varMapping":{"__isSmartRef__":true,"id":7102},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":7103},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7102":{"this":{"__isSmartRef__":true,"id":7090}},"7103":{},"7104":{"varMapping":{"__isSmartRef__":true,"id":7105},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":7106},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7105":{"this":{"__isSmartRef__":true,"id":7090}},"7106":{},"7107":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7108},"derivationIds":[null],"id":"0DC144C5-18CE-4829-AFA7-2EF7440BADCA","renderContextTable":{"__isSmartRef__":true,"id":7112},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":7113},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":7114},{"__isSmartRef__":true,"id":7116}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":7118},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":7089},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7119},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7108":{"_Position":{"__isSmartRef__":true,"id":7109},"renderContextTable":{"__isSmartRef__":true,"id":7110},"_Extent":{"__isSmartRef__":true,"id":7111},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7109":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7110":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7111":{"x":78,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7112":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"7113":{"morph":{"__isSmartRef__":true,"id":7107},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7114":{"style":{"__isSmartRef__":true,"id":7115},"chunkOwner":{"__isSmartRef__":true,"id":7107},"storedString":"_Rotation","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7115":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7116":{"style":{"__isSmartRef__":true,"id":7117},"chunkOwner":{"__isSmartRef__":true,"id":7107},"storedString":": 0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7117":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7118":{"x":90,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7119":{"layoutText":{"__isSmartRef__":true,"id":7120}},"7120":{"varMapping":{"__isSmartRef__":true,"id":7121},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":7122},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7121":{"this":{"__isSmartRef__":true,"id":7107}},"7122":{},"7123":{"_Position":{"__isSmartRef__":true,"id":7124},"renderContextTable":{"__isSmartRef__":true,"id":7125},"_Extent":{"__isSmartRef__":true,"id":7126},"_Padding":{"__isSmartRef__":true,"id":7127},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7124":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7125":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7126":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7127":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7128":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7129":{"morph":{"__isSmartRef__":true,"id":7089},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7130":{"resizeWidth":true},"7131":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7132":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7133":{"updateExpanderColor":{"__isSmartRef__":true,"id":7134},"onMouseDown":{"__isSmartRef__":true,"id":7137},"isRoot":{"__isSmartRef__":true,"id":7144},"displayValue":{"__isSmartRef__":true,"id":7147},"update":{"__isSmartRef__":true,"id":7150}},"7134":{"varMapping":{"__isSmartRef__":true,"id":7135},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":7136},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7135":{"this":{"__isSmartRef__":true,"id":7089}},"7136":{},"7137":{"varMapping":{"__isSmartRef__":true,"id":7138},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":7143},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7138":{"this":{"__isSmartRef__":true,"id":7089},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7139}},"7139":{"$super":{"__isSmartRef__":true,"id":7140}},"7140":{"varMapping":{"__isSmartRef__":true,"id":7141},"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":7142},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7141":{"obj":{"__isSmartRef__":true,"id":7089},"name":"onMouseDown"},"7142":{},"7143":{},"7144":{"varMapping":{"__isSmartRef__":true,"id":7145},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":7146},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7145":{"this":{"__isSmartRef__":true,"id":7089}},"7146":{},"7147":{"varMapping":{"__isSmartRef__":true,"id":7148},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":7149},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7148":{"this":{"__isSmartRef__":true,"id":7089}},"7149":{},"7150":{"varMapping":{"__isSmartRef__":true,"id":7151},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7152},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7151":{"this":{"__isSmartRef__":true,"id":7089}},"7152":{},"7153":{"_Position":{"__isSmartRef__":true,"id":7154},"renderContextTable":{"__isSmartRef__":true,"id":7155},"_Extent":{"__isSmartRef__":true,"id":7156},"_Padding":{"__isSmartRef__":true,"id":7157},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7154":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7155":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7156":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7157":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7158":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7159":{"morph":{"__isSmartRef__":true,"id":7088},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7160":{"layouter":{"__isSmartRef__":true,"id":7161},"resizeWidth":true},"7161":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":7088},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"7162":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7163":{"x":0,"y":740,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7164":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":7165}},"7165":{"varMapping":{"__isSmartRef__":true,"id":7166},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7171},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7166":{"this":{"__isSmartRef__":true,"id":7088},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7167}},"7167":{"$super":{"__isSmartRef__":true,"id":7168}},"7168":{"varMapping":{"__isSmartRef__":true,"id":7169},"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":7170},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7169":{"obj":{"__isSmartRef__":true,"id":7088},"name":"getLayoutableSubmorphs"},"7170":{},"7171":{},"7172":{"submorphs":[{"__isSmartRef__":true,"id":7173}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7237},"derivationIds":[null],"id":"EAD21FBA-9309-41AD-AEB1-4CEB0FB4D005","renderContextTable":{"__isSmartRef__":true,"id":7242},"eventHandler":{"__isSmartRef__":true,"id":7243},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7244},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":7246},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":7247},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7248},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7173":{"submorphs":[{"__isSmartRef__":true,"id":7174},{"__isSmartRef__":true,"id":7191}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7207},"derivationIds":[null],"id":"6517D164-81BE-42E1-97B0-27467FF95325","renderContextTable":{"__isSmartRef__":true,"id":7212},"eventHandler":{"__isSmartRef__":true,"id":7213},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7214},"grabbingEnabled":false,"draggingEnabled":false,"data":1,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"_Scale","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":7174},"text":{"__isSmartRef__":true,"id":7191},"owner":{"__isSmartRef__":true,"id":7172},"_Position":{"__isSmartRef__":true,"id":7215},"priorExtent":{"__isSmartRef__":true,"id":7216},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7217},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7174":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7175},"derivationIds":[null],"id":"1A89ADB4-9B51-4187-8434-1F54C9C4AA7F","renderContextTable":{"__isSmartRef__":true,"id":7181},"eventHandler":{"__isSmartRef__":true,"id":7182},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":7183},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":7173},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7184},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"7175":{"_Position":{"__isSmartRef__":true,"id":7176},"renderContextTable":{"__isSmartRef__":true,"id":7177},"_Extent":{"__isSmartRef__":true,"id":7178},"_Padding":{"__isSmartRef__":true,"id":7179},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":7180},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7176":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7177":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7178":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7179":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7180":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7181":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7182":{"morph":{"__isSmartRef__":true,"id":7174},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7183":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7184":{"toggle":{"__isSmartRef__":true,"id":7185},"toggleExpansion":{"__isSmartRef__":true,"id":7188}},"7185":{"varMapping":{"__isSmartRef__":true,"id":7186},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":7187},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7186":{"this":{"__isSmartRef__":true,"id":7174}},"7187":{},"7188":{"varMapping":{"__isSmartRef__":true,"id":7189},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":7190},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7189":{"this":{"__isSmartRef__":true,"id":7174}},"7190":{},"7191":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7192},"derivationIds":[null],"id":"344DD26F-D2B6-4B02-B605-8A4338A19F5D","renderContextTable":{"__isSmartRef__":true,"id":7196},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":7197},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":7198},{"__isSmartRef__":true,"id":7200}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":7202},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":7173},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7203},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7192":{"_Position":{"__isSmartRef__":true,"id":7193},"renderContextTable":{"__isSmartRef__":true,"id":7194},"_Extent":{"__isSmartRef__":true,"id":7195},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7193":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7194":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7195":{"x":63,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7196":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"7197":{"morph":{"__isSmartRef__":true,"id":7191},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7198":{"style":{"__isSmartRef__":true,"id":7199},"chunkOwner":{"__isSmartRef__":true,"id":7191},"storedString":"_Scale","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7199":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7200":{"style":{"__isSmartRef__":true,"id":7201},"chunkOwner":{"__isSmartRef__":true,"id":7191},"storedString":": 1","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7201":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7202":{"x":67.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7203":{"layoutText":{"__isSmartRef__":true,"id":7204}},"7204":{"varMapping":{"__isSmartRef__":true,"id":7205},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":7206},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7205":{"this":{"__isSmartRef__":true,"id":7191}},"7206":{},"7207":{"_Position":{"__isSmartRef__":true,"id":7208},"renderContextTable":{"__isSmartRef__":true,"id":7209},"_Extent":{"__isSmartRef__":true,"id":7210},"_Padding":{"__isSmartRef__":true,"id":7211},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7208":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7209":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7210":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7211":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7212":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7213":{"morph":{"__isSmartRef__":true,"id":7173},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7214":{"resizeWidth":true},"7215":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7216":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7217":{"updateExpanderColor":{"__isSmartRef__":true,"id":7218},"onMouseDown":{"__isSmartRef__":true,"id":7221},"isRoot":{"__isSmartRef__":true,"id":7228},"displayValue":{"__isSmartRef__":true,"id":7231},"update":{"__isSmartRef__":true,"id":7234}},"7218":{"varMapping":{"__isSmartRef__":true,"id":7219},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":7220},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7219":{"this":{"__isSmartRef__":true,"id":7173}},"7220":{},"7221":{"varMapping":{"__isSmartRef__":true,"id":7222},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":7227},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7222":{"this":{"__isSmartRef__":true,"id":7173},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7223}},"7223":{"$super":{"__isSmartRef__":true,"id":7224}},"7224":{"varMapping":{"__isSmartRef__":true,"id":7225},"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":7226},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7225":{"obj":{"__isSmartRef__":true,"id":7173},"name":"onMouseDown"},"7226":{},"7227":{},"7228":{"varMapping":{"__isSmartRef__":true,"id":7229},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":7230},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7229":{"this":{"__isSmartRef__":true,"id":7173}},"7230":{},"7231":{"varMapping":{"__isSmartRef__":true,"id":7232},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":7233},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7232":{"this":{"__isSmartRef__":true,"id":7173}},"7233":{},"7234":{"varMapping":{"__isSmartRef__":true,"id":7235},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7236},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7235":{"this":{"__isSmartRef__":true,"id":7173}},"7236":{},"7237":{"_Position":{"__isSmartRef__":true,"id":7238},"renderContextTable":{"__isSmartRef__":true,"id":7239},"_Extent":{"__isSmartRef__":true,"id":7240},"_Padding":{"__isSmartRef__":true,"id":7241},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7238":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7239":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7240":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7241":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7242":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7243":{"morph":{"__isSmartRef__":true,"id":7172},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7244":{"layouter":{"__isSmartRef__":true,"id":7245},"resizeWidth":true},"7245":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":7172},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"7246":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7247":{"x":0,"y":720,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7248":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":7249}},"7249":{"varMapping":{"__isSmartRef__":true,"id":7250},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7255},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7250":{"this":{"__isSmartRef__":true,"id":7172},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7251}},"7251":{"$super":{"__isSmartRef__":true,"id":7252}},"7252":{"varMapping":{"__isSmartRef__":true,"id":7253},"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":7254},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7253":{"obj":{"__isSmartRef__":true,"id":7172},"name":"getLayoutableSubmorphs"},"7254":{},"7255":{},"7256":{"submorphs":[{"__isSmartRef__":true,"id":7257}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7321},"derivationIds":[null],"id":"9E0C5C91-A0B2-48CC-AB53-967379241C53","renderContextTable":{"__isSmartRef__":true,"id":7326},"eventHandler":{"__isSmartRef__":true,"id":7327},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7328},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":7330},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":7331},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7332},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7257":{"submorphs":[{"__isSmartRef__":true,"id":7258},{"__isSmartRef__":true,"id":7275}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7291},"derivationIds":[null],"id":"72B173B9-FB4E-4BC6-A819-66069F6DD015","renderContextTable":{"__isSmartRef__":true,"id":7296},"eventHandler":{"__isSmartRef__":true,"id":7297},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7298},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"_Visible","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":7258},"text":{"__isSmartRef__":true,"id":7275},"owner":{"__isSmartRef__":true,"id":7256},"_Position":{"__isSmartRef__":true,"id":7299},"priorExtent":{"__isSmartRef__":true,"id":7300},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7301},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7258":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7259},"derivationIds":[null],"id":"96E14EC9-0600-4F9E-9421-CD4EEA199220","renderContextTable":{"__isSmartRef__":true,"id":7265},"eventHandler":{"__isSmartRef__":true,"id":7266},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":7267},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":7257},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7268},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"7259":{"_Position":{"__isSmartRef__":true,"id":7260},"renderContextTable":{"__isSmartRef__":true,"id":7261},"_Extent":{"__isSmartRef__":true,"id":7262},"_Padding":{"__isSmartRef__":true,"id":7263},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":7264},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7260":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7261":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7262":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7263":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7264":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7265":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7266":{"morph":{"__isSmartRef__":true,"id":7258},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7267":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7268":{"toggle":{"__isSmartRef__":true,"id":7269},"toggleExpansion":{"__isSmartRef__":true,"id":7272}},"7269":{"varMapping":{"__isSmartRef__":true,"id":7270},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":7271},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7270":{"this":{"__isSmartRef__":true,"id":7258}},"7271":{},"7272":{"varMapping":{"__isSmartRef__":true,"id":7273},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":7274},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7273":{"this":{"__isSmartRef__":true,"id":7258}},"7274":{},"7275":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7276},"derivationIds":[null],"id":"11D4855B-63E0-482F-9513-34D3FFD80161","renderContextTable":{"__isSmartRef__":true,"id":7280},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":7281},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":7282},{"__isSmartRef__":true,"id":7284}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":7286},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":7257},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7287},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7276":{"_Position":{"__isSmartRef__":true,"id":7277},"renderContextTable":{"__isSmartRef__":true,"id":7278},"_Extent":{"__isSmartRef__":true,"id":7279},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7277":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7278":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7279":{"x":84,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7280":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"7281":{"morph":{"__isSmartRef__":true,"id":7275},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7282":{"style":{"__isSmartRef__":true,"id":7283},"chunkOwner":{"__isSmartRef__":true,"id":7275},"storedString":"_Visible","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7283":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7284":{"style":{"__isSmartRef__":true,"id":7285},"chunkOwner":{"__isSmartRef__":true,"id":7275},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7285":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7286":{"x":105,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7287":{"layoutText":{"__isSmartRef__":true,"id":7288}},"7288":{"varMapping":{"__isSmartRef__":true,"id":7289},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":7290},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7289":{"this":{"__isSmartRef__":true,"id":7275}},"7290":{},"7291":{"_Position":{"__isSmartRef__":true,"id":7292},"renderContextTable":{"__isSmartRef__":true,"id":7293},"_Extent":{"__isSmartRef__":true,"id":7294},"_Padding":{"__isSmartRef__":true,"id":7295},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7292":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7293":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7294":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7295":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7296":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7297":{"morph":{"__isSmartRef__":true,"id":7257},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7298":{"resizeWidth":true},"7299":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7300":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7301":{"updateExpanderColor":{"__isSmartRef__":true,"id":7302},"onMouseDown":{"__isSmartRef__":true,"id":7305},"isRoot":{"__isSmartRef__":true,"id":7312},"displayValue":{"__isSmartRef__":true,"id":7315},"update":{"__isSmartRef__":true,"id":7318}},"7302":{"varMapping":{"__isSmartRef__":true,"id":7303},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":7304},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7303":{"this":{"__isSmartRef__":true,"id":7257}},"7304":{},"7305":{"varMapping":{"__isSmartRef__":true,"id":7306},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":7311},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7306":{"this":{"__isSmartRef__":true,"id":7257},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7307}},"7307":{"$super":{"__isSmartRef__":true,"id":7308}},"7308":{"varMapping":{"__isSmartRef__":true,"id":7309},"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":7310},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7309":{"obj":{"__isSmartRef__":true,"id":7257},"name":"onMouseDown"},"7310":{},"7311":{},"7312":{"varMapping":{"__isSmartRef__":true,"id":7313},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":7314},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7313":{"this":{"__isSmartRef__":true,"id":7257}},"7314":{},"7315":{"varMapping":{"__isSmartRef__":true,"id":7316},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":7317},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7316":{"this":{"__isSmartRef__":true,"id":7257}},"7317":{},"7318":{"varMapping":{"__isSmartRef__":true,"id":7319},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7320},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7319":{"this":{"__isSmartRef__":true,"id":7257}},"7320":{},"7321":{"_Position":{"__isSmartRef__":true,"id":7322},"renderContextTable":{"__isSmartRef__":true,"id":7323},"_Extent":{"__isSmartRef__":true,"id":7324},"_Padding":{"__isSmartRef__":true,"id":7325},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7322":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7323":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7324":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7325":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7326":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7327":{"morph":{"__isSmartRef__":true,"id":7256},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7328":{"layouter":{"__isSmartRef__":true,"id":7329},"resizeWidth":true},"7329":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":7256},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"7330":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7331":{"x":0,"y":700,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7332":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":7333}},"7333":{"varMapping":{"__isSmartRef__":true,"id":7334},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7339},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7334":{"this":{"__isSmartRef__":true,"id":7256},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7335}},"7335":{"$super":{"__isSmartRef__":true,"id":7336}},"7336":{"varMapping":{"__isSmartRef__":true,"id":7337},"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":7338},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7337":{"obj":{"__isSmartRef__":true,"id":7256},"name":"getLayoutableSubmorphs"},"7338":{},"7339":{},"7340":{"submorphs":[{"__isSmartRef__":true,"id":7341}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7405},"derivationIds":[null],"id":"5D085F98-8D50-4918-8023-9AD6198090AA","renderContextTable":{"__isSmartRef__":true,"id":7410},"eventHandler":{"__isSmartRef__":true,"id":7411},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7412},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":7414},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":7415},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7416},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7341":{"submorphs":[{"__isSmartRef__":true,"id":7342},{"__isSmartRef__":true,"id":7359}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7375},"derivationIds":[null],"id":"229FAE6C-679F-44E4-B536-537885FE105B","renderContextTable":{"__isSmartRef__":true,"id":7380},"eventHandler":{"__isSmartRef__":true,"id":7381},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7382},"grabbingEnabled":false,"draggingEnabled":false,"data":"Global.lively.morphic.Core","propertyList":["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25"],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"__SourceModuleName__","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":7342},"text":{"__isSmartRef__":true,"id":7359},"owner":{"__isSmartRef__":true,"id":7340},"_Position":{"__isSmartRef__":true,"id":7383},"priorExtent":{"__isSmartRef__":true,"id":7384},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7385},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7342":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7343},"derivationIds":[null],"id":"29FABB64-FBF8-4BF4-935A-215ED3047736","renderContextTable":{"__isSmartRef__":true,"id":7349},"eventHandler":{"__isSmartRef__":true,"id":7350},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":7351},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":7341},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7352},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"7343":{"_Position":{"__isSmartRef__":true,"id":7344},"renderContextTable":{"__isSmartRef__":true,"id":7345},"_Extent":{"__isSmartRef__":true,"id":7346},"_Padding":{"__isSmartRef__":true,"id":7347},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":7348},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7344":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7345":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7346":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7347":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7348":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7349":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7350":{"morph":{"__isSmartRef__":true,"id":7342},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7351":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7352":{"toggle":{"__isSmartRef__":true,"id":7353},"toggleExpansion":{"__isSmartRef__":true,"id":7356}},"7353":{"varMapping":{"__isSmartRef__":true,"id":7354},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":7355},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7354":{"this":{"__isSmartRef__":true,"id":7342}},"7355":{},"7356":{"varMapping":{"__isSmartRef__":true,"id":7357},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":7358},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7357":{"this":{"__isSmartRef__":true,"id":7342}},"7358":{},"7359":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7360},"derivationIds":[null],"id":"26C84C4F-DCC8-439F-AE41-E9F6CC2BFD73","renderContextTable":{"__isSmartRef__":true,"id":7364},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":7365},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":7366},{"__isSmartRef__":true,"id":7368}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":7370},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":7341},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7371},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7360":{"_Position":{"__isSmartRef__":true,"id":7361},"renderContextTable":{"__isSmartRef__":true,"id":7362},"_Extent":{"__isSmartRef__":true,"id":7363},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7361":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7362":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7363":{"x":312,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7364":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"7365":{"morph":{"__isSmartRef__":true,"id":7359},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7366":{"style":{"__isSmartRef__":true,"id":7367},"chunkOwner":{"__isSmartRef__":true,"id":7359},"storedString":"__SourceModuleName__","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7367":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7368":{"style":{"__isSmartRef__":true,"id":7369},"chunkOwner":{"__isSmartRef__":true,"id":7359},"storedString":": Global.lively.morphic.Core","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7369":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7370":{"x":360,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7371":{"layoutText":{"__isSmartRef__":true,"id":7372}},"7372":{"varMapping":{"__isSmartRef__":true,"id":7373},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":7374},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7373":{"this":{"__isSmartRef__":true,"id":7359}},"7374":{},"7375":{"_Position":{"__isSmartRef__":true,"id":7376},"renderContextTable":{"__isSmartRef__":true,"id":7377},"_Extent":{"__isSmartRef__":true,"id":7378},"_Padding":{"__isSmartRef__":true,"id":7379},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7376":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7377":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7378":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7379":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7380":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7381":{"morph":{"__isSmartRef__":true,"id":7341},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7382":{"resizeWidth":true},"7383":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7384":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7385":{"updateExpanderColor":{"__isSmartRef__":true,"id":7386},"onMouseDown":{"__isSmartRef__":true,"id":7389},"isRoot":{"__isSmartRef__":true,"id":7396},"displayValue":{"__isSmartRef__":true,"id":7399},"update":{"__isSmartRef__":true,"id":7402}},"7386":{"varMapping":{"__isSmartRef__":true,"id":7387},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":7388},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7387":{"this":{"__isSmartRef__":true,"id":7341}},"7388":{},"7389":{"varMapping":{"__isSmartRef__":true,"id":7390},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":7395},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7390":{"this":{"__isSmartRef__":true,"id":7341},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7391}},"7391":{"$super":{"__isSmartRef__":true,"id":7392}},"7392":{"varMapping":{"__isSmartRef__":true,"id":7393},"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":7394},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7393":{"obj":{"__isSmartRef__":true,"id":7341},"name":"onMouseDown"},"7394":{},"7395":{},"7396":{"varMapping":{"__isSmartRef__":true,"id":7397},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":7398},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7397":{"this":{"__isSmartRef__":true,"id":7341}},"7398":{},"7399":{"varMapping":{"__isSmartRef__":true,"id":7400},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":7401},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7400":{"this":{"__isSmartRef__":true,"id":7341}},"7401":{},"7402":{"varMapping":{"__isSmartRef__":true,"id":7403},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7404},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7403":{"this":{"__isSmartRef__":true,"id":7341}},"7404":{},"7405":{"_Position":{"__isSmartRef__":true,"id":7406},"renderContextTable":{"__isSmartRef__":true,"id":7407},"_Extent":{"__isSmartRef__":true,"id":7408},"_Padding":{"__isSmartRef__":true,"id":7409},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7406":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7407":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7408":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7409":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7410":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7411":{"morph":{"__isSmartRef__":true,"id":7340},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7412":{"layouter":{"__isSmartRef__":true,"id":7413},"resizeWidth":true},"7413":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":7340},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"7414":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7415":{"x":0,"y":680,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7416":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":7417}},"7417":{"varMapping":{"__isSmartRef__":true,"id":7418},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7423},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7418":{"this":{"__isSmartRef__":true,"id":7340},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7419}},"7419":{"$super":{"__isSmartRef__":true,"id":7420}},"7420":{"varMapping":{"__isSmartRef__":true,"id":7421},"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":7422},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7421":{"obj":{"__isSmartRef__":true,"id":7340},"name":"getLayoutableSubmorphs"},"7422":{},"7423":{},"7424":{"submorphs":[{"__isSmartRef__":true,"id":7425}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7489},"derivationIds":[null],"id":"6C4B52AB-9464-457E-86FC-8D917911B3F3","renderContextTable":{"__isSmartRef__":true,"id":7494},"eventHandler":{"__isSmartRef__":true,"id":7495},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7496},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":7498},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":7499},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7500},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7425":{"submorphs":[{"__isSmartRef__":true,"id":7426},{"__isSmartRef__":true,"id":7443}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7459},"derivationIds":[null],"id":"717D1916-E320-4A21-8DCE-907CA5F6D016","renderContextTable":{"__isSmartRef__":true,"id":7464},"eventHandler":{"__isSmartRef__":true,"id":7465},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7466},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"_isRendered","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":7426},"text":{"__isSmartRef__":true,"id":7443},"owner":{"__isSmartRef__":true,"id":7424},"_Position":{"__isSmartRef__":true,"id":7467},"priorExtent":{"__isSmartRef__":true,"id":7468},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7469},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7426":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7427},"derivationIds":[null],"id":"7F882BFD-65B9-45D8-9169-FEFEAC626436","renderContextTable":{"__isSmartRef__":true,"id":7433},"eventHandler":{"__isSmartRef__":true,"id":7434},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":7435},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":7425},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7436},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"7427":{"_Position":{"__isSmartRef__":true,"id":7428},"renderContextTable":{"__isSmartRef__":true,"id":7429},"_Extent":{"__isSmartRef__":true,"id":7430},"_Padding":{"__isSmartRef__":true,"id":7431},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":7432},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7428":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7429":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7430":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7431":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7432":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7433":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7434":{"morph":{"__isSmartRef__":true,"id":7426},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7435":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7436":{"toggle":{"__isSmartRef__":true,"id":7437},"toggleExpansion":{"__isSmartRef__":true,"id":7440}},"7437":{"varMapping":{"__isSmartRef__":true,"id":7438},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":7439},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7438":{"this":{"__isSmartRef__":true,"id":7426}},"7439":{},"7440":{"varMapping":{"__isSmartRef__":true,"id":7441},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":7442},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7441":{"this":{"__isSmartRef__":true,"id":7426}},"7442":{},"7443":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7444},"derivationIds":[null],"id":"67A9C9FD-2D59-425C-9CCB-18DEC089A311","renderContextTable":{"__isSmartRef__":true,"id":7448},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":7449},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":7450},{"__isSmartRef__":true,"id":7452}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":7454},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":7425},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7455},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7444":{"_Position":{"__isSmartRef__":true,"id":7445},"renderContextTable":{"__isSmartRef__":true,"id":7446},"_Extent":{"__isSmartRef__":true,"id":7447},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7445":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7446":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7447":{"x":110,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7448":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"7449":{"morph":{"__isSmartRef__":true,"id":7443},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7450":{"style":{"__isSmartRef__":true,"id":7451},"chunkOwner":{"__isSmartRef__":true,"id":7443},"storedString":"_isRendered","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7451":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7452":{"style":{"__isSmartRef__":true,"id":7453},"chunkOwner":{"__isSmartRef__":true,"id":7443},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7453":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7454":{"x":127.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7455":{"layoutText":{"__isSmartRef__":true,"id":7456}},"7456":{"varMapping":{"__isSmartRef__":true,"id":7457},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":7458},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7457":{"this":{"__isSmartRef__":true,"id":7443}},"7458":{},"7459":{"_Position":{"__isSmartRef__":true,"id":7460},"renderContextTable":{"__isSmartRef__":true,"id":7461},"_Extent":{"__isSmartRef__":true,"id":7462},"_Padding":{"__isSmartRef__":true,"id":7463},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7460":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7461":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7462":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7463":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7464":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7465":{"morph":{"__isSmartRef__":true,"id":7425},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7466":{"resizeWidth":true},"7467":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7468":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7469":{"updateExpanderColor":{"__isSmartRef__":true,"id":7470},"onMouseDown":{"__isSmartRef__":true,"id":7473},"isRoot":{"__isSmartRef__":true,"id":7480},"displayValue":{"__isSmartRef__":true,"id":7483},"update":{"__isSmartRef__":true,"id":7486}},"7470":{"varMapping":{"__isSmartRef__":true,"id":7471},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":7472},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7471":{"this":{"__isSmartRef__":true,"id":7425}},"7472":{},"7473":{"varMapping":{"__isSmartRef__":true,"id":7474},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":7479},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7474":{"this":{"__isSmartRef__":true,"id":7425},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7475}},"7475":{"$super":{"__isSmartRef__":true,"id":7476}},"7476":{"varMapping":{"__isSmartRef__":true,"id":7477},"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":7478},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7477":{"obj":{"__isSmartRef__":true,"id":7425},"name":"onMouseDown"},"7478":{},"7479":{},"7480":{"varMapping":{"__isSmartRef__":true,"id":7481},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":7482},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7481":{"this":{"__isSmartRef__":true,"id":7425}},"7482":{},"7483":{"varMapping":{"__isSmartRef__":true,"id":7484},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":7485},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7484":{"this":{"__isSmartRef__":true,"id":7425}},"7485":{},"7486":{"varMapping":{"__isSmartRef__":true,"id":7487},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7488},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7487":{"this":{"__isSmartRef__":true,"id":7425}},"7488":{},"7489":{"_Position":{"__isSmartRef__":true,"id":7490},"renderContextTable":{"__isSmartRef__":true,"id":7491},"_Extent":{"__isSmartRef__":true,"id":7492},"_Padding":{"__isSmartRef__":true,"id":7493},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7490":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7491":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7492":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7493":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7494":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7495":{"morph":{"__isSmartRef__":true,"id":7424},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7496":{"layouter":{"__isSmartRef__":true,"id":7497},"resizeWidth":true},"7497":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":7424},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"7498":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7499":{"x":0,"y":660,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7500":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":7501}},"7501":{"varMapping":{"__isSmartRef__":true,"id":7502},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7507},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7502":{"this":{"__isSmartRef__":true,"id":7424},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7503}},"7503":{"$super":{"__isSmartRef__":true,"id":7504}},"7504":{"varMapping":{"__isSmartRef__":true,"id":7505},"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":7506},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7505":{"obj":{"__isSmartRef__":true,"id":7424},"name":"getLayoutableSubmorphs"},"7506":{},"7507":{},"7508":{"submorphs":[{"__isSmartRef__":true,"id":7509}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7574},"derivationIds":[null],"id":"BF5CA66C-937C-44B2-A065-BB8BDB80B5DB","renderContextTable":{"__isSmartRef__":true,"id":7579},"eventHandler":{"__isSmartRef__":true,"id":7580},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7581},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":7583},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":7584},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7585},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7509":{"submorphs":[{"__isSmartRef__":true,"id":7510},{"__isSmartRef__":true,"id":7527}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7543},"derivationIds":[null],"id":"C67A421E-4C21-4694-80AD-BA21EBD13198","renderContextTable":{"__isSmartRef__":true,"id":7548},"eventHandler":{"__isSmartRef__":true,"id":7549},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7550},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":7551},"propertyList":["parentNode","morphNode","shapeNode","originNode"],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"_renderContext","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":7510},"text":{"__isSmartRef__":true,"id":7527},"owner":{"__isSmartRef__":true,"id":7508},"_Position":{"__isSmartRef__":true,"id":7552},"priorExtent":{"__isSmartRef__":true,"id":7553},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7554},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7510":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7511},"derivationIds":[null],"id":"33D87FDD-C6EC-4CD8-ACE7-0DD0EE5EDFCF","renderContextTable":{"__isSmartRef__":true,"id":7517},"eventHandler":{"__isSmartRef__":true,"id":7518},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":7519},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":7509},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7520},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"7511":{"_Position":{"__isSmartRef__":true,"id":7512},"renderContextTable":{"__isSmartRef__":true,"id":7513},"_Extent":{"__isSmartRef__":true,"id":7514},"_Padding":{"__isSmartRef__":true,"id":7515},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":7516},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7512":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7513":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7514":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7515":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7516":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7517":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7518":{"morph":{"__isSmartRef__":true,"id":7510},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7519":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7520":{"toggle":{"__isSmartRef__":true,"id":7521},"toggleExpansion":{"__isSmartRef__":true,"id":7524}},"7521":{"varMapping":{"__isSmartRef__":true,"id":7522},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":7523},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7522":{"this":{"__isSmartRef__":true,"id":7510}},"7523":{},"7524":{"varMapping":{"__isSmartRef__":true,"id":7525},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":7526},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7525":{"this":{"__isSmartRef__":true,"id":7510}},"7526":{},"7527":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7528},"derivationIds":[null],"id":"576B7804-B4E5-4C9E-B7D1-04C553FBE4F4","renderContextTable":{"__isSmartRef__":true,"id":7532},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":7533},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":7534},{"__isSmartRef__":true,"id":7536}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":7538},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":7509},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7539},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7528":{"_Position":{"__isSmartRef__":true,"id":7529},"renderContextTable":{"__isSmartRef__":true,"id":7530},"_Extent":{"__isSmartRef__":true,"id":7531},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7529":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7530":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7531":{"x":189,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7532":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"7533":{"morph":{"__isSmartRef__":true,"id":7527},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7534":{"style":{"__isSmartRef__":true,"id":7535},"chunkOwner":{"__isSmartRef__":true,"id":7527},"storedString":"_renderContext","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7535":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7536":{"style":{"__isSmartRef__":true,"id":7537},"chunkOwner":{"__isSmartRef__":true,"id":7527},"storedString":": RenderContext","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7537":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7538":{"x":217.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7539":{"layoutText":{"__isSmartRef__":true,"id":7540}},"7540":{"varMapping":{"__isSmartRef__":true,"id":7541},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":7542},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7541":{"this":{"__isSmartRef__":true,"id":7527}},"7542":{},"7543":{"_Position":{"__isSmartRef__":true,"id":7544},"renderContextTable":{"__isSmartRef__":true,"id":7545},"_Extent":{"__isSmartRef__":true,"id":7546},"_Padding":{"__isSmartRef__":true,"id":7547},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7544":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7545":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7546":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7547":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7548":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7549":{"morph":{"__isSmartRef__":true,"id":7509},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7550":{"resizeWidth":true},"7551":{"__LivelyClassName__":"lively.morphic.HTML.RenderContext","__SourceModuleName__":"Global.lively.morphic.HTML"},"7552":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7553":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7554":{"updateExpanderColor":{"__isSmartRef__":true,"id":7555},"onMouseDown":{"__isSmartRef__":true,"id":7558},"isRoot":{"__isSmartRef__":true,"id":7565},"displayValue":{"__isSmartRef__":true,"id":7568},"update":{"__isSmartRef__":true,"id":7571}},"7555":{"varMapping":{"__isSmartRef__":true,"id":7556},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":7557},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7556":{"this":{"__isSmartRef__":true,"id":7509}},"7557":{},"7558":{"varMapping":{"__isSmartRef__":true,"id":7559},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":7564},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7559":{"this":{"__isSmartRef__":true,"id":7509},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7560}},"7560":{"$super":{"__isSmartRef__":true,"id":7561}},"7561":{"varMapping":{"__isSmartRef__":true,"id":7562},"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":7563},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7562":{"obj":{"__isSmartRef__":true,"id":7509},"name":"onMouseDown"},"7563":{},"7564":{},"7565":{"varMapping":{"__isSmartRef__":true,"id":7566},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":7567},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7566":{"this":{"__isSmartRef__":true,"id":7509}},"7567":{},"7568":{"varMapping":{"__isSmartRef__":true,"id":7569},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":7570},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7569":{"this":{"__isSmartRef__":true,"id":7509}},"7570":{},"7571":{"varMapping":{"__isSmartRef__":true,"id":7572},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7573},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7572":{"this":{"__isSmartRef__":true,"id":7509}},"7573":{},"7574":{"_Position":{"__isSmartRef__":true,"id":7575},"renderContextTable":{"__isSmartRef__":true,"id":7576},"_Extent":{"__isSmartRef__":true,"id":7577},"_Padding":{"__isSmartRef__":true,"id":7578},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7575":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7576":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7577":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7578":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7579":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7580":{"morph":{"__isSmartRef__":true,"id":7508},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7581":{"layouter":{"__isSmartRef__":true,"id":7582},"resizeWidth":true},"7582":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":7508},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"7583":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7584":{"x":0,"y":640,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7585":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":7586}},"7586":{"varMapping":{"__isSmartRef__":true,"id":7587},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7592},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7587":{"this":{"__isSmartRef__":true,"id":7508},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7588}},"7588":{"$super":{"__isSmartRef__":true,"id":7589}},"7589":{"varMapping":{"__isSmartRef__":true,"id":7590},"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":7591},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7590":{"obj":{"__isSmartRef__":true,"id":7508},"name":"getLayoutableSubmorphs"},"7591":{},"7592":{},"7593":{"submorphs":[{"__isSmartRef__":true,"id":7594}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7658},"derivationIds":[null],"id":"77A6D089-CB7D-4CA0-BB44-967CFE3CC73A","renderContextTable":{"__isSmartRef__":true,"id":7663},"eventHandler":{"__isSmartRef__":true,"id":7664},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7665},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":7667},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":7668},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7669},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7594":{"submorphs":[{"__isSmartRef__":true,"id":7595},{"__isSmartRef__":true,"id":7612}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7628},"derivationIds":[null],"id":"89377228-8BC1-435D-92CE-E56DCF6B6D49","renderContextTable":{"__isSmartRef__":true,"id":7633},"eventHandler":{"__isSmartRef__":true,"id":7634},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7635},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"attributeConnections","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":7595},"text":{"__isSmartRef__":true,"id":7612},"owner":{"__isSmartRef__":true,"id":7593},"_Position":{"__isSmartRef__":true,"id":7636},"priorExtent":{"__isSmartRef__":true,"id":7637},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7638},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7595":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7596},"derivationIds":[null],"id":"0D6FA7E6-D156-48B5-BC50-11D3A190EC0B","renderContextTable":{"__isSmartRef__":true,"id":7602},"eventHandler":{"__isSmartRef__":true,"id":7603},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":7604},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":7594},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7605},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"7596":{"_Position":{"__isSmartRef__":true,"id":7597},"renderContextTable":{"__isSmartRef__":true,"id":7598},"_Extent":{"__isSmartRef__":true,"id":7599},"_Padding":{"__isSmartRef__":true,"id":7600},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":7601},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7597":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7598":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7599":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7600":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7601":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7602":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7603":{"morph":{"__isSmartRef__":true,"id":7595},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7604":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7605":{"toggle":{"__isSmartRef__":true,"id":7606},"toggleExpansion":{"__isSmartRef__":true,"id":7609}},"7606":{"varMapping":{"__isSmartRef__":true,"id":7607},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":7608},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7607":{"this":{"__isSmartRef__":true,"id":7595}},"7608":{},"7609":{"varMapping":{"__isSmartRef__":true,"id":7610},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":7611},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7610":{"this":{"__isSmartRef__":true,"id":7595}},"7611":{},"7612":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7613},"derivationIds":[null],"id":"E7BF8C88-5C73-4190-827E-6B5440AE0797","renderContextTable":{"__isSmartRef__":true,"id":7617},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":7618},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":7619},{"__isSmartRef__":true,"id":7621}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":7623},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":7594},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7624},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7613":{"_Position":{"__isSmartRef__":true,"id":7614},"renderContextTable":{"__isSmartRef__":true,"id":7615},"_Extent":{"__isSmartRef__":true,"id":7616},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7614":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7615":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7616":{"x":143,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7617":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"7618":{"morph":{"__isSmartRef__":true,"id":7612},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7619":{"style":{"__isSmartRef__":true,"id":7620},"chunkOwner":{"__isSmartRef__":true,"id":7612},"storedString":"attributeConnections","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7620":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7621":{"style":{"__isSmartRef__":true,"id":7622},"chunkOwner":{"__isSmartRef__":true,"id":7612},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7622":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7623":{"x":180,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7624":{"layoutText":{"__isSmartRef__":true,"id":7625}},"7625":{"varMapping":{"__isSmartRef__":true,"id":7626},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":7627},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7626":{"this":{"__isSmartRef__":true,"id":7612}},"7627":{},"7628":{"_Position":{"__isSmartRef__":true,"id":7629},"renderContextTable":{"__isSmartRef__":true,"id":7630},"_Extent":{"__isSmartRef__":true,"id":7631},"_Padding":{"__isSmartRef__":true,"id":7632},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7629":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7630":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7631":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7632":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7633":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7634":{"morph":{"__isSmartRef__":true,"id":7594},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7635":{"resizeWidth":true},"7636":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7637":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7638":{"updateExpanderColor":{"__isSmartRef__":true,"id":7639},"onMouseDown":{"__isSmartRef__":true,"id":7642},"isRoot":{"__isSmartRef__":true,"id":7649},"displayValue":{"__isSmartRef__":true,"id":7652},"update":{"__isSmartRef__":true,"id":7655}},"7639":{"varMapping":{"__isSmartRef__":true,"id":7640},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":7641},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7640":{"this":{"__isSmartRef__":true,"id":7594}},"7641":{},"7642":{"varMapping":{"__isSmartRef__":true,"id":7643},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":7648},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7643":{"this":{"__isSmartRef__":true,"id":7594},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7644}},"7644":{"$super":{"__isSmartRef__":true,"id":7645}},"7645":{"varMapping":{"__isSmartRef__":true,"id":7646},"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":7647},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7646":{"obj":{"__isSmartRef__":true,"id":7594},"name":"onMouseDown"},"7647":{},"7648":{},"7649":{"varMapping":{"__isSmartRef__":true,"id":7650},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":7651},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7650":{"this":{"__isSmartRef__":true,"id":7594}},"7651":{},"7652":{"varMapping":{"__isSmartRef__":true,"id":7653},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":7654},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7653":{"this":{"__isSmartRef__":true,"id":7594}},"7654":{},"7655":{"varMapping":{"__isSmartRef__":true,"id":7656},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7657},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7656":{"this":{"__isSmartRef__":true,"id":7594}},"7657":{},"7658":{"_Position":{"__isSmartRef__":true,"id":7659},"renderContextTable":{"__isSmartRef__":true,"id":7660},"_Extent":{"__isSmartRef__":true,"id":7661},"_Padding":{"__isSmartRef__":true,"id":7662},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7659":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7660":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7661":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7662":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7663":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7664":{"morph":{"__isSmartRef__":true,"id":7593},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7665":{"layouter":{"__isSmartRef__":true,"id":7666},"resizeWidth":true},"7666":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":7593},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"7667":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7668":{"x":0,"y":620,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7669":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":7670}},"7670":{"varMapping":{"__isSmartRef__":true,"id":7671},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7676},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7671":{"this":{"__isSmartRef__":true,"id":7593},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7672}},"7672":{"$super":{"__isSmartRef__":true,"id":7673}},"7673":{"varMapping":{"__isSmartRef__":true,"id":7674},"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":7675},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7674":{"obj":{"__isSmartRef__":true,"id":7593},"name":"getLayoutableSubmorphs"},"7675":{},"7676":{},"7677":{"submorphs":[{"__isSmartRef__":true,"id":7678}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7742},"derivationIds":[null],"id":"D009BFE9-60D5-4B93-85E5-D08E5CFC88EF","renderContextTable":{"__isSmartRef__":true,"id":7747},"eventHandler":{"__isSmartRef__":true,"id":7748},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7749},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":7751},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":7752},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7753},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7678":{"submorphs":[{"__isSmartRef__":true,"id":7679},{"__isSmartRef__":true,"id":7696}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7712},"derivationIds":[null],"id":"DE1428FC-06CF-45E0-A45A-BEA7C9B7882B","renderContextTable":{"__isSmartRef__":true,"id":7717},"eventHandler":{"__isSmartRef__":true,"id":7718},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7719},"grabbingEnabled":false,"draggingEnabled":false,"data":[127,"A76FBC6E-B894-4737-AFE6-2025D367E30A","5484CBBA-3E42-4542-8A5F-9B4E81369181","039B1EA6-D9E2-4FF7-8318-4AF84B6AFDF3","8DA954A4-09B5-4900-89DE-F91A39BD398A","A79CDC87-8485-4BF0-8EAF-8A42A779D1AA","B3E1FD16-D895-4908-A601-424254E67170","7ED86119-18AE-44EC-B5D4-961C93982561","9CF41223-55A4-42CE-85FB-A6D06238A972","AA33BCC7-7C65-421E-A2D4-A3082E606E43","72CEFFA4-1030-4DF0-8B12-F5CBE3144C9A","99DD5984-28D9-4334-A5D1-8FCC0B644F91","B1A0A0AA-C3F5-4D31-B60E-182A24205521","0ACA9E49-26BA-40BD-9AB6-EE603DF7D177","43D49439-3E5F-43C5-9C42-02650D958AE9","19F9429D-13D9-4288-B10E-0981ACE23473","093AAEA1-0E18-4883-B1A4-EF3DE72E8FF7","A06AE4A8-F4B5-4EF3-94DE-4B4F4EC16776"],"propertyList":["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"derivationIds","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":7679},"text":{"__isSmartRef__":true,"id":7696},"owner":{"__isSmartRef__":true,"id":7677},"_Position":{"__isSmartRef__":true,"id":7720},"priorExtent":{"__isSmartRef__":true,"id":7721},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7722},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7679":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7680},"derivationIds":[null],"id":"87A6E4E5-026C-469E-89DE-D02CAAEF0CC6","renderContextTable":{"__isSmartRef__":true,"id":7686},"eventHandler":{"__isSmartRef__":true,"id":7687},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":7688},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":7678},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7689},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"7680":{"_Position":{"__isSmartRef__":true,"id":7681},"renderContextTable":{"__isSmartRef__":true,"id":7682},"_Extent":{"__isSmartRef__":true,"id":7683},"_Padding":{"__isSmartRef__":true,"id":7684},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":7685},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7681":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7682":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7683":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7684":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7685":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7686":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7687":{"morph":{"__isSmartRef__":true,"id":7679},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7688":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7689":{"toggle":{"__isSmartRef__":true,"id":7690},"toggleExpansion":{"__isSmartRef__":true,"id":7693}},"7690":{"varMapping":{"__isSmartRef__":true,"id":7691},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":7692},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7691":{"this":{"__isSmartRef__":true,"id":7679}},"7692":{},"7693":{"varMapping":{"__isSmartRef__":true,"id":7694},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":7695},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7694":{"this":{"__isSmartRef__":true,"id":7679}},"7695":{},"7696":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7697},"derivationIds":[null],"id":"0C1B9534-072D-43BE-8C18-E53003BABF74","renderContextTable":{"__isSmartRef__":true,"id":7701},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":7702},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":7703},{"__isSmartRef__":true,"id":7705}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":7707},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":7678},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7708},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7697":{"_Position":{"__isSmartRef__":true,"id":7698},"renderContextTable":{"__isSmartRef__":true,"id":7699},"_Extent":{"__isSmartRef__":true,"id":7700},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7698":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7699":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7700":{"x":107,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7701":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"7702":{"morph":{"__isSmartRef__":true,"id":7696},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7703":{"style":{"__isSmartRef__":true,"id":7704},"chunkOwner":{"__isSmartRef__":true,"id":7696},"storedString":"derivationIds","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7704":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7705":{"style":{"__isSmartRef__":true,"id":7706},"chunkOwner":{"__isSmartRef__":true,"id":7696},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7706":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7707":{"x":150,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7708":{"layoutText":{"__isSmartRef__":true,"id":7709}},"7709":{"varMapping":{"__isSmartRef__":true,"id":7710},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":7711},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7710":{"this":{"__isSmartRef__":true,"id":7696}},"7711":{},"7712":{"_Position":{"__isSmartRef__":true,"id":7713},"renderContextTable":{"__isSmartRef__":true,"id":7714},"_Extent":{"__isSmartRef__":true,"id":7715},"_Padding":{"__isSmartRef__":true,"id":7716},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7713":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7714":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7715":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7716":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7717":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7718":{"morph":{"__isSmartRef__":true,"id":7678},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7719":{"resizeWidth":true},"7720":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7721":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7722":{"updateExpanderColor":{"__isSmartRef__":true,"id":7723},"onMouseDown":{"__isSmartRef__":true,"id":7726},"isRoot":{"__isSmartRef__":true,"id":7733},"displayValue":{"__isSmartRef__":true,"id":7736},"update":{"__isSmartRef__":true,"id":7739}},"7723":{"varMapping":{"__isSmartRef__":true,"id":7724},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":7725},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7724":{"this":{"__isSmartRef__":true,"id":7678}},"7725":{},"7726":{"varMapping":{"__isSmartRef__":true,"id":7727},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":7732},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7727":{"this":{"__isSmartRef__":true,"id":7678},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7728}},"7728":{"$super":{"__isSmartRef__":true,"id":7729}},"7729":{"varMapping":{"__isSmartRef__":true,"id":7730},"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":7731},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7730":{"obj":{"__isSmartRef__":true,"id":7678},"name":"onMouseDown"},"7731":{},"7732":{},"7733":{"varMapping":{"__isSmartRef__":true,"id":7734},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":7735},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7734":{"this":{"__isSmartRef__":true,"id":7678}},"7735":{},"7736":{"varMapping":{"__isSmartRef__":true,"id":7737},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":7738},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7737":{"this":{"__isSmartRef__":true,"id":7678}},"7738":{},"7739":{"varMapping":{"__isSmartRef__":true,"id":7740},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7741},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7740":{"this":{"__isSmartRef__":true,"id":7678}},"7741":{},"7742":{"_Position":{"__isSmartRef__":true,"id":7743},"renderContextTable":{"__isSmartRef__":true,"id":7744},"_Extent":{"__isSmartRef__":true,"id":7745},"_Padding":{"__isSmartRef__":true,"id":7746},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7743":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7744":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7745":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7746":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7747":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7748":{"morph":{"__isSmartRef__":true,"id":7677},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7749":{"layouter":{"__isSmartRef__":true,"id":7750},"resizeWidth":true},"7750":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":7677},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"7751":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7752":{"x":0,"y":600,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7753":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":7754}},"7754":{"varMapping":{"__isSmartRef__":true,"id":7755},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7760},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7755":{"this":{"__isSmartRef__":true,"id":7677},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7756}},"7756":{"$super":{"__isSmartRef__":true,"id":7757}},"7757":{"varMapping":{"__isSmartRef__":true,"id":7758},"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":7759},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7758":{"obj":{"__isSmartRef__":true,"id":7677},"name":"getLayoutableSubmorphs"},"7759":{},"7760":{},"7761":{"submorphs":[{"__isSmartRef__":true,"id":7762}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7826},"derivationIds":[null],"id":"D5667911-2951-4020-839C-4D70577F087F","renderContextTable":{"__isSmartRef__":true,"id":7831},"eventHandler":{"__isSmartRef__":true,"id":7832},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7833},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":7835},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":7836},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7837},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7762":{"submorphs":[{"__isSmartRef__":true,"id":7763},{"__isSmartRef__":true,"id":7780}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7796},"derivationIds":[null],"id":"4BA23531-EA01-4221-B69B-81D4B60C95E2","renderContextTable":{"__isSmartRef__":true,"id":7801},"eventHandler":{"__isSmartRef__":true,"id":7802},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7803},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":4358},"propertyList":["x","y","__SourceModuleName__"],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"distanceToDragEvent","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":7763},"text":{"__isSmartRef__":true,"id":7780},"owner":{"__isSmartRef__":true,"id":7761},"_Position":{"__isSmartRef__":true,"id":7804},"priorExtent":{"__isSmartRef__":true,"id":7805},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7806},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7763":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7764},"derivationIds":[null],"id":"1982F6A6-E93D-4F14-A225-3102BCF9BBA0","renderContextTable":{"__isSmartRef__":true,"id":7770},"eventHandler":{"__isSmartRef__":true,"id":7771},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":7772},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":7762},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7773},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"7764":{"_Position":{"__isSmartRef__":true,"id":7765},"renderContextTable":{"__isSmartRef__":true,"id":7766},"_Extent":{"__isSmartRef__":true,"id":7767},"_Padding":{"__isSmartRef__":true,"id":7768},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":7769},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7765":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7766":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7767":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7768":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7769":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7770":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7771":{"morph":{"__isSmartRef__":true,"id":7763},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7772":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7773":{"toggle":{"__isSmartRef__":true,"id":7774},"toggleExpansion":{"__isSmartRef__":true,"id":7777}},"7774":{"varMapping":{"__isSmartRef__":true,"id":7775},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":7776},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7775":{"this":{"__isSmartRef__":true,"id":7763}},"7776":{},"7777":{"varMapping":{"__isSmartRef__":true,"id":7778},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":7779},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7778":{"this":{"__isSmartRef__":true,"id":7763}},"7779":{},"7780":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7781},"derivationIds":[null],"id":"46A504EB-98CB-44E3-9778-8E853F9260B1","renderContextTable":{"__isSmartRef__":true,"id":7785},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":7786},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":7787},{"__isSmartRef__":true,"id":7789}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":7791},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":7762},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7792},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7781":{"_Position":{"__isSmartRef__":true,"id":7782},"renderContextTable":{"__isSmartRef__":true,"id":7783},"_Extent":{"__isSmartRef__":true,"id":7784},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7782":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7783":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7784":{"x":168,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7785":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"7786":{"morph":{"__isSmartRef__":true,"id":7780},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7787":{"style":{"__isSmartRef__":true,"id":7788},"chunkOwner":{"__isSmartRef__":true,"id":7780},"storedString":"distanceToDragEvent","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7788":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7789":{"style":{"__isSmartRef__":true,"id":7790},"chunkOwner":{"__isSmartRef__":true,"id":7780},"storedString":": Point","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7790":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7791":{"x":195,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7792":{"layoutText":{"__isSmartRef__":true,"id":7793}},"7793":{"varMapping":{"__isSmartRef__":true,"id":7794},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":7795},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7794":{"this":{"__isSmartRef__":true,"id":7780}},"7795":{},"7796":{"_Position":{"__isSmartRef__":true,"id":7797},"renderContextTable":{"__isSmartRef__":true,"id":7798},"_Extent":{"__isSmartRef__":true,"id":7799},"_Padding":{"__isSmartRef__":true,"id":7800},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7797":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7798":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7799":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7800":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7801":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7802":{"morph":{"__isSmartRef__":true,"id":7762},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7803":{"resizeWidth":true},"7804":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7805":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7806":{"updateExpanderColor":{"__isSmartRef__":true,"id":7807},"onMouseDown":{"__isSmartRef__":true,"id":7810},"isRoot":{"__isSmartRef__":true,"id":7817},"displayValue":{"__isSmartRef__":true,"id":7820},"update":{"__isSmartRef__":true,"id":7823}},"7807":{"varMapping":{"__isSmartRef__":true,"id":7808},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":7809},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7808":{"this":{"__isSmartRef__":true,"id":7762}},"7809":{},"7810":{"varMapping":{"__isSmartRef__":true,"id":7811},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":7816},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7811":{"this":{"__isSmartRef__":true,"id":7762},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7812}},"7812":{"$super":{"__isSmartRef__":true,"id":7813}},"7813":{"varMapping":{"__isSmartRef__":true,"id":7814},"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":7815},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7814":{"obj":{"__isSmartRef__":true,"id":7762},"name":"onMouseDown"},"7815":{},"7816":{},"7817":{"varMapping":{"__isSmartRef__":true,"id":7818},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":7819},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7818":{"this":{"__isSmartRef__":true,"id":7762}},"7819":{},"7820":{"varMapping":{"__isSmartRef__":true,"id":7821},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":7822},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7821":{"this":{"__isSmartRef__":true,"id":7762}},"7822":{},"7823":{"varMapping":{"__isSmartRef__":true,"id":7824},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7825},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7824":{"this":{"__isSmartRef__":true,"id":7762}},"7825":{},"7826":{"_Position":{"__isSmartRef__":true,"id":7827},"renderContextTable":{"__isSmartRef__":true,"id":7828},"_Extent":{"__isSmartRef__":true,"id":7829},"_Padding":{"__isSmartRef__":true,"id":7830},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7827":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7828":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7829":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7830":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7831":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7832":{"morph":{"__isSmartRef__":true,"id":7761},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7833":{"layouter":{"__isSmartRef__":true,"id":7834},"resizeWidth":true},"7834":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":7761},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"7835":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7836":{"x":0,"y":580,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7837":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":7838}},"7838":{"varMapping":{"__isSmartRef__":true,"id":7839},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7844},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7839":{"this":{"__isSmartRef__":true,"id":7761},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7840}},"7840":{"$super":{"__isSmartRef__":true,"id":7841}},"7841":{"varMapping":{"__isSmartRef__":true,"id":7842},"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":7843},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7842":{"obj":{"__isSmartRef__":true,"id":7761},"name":"getLayoutableSubmorphs"},"7843":{},"7844":{},"7845":{"submorphs":[{"__isSmartRef__":true,"id":7846}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7910},"derivationIds":[null],"id":"B107A42A-C33A-4F2E-BBC3-114070170B6E","renderContextTable":{"__isSmartRef__":true,"id":7915},"eventHandler":{"__isSmartRef__":true,"id":7916},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7917},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":7919},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":7920},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7921},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7846":{"submorphs":[{"__isSmartRef__":true,"id":7847},{"__isSmartRef__":true,"id":7864}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7880},"derivationIds":[null],"id":"ADF29750-D35F-43C0-AECC-160CFC08797E","renderContextTable":{"__isSmartRef__":true,"id":7885},"eventHandler":{"__isSmartRef__":true,"id":7886},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7887},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"doNotCopyProperties","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":7847},"text":{"__isSmartRef__":true,"id":7864},"owner":{"__isSmartRef__":true,"id":7845},"_Position":{"__isSmartRef__":true,"id":7888},"priorExtent":{"__isSmartRef__":true,"id":7889},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7890},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7847":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7848},"derivationIds":[null],"id":"B86AEF8B-13A9-423D-B903-3C11051D2E4D","renderContextTable":{"__isSmartRef__":true,"id":7854},"eventHandler":{"__isSmartRef__":true,"id":7855},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":7856},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":7846},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7857},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"7848":{"_Position":{"__isSmartRef__":true,"id":7849},"renderContextTable":{"__isSmartRef__":true,"id":7850},"_Extent":{"__isSmartRef__":true,"id":7851},"_Padding":{"__isSmartRef__":true,"id":7852},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":7853},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7849":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7850":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7851":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7852":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7853":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7854":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7855":{"morph":{"__isSmartRef__":true,"id":7847},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7856":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7857":{"toggle":{"__isSmartRef__":true,"id":7858},"toggleExpansion":{"__isSmartRef__":true,"id":7861}},"7858":{"varMapping":{"__isSmartRef__":true,"id":7859},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":7860},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7859":{"this":{"__isSmartRef__":true,"id":7847}},"7860":{},"7861":{"varMapping":{"__isSmartRef__":true,"id":7862},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":7863},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7862":{"this":{"__isSmartRef__":true,"id":7847}},"7863":{},"7864":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7865},"derivationIds":[null],"id":"2B27F77E-8A2F-482C-83F8-0FBD9639ACE7","renderContextTable":{"__isSmartRef__":true,"id":7869},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":7870},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":7871},{"__isSmartRef__":true,"id":7873}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":7875},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":7846},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7876},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7865":{"_Position":{"__isSmartRef__":true,"id":7866},"renderContextTable":{"__isSmartRef__":true,"id":7867},"_Extent":{"__isSmartRef__":true,"id":7868},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7866":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7867":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7868":{"x":147,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7869":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"7870":{"morph":{"__isSmartRef__":true,"id":7864},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7871":{"style":{"__isSmartRef__":true,"id":7872},"chunkOwner":{"__isSmartRef__":true,"id":7864},"storedString":"doNotCopyProperties","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7872":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7873":{"style":{"__isSmartRef__":true,"id":7874},"chunkOwner":{"__isSmartRef__":true,"id":7864},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7874":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7875":{"x":172.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7876":{"layoutText":{"__isSmartRef__":true,"id":7877}},"7877":{"varMapping":{"__isSmartRef__":true,"id":7878},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":7879},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7878":{"this":{"__isSmartRef__":true,"id":7864}},"7879":{},"7880":{"_Position":{"__isSmartRef__":true,"id":7881},"renderContextTable":{"__isSmartRef__":true,"id":7882},"_Extent":{"__isSmartRef__":true,"id":7883},"_Padding":{"__isSmartRef__":true,"id":7884},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7881":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7882":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7883":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7884":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7885":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7886":{"morph":{"__isSmartRef__":true,"id":7846},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7887":{"resizeWidth":true},"7888":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7889":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7890":{"updateExpanderColor":{"__isSmartRef__":true,"id":7891},"onMouseDown":{"__isSmartRef__":true,"id":7894},"isRoot":{"__isSmartRef__":true,"id":7901},"displayValue":{"__isSmartRef__":true,"id":7904},"update":{"__isSmartRef__":true,"id":7907}},"7891":{"varMapping":{"__isSmartRef__":true,"id":7892},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":7893},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7892":{"this":{"__isSmartRef__":true,"id":7846}},"7893":{},"7894":{"varMapping":{"__isSmartRef__":true,"id":7895},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":7900},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7895":{"this":{"__isSmartRef__":true,"id":7846},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7896}},"7896":{"$super":{"__isSmartRef__":true,"id":7897}},"7897":{"varMapping":{"__isSmartRef__":true,"id":7898},"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":7899},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7898":{"obj":{"__isSmartRef__":true,"id":7846},"name":"onMouseDown"},"7899":{},"7900":{},"7901":{"varMapping":{"__isSmartRef__":true,"id":7902},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":7903},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7902":{"this":{"__isSmartRef__":true,"id":7846}},"7903":{},"7904":{"varMapping":{"__isSmartRef__":true,"id":7905},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":7906},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7905":{"this":{"__isSmartRef__":true,"id":7846}},"7906":{},"7907":{"varMapping":{"__isSmartRef__":true,"id":7908},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7909},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7908":{"this":{"__isSmartRef__":true,"id":7846}},"7909":{},"7910":{"_Position":{"__isSmartRef__":true,"id":7911},"renderContextTable":{"__isSmartRef__":true,"id":7912},"_Extent":{"__isSmartRef__":true,"id":7913},"_Padding":{"__isSmartRef__":true,"id":7914},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7911":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7912":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7913":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7914":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7915":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7916":{"morph":{"__isSmartRef__":true,"id":7845},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7917":{"layouter":{"__isSmartRef__":true,"id":7918},"resizeWidth":true},"7918":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":7845},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"7919":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7920":{"x":0,"y":560,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7921":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":7922}},"7922":{"varMapping":{"__isSmartRef__":true,"id":7923},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7928},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7923":{"this":{"__isSmartRef__":true,"id":7845},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7924}},"7924":{"$super":{"__isSmartRef__":true,"id":7925}},"7925":{"varMapping":{"__isSmartRef__":true,"id":7926},"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":7927},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7926":{"obj":{"__isSmartRef__":true,"id":7845},"name":"getLayoutableSubmorphs"},"7927":{},"7928":{},"7929":{"submorphs":[{"__isSmartRef__":true,"id":7930}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7994},"derivationIds":[null],"id":"1A915361-7351-40FA-B8C7-288FD6341C98","renderContextTable":{"__isSmartRef__":true,"id":7999},"eventHandler":{"__isSmartRef__":true,"id":8000},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8001},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":8003},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":8004},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8005},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7930":{"submorphs":[{"__isSmartRef__":true,"id":7931},{"__isSmartRef__":true,"id":7948}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7964},"derivationIds":[null],"id":"E6886377-262E-49A4-A8F3-E21F80081B9C","renderContextTable":{"__isSmartRef__":true,"id":7969},"eventHandler":{"__isSmartRef__":true,"id":7970},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7971},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"doNotSerialize","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":7931},"text":{"__isSmartRef__":true,"id":7948},"owner":{"__isSmartRef__":true,"id":7929},"_Position":{"__isSmartRef__":true,"id":7972},"priorExtent":{"__isSmartRef__":true,"id":7973},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7974},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"7931":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7932},"derivationIds":[null],"id":"4CF608B9-51E5-43C2-9539-76DB0051904D","renderContextTable":{"__isSmartRef__":true,"id":7938},"eventHandler":{"__isSmartRef__":true,"id":7939},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":7940},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":7930},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7941},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"7932":{"_Position":{"__isSmartRef__":true,"id":7933},"renderContextTable":{"__isSmartRef__":true,"id":7934},"_Extent":{"__isSmartRef__":true,"id":7935},"_Padding":{"__isSmartRef__":true,"id":7936},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":7937},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7933":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7934":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7935":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7936":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7937":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7938":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7939":{"morph":{"__isSmartRef__":true,"id":7931},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7940":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7941":{"toggle":{"__isSmartRef__":true,"id":7942},"toggleExpansion":{"__isSmartRef__":true,"id":7945}},"7942":{"varMapping":{"__isSmartRef__":true,"id":7943},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":7944},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7943":{"this":{"__isSmartRef__":true,"id":7931}},"7944":{},"7945":{"varMapping":{"__isSmartRef__":true,"id":7946},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":7947},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7946":{"this":{"__isSmartRef__":true,"id":7931}},"7947":{},"7948":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7949},"derivationIds":[null],"id":"186AA0C4-D48F-4AF2-A915-F9A548160BCE","renderContextTable":{"__isSmartRef__":true,"id":7953},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":7954},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":7955},{"__isSmartRef__":true,"id":7957}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":7959},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":7930},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7960},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7949":{"_Position":{"__isSmartRef__":true,"id":7950},"renderContextTable":{"__isSmartRef__":true,"id":7951},"_Extent":{"__isSmartRef__":true,"id":7952},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7950":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7951":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7952":{"x":108,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7953":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"7954":{"morph":{"__isSmartRef__":true,"id":7948},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7955":{"style":{"__isSmartRef__":true,"id":7956},"chunkOwner":{"__isSmartRef__":true,"id":7948},"storedString":"doNotSerialize","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7956":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7957":{"style":{"__isSmartRef__":true,"id":7958},"chunkOwner":{"__isSmartRef__":true,"id":7948},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7958":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7959":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7960":{"layoutText":{"__isSmartRef__":true,"id":7961}},"7961":{"varMapping":{"__isSmartRef__":true,"id":7962},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":7963},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7962":{"this":{"__isSmartRef__":true,"id":7948}},"7963":{},"7964":{"_Position":{"__isSmartRef__":true,"id":7965},"renderContextTable":{"__isSmartRef__":true,"id":7966},"_Extent":{"__isSmartRef__":true,"id":7967},"_Padding":{"__isSmartRef__":true,"id":7968},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7965":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7966":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7967":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7968":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7969":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"7970":{"morph":{"__isSmartRef__":true,"id":7930},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7971":{"resizeWidth":true},"7972":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7973":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7974":{"updateExpanderColor":{"__isSmartRef__":true,"id":7975},"onMouseDown":{"__isSmartRef__":true,"id":7978},"isRoot":{"__isSmartRef__":true,"id":7985},"displayValue":{"__isSmartRef__":true,"id":7988},"update":{"__isSmartRef__":true,"id":7991}},"7975":{"varMapping":{"__isSmartRef__":true,"id":7976},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":7977},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7976":{"this":{"__isSmartRef__":true,"id":7930}},"7977":{},"7978":{"varMapping":{"__isSmartRef__":true,"id":7979},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":7984},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7979":{"this":{"__isSmartRef__":true,"id":7930},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7980}},"7980":{"$super":{"__isSmartRef__":true,"id":7981}},"7981":{"varMapping":{"__isSmartRef__":true,"id":7982},"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":7983},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7982":{"obj":{"__isSmartRef__":true,"id":7930},"name":"onMouseDown"},"7983":{},"7984":{},"7985":{"varMapping":{"__isSmartRef__":true,"id":7986},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":7987},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7986":{"this":{"__isSmartRef__":true,"id":7930}},"7987":{},"7988":{"varMapping":{"__isSmartRef__":true,"id":7989},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":7990},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7989":{"this":{"__isSmartRef__":true,"id":7930}},"7990":{},"7991":{"varMapping":{"__isSmartRef__":true,"id":7992},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7993},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7992":{"this":{"__isSmartRef__":true,"id":7930}},"7993":{},"7994":{"_Position":{"__isSmartRef__":true,"id":7995},"renderContextTable":{"__isSmartRef__":true,"id":7996},"_Extent":{"__isSmartRef__":true,"id":7997},"_Padding":{"__isSmartRef__":true,"id":7998},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7995":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7996":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"7997":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7998":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7999":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8000":{"morph":{"__isSmartRef__":true,"id":7929},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8001":{"layouter":{"__isSmartRef__":true,"id":8002},"resizeWidth":true},"8002":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":7929},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"8003":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8004":{"x":0,"y":540,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8005":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":8006}},"8006":{"varMapping":{"__isSmartRef__":true,"id":8007},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":8012},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8007":{"this":{"__isSmartRef__":true,"id":7929},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8008}},"8008":{"$super":{"__isSmartRef__":true,"id":8009}},"8009":{"varMapping":{"__isSmartRef__":true,"id":8010},"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":8011},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8010":{"obj":{"__isSmartRef__":true,"id":7929},"name":"getLayoutableSubmorphs"},"8011":{},"8012":{},"8013":{"submorphs":[{"__isSmartRef__":true,"id":8014}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8078},"derivationIds":[null],"id":"12AA8895-6B58-4044-8FA3-9D0C1844557D","renderContextTable":{"__isSmartRef__":true,"id":8083},"eventHandler":{"__isSmartRef__":true,"id":8084},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8085},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":8087},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":8088},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8089},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8014":{"submorphs":[{"__isSmartRef__":true,"id":8015},{"__isSmartRef__":true,"id":8032}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8048},"derivationIds":[null],"id":"4977CED7-31E0-41A1-8533-75809A4528B1","renderContextTable":{"__isSmartRef__":true,"id":8053},"eventHandler":{"__isSmartRef__":true,"id":8054},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8055},"grabbingEnabled":false,"draggingEnabled":false,"data":false,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"droppingEnabled","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":8015},"text":{"__isSmartRef__":true,"id":8032},"owner":{"__isSmartRef__":true,"id":8013},"_Position":{"__isSmartRef__":true,"id":8056},"priorExtent":{"__isSmartRef__":true,"id":8057},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8058},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8015":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8016},"derivationIds":[null],"id":"74F7D152-88D6-4627-B5A8-C3E9647473AF","renderContextTable":{"__isSmartRef__":true,"id":8022},"eventHandler":{"__isSmartRef__":true,"id":8023},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":8024},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":8014},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8025},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"8016":{"_Position":{"__isSmartRef__":true,"id":8017},"renderContextTable":{"__isSmartRef__":true,"id":8018},"_Extent":{"__isSmartRef__":true,"id":8019},"_Padding":{"__isSmartRef__":true,"id":8020},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":8021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8017":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8018":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8019":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8020":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8021":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8022":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8023":{"morph":{"__isSmartRef__":true,"id":8015},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8024":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8025":{"toggle":{"__isSmartRef__":true,"id":8026},"toggleExpansion":{"__isSmartRef__":true,"id":8029}},"8026":{"varMapping":{"__isSmartRef__":true,"id":8027},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":8028},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8027":{"this":{"__isSmartRef__":true,"id":8015}},"8028":{},"8029":{"varMapping":{"__isSmartRef__":true,"id":8030},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":8031},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8030":{"this":{"__isSmartRef__":true,"id":8015}},"8031":{},"8032":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8033},"derivationIds":[null],"id":"D5DAE29C-4CE9-4807-9193-FE0A6FF71A77","renderContextTable":{"__isSmartRef__":true,"id":8037},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":8038},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":8039},{"__isSmartRef__":true,"id":8041}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":8043},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":8014},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8044},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8033":{"_Position":{"__isSmartRef__":true,"id":8034},"renderContextTable":{"__isSmartRef__":true,"id":8035},"_Extent":{"__isSmartRef__":true,"id":8036},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8034":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8035":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8036":{"x":140,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8037":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"8038":{"morph":{"__isSmartRef__":true,"id":8032},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8039":{"style":{"__isSmartRef__":true,"id":8040},"chunkOwner":{"__isSmartRef__":true,"id":8032},"storedString":"droppingEnabled","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8040":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8041":{"style":{"__isSmartRef__":true,"id":8042},"chunkOwner":{"__isSmartRef__":true,"id":8032},"storedString":": false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8042":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8043":{"x":165,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8044":{"layoutText":{"__isSmartRef__":true,"id":8045}},"8045":{"varMapping":{"__isSmartRef__":true,"id":8046},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":8047},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8046":{"this":{"__isSmartRef__":true,"id":8032}},"8047":{},"8048":{"_Position":{"__isSmartRef__":true,"id":8049},"renderContextTable":{"__isSmartRef__":true,"id":8050},"_Extent":{"__isSmartRef__":true,"id":8051},"_Padding":{"__isSmartRef__":true,"id":8052},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8049":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8050":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8051":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8052":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8053":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8054":{"morph":{"__isSmartRef__":true,"id":8014},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8055":{"resizeWidth":true},"8056":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8057":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8058":{"updateExpanderColor":{"__isSmartRef__":true,"id":8059},"onMouseDown":{"__isSmartRef__":true,"id":8062},"isRoot":{"__isSmartRef__":true,"id":8069},"displayValue":{"__isSmartRef__":true,"id":8072},"update":{"__isSmartRef__":true,"id":8075}},"8059":{"varMapping":{"__isSmartRef__":true,"id":8060},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":8061},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8060":{"this":{"__isSmartRef__":true,"id":8014}},"8061":{},"8062":{"varMapping":{"__isSmartRef__":true,"id":8063},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":8068},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8063":{"this":{"__isSmartRef__":true,"id":8014},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8064}},"8064":{"$super":{"__isSmartRef__":true,"id":8065}},"8065":{"varMapping":{"__isSmartRef__":true,"id":8066},"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":8067},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8066":{"obj":{"__isSmartRef__":true,"id":8014},"name":"onMouseDown"},"8067":{},"8068":{},"8069":{"varMapping":{"__isSmartRef__":true,"id":8070},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":8071},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8070":{"this":{"__isSmartRef__":true,"id":8014}},"8071":{},"8072":{"varMapping":{"__isSmartRef__":true,"id":8073},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":8074},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8073":{"this":{"__isSmartRef__":true,"id":8014}},"8074":{},"8075":{"varMapping":{"__isSmartRef__":true,"id":8076},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8077},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8076":{"this":{"__isSmartRef__":true,"id":8014}},"8077":{},"8078":{"_Position":{"__isSmartRef__":true,"id":8079},"renderContextTable":{"__isSmartRef__":true,"id":8080},"_Extent":{"__isSmartRef__":true,"id":8081},"_Padding":{"__isSmartRef__":true,"id":8082},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8079":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8080":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8081":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8082":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8083":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8084":{"morph":{"__isSmartRef__":true,"id":8013},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8085":{"layouter":{"__isSmartRef__":true,"id":8086},"resizeWidth":true},"8086":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8013},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"8087":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8088":{"x":0,"y":520,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8089":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":8090}},"8090":{"varMapping":{"__isSmartRef__":true,"id":8091},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":8096},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8091":{"this":{"__isSmartRef__":true,"id":8013},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8092}},"8092":{"$super":{"__isSmartRef__":true,"id":8093}},"8093":{"varMapping":{"__isSmartRef__":true,"id":8094},"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":8095},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8094":{"obj":{"__isSmartRef__":true,"id":8013},"name":"getLayoutableSubmorphs"},"8095":{},"8096":{},"8097":{"submorphs":[{"__isSmartRef__":true,"id":8098}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8162},"derivationIds":[null],"id":"FAF457CC-8D44-4F4F-A7AC-B3CDD30F4A0B","renderContextTable":{"__isSmartRef__":true,"id":8167},"eventHandler":{"__isSmartRef__":true,"id":8168},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8169},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":8171},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":8172},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8173},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8098":{"submorphs":[{"__isSmartRef__":true,"id":8099},{"__isSmartRef__":true,"id":8116}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8132},"derivationIds":[null],"id":"04233C78-97C4-422B-A6FB-DA47FE6DFFA2","renderContextTable":{"__isSmartRef__":true,"id":8137},"eventHandler":{"__isSmartRef__":true,"id":8138},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8139},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1517},"propertyList":["morph","__SourceModuleName__","dispatchTable"],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"eventHandler","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":8099},"text":{"__isSmartRef__":true,"id":8116},"owner":{"__isSmartRef__":true,"id":8097},"_Position":{"__isSmartRef__":true,"id":8140},"priorExtent":{"__isSmartRef__":true,"id":8141},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8142},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8099":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8100},"derivationIds":[null],"id":"46E68591-9B8A-4FE8-B533-451379A6FB19","renderContextTable":{"__isSmartRef__":true,"id":8106},"eventHandler":{"__isSmartRef__":true,"id":8107},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":8108},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":8098},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8109},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"8100":{"_Position":{"__isSmartRef__":true,"id":8101},"renderContextTable":{"__isSmartRef__":true,"id":8102},"_Extent":{"__isSmartRef__":true,"id":8103},"_Padding":{"__isSmartRef__":true,"id":8104},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":8105},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8101":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8102":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8103":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8104":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8105":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8106":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8107":{"morph":{"__isSmartRef__":true,"id":8099},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8108":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8109":{"toggle":{"__isSmartRef__":true,"id":8110},"toggleExpansion":{"__isSmartRef__":true,"id":8113}},"8110":{"varMapping":{"__isSmartRef__":true,"id":8111},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":8112},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8111":{"this":{"__isSmartRef__":true,"id":8099}},"8112":{},"8113":{"varMapping":{"__isSmartRef__":true,"id":8114},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":8115},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8114":{"this":{"__isSmartRef__":true,"id":8099}},"8115":{},"8116":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8117},"derivationIds":[null],"id":"F86C1502-E1CB-4F3F-A96E-7D11F50F112D","renderContextTable":{"__isSmartRef__":true,"id":8121},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":8122},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":8123},{"__isSmartRef__":true,"id":8125}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":8127},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":8098},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8128},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8117":{"_Position":{"__isSmartRef__":true,"id":8118},"renderContextTable":{"__isSmartRef__":true,"id":8119},"_Extent":{"__isSmartRef__":true,"id":8120},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8118":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8119":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8120":{"x":167,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8121":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"8122":{"morph":{"__isSmartRef__":true,"id":8116},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8123":{"style":{"__isSmartRef__":true,"id":8124},"chunkOwner":{"__isSmartRef__":true,"id":8116},"storedString":"eventHandler","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8124":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8125":{"style":{"__isSmartRef__":true,"id":8126},"chunkOwner":{"__isSmartRef__":true,"id":8116},"storedString":": EventHandler","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8126":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8127":{"x":195,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8128":{"layoutText":{"__isSmartRef__":true,"id":8129}},"8129":{"varMapping":{"__isSmartRef__":true,"id":8130},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":8131},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8130":{"this":{"__isSmartRef__":true,"id":8116}},"8131":{},"8132":{"_Position":{"__isSmartRef__":true,"id":8133},"renderContextTable":{"__isSmartRef__":true,"id":8134},"_Extent":{"__isSmartRef__":true,"id":8135},"_Padding":{"__isSmartRef__":true,"id":8136},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8133":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8134":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8135":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8136":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8137":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8138":{"morph":{"__isSmartRef__":true,"id":8098},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8139":{"resizeWidth":true},"8140":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8141":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8142":{"updateExpanderColor":{"__isSmartRef__":true,"id":8143},"onMouseDown":{"__isSmartRef__":true,"id":8146},"isRoot":{"__isSmartRef__":true,"id":8153},"displayValue":{"__isSmartRef__":true,"id":8156},"update":{"__isSmartRef__":true,"id":8159}},"8143":{"varMapping":{"__isSmartRef__":true,"id":8144},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":8145},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8144":{"this":{"__isSmartRef__":true,"id":8098}},"8145":{},"8146":{"varMapping":{"__isSmartRef__":true,"id":8147},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":8152},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8147":{"this":{"__isSmartRef__":true,"id":8098},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8148}},"8148":{"$super":{"__isSmartRef__":true,"id":8149}},"8149":{"varMapping":{"__isSmartRef__":true,"id":8150},"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":8151},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8150":{"obj":{"__isSmartRef__":true,"id":8098},"name":"onMouseDown"},"8151":{},"8152":{},"8153":{"varMapping":{"__isSmartRef__":true,"id":8154},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":8155},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8154":{"this":{"__isSmartRef__":true,"id":8098}},"8155":{},"8156":{"varMapping":{"__isSmartRef__":true,"id":8157},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":8158},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8157":{"this":{"__isSmartRef__":true,"id":8098}},"8158":{},"8159":{"varMapping":{"__isSmartRef__":true,"id":8160},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8161},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8160":{"this":{"__isSmartRef__":true,"id":8098}},"8161":{},"8162":{"_Position":{"__isSmartRef__":true,"id":8163},"renderContextTable":{"__isSmartRef__":true,"id":8164},"_Extent":{"__isSmartRef__":true,"id":8165},"_Padding":{"__isSmartRef__":true,"id":8166},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8163":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8164":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8165":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8166":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8167":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8168":{"morph":{"__isSmartRef__":true,"id":8097},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8169":{"layouter":{"__isSmartRef__":true,"id":8170},"resizeWidth":true},"8170":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8097},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"8171":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8172":{"x":0,"y":500,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8173":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":8174}},"8174":{"varMapping":{"__isSmartRef__":true,"id":8175},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":8180},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8175":{"this":{"__isSmartRef__":true,"id":8097},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8176}},"8176":{"$super":{"__isSmartRef__":true,"id":8177}},"8177":{"varMapping":{"__isSmartRef__":true,"id":8178},"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":8179},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8178":{"obj":{"__isSmartRef__":true,"id":8097},"name":"getLayoutableSubmorphs"},"8179":{},"8180":{},"8181":{"submorphs":[{"__isSmartRef__":true,"id":8182}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8245},"derivationIds":[null],"id":"076446F0-C337-4971-AC3A-24212CEB120D","renderContextTable":{"__isSmartRef__":true,"id":8250},"eventHandler":{"__isSmartRef__":true,"id":8251},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8252},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":8254},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":8255},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8256},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8182":{"submorphs":[{"__isSmartRef__":true,"id":8183},{"__isSmartRef__":true,"id":8199}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8215},"derivationIds":[null],"id":"F44817C5-6D49-4D3F-BD6F-32B2C6A3F9D3","renderContextTable":{"__isSmartRef__":true,"id":8220},"eventHandler":{"__isSmartRef__":true,"id":8221},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8222},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"halos","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":8183},"text":{"__isSmartRef__":true,"id":8199},"owner":{"__isSmartRef__":true,"id":8181},"_Position":{"__isSmartRef__":true,"id":8223},"priorExtent":{"__isSmartRef__":true,"id":8224},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8225},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8183":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8184},"derivationIds":[null],"id":"B93589C8-E93B-477E-B58A-7C0B49B67FA3","renderContextTable":{"__isSmartRef__":true,"id":8189},"eventHandler":{"__isSmartRef__":true,"id":8190},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":8191},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":8182},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8192},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"8184":{"_Position":{"__isSmartRef__":true,"id":8185},"renderContextTable":{"__isSmartRef__":true,"id":8186},"_Extent":{"__isSmartRef__":true,"id":8187},"_Padding":{"__isSmartRef__":true,"id":8188},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":6759},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8185":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8186":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8187":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8188":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8189":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8190":{"morph":{"__isSmartRef__":true,"id":8183},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8191":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8192":{"toggle":{"__isSmartRef__":true,"id":8193},"toggleExpansion":{"__isSmartRef__":true,"id":8196}},"8193":{"varMapping":{"__isSmartRef__":true,"id":8194},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":8195},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8194":{"this":{"__isSmartRef__":true,"id":8183}},"8195":{},"8196":{"varMapping":{"__isSmartRef__":true,"id":8197},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":8198},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8197":{"this":{"__isSmartRef__":true,"id":8183}},"8198":{},"8199":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8200},"derivationIds":[null],"id":"7F6D913A-9959-4698-9936-5176B8E62B4D","renderContextTable":{"__isSmartRef__":true,"id":8204},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":8205},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":8206},{"__isSmartRef__":true,"id":8208}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":8210},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":8182},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8211},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8200":{"_Position":{"__isSmartRef__":true,"id":8201},"renderContextTable":{"__isSmartRef__":true,"id":8202},"_Extent":{"__isSmartRef__":true,"id":8203},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8201":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8202":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8203":{"x":67.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8204":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"8205":{"morph":{"__isSmartRef__":true,"id":8199},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8206":{"style":{"__isSmartRef__":true,"id":8207},"chunkOwner":{"__isSmartRef__":true,"id":8199},"storedString":"halos","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8207":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8208":{"style":{"__isSmartRef__":true,"id":8209},"chunkOwner":{"__isSmartRef__":true,"id":8199},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8209":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8210":{"x":67.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8211":{"layoutText":{"__isSmartRef__":true,"id":8212}},"8212":{"varMapping":{"__isSmartRef__":true,"id":8213},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":8214},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8213":{"this":{"__isSmartRef__":true,"id":8199}},"8214":{},"8215":{"_Position":{"__isSmartRef__":true,"id":8216},"renderContextTable":{"__isSmartRef__":true,"id":8217},"_Extent":{"__isSmartRef__":true,"id":8218},"_Padding":{"__isSmartRef__":true,"id":8219},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8216":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8217":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8218":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8219":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8220":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8221":{"morph":{"__isSmartRef__":true,"id":8182},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8222":{"resizeWidth":true},"8223":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8224":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8225":{"updateExpanderColor":{"__isSmartRef__":true,"id":8226},"onMouseDown":{"__isSmartRef__":true,"id":8229},"isRoot":{"__isSmartRef__":true,"id":8236},"displayValue":{"__isSmartRef__":true,"id":8239},"update":{"__isSmartRef__":true,"id":8242}},"8226":{"varMapping":{"__isSmartRef__":true,"id":8227},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":8228},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8227":{"this":{"__isSmartRef__":true,"id":8182}},"8228":{},"8229":{"varMapping":{"__isSmartRef__":true,"id":8230},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":8235},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8230":{"this":{"__isSmartRef__":true,"id":8182},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8231}},"8231":{"$super":{"__isSmartRef__":true,"id":8232}},"8232":{"varMapping":{"__isSmartRef__":true,"id":8233},"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":8234},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8233":{"obj":{"__isSmartRef__":true,"id":8182},"name":"onMouseDown"},"8234":{},"8235":{},"8236":{"varMapping":{"__isSmartRef__":true,"id":8237},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":8238},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8237":{"this":{"__isSmartRef__":true,"id":8182}},"8238":{},"8239":{"varMapping":{"__isSmartRef__":true,"id":8240},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":8241},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8240":{"this":{"__isSmartRef__":true,"id":8182}},"8241":{},"8242":{"varMapping":{"__isSmartRef__":true,"id":8243},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8244},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8243":{"this":{"__isSmartRef__":true,"id":8182}},"8244":{},"8245":{"_Position":{"__isSmartRef__":true,"id":8246},"renderContextTable":{"__isSmartRef__":true,"id":8247},"_Extent":{"__isSmartRef__":true,"id":8248},"_Padding":{"__isSmartRef__":true,"id":8249},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8246":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8247":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8248":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8249":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8250":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8251":{"morph":{"__isSmartRef__":true,"id":8181},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8252":{"layouter":{"__isSmartRef__":true,"id":8253},"resizeWidth":true},"8253":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8181},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"8254":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8255":{"x":0,"y":480,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8256":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":8257}},"8257":{"varMapping":{"__isSmartRef__":true,"id":8258},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":8263},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8258":{"this":{"__isSmartRef__":true,"id":8181},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8259}},"8259":{"$super":{"__isSmartRef__":true,"id":8260}},"8260":{"varMapping":{"__isSmartRef__":true,"id":8261},"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":8262},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8261":{"obj":{"__isSmartRef__":true,"id":8181},"name":"getLayoutableSubmorphs"},"8262":{},"8263":{},"8264":{"submorphs":[{"__isSmartRef__":true,"id":8265}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8329},"derivationIds":[null],"id":"C4A7F57B-D48C-40BD-BCA1-BA09AF560E69","renderContextTable":{"__isSmartRef__":true,"id":8334},"eventHandler":{"__isSmartRef__":true,"id":8335},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8336},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":8338},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":8339},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8340},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8265":{"submorphs":[{"__isSmartRef__":true,"id":8266},{"__isSmartRef__":true,"id":8283}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8299},"derivationIds":[null],"id":"83189A88-3F93-4A3E-BA0E-7B5C418CA029","renderContextTable":{"__isSmartRef__":true,"id":8304},"eventHandler":{"__isSmartRef__":true,"id":8305},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8306},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"halosEnabled","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":8266},"text":{"__isSmartRef__":true,"id":8283},"owner":{"__isSmartRef__":true,"id":8264},"_Position":{"__isSmartRef__":true,"id":8307},"priorExtent":{"__isSmartRef__":true,"id":8308},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8309},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8266":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8267},"derivationIds":[null],"id":"23E8E3BA-A7D5-4DDE-840A-579DA0B4A29C","renderContextTable":{"__isSmartRef__":true,"id":8273},"eventHandler":{"__isSmartRef__":true,"id":8274},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":8275},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":8265},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8276},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"8267":{"_Position":{"__isSmartRef__":true,"id":8268},"renderContextTable":{"__isSmartRef__":true,"id":8269},"_Extent":{"__isSmartRef__":true,"id":8270},"_Padding":{"__isSmartRef__":true,"id":8271},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":8272},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8268":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8269":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8270":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8271":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8272":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8273":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8274":{"morph":{"__isSmartRef__":true,"id":8266},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8275":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8276":{"toggle":{"__isSmartRef__":true,"id":8277},"toggleExpansion":{"__isSmartRef__":true,"id":8280}},"8277":{"varMapping":{"__isSmartRef__":true,"id":8278},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":8279},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8278":{"this":{"__isSmartRef__":true,"id":8266}},"8279":{},"8280":{"varMapping":{"__isSmartRef__":true,"id":8281},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":8282},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8281":{"this":{"__isSmartRef__":true,"id":8266}},"8282":{},"8283":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8284},"derivationIds":[null],"id":"A8B52715-1EDD-4F54-9E66-6AA1C9149D78","renderContextTable":{"__isSmartRef__":true,"id":8288},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":8289},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":8290},{"__isSmartRef__":true,"id":8292}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":8294},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":8265},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8295},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8284":{"_Position":{"__isSmartRef__":true,"id":8285},"renderContextTable":{"__isSmartRef__":true,"id":8286},"_Extent":{"__isSmartRef__":true,"id":8287},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8285":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8286":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8287":{"x":116,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8288":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"8289":{"morph":{"__isSmartRef__":true,"id":8283},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8290":{"style":{"__isSmartRef__":true,"id":8291},"chunkOwner":{"__isSmartRef__":true,"id":8283},"storedString":"halosEnabled","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8291":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8292":{"style":{"__isSmartRef__":true,"id":8293},"chunkOwner":{"__isSmartRef__":true,"id":8283},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8293":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8294":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8295":{"layoutText":{"__isSmartRef__":true,"id":8296}},"8296":{"varMapping":{"__isSmartRef__":true,"id":8297},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":8298},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8297":{"this":{"__isSmartRef__":true,"id":8283}},"8298":{},"8299":{"_Position":{"__isSmartRef__":true,"id":8300},"renderContextTable":{"__isSmartRef__":true,"id":8301},"_Extent":{"__isSmartRef__":true,"id":8302},"_Padding":{"__isSmartRef__":true,"id":8303},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8300":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8301":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8302":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8303":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8304":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8305":{"morph":{"__isSmartRef__":true,"id":8265},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8306":{"resizeWidth":true},"8307":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8308":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8309":{"updateExpanderColor":{"__isSmartRef__":true,"id":8310},"onMouseDown":{"__isSmartRef__":true,"id":8313},"isRoot":{"__isSmartRef__":true,"id":8320},"displayValue":{"__isSmartRef__":true,"id":8323},"update":{"__isSmartRef__":true,"id":8326}},"8310":{"varMapping":{"__isSmartRef__":true,"id":8311},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":8312},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8311":{"this":{"__isSmartRef__":true,"id":8265}},"8312":{},"8313":{"varMapping":{"__isSmartRef__":true,"id":8314},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":8319},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8314":{"this":{"__isSmartRef__":true,"id":8265},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8315}},"8315":{"$super":{"__isSmartRef__":true,"id":8316}},"8316":{"varMapping":{"__isSmartRef__":true,"id":8317},"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":8318},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8317":{"obj":{"__isSmartRef__":true,"id":8265},"name":"onMouseDown"},"8318":{},"8319":{},"8320":{"varMapping":{"__isSmartRef__":true,"id":8321},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":8322},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8321":{"this":{"__isSmartRef__":true,"id":8265}},"8322":{},"8323":{"varMapping":{"__isSmartRef__":true,"id":8324},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":8325},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8324":{"this":{"__isSmartRef__":true,"id":8265}},"8325":{},"8326":{"varMapping":{"__isSmartRef__":true,"id":8327},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8328},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8327":{"this":{"__isSmartRef__":true,"id":8265}},"8328":{},"8329":{"_Position":{"__isSmartRef__":true,"id":8330},"renderContextTable":{"__isSmartRef__":true,"id":8331},"_Extent":{"__isSmartRef__":true,"id":8332},"_Padding":{"__isSmartRef__":true,"id":8333},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8330":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8331":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8332":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8333":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8334":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8335":{"morph":{"__isSmartRef__":true,"id":8264},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8336":{"layouter":{"__isSmartRef__":true,"id":8337},"resizeWidth":true},"8337":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8264},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"8338":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8339":{"x":0,"y":460,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8340":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":8341}},"8341":{"varMapping":{"__isSmartRef__":true,"id":8342},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":8347},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8342":{"this":{"__isSmartRef__":true,"id":8264},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8343}},"8343":{"$super":{"__isSmartRef__":true,"id":8344}},"8344":{"varMapping":{"__isSmartRef__":true,"id":8345},"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":8346},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8345":{"obj":{"__isSmartRef__":true,"id":8264},"name":"getLayoutableSubmorphs"},"8346":{},"8347":{},"8348":{"submorphs":[{"__isSmartRef__":true,"id":8349}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8413},"derivationIds":[null],"id":"4DCB85E0-21B4-46A9-8E9C-DF23E9E90ABD","renderContextTable":{"__isSmartRef__":true,"id":8418},"eventHandler":{"__isSmartRef__":true,"id":8419},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8420},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":8422},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":8423},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8424},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8349":{"submorphs":[{"__isSmartRef__":true,"id":8350},{"__isSmartRef__":true,"id":8367}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8383},"derivationIds":[null],"id":"5ABED260-C551-45AF-9085-DC8D5A3CCD5F","renderContextTable":{"__isSmartRef__":true,"id":8388},"eventHandler":{"__isSmartRef__":true,"id":8389},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8390},"grabbingEnabled":false,"draggingEnabled":false,"data":143376,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"headRevision","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":8350},"text":{"__isSmartRef__":true,"id":8367},"owner":{"__isSmartRef__":true,"id":8348},"_Position":{"__isSmartRef__":true,"id":8391},"priorExtent":{"__isSmartRef__":true,"id":8392},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8393},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8350":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8351},"derivationIds":[null],"id":"984A5B94-3E73-4146-A504-0BDFD81D46F9","renderContextTable":{"__isSmartRef__":true,"id":8357},"eventHandler":{"__isSmartRef__":true,"id":8358},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":8359},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":8349},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8360},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"8351":{"_Position":{"__isSmartRef__":true,"id":8352},"renderContextTable":{"__isSmartRef__":true,"id":8353},"_Extent":{"__isSmartRef__":true,"id":8354},"_Padding":{"__isSmartRef__":true,"id":8355},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":8356},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8352":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8353":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8354":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8355":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8356":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8357":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8358":{"morph":{"__isSmartRef__":true,"id":8350},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8359":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8360":{"toggle":{"__isSmartRef__":true,"id":8361},"toggleExpansion":{"__isSmartRef__":true,"id":8364}},"8361":{"varMapping":{"__isSmartRef__":true,"id":8362},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":8363},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8362":{"this":{"__isSmartRef__":true,"id":8350}},"8363":{},"8364":{"varMapping":{"__isSmartRef__":true,"id":8365},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":8366},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8365":{"this":{"__isSmartRef__":true,"id":8350}},"8366":{},"8367":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8368},"derivationIds":[null],"id":"A94CC85C-B425-4FFE-8743-E600E47E25BE","renderContextTable":{"__isSmartRef__":true,"id":8372},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":8373},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":8374},{"__isSmartRef__":true,"id":8376}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":8378},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":8349},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8379},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8368":{"_Position":{"__isSmartRef__":true,"id":8369},"renderContextTable":{"__isSmartRef__":true,"id":8370},"_Extent":{"__isSmartRef__":true,"id":8371},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8369":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8370":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8371":{"x":134,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8372":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"8373":{"morph":{"__isSmartRef__":true,"id":8367},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8374":{"style":{"__isSmartRef__":true,"id":8375},"chunkOwner":{"__isSmartRef__":true,"id":8367},"storedString":"headRevision","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8375":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8376":{"style":{"__isSmartRef__":true,"id":8377},"chunkOwner":{"__isSmartRef__":true,"id":8367},"storedString":": 143376","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8377":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8378":{"x":150,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8379":{"layoutText":{"__isSmartRef__":true,"id":8380}},"8380":{"varMapping":{"__isSmartRef__":true,"id":8381},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":8382},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8381":{"this":{"__isSmartRef__":true,"id":8367}},"8382":{},"8383":{"_Position":{"__isSmartRef__":true,"id":8384},"renderContextTable":{"__isSmartRef__":true,"id":8385},"_Extent":{"__isSmartRef__":true,"id":8386},"_Padding":{"__isSmartRef__":true,"id":8387},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8384":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8385":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8386":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8387":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8388":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8389":{"morph":{"__isSmartRef__":true,"id":8349},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8390":{"resizeWidth":true},"8391":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8392":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8393":{"updateExpanderColor":{"__isSmartRef__":true,"id":8394},"onMouseDown":{"__isSmartRef__":true,"id":8397},"isRoot":{"__isSmartRef__":true,"id":8404},"displayValue":{"__isSmartRef__":true,"id":8407},"update":{"__isSmartRef__":true,"id":8410}},"8394":{"varMapping":{"__isSmartRef__":true,"id":8395},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":8396},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8395":{"this":{"__isSmartRef__":true,"id":8349}},"8396":{},"8397":{"varMapping":{"__isSmartRef__":true,"id":8398},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":8403},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8398":{"this":{"__isSmartRef__":true,"id":8349},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8399}},"8399":{"$super":{"__isSmartRef__":true,"id":8400}},"8400":{"varMapping":{"__isSmartRef__":true,"id":8401},"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":8402},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8401":{"obj":{"__isSmartRef__":true,"id":8349},"name":"onMouseDown"},"8402":{},"8403":{},"8404":{"varMapping":{"__isSmartRef__":true,"id":8405},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":8406},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8405":{"this":{"__isSmartRef__":true,"id":8349}},"8406":{},"8407":{"varMapping":{"__isSmartRef__":true,"id":8408},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":8409},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8408":{"this":{"__isSmartRef__":true,"id":8349}},"8409":{},"8410":{"varMapping":{"__isSmartRef__":true,"id":8411},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8412},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8411":{"this":{"__isSmartRef__":true,"id":8349}},"8412":{},"8413":{"_Position":{"__isSmartRef__":true,"id":8414},"renderContextTable":{"__isSmartRef__":true,"id":8415},"_Extent":{"__isSmartRef__":true,"id":8416},"_Padding":{"__isSmartRef__":true,"id":8417},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8414":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8415":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8416":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8417":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8418":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8419":{"morph":{"__isSmartRef__":true,"id":8348},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8420":{"layouter":{"__isSmartRef__":true,"id":8421},"resizeWidth":true},"8421":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8348},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"8422":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8423":{"x":0,"y":440,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8424":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":8425}},"8425":{"varMapping":{"__isSmartRef__":true,"id":8426},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":8431},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8426":{"this":{"__isSmartRef__":true,"id":8348},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8427}},"8427":{"$super":{"__isSmartRef__":true,"id":8428}},"8428":{"varMapping":{"__isSmartRef__":true,"id":8429},"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":8430},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8429":{"obj":{"__isSmartRef__":true,"id":8348},"name":"getLayoutableSubmorphs"},"8430":{},"8431":{},"8432":{"submorphs":[{"__isSmartRef__":true,"id":8433}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8497},"derivationIds":[null],"id":"9B45BB13-7C92-4FAA-BCAA-024C6D1A7701","renderContextTable":{"__isSmartRef__":true,"id":8502},"eventHandler":{"__isSmartRef__":true,"id":8503},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8504},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":8506},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":8507},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8508},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8433":{"submorphs":[{"__isSmartRef__":true,"id":8434},{"__isSmartRef__":true,"id":8451}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8467},"derivationIds":[null],"id":"86FABFE6-7442-4FD5-83E5-6A4889DADC82","renderContextTable":{"__isSmartRef__":true,"id":8472},"eventHandler":{"__isSmartRef__":true,"id":8473},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8474},"grabbingEnabled":false,"draggingEnabled":false,"data":"006A3FB2-4107-4E58-A17D-8DD7361EAAF2","propertyList":["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35"],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"id","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":8434},"text":{"__isSmartRef__":true,"id":8451},"owner":{"__isSmartRef__":true,"id":8432},"_Position":{"__isSmartRef__":true,"id":8475},"priorExtent":{"__isSmartRef__":true,"id":8476},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8477},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8434":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8435},"derivationIds":[null],"id":"C4B55228-62A7-4EB3-91B8-050472F19204","renderContextTable":{"__isSmartRef__":true,"id":8441},"eventHandler":{"__isSmartRef__":true,"id":8442},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":8443},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":8433},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8444},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"8435":{"_Position":{"__isSmartRef__":true,"id":8436},"renderContextTable":{"__isSmartRef__":true,"id":8437},"_Extent":{"__isSmartRef__":true,"id":8438},"_Padding":{"__isSmartRef__":true,"id":8439},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":8440},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8436":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8437":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8438":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8439":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8440":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8441":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8442":{"morph":{"__isSmartRef__":true,"id":8434},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8443":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8444":{"toggle":{"__isSmartRef__":true,"id":8445},"toggleExpansion":{"__isSmartRef__":true,"id":8448}},"8445":{"varMapping":{"__isSmartRef__":true,"id":8446},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":8447},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8446":{"this":{"__isSmartRef__":true,"id":8434}},"8447":{},"8448":{"varMapping":{"__isSmartRef__":true,"id":8449},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":8450},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8449":{"this":{"__isSmartRef__":true,"id":8434}},"8450":{},"8451":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8452},"derivationIds":[null],"id":"D6C077E6-BED5-4493-BDDF-481395CE00C4","renderContextTable":{"__isSmartRef__":true,"id":8456},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":8457},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":8458},{"__isSmartRef__":true,"id":8460}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":8462},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":8433},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8463},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8452":{"_Position":{"__isSmartRef__":true,"id":8453},"renderContextTable":{"__isSmartRef__":true,"id":8454},"_Extent":{"__isSmartRef__":true,"id":8455},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8453":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8454":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8455":{"x":288,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8456":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"8457":{"morph":{"__isSmartRef__":true,"id":8451},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8458":{"style":{"__isSmartRef__":true,"id":8459},"chunkOwner":{"__isSmartRef__":true,"id":8451},"storedString":"id","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8459":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8460":{"style":{"__isSmartRef__":true,"id":8461},"chunkOwner":{"__isSmartRef__":true,"id":8451},"storedString":": 006A3FB2-4107-4E58-A17D-8DD7361EAAF2","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8461":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8462":{"x":300,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8463":{"layoutText":{"__isSmartRef__":true,"id":8464}},"8464":{"varMapping":{"__isSmartRef__":true,"id":8465},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":8466},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8465":{"this":{"__isSmartRef__":true,"id":8451}},"8466":{},"8467":{"_Position":{"__isSmartRef__":true,"id":8468},"renderContextTable":{"__isSmartRef__":true,"id":8469},"_Extent":{"__isSmartRef__":true,"id":8470},"_Padding":{"__isSmartRef__":true,"id":8471},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8468":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8469":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8470":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8471":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8472":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8473":{"morph":{"__isSmartRef__":true,"id":8433},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8474":{"resizeWidth":true},"8475":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8476":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8477":{"updateExpanderColor":{"__isSmartRef__":true,"id":8478},"onMouseDown":{"__isSmartRef__":true,"id":8481},"isRoot":{"__isSmartRef__":true,"id":8488},"displayValue":{"__isSmartRef__":true,"id":8491},"update":{"__isSmartRef__":true,"id":8494}},"8478":{"varMapping":{"__isSmartRef__":true,"id":8479},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":8480},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8479":{"this":{"__isSmartRef__":true,"id":8433}},"8480":{},"8481":{"varMapping":{"__isSmartRef__":true,"id":8482},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":8487},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8482":{"this":{"__isSmartRef__":true,"id":8433},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8483}},"8483":{"$super":{"__isSmartRef__":true,"id":8484}},"8484":{"varMapping":{"__isSmartRef__":true,"id":8485},"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":8486},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8485":{"obj":{"__isSmartRef__":true,"id":8433},"name":"onMouseDown"},"8486":{},"8487":{},"8488":{"varMapping":{"__isSmartRef__":true,"id":8489},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":8490},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8489":{"this":{"__isSmartRef__":true,"id":8433}},"8490":{},"8491":{"varMapping":{"__isSmartRef__":true,"id":8492},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":8493},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8492":{"this":{"__isSmartRef__":true,"id":8433}},"8493":{},"8494":{"varMapping":{"__isSmartRef__":true,"id":8495},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8496},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8495":{"this":{"__isSmartRef__":true,"id":8433}},"8496":{},"8497":{"_Position":{"__isSmartRef__":true,"id":8498},"renderContextTable":{"__isSmartRef__":true,"id":8499},"_Extent":{"__isSmartRef__":true,"id":8500},"_Padding":{"__isSmartRef__":true,"id":8501},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8498":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8499":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8500":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8501":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8502":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8503":{"morph":{"__isSmartRef__":true,"id":8432},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8504":{"layouter":{"__isSmartRef__":true,"id":8505},"resizeWidth":true},"8505":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8432},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"8506":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8507":{"x":0,"y":420,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8508":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":8509}},"8509":{"varMapping":{"__isSmartRef__":true,"id":8510},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":8515},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8510":{"this":{"__isSmartRef__":true,"id":8432},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8511}},"8511":{"$super":{"__isSmartRef__":true,"id":8512}},"8512":{"varMapping":{"__isSmartRef__":true,"id":8513},"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":8514},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8513":{"obj":{"__isSmartRef__":true,"id":8432},"name":"getLayoutableSubmorphs"},"8514":{},"8515":{},"8516":{"submorphs":[{"__isSmartRef__":true,"id":8517}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8581},"derivationIds":[null],"id":"9BBE3B3F-237C-4CA1-88BE-F956FFE3AF18","renderContextTable":{"__isSmartRef__":true,"id":8586},"eventHandler":{"__isSmartRef__":true,"id":8587},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8588},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":8590},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":8591},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8592},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8517":{"submorphs":[{"__isSmartRef__":true,"id":8518},{"__isSmartRef__":true,"id":8535}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8551},"derivationIds":[null],"id":"A765F135-5CE4-4FA0-AD60-2E119375D7B1","renderContextTable":{"__isSmartRef__":true,"id":8556},"eventHandler":{"__isSmartRef__":true,"id":8557},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8558},"grabbingEnabled":false,"draggingEnabled":false,"data":false,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"isBeingDragged","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":8518},"text":{"__isSmartRef__":true,"id":8535},"owner":{"__isSmartRef__":true,"id":8516},"_Position":{"__isSmartRef__":true,"id":8559},"priorExtent":{"__isSmartRef__":true,"id":8560},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8561},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8518":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8519},"derivationIds":[null],"id":"B2C6A61C-4ADB-4B8D-91F9-F51220D319E1","renderContextTable":{"__isSmartRef__":true,"id":8525},"eventHandler":{"__isSmartRef__":true,"id":8526},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":8527},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":8517},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8528},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"8519":{"_Position":{"__isSmartRef__":true,"id":8520},"renderContextTable":{"__isSmartRef__":true,"id":8521},"_Extent":{"__isSmartRef__":true,"id":8522},"_Padding":{"__isSmartRef__":true,"id":8523},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":8524},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8520":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8521":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8522":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8523":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8524":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8525":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8526":{"morph":{"__isSmartRef__":true,"id":8518},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8527":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8528":{"toggle":{"__isSmartRef__":true,"id":8529},"toggleExpansion":{"__isSmartRef__":true,"id":8532}},"8529":{"varMapping":{"__isSmartRef__":true,"id":8530},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":8531},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8530":{"this":{"__isSmartRef__":true,"id":8518}},"8531":{},"8532":{"varMapping":{"__isSmartRef__":true,"id":8533},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":8534},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8533":{"this":{"__isSmartRef__":true,"id":8518}},"8534":{},"8535":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8536},"derivationIds":[null],"id":"3A5B2706-234C-47B7-ABCA-5555A45A76D1","renderContextTable":{"__isSmartRef__":true,"id":8540},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":8541},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":8542},{"__isSmartRef__":true,"id":8544}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":8546},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":8517},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8547},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8536":{"_Position":{"__isSmartRef__":true,"id":8537},"renderContextTable":{"__isSmartRef__":true,"id":8538},"_Extent":{"__isSmartRef__":true,"id":8539},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8537":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8538":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8539":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8540":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"8541":{"morph":{"__isSmartRef__":true,"id":8535},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8542":{"style":{"__isSmartRef__":true,"id":8543},"chunkOwner":{"__isSmartRef__":true,"id":8535},"storedString":"isBeingDragged","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8543":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8544":{"style":{"__isSmartRef__":true,"id":8545},"chunkOwner":{"__isSmartRef__":true,"id":8535},"storedString":": false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8545":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8546":{"x":157.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8547":{"layoutText":{"__isSmartRef__":true,"id":8548}},"8548":{"varMapping":{"__isSmartRef__":true,"id":8549},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":8550},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8549":{"this":{"__isSmartRef__":true,"id":8535}},"8550":{},"8551":{"_Position":{"__isSmartRef__":true,"id":8552},"renderContextTable":{"__isSmartRef__":true,"id":8553},"_Extent":{"__isSmartRef__":true,"id":8554},"_Padding":{"__isSmartRef__":true,"id":8555},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8552":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8553":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8554":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8555":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8556":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8557":{"morph":{"__isSmartRef__":true,"id":8517},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8558":{"resizeWidth":true},"8559":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8560":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8561":{"updateExpanderColor":{"__isSmartRef__":true,"id":8562},"onMouseDown":{"__isSmartRef__":true,"id":8565},"isRoot":{"__isSmartRef__":true,"id":8572},"displayValue":{"__isSmartRef__":true,"id":8575},"update":{"__isSmartRef__":true,"id":8578}},"8562":{"varMapping":{"__isSmartRef__":true,"id":8563},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":8564},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8563":{"this":{"__isSmartRef__":true,"id":8517}},"8564":{},"8565":{"varMapping":{"__isSmartRef__":true,"id":8566},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":8571},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8566":{"this":{"__isSmartRef__":true,"id":8517},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8567}},"8567":{"$super":{"__isSmartRef__":true,"id":8568}},"8568":{"varMapping":{"__isSmartRef__":true,"id":8569},"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":8570},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8569":{"obj":{"__isSmartRef__":true,"id":8517},"name":"onMouseDown"},"8570":{},"8571":{},"8572":{"varMapping":{"__isSmartRef__":true,"id":8573},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":8574},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8573":{"this":{"__isSmartRef__":true,"id":8517}},"8574":{},"8575":{"varMapping":{"__isSmartRef__":true,"id":8576},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":8577},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8576":{"this":{"__isSmartRef__":true,"id":8517}},"8577":{},"8578":{"varMapping":{"__isSmartRef__":true,"id":8579},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8580},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8579":{"this":{"__isSmartRef__":true,"id":8517}},"8580":{},"8581":{"_Position":{"__isSmartRef__":true,"id":8582},"renderContextTable":{"__isSmartRef__":true,"id":8583},"_Extent":{"__isSmartRef__":true,"id":8584},"_Padding":{"__isSmartRef__":true,"id":8585},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8582":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8583":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8584":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8585":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8586":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8587":{"morph":{"__isSmartRef__":true,"id":8516},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8588":{"layouter":{"__isSmartRef__":true,"id":8589},"resizeWidth":true},"8589":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8516},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"8590":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8591":{"x":0,"y":400,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8592":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":8593}},"8593":{"varMapping":{"__isSmartRef__":true,"id":8594},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":8599},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8594":{"this":{"__isSmartRef__":true,"id":8516},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8595}},"8595":{"$super":{"__isSmartRef__":true,"id":8596}},"8596":{"varMapping":{"__isSmartRef__":true,"id":8597},"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":8598},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8597":{"obj":{"__isSmartRef__":true,"id":8516},"name":"getLayoutableSubmorphs"},"8598":{},"8599":{},"8600":{"submorphs":[{"__isSmartRef__":true,"id":8601}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8665},"derivationIds":[null],"id":"6C891994-72D7-4B55-BBDA-1BD5A0DDCD29","renderContextTable":{"__isSmartRef__":true,"id":8670},"eventHandler":{"__isSmartRef__":true,"id":8671},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8672},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":8674},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":8675},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8676},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8601":{"submorphs":[{"__isSmartRef__":true,"id":8602},{"__isSmartRef__":true,"id":8619}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8635},"derivationIds":[null],"id":"C04C024E-60EC-481C-8ECF-99C8735062C1","renderContextTable":{"__isSmartRef__":true,"id":8640},"eventHandler":{"__isSmartRef__":true,"id":8641},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8642},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"isLockOwner","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":8602},"text":{"__isSmartRef__":true,"id":8619},"owner":{"__isSmartRef__":true,"id":8600},"_Position":{"__isSmartRef__":true,"id":8643},"priorExtent":{"__isSmartRef__":true,"id":8644},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8645},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8602":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8603},"derivationIds":[null],"id":"B6BDD0F0-A13A-4710-B8B7-FC4D387F9A06","renderContextTable":{"__isSmartRef__":true,"id":8609},"eventHandler":{"__isSmartRef__":true,"id":8610},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":8611},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":8601},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8612},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"8603":{"_Position":{"__isSmartRef__":true,"id":8604},"renderContextTable":{"__isSmartRef__":true,"id":8605},"_Extent":{"__isSmartRef__":true,"id":8606},"_Padding":{"__isSmartRef__":true,"id":8607},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":8608},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8604":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8605":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8606":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8607":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8608":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8609":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8610":{"morph":{"__isSmartRef__":true,"id":8602},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8611":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8612":{"toggle":{"__isSmartRef__":true,"id":8613},"toggleExpansion":{"__isSmartRef__":true,"id":8616}},"8613":{"varMapping":{"__isSmartRef__":true,"id":8614},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":8615},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8614":{"this":{"__isSmartRef__":true,"id":8602}},"8615":{},"8616":{"varMapping":{"__isSmartRef__":true,"id":8617},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":8618},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8617":{"this":{"__isSmartRef__":true,"id":8602}},"8618":{},"8619":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8620},"derivationIds":[null],"id":"6236512B-B09F-49F9-AB0A-18214ECFECAA","renderContextTable":{"__isSmartRef__":true,"id":8624},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":8625},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":8626},{"__isSmartRef__":true,"id":8628}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":8630},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":8601},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8631},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8620":{"_Position":{"__isSmartRef__":true,"id":8621},"renderContextTable":{"__isSmartRef__":true,"id":8622},"_Extent":{"__isSmartRef__":true,"id":8623},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8621":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8622":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8623":{"x":113,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8624":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"8625":{"morph":{"__isSmartRef__":true,"id":8619},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8626":{"style":{"__isSmartRef__":true,"id":8627},"chunkOwner":{"__isSmartRef__":true,"id":8619},"storedString":"isLockOwner","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8627":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8628":{"style":{"__isSmartRef__":true,"id":8629},"chunkOwner":{"__isSmartRef__":true,"id":8619},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8629":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8630":{"x":127.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8631":{"layoutText":{"__isSmartRef__":true,"id":8632}},"8632":{"varMapping":{"__isSmartRef__":true,"id":8633},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":8634},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8633":{"this":{"__isSmartRef__":true,"id":8619}},"8634":{},"8635":{"_Position":{"__isSmartRef__":true,"id":8636},"renderContextTable":{"__isSmartRef__":true,"id":8637},"_Extent":{"__isSmartRef__":true,"id":8638},"_Padding":{"__isSmartRef__":true,"id":8639},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8636":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8637":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8638":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8639":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8640":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8641":{"morph":{"__isSmartRef__":true,"id":8601},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8642":{"resizeWidth":true},"8643":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8644":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8645":{"updateExpanderColor":{"__isSmartRef__":true,"id":8646},"onMouseDown":{"__isSmartRef__":true,"id":8649},"isRoot":{"__isSmartRef__":true,"id":8656},"displayValue":{"__isSmartRef__":true,"id":8659},"update":{"__isSmartRef__":true,"id":8662}},"8646":{"varMapping":{"__isSmartRef__":true,"id":8647},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":8648},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8647":{"this":{"__isSmartRef__":true,"id":8601}},"8648":{},"8649":{"varMapping":{"__isSmartRef__":true,"id":8650},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":8655},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8650":{"this":{"__isSmartRef__":true,"id":8601},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8651}},"8651":{"$super":{"__isSmartRef__":true,"id":8652}},"8652":{"varMapping":{"__isSmartRef__":true,"id":8653},"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":8654},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8653":{"obj":{"__isSmartRef__":true,"id":8601},"name":"onMouseDown"},"8654":{},"8655":{},"8656":{"varMapping":{"__isSmartRef__":true,"id":8657},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":8658},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8657":{"this":{"__isSmartRef__":true,"id":8601}},"8658":{},"8659":{"varMapping":{"__isSmartRef__":true,"id":8660},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":8661},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8660":{"this":{"__isSmartRef__":true,"id":8601}},"8661":{},"8662":{"varMapping":{"__isSmartRef__":true,"id":8663},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8664},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8663":{"this":{"__isSmartRef__":true,"id":8601}},"8664":{},"8665":{"_Position":{"__isSmartRef__":true,"id":8666},"renderContextTable":{"__isSmartRef__":true,"id":8667},"_Extent":{"__isSmartRef__":true,"id":8668},"_Padding":{"__isSmartRef__":true,"id":8669},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8666":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8667":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8668":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8669":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8670":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8671":{"morph":{"__isSmartRef__":true,"id":8600},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8672":{"layouter":{"__isSmartRef__":true,"id":8673},"resizeWidth":true},"8673":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8600},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"8674":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8675":{"x":0,"y":380,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8676":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":8677}},"8677":{"varMapping":{"__isSmartRef__":true,"id":8678},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":8683},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8678":{"this":{"__isSmartRef__":true,"id":8600},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8679}},"8679":{"$super":{"__isSmartRef__":true,"id":8680}},"8680":{"varMapping":{"__isSmartRef__":true,"id":8681},"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":8682},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8681":{"obj":{"__isSmartRef__":true,"id":8600},"name":"getLayoutableSubmorphs"},"8682":{},"8683":{},"8684":{"submorphs":[{"__isSmartRef__":true,"id":8685}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8749},"derivationIds":[null],"id":"A64B9A10-7D2C-4001-8C3C-E5B879AE5CA7","renderContextTable":{"__isSmartRef__":true,"id":8754},"eventHandler":{"__isSmartRef__":true,"id":8755},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8756},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":8758},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":8759},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8760},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8685":{"submorphs":[{"__isSmartRef__":true,"id":8686},{"__isSmartRef__":true,"id":8703}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8719},"derivationIds":[null],"id":"F9ACBEEB-C26E-46EB-BECB-F4BD4DAB3EB3","renderContextTable":{"__isSmartRef__":true,"id":8724},"eventHandler":{"__isSmartRef__":true,"id":8725},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8726},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1519},"propertyList":["isSerializedDate","string"],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"lastTimeClickedOnIpad","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":8686},"text":{"__isSmartRef__":true,"id":8703},"owner":{"__isSmartRef__":true,"id":8684},"_Position":{"__isSmartRef__":true,"id":8727},"priorExtent":{"__isSmartRef__":true,"id":8728},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8729},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8686":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8687},"derivationIds":[null],"id":"9FBBF54E-36A1-4144-87E8-E018A760B6D9","renderContextTable":{"__isSmartRef__":true,"id":8693},"eventHandler":{"__isSmartRef__":true,"id":8694},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":8695},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":8685},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8696},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"8687":{"_Position":{"__isSmartRef__":true,"id":8688},"renderContextTable":{"__isSmartRef__":true,"id":8689},"_Extent":{"__isSmartRef__":true,"id":8690},"_Padding":{"__isSmartRef__":true,"id":8691},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":8692},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8688":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8689":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8690":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8691":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8692":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8693":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8694":{"morph":{"__isSmartRef__":true,"id":8686},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8695":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8696":{"toggle":{"__isSmartRef__":true,"id":8697},"toggleExpansion":{"__isSmartRef__":true,"id":8700}},"8697":{"varMapping":{"__isSmartRef__":true,"id":8698},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":8699},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8698":{"this":{"__isSmartRef__":true,"id":8686}},"8699":{},"8700":{"varMapping":{"__isSmartRef__":true,"id":8701},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":8702},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8701":{"this":{"__isSmartRef__":true,"id":8686}},"8702":{},"8703":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8704},"derivationIds":[null],"id":"0F7B8F5C-219E-4581-8EA1-9F13EDD79611","renderContextTable":{"__isSmartRef__":true,"id":8708},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":8709},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":8710},{"__isSmartRef__":true,"id":8712}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":8714},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":8685},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8715},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8704":{"_Position":{"__isSmartRef__":true,"id":8705},"renderContextTable":{"__isSmartRef__":true,"id":8706},"_Extent":{"__isSmartRef__":true,"id":8707},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8705":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8706":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8707":{"x":176,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8708":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"8709":{"morph":{"__isSmartRef__":true,"id":8703},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8710":{"style":{"__isSmartRef__":true,"id":8711},"chunkOwner":{"__isSmartRef__":true,"id":8703},"storedString":"lastTimeClickedOnIpad","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8711":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8712":{"style":{"__isSmartRef__":true,"id":8713},"chunkOwner":{"__isSmartRef__":true,"id":8703},"storedString":": Date","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8713":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8714":{"x":202.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8715":{"layoutText":{"__isSmartRef__":true,"id":8716}},"8716":{"varMapping":{"__isSmartRef__":true,"id":8717},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":8718},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8717":{"this":{"__isSmartRef__":true,"id":8703}},"8718":{},"8719":{"_Position":{"__isSmartRef__":true,"id":8720},"renderContextTable":{"__isSmartRef__":true,"id":8721},"_Extent":{"__isSmartRef__":true,"id":8722},"_Padding":{"__isSmartRef__":true,"id":8723},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8720":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8721":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8722":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8723":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8724":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8725":{"morph":{"__isSmartRef__":true,"id":8685},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8726":{"resizeWidth":true},"8727":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8728":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8729":{"updateExpanderColor":{"__isSmartRef__":true,"id":8730},"onMouseDown":{"__isSmartRef__":true,"id":8733},"isRoot":{"__isSmartRef__":true,"id":8740},"displayValue":{"__isSmartRef__":true,"id":8743},"update":{"__isSmartRef__":true,"id":8746}},"8730":{"varMapping":{"__isSmartRef__":true,"id":8731},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":8732},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8731":{"this":{"__isSmartRef__":true,"id":8685}},"8732":{},"8733":{"varMapping":{"__isSmartRef__":true,"id":8734},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":8739},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8734":{"this":{"__isSmartRef__":true,"id":8685},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8735}},"8735":{"$super":{"__isSmartRef__":true,"id":8736}},"8736":{"varMapping":{"__isSmartRef__":true,"id":8737},"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":8738},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8737":{"obj":{"__isSmartRef__":true,"id":8685},"name":"onMouseDown"},"8738":{},"8739":{},"8740":{"varMapping":{"__isSmartRef__":true,"id":8741},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":8742},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8741":{"this":{"__isSmartRef__":true,"id":8685}},"8742":{},"8743":{"varMapping":{"__isSmartRef__":true,"id":8744},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":8745},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8744":{"this":{"__isSmartRef__":true,"id":8685}},"8745":{},"8746":{"varMapping":{"__isSmartRef__":true,"id":8747},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8748},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8747":{"this":{"__isSmartRef__":true,"id":8685}},"8748":{},"8749":{"_Position":{"__isSmartRef__":true,"id":8750},"renderContextTable":{"__isSmartRef__":true,"id":8751},"_Extent":{"__isSmartRef__":true,"id":8752},"_Padding":{"__isSmartRef__":true,"id":8753},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8750":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8751":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8752":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8753":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8754":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8755":{"morph":{"__isSmartRef__":true,"id":8684},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8756":{"layouter":{"__isSmartRef__":true,"id":8757},"resizeWidth":true},"8757":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8684},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"8758":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8759":{"x":0,"y":360,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8760":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":8761}},"8761":{"varMapping":{"__isSmartRef__":true,"id":8762},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":8767},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8762":{"this":{"__isSmartRef__":true,"id":8684},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8763}},"8763":{"$super":{"__isSmartRef__":true,"id":8764}},"8764":{"varMapping":{"__isSmartRef__":true,"id":8765},"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":8766},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8765":{"obj":{"__isSmartRef__":true,"id":8684},"name":"getLayoutableSubmorphs"},"8766":{},"8767":{},"8768":{"submorphs":[{"__isSmartRef__":true,"id":8769}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8833},"derivationIds":[null],"id":"0D620B63-2FB8-4765-BD8D-0D5D1B63BC37","renderContextTable":{"__isSmartRef__":true,"id":8838},"eventHandler":{"__isSmartRef__":true,"id":8839},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8840},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":8842},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":8843},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8844},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8769":{"submorphs":[{"__isSmartRef__":true,"id":8770},{"__isSmartRef__":true,"id":8787}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8803},"derivationIds":[null],"id":"1DE89807-D6A8-4704-8036-9ACF3D91B4DE","renderContextTable":{"__isSmartRef__":true,"id":8808},"eventHandler":{"__isSmartRef__":true,"id":8809},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8810},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1520},"propertyList":["adjustForNewBounds"],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"layout","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":8770},"text":{"__isSmartRef__":true,"id":8787},"owner":{"__isSmartRef__":true,"id":8768},"_Position":{"__isSmartRef__":true,"id":8811},"priorExtent":{"__isSmartRef__":true,"id":8812},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8813},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8770":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8771},"derivationIds":[null],"id":"A515DF1F-32B9-4820-BF09-3495C073EFCA","renderContextTable":{"__isSmartRef__":true,"id":8777},"eventHandler":{"__isSmartRef__":true,"id":8778},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":8779},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":8769},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8780},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"8771":{"_Position":{"__isSmartRef__":true,"id":8772},"renderContextTable":{"__isSmartRef__":true,"id":8773},"_Extent":{"__isSmartRef__":true,"id":8774},"_Padding":{"__isSmartRef__":true,"id":8775},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":8776},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8772":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8773":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8774":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8775":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8776":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8777":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8778":{"morph":{"__isSmartRef__":true,"id":8770},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8779":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8780":{"toggle":{"__isSmartRef__":true,"id":8781},"toggleExpansion":{"__isSmartRef__":true,"id":8784}},"8781":{"varMapping":{"__isSmartRef__":true,"id":8782},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":8783},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8782":{"this":{"__isSmartRef__":true,"id":8770}},"8783":{},"8784":{"varMapping":{"__isSmartRef__":true,"id":8785},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":8786},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8785":{"this":{"__isSmartRef__":true,"id":8770}},"8786":{},"8787":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8788},"derivationIds":[null],"id":"0018B53E-6B81-4B2A-8F5B-882CFF30FE65","renderContextTable":{"__isSmartRef__":true,"id":8792},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":8793},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":8794},{"__isSmartRef__":true,"id":8796}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":8798},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":8769},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8799},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8788":{"_Position":{"__isSmartRef__":true,"id":8789},"renderContextTable":{"__isSmartRef__":true,"id":8790},"_Extent":{"__isSmartRef__":true,"id":8791},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8789":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8790":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8791":{"x":71,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8792":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"8793":{"morph":{"__isSmartRef__":true,"id":8787},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8794":{"style":{"__isSmartRef__":true,"id":8795},"chunkOwner":{"__isSmartRef__":true,"id":8787},"storedString":"layout","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8795":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8796":{"style":{"__isSmartRef__":true,"id":8797},"chunkOwner":{"__isSmartRef__":true,"id":8787},"storedString":": {...}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8797":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8798":{"x":97.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8799":{"layoutText":{"__isSmartRef__":true,"id":8800}},"8800":{"varMapping":{"__isSmartRef__":true,"id":8801},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":8802},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8801":{"this":{"__isSmartRef__":true,"id":8787}},"8802":{},"8803":{"_Position":{"__isSmartRef__":true,"id":8804},"renderContextTable":{"__isSmartRef__":true,"id":8805},"_Extent":{"__isSmartRef__":true,"id":8806},"_Padding":{"__isSmartRef__":true,"id":8807},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8804":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8805":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8806":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8807":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8808":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8809":{"morph":{"__isSmartRef__":true,"id":8769},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8810":{"resizeWidth":true},"8811":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8812":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8813":{"updateExpanderColor":{"__isSmartRef__":true,"id":8814},"onMouseDown":{"__isSmartRef__":true,"id":8817},"isRoot":{"__isSmartRef__":true,"id":8824},"displayValue":{"__isSmartRef__":true,"id":8827},"update":{"__isSmartRef__":true,"id":8830}},"8814":{"varMapping":{"__isSmartRef__":true,"id":8815},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":8816},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8815":{"this":{"__isSmartRef__":true,"id":8769}},"8816":{},"8817":{"varMapping":{"__isSmartRef__":true,"id":8818},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":8823},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8818":{"this":{"__isSmartRef__":true,"id":8769},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8819}},"8819":{"$super":{"__isSmartRef__":true,"id":8820}},"8820":{"varMapping":{"__isSmartRef__":true,"id":8821},"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":8822},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8821":{"obj":{"__isSmartRef__":true,"id":8769},"name":"onMouseDown"},"8822":{},"8823":{},"8824":{"varMapping":{"__isSmartRef__":true,"id":8825},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":8826},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8825":{"this":{"__isSmartRef__":true,"id":8769}},"8826":{},"8827":{"varMapping":{"__isSmartRef__":true,"id":8828},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":8829},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8828":{"this":{"__isSmartRef__":true,"id":8769}},"8829":{},"8830":{"varMapping":{"__isSmartRef__":true,"id":8831},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8832},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8831":{"this":{"__isSmartRef__":true,"id":8769}},"8832":{},"8833":{"_Position":{"__isSmartRef__":true,"id":8834},"renderContextTable":{"__isSmartRef__":true,"id":8835},"_Extent":{"__isSmartRef__":true,"id":8836},"_Padding":{"__isSmartRef__":true,"id":8837},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8834":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8835":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8836":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8837":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8838":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8839":{"morph":{"__isSmartRef__":true,"id":8768},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8840":{"layouter":{"__isSmartRef__":true,"id":8841},"resizeWidth":true},"8841":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8768},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"8842":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8843":{"x":0,"y":340,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8844":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":8845}},"8845":{"varMapping":{"__isSmartRef__":true,"id":8846},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":8851},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8846":{"this":{"__isSmartRef__":true,"id":8768},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8847}},"8847":{"$super":{"__isSmartRef__":true,"id":8848}},"8848":{"varMapping":{"__isSmartRef__":true,"id":8849},"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":8850},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8849":{"obj":{"__isSmartRef__":true,"id":8768},"name":"getLayoutableSubmorphs"},"8850":{},"8851":{},"8852":{"submorphs":[{"__isSmartRef__":true,"id":8853}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8917},"derivationIds":[null],"id":"6B928667-4A37-4357-950C-89625AB0F064","renderContextTable":{"__isSmartRef__":true,"id":8922},"eventHandler":{"__isSmartRef__":true,"id":8923},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8924},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":8926},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":8927},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8928},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8853":{"submorphs":[{"__isSmartRef__":true,"id":8854},{"__isSmartRef__":true,"id":8871}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8887},"derivationIds":[null],"id":"6C2517CE-8D83-492D-9363-8BDF7C1070A5","renderContextTable":{"__isSmartRef__":true,"id":8892},"eventHandler":{"__isSmartRef__":true,"id":8893},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8894},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1521},"propertyList":["WorldMenu","Parts","Tools","Preferences","Debugging","Wiki","Documentation"],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"lists","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":8854},"text":{"__isSmartRef__":true,"id":8871},"owner":{"__isSmartRef__":true,"id":8852},"_Position":{"__isSmartRef__":true,"id":8895},"priorExtent":{"__isSmartRef__":true,"id":8896},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8897},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8854":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8855},"derivationIds":[null],"id":"07FA6CCA-2953-4BF6-B870-44E28AF67E6B","renderContextTable":{"__isSmartRef__":true,"id":8861},"eventHandler":{"__isSmartRef__":true,"id":8862},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":8863},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":8853},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8864},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"8855":{"_Position":{"__isSmartRef__":true,"id":8856},"renderContextTable":{"__isSmartRef__":true,"id":8857},"_Extent":{"__isSmartRef__":true,"id":8858},"_Padding":{"__isSmartRef__":true,"id":8859},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":8860},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8856":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8857":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8858":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8859":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8860":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8861":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8862":{"morph":{"__isSmartRef__":true,"id":8854},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8863":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8864":{"toggle":{"__isSmartRef__":true,"id":8865},"toggleExpansion":{"__isSmartRef__":true,"id":8868}},"8865":{"varMapping":{"__isSmartRef__":true,"id":8866},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":8867},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8866":{"this":{"__isSmartRef__":true,"id":8854}},"8867":{},"8868":{"varMapping":{"__isSmartRef__":true,"id":8869},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":8870},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8869":{"this":{"__isSmartRef__":true,"id":8854}},"8870":{},"8871":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8872},"derivationIds":[null],"id":"040A02A6-1F9B-48D8-917F-CBD2F2E3C029","renderContextTable":{"__isSmartRef__":true,"id":8876},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":8877},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":8878},{"__isSmartRef__":true,"id":8880}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":8882},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":8853},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8883},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8872":{"_Position":{"__isSmartRef__":true,"id":8873},"renderContextTable":{"__isSmartRef__":true,"id":8874},"_Extent":{"__isSmartRef__":true,"id":8875},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8873":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8874":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8875":{"x":60,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8876":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"8877":{"morph":{"__isSmartRef__":true,"id":8871},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8878":{"style":{"__isSmartRef__":true,"id":8879},"chunkOwner":{"__isSmartRef__":true,"id":8871},"storedString":"lists","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8879":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8880":{"style":{"__isSmartRef__":true,"id":8881},"chunkOwner":{"__isSmartRef__":true,"id":8871},"storedString":": {...}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8881":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8882":{"x":90,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8883":{"layoutText":{"__isSmartRef__":true,"id":8884}},"8884":{"varMapping":{"__isSmartRef__":true,"id":8885},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":8886},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8885":{"this":{"__isSmartRef__":true,"id":8871}},"8886":{},"8887":{"_Position":{"__isSmartRef__":true,"id":8888},"renderContextTable":{"__isSmartRef__":true,"id":8889},"_Extent":{"__isSmartRef__":true,"id":8890},"_Padding":{"__isSmartRef__":true,"id":8891},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8888":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8889":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8890":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8891":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8892":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8893":{"morph":{"__isSmartRef__":true,"id":8853},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8894":{"resizeWidth":true},"8895":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8896":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8897":{"updateExpanderColor":{"__isSmartRef__":true,"id":8898},"onMouseDown":{"__isSmartRef__":true,"id":8901},"isRoot":{"__isSmartRef__":true,"id":8908},"displayValue":{"__isSmartRef__":true,"id":8911},"update":{"__isSmartRef__":true,"id":8914}},"8898":{"varMapping":{"__isSmartRef__":true,"id":8899},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":8900},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8899":{"this":{"__isSmartRef__":true,"id":8853}},"8900":{},"8901":{"varMapping":{"__isSmartRef__":true,"id":8902},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":8907},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8902":{"this":{"__isSmartRef__":true,"id":8853},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8903}},"8903":{"$super":{"__isSmartRef__":true,"id":8904}},"8904":{"varMapping":{"__isSmartRef__":true,"id":8905},"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":8906},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8905":{"obj":{"__isSmartRef__":true,"id":8853},"name":"onMouseDown"},"8906":{},"8907":{},"8908":{"varMapping":{"__isSmartRef__":true,"id":8909},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":8910},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8909":{"this":{"__isSmartRef__":true,"id":8853}},"8910":{},"8911":{"varMapping":{"__isSmartRef__":true,"id":8912},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":8913},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8912":{"this":{"__isSmartRef__":true,"id":8853}},"8913":{},"8914":{"varMapping":{"__isSmartRef__":true,"id":8915},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8916},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8915":{"this":{"__isSmartRef__":true,"id":8853}},"8916":{},"8917":{"_Position":{"__isSmartRef__":true,"id":8918},"renderContextTable":{"__isSmartRef__":true,"id":8919},"_Extent":{"__isSmartRef__":true,"id":8920},"_Padding":{"__isSmartRef__":true,"id":8921},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8918":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8919":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8920":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8921":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8922":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8923":{"morph":{"__isSmartRef__":true,"id":8852},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8924":{"layouter":{"__isSmartRef__":true,"id":8925},"resizeWidth":true},"8925":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8852},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"8926":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8927":{"x":0,"y":320,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8928":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":8929}},"8929":{"varMapping":{"__isSmartRef__":true,"id":8930},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":8935},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8930":{"this":{"__isSmartRef__":true,"id":8852},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8931}},"8931":{"$super":{"__isSmartRef__":true,"id":8932}},"8932":{"varMapping":{"__isSmartRef__":true,"id":8933},"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":8934},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8933":{"obj":{"__isSmartRef__":true,"id":8852},"name":"getLayoutableSubmorphs"},"8934":{},"8935":{},"8936":{"submorphs":[{"__isSmartRef__":true,"id":8937}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9001},"derivationIds":[null],"id":"DF473AE2-F705-4705-AF93-69CB657F3169","renderContextTable":{"__isSmartRef__":true,"id":9006},"eventHandler":{"__isSmartRef__":true,"id":9007},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9008},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":9010},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":9011},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9012},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8937":{"submorphs":[{"__isSmartRef__":true,"id":8938},{"__isSmartRef__":true,"id":8955}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8971},"derivationIds":[null],"id":"F0103081-89DF-414A-BD8F-4CCA71AEE6EE","renderContextTable":{"__isSmartRef__":true,"id":8976},"eventHandler":{"__isSmartRef__":true,"id":8977},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":8978},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"moved","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":8938},"text":{"__isSmartRef__":true,"id":8955},"owner":{"__isSmartRef__":true,"id":8936},"_Position":{"__isSmartRef__":true,"id":8979},"priorExtent":{"__isSmartRef__":true,"id":8980},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8981},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"8938":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8939},"derivationIds":[null],"id":"D04E9279-C482-40AD-AAB2-2FDC4CD09F10","renderContextTable":{"__isSmartRef__":true,"id":8945},"eventHandler":{"__isSmartRef__":true,"id":8946},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":8947},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":8937},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8948},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"8939":{"_Position":{"__isSmartRef__":true,"id":8940},"renderContextTable":{"__isSmartRef__":true,"id":8941},"_Extent":{"__isSmartRef__":true,"id":8942},"_Padding":{"__isSmartRef__":true,"id":8943},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":8944},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8940":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8941":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8942":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8943":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8944":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8945":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8946":{"morph":{"__isSmartRef__":true,"id":8938},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8947":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8948":{"toggle":{"__isSmartRef__":true,"id":8949},"toggleExpansion":{"__isSmartRef__":true,"id":8952}},"8949":{"varMapping":{"__isSmartRef__":true,"id":8950},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":8951},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8950":{"this":{"__isSmartRef__":true,"id":8938}},"8951":{},"8952":{"varMapping":{"__isSmartRef__":true,"id":8953},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":8954},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8953":{"this":{"__isSmartRef__":true,"id":8938}},"8954":{},"8955":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8956},"derivationIds":[null],"id":"AF9BBFA5-6181-4C5D-870B-79A086B54F6A","renderContextTable":{"__isSmartRef__":true,"id":8960},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":8961},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":8962},{"__isSmartRef__":true,"id":8964}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":8966},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":8937},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8967},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8956":{"_Position":{"__isSmartRef__":true,"id":8957},"renderContextTable":{"__isSmartRef__":true,"id":8958},"_Extent":{"__isSmartRef__":true,"id":8959},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8957":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8958":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8959":{"x":75,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8960":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"8961":{"morph":{"__isSmartRef__":true,"id":8955},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8962":{"style":{"__isSmartRef__":true,"id":8963},"chunkOwner":{"__isSmartRef__":true,"id":8955},"storedString":"moved","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8963":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8964":{"style":{"__isSmartRef__":true,"id":8965},"chunkOwner":{"__isSmartRef__":true,"id":8955},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8965":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8966":{"x":82.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8967":{"layoutText":{"__isSmartRef__":true,"id":8968}},"8968":{"varMapping":{"__isSmartRef__":true,"id":8969},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":8970},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8969":{"this":{"__isSmartRef__":true,"id":8955}},"8970":{},"8971":{"_Position":{"__isSmartRef__":true,"id":8972},"renderContextTable":{"__isSmartRef__":true,"id":8973},"_Extent":{"__isSmartRef__":true,"id":8974},"_Padding":{"__isSmartRef__":true,"id":8975},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"8972":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8973":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8974":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8975":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8976":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"8977":{"morph":{"__isSmartRef__":true,"id":8937},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8978":{"resizeWidth":true},"8979":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8980":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8981":{"updateExpanderColor":{"__isSmartRef__":true,"id":8982},"onMouseDown":{"__isSmartRef__":true,"id":8985},"isRoot":{"__isSmartRef__":true,"id":8992},"displayValue":{"__isSmartRef__":true,"id":8995},"update":{"__isSmartRef__":true,"id":8998}},"8982":{"varMapping":{"__isSmartRef__":true,"id":8983},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":8984},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8983":{"this":{"__isSmartRef__":true,"id":8937}},"8984":{},"8985":{"varMapping":{"__isSmartRef__":true,"id":8986},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":8991},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8986":{"this":{"__isSmartRef__":true,"id":8937},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8987}},"8987":{"$super":{"__isSmartRef__":true,"id":8988}},"8988":{"varMapping":{"__isSmartRef__":true,"id":8989},"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":8990},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8989":{"obj":{"__isSmartRef__":true,"id":8937},"name":"onMouseDown"},"8990":{},"8991":{},"8992":{"varMapping":{"__isSmartRef__":true,"id":8993},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":8994},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8993":{"this":{"__isSmartRef__":true,"id":8937}},"8994":{},"8995":{"varMapping":{"__isSmartRef__":true,"id":8996},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":8997},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8996":{"this":{"__isSmartRef__":true,"id":8937}},"8997":{},"8998":{"varMapping":{"__isSmartRef__":true,"id":8999},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9000},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8999":{"this":{"__isSmartRef__":true,"id":8937}},"9000":{},"9001":{"_Position":{"__isSmartRef__":true,"id":9002},"renderContextTable":{"__isSmartRef__":true,"id":9003},"_Extent":{"__isSmartRef__":true,"id":9004},"_Padding":{"__isSmartRef__":true,"id":9005},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9002":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9003":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9004":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9005":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9006":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9007":{"morph":{"__isSmartRef__":true,"id":8936},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9008":{"layouter":{"__isSmartRef__":true,"id":9009},"resizeWidth":true},"9009":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":8936},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"9010":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9011":{"x":0,"y":300,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9012":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":9013}},"9013":{"varMapping":{"__isSmartRef__":true,"id":9014},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":9019},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9014":{"this":{"__isSmartRef__":true,"id":8936},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9015}},"9015":{"$super":{"__isSmartRef__":true,"id":9016}},"9016":{"varMapping":{"__isSmartRef__":true,"id":9017},"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":9018},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9017":{"obj":{"__isSmartRef__":true,"id":8936},"name":"getLayoutableSubmorphs"},"9018":{},"9019":{},"9020":{"submorphs":[{"__isSmartRef__":true,"id":9021}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9085},"derivationIds":[null],"id":"9F87789F-1FAB-4C6C-8E4B-CE15B6F15A9F","renderContextTable":{"__isSmartRef__":true,"id":9090},"eventHandler":{"__isSmartRef__":true,"id":9091},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9092},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":9094},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":9095},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9096},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9021":{"submorphs":[{"__isSmartRef__":true,"id":9022},{"__isSmartRef__":true,"id":9039}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9055},"derivationIds":[null],"id":"649F7FE1-8E75-45D8-A9B8-5EFE35516922","renderContextTable":{"__isSmartRef__":true,"id":9060},"eventHandler":{"__isSmartRef__":true,"id":9061},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9062},"grabbingEnabled":false,"draggingEnabled":false,"data":"FightMenu","propertyList":["0","1","2","3","4","5","6","7","8"],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"name","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":9022},"text":{"__isSmartRef__":true,"id":9039},"owner":{"__isSmartRef__":true,"id":9020},"_Position":{"__isSmartRef__":true,"id":9063},"priorExtent":{"__isSmartRef__":true,"id":9064},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9065},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9022":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9023},"derivationIds":[null],"id":"9A962DF6-128F-422C-A9B5-34B969D2440C","renderContextTable":{"__isSmartRef__":true,"id":9029},"eventHandler":{"__isSmartRef__":true,"id":9030},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":9031},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":9021},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9032},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"9023":{"_Position":{"__isSmartRef__":true,"id":9024},"renderContextTable":{"__isSmartRef__":true,"id":9025},"_Extent":{"__isSmartRef__":true,"id":9026},"_Padding":{"__isSmartRef__":true,"id":9027},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":9028},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9024":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9025":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9026":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9027":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9028":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9029":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9030":{"morph":{"__isSmartRef__":true,"id":9022},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9031":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9032":{"toggle":{"__isSmartRef__":true,"id":9033},"toggleExpansion":{"__isSmartRef__":true,"id":9036}},"9033":{"varMapping":{"__isSmartRef__":true,"id":9034},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":9035},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9034":{"this":{"__isSmartRef__":true,"id":9022}},"9035":{},"9036":{"varMapping":{"__isSmartRef__":true,"id":9037},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":9038},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9037":{"this":{"__isSmartRef__":true,"id":9022}},"9038":{},"9039":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9040},"derivationIds":[null],"id":"C264BE77-6D23-471C-9BB4-860152A94776","renderContextTable":{"__isSmartRef__":true,"id":9044},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":9045},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":9046},{"__isSmartRef__":true,"id":9048}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":9050},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":9021},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9051},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9040":{"_Position":{"__isSmartRef__":true,"id":9041},"renderContextTable":{"__isSmartRef__":true,"id":9042},"_Extent":{"__isSmartRef__":true,"id":9043},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9041":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9042":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9043":{"x":108,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9044":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"9045":{"morph":{"__isSmartRef__":true,"id":9039},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9046":{"style":{"__isSmartRef__":true,"id":9047},"chunkOwner":{"__isSmartRef__":true,"id":9039},"storedString":"name","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9047":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9048":{"style":{"__isSmartRef__":true,"id":9049},"chunkOwner":{"__isSmartRef__":true,"id":9039},"storedString":": FightMenu","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9049":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9050":{"x":112.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9051":{"layoutText":{"__isSmartRef__":true,"id":9052}},"9052":{"varMapping":{"__isSmartRef__":true,"id":9053},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":9054},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9053":{"this":{"__isSmartRef__":true,"id":9039}},"9054":{},"9055":{"_Position":{"__isSmartRef__":true,"id":9056},"renderContextTable":{"__isSmartRef__":true,"id":9057},"_Extent":{"__isSmartRef__":true,"id":9058},"_Padding":{"__isSmartRef__":true,"id":9059},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9056":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9057":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9058":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9059":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9060":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9061":{"morph":{"__isSmartRef__":true,"id":9021},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9062":{"resizeWidth":true},"9063":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9064":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9065":{"updateExpanderColor":{"__isSmartRef__":true,"id":9066},"onMouseDown":{"__isSmartRef__":true,"id":9069},"isRoot":{"__isSmartRef__":true,"id":9076},"displayValue":{"__isSmartRef__":true,"id":9079},"update":{"__isSmartRef__":true,"id":9082}},"9066":{"varMapping":{"__isSmartRef__":true,"id":9067},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":9068},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9067":{"this":{"__isSmartRef__":true,"id":9021}},"9068":{},"9069":{"varMapping":{"__isSmartRef__":true,"id":9070},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":9075},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9070":{"this":{"__isSmartRef__":true,"id":9021},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9071}},"9071":{"$super":{"__isSmartRef__":true,"id":9072}},"9072":{"varMapping":{"__isSmartRef__":true,"id":9073},"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":9074},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9073":{"obj":{"__isSmartRef__":true,"id":9021},"name":"onMouseDown"},"9074":{},"9075":{},"9076":{"varMapping":{"__isSmartRef__":true,"id":9077},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":9078},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9077":{"this":{"__isSmartRef__":true,"id":9021}},"9078":{},"9079":{"varMapping":{"__isSmartRef__":true,"id":9080},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":9081},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9080":{"this":{"__isSmartRef__":true,"id":9021}},"9081":{},"9082":{"varMapping":{"__isSmartRef__":true,"id":9083},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9084},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9083":{"this":{"__isSmartRef__":true,"id":9021}},"9084":{},"9085":{"_Position":{"__isSmartRef__":true,"id":9086},"renderContextTable":{"__isSmartRef__":true,"id":9087},"_Extent":{"__isSmartRef__":true,"id":9088},"_Padding":{"__isSmartRef__":true,"id":9089},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9086":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9087":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9088":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9089":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9090":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9091":{"morph":{"__isSmartRef__":true,"id":9020},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9092":{"layouter":{"__isSmartRef__":true,"id":9093},"resizeWidth":true},"9093":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":9020},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"9094":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9095":{"x":0,"y":280,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9096":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":9097}},"9097":{"varMapping":{"__isSmartRef__":true,"id":9098},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":9103},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9098":{"this":{"__isSmartRef__":true,"id":9020},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9099}},"9099":{"$super":{"__isSmartRef__":true,"id":9100}},"9100":{"varMapping":{"__isSmartRef__":true,"id":9101},"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":9102},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9101":{"obj":{"__isSmartRef__":true,"id":9020},"name":"getLayoutableSubmorphs"},"9102":{},"9103":{},"9104":{"submorphs":[{"__isSmartRef__":true,"id":9105}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9169},"derivationIds":[null],"id":"B850F5FD-F602-445A-AF84-F213EAF2971F","renderContextTable":{"__isSmartRef__":true,"id":9174},"eventHandler":{"__isSmartRef__":true,"id":9175},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9176},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":9178},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":9179},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9180},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9105":{"submorphs":[{"__isSmartRef__":true,"id":9106},{"__isSmartRef__":true,"id":9123}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9139},"derivationIds":[null],"id":"4AB69F03-4E3C-4D8E-9343-836B585FEEB2","renderContextTable":{"__isSmartRef__":true,"id":9144},"eventHandler":{"__isSmartRef__":true,"id":9145},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9146},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":0},"propertyList":["submorphs","scripts","shape","id","renderContextTable","eventHandler","grabbingEnabled","droppingEnabled","showsMorphMenu","halosEnabled","__layered_draggingEnabled__","_Position","priorExtent","hands","changeSet","__SourceModuleName__","eventStartPos","worldMenuOpened","draggingEnabled","clickedOnMorphTime","statusMessages","lastAlert","prevScroll","showsHalos","loadingMorph","savedWorldAsURL","attributeConnections","doNotSerialize","doNotCopyProperties","_ClipMode","$$savedWorldAsURL","_renderContext","_isRendered","clickedOnMorph","draggedMorph","currentHaloTarget","halos","currentMenu","revisionOnLoad"],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"owner","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":9106},"text":{"__isSmartRef__":true,"id":9123},"owner":{"__isSmartRef__":true,"id":9104},"_Position":{"__isSmartRef__":true,"id":9147},"priorExtent":{"__isSmartRef__":true,"id":9148},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9149},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9106":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9107},"derivationIds":[null],"id":"8A9F3033-996F-4B27-AD98-626363709F2D","renderContextTable":{"__isSmartRef__":true,"id":9113},"eventHandler":{"__isSmartRef__":true,"id":9114},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":9115},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":9105},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9116},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"9107":{"_Position":{"__isSmartRef__":true,"id":9108},"renderContextTable":{"__isSmartRef__":true,"id":9109},"_Extent":{"__isSmartRef__":true,"id":9110},"_Padding":{"__isSmartRef__":true,"id":9111},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":9112},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9108":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9109":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9110":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9111":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9112":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9113":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9114":{"morph":{"__isSmartRef__":true,"id":9106},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9115":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9116":{"toggle":{"__isSmartRef__":true,"id":9117},"toggleExpansion":{"__isSmartRef__":true,"id":9120}},"9117":{"varMapping":{"__isSmartRef__":true,"id":9118},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":9119},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9118":{"this":{"__isSmartRef__":true,"id":9106}},"9119":{},"9120":{"varMapping":{"__isSmartRef__":true,"id":9121},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":9122},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9121":{"this":{"__isSmartRef__":true,"id":9106}},"9122":{},"9123":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9124},"derivationIds":[null],"id":"173DC010-7ACC-4FB9-B90D-B8C8022037CD","renderContextTable":{"__isSmartRef__":true,"id":9128},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":9129},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":9130},{"__isSmartRef__":true,"id":9132}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":9134},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":9105},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9135},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9124":{"_Position":{"__isSmartRef__":true,"id":9125},"renderContextTable":{"__isSmartRef__":true,"id":9126},"_Extent":{"__isSmartRef__":true,"id":9127},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9125":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9126":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9127":{"x":84,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9128":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"9129":{"morph":{"__isSmartRef__":true,"id":9123},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9130":{"style":{"__isSmartRef__":true,"id":9131},"chunkOwner":{"__isSmartRef__":true,"id":9123},"storedString":"owner","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9131":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9132":{"style":{"__isSmartRef__":true,"id":9133},"chunkOwner":{"__isSmartRef__":true,"id":9123},"storedString":": World","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9133":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9134":{"x":90,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9135":{"layoutText":{"__isSmartRef__":true,"id":9136}},"9136":{"varMapping":{"__isSmartRef__":true,"id":9137},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":9138},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9137":{"this":{"__isSmartRef__":true,"id":9123}},"9138":{},"9139":{"_Position":{"__isSmartRef__":true,"id":9140},"renderContextTable":{"__isSmartRef__":true,"id":9141},"_Extent":{"__isSmartRef__":true,"id":9142},"_Padding":{"__isSmartRef__":true,"id":9143},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9140":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9141":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9142":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9143":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9144":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9145":{"morph":{"__isSmartRef__":true,"id":9105},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9146":{"resizeWidth":true},"9147":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9148":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9149":{"updateExpanderColor":{"__isSmartRef__":true,"id":9150},"onMouseDown":{"__isSmartRef__":true,"id":9153},"isRoot":{"__isSmartRef__":true,"id":9160},"displayValue":{"__isSmartRef__":true,"id":9163},"update":{"__isSmartRef__":true,"id":9166}},"9150":{"varMapping":{"__isSmartRef__":true,"id":9151},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":9152},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9151":{"this":{"__isSmartRef__":true,"id":9105}},"9152":{},"9153":{"varMapping":{"__isSmartRef__":true,"id":9154},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":9159},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9154":{"this":{"__isSmartRef__":true,"id":9105},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9155}},"9155":{"$super":{"__isSmartRef__":true,"id":9156}},"9156":{"varMapping":{"__isSmartRef__":true,"id":9157},"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":9158},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9157":{"obj":{"__isSmartRef__":true,"id":9105},"name":"onMouseDown"},"9158":{},"9159":{},"9160":{"varMapping":{"__isSmartRef__":true,"id":9161},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":9162},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9161":{"this":{"__isSmartRef__":true,"id":9105}},"9162":{},"9163":{"varMapping":{"__isSmartRef__":true,"id":9164},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":9165},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9164":{"this":{"__isSmartRef__":true,"id":9105}},"9165":{},"9166":{"varMapping":{"__isSmartRef__":true,"id":9167},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9168},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9167":{"this":{"__isSmartRef__":true,"id":9105}},"9168":{},"9169":{"_Position":{"__isSmartRef__":true,"id":9170},"renderContextTable":{"__isSmartRef__":true,"id":9171},"_Extent":{"__isSmartRef__":true,"id":9172},"_Padding":{"__isSmartRef__":true,"id":9173},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9170":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9171":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9172":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9173":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9174":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9175":{"morph":{"__isSmartRef__":true,"id":9104},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9176":{"layouter":{"__isSmartRef__":true,"id":9177},"resizeWidth":true},"9177":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":9104},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"9178":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9179":{"x":0,"y":260,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9180":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":9181}},"9181":{"varMapping":{"__isSmartRef__":true,"id":9182},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":9187},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9182":{"this":{"__isSmartRef__":true,"id":9104},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9183}},"9183":{"$super":{"__isSmartRef__":true,"id":9184}},"9184":{"varMapping":{"__isSmartRef__":true,"id":9185},"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":9186},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9185":{"obj":{"__isSmartRef__":true,"id":9104},"name":"getLayoutableSubmorphs"},"9186":{},"9187":{},"9188":{"submorphs":[{"__isSmartRef__":true,"id":9189}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9253},"derivationIds":[null],"id":"56B60AFF-81B5-4FA6-B301-1DA953DDCFE2","renderContextTable":{"__isSmartRef__":true,"id":9258},"eventHandler":{"__isSmartRef__":true,"id":9259},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9260},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":9262},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":9263},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9264},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9189":{"submorphs":[{"__isSmartRef__":true,"id":9190},{"__isSmartRef__":true,"id":9207}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9223},"derivationIds":[null],"id":"49FD472F-AFBD-4272-877B-CF838468AA42","renderContextTable":{"__isSmartRef__":true,"id":9228},"eventHandler":{"__isSmartRef__":true,"id":9229},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9230},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1381},"propertyList":["partsSpaceName","__SourceModuleName__","comment","migrationLevel","partName","changes","revisionOnLoad"],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"partsBinMetaInfo","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":9190},"text":{"__isSmartRef__":true,"id":9207},"owner":{"__isSmartRef__":true,"id":9188},"_Position":{"__isSmartRef__":true,"id":9231},"priorExtent":{"__isSmartRef__":true,"id":9232},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9233},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9190":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9191},"derivationIds":[null],"id":"504DB634-2A44-4CE1-93F4-D190A75A24B2","renderContextTable":{"__isSmartRef__":true,"id":9197},"eventHandler":{"__isSmartRef__":true,"id":9198},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":9199},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":9189},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9200},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"9191":{"_Position":{"__isSmartRef__":true,"id":9192},"renderContextTable":{"__isSmartRef__":true,"id":9193},"_Extent":{"__isSmartRef__":true,"id":9194},"_Padding":{"__isSmartRef__":true,"id":9195},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":9196},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9192":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9193":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9194":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9195":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9196":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9197":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9198":{"morph":{"__isSmartRef__":true,"id":9190},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9199":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9200":{"toggle":{"__isSmartRef__":true,"id":9201},"toggleExpansion":{"__isSmartRef__":true,"id":9204}},"9201":{"varMapping":{"__isSmartRef__":true,"id":9202},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":9203},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9202":{"this":{"__isSmartRef__":true,"id":9190}},"9203":{},"9204":{"varMapping":{"__isSmartRef__":true,"id":9205},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":9206},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9205":{"this":{"__isSmartRef__":true,"id":9190}},"9206":{},"9207":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9208},"derivationIds":[null],"id":"82E4CC26-E432-4844-A597-D1D1CAAA4576","renderContextTable":{"__isSmartRef__":true,"id":9212},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":9213},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":9214},{"__isSmartRef__":true,"id":9216}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":9218},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":9189},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9219},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9208":{"_Position":{"__isSmartRef__":true,"id":9209},"renderContextTable":{"__isSmartRef__":true,"id":9210},"_Extent":{"__isSmartRef__":true,"id":9211},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9209":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9210":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9211":{"x":213,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9212":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"9213":{"morph":{"__isSmartRef__":true,"id":9207},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9214":{"style":{"__isSmartRef__":true,"id":9215},"chunkOwner":{"__isSmartRef__":true,"id":9207},"storedString":"partsBinMetaInfo","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9215":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9216":{"style":{"__isSmartRef__":true,"id":9217},"chunkOwner":{"__isSmartRef__":true,"id":9207},"storedString":": PartsBinMetaInfo","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9217":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9218":{"x":255,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9219":{"layoutText":{"__isSmartRef__":true,"id":9220}},"9220":{"varMapping":{"__isSmartRef__":true,"id":9221},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":9222},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9221":{"this":{"__isSmartRef__":true,"id":9207}},"9222":{},"9223":{"_Position":{"__isSmartRef__":true,"id":9224},"renderContextTable":{"__isSmartRef__":true,"id":9225},"_Extent":{"__isSmartRef__":true,"id":9226},"_Padding":{"__isSmartRef__":true,"id":9227},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9224":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9225":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9226":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9227":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9228":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9229":{"morph":{"__isSmartRef__":true,"id":9189},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9230":{"resizeWidth":true},"9231":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9232":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9233":{"updateExpanderColor":{"__isSmartRef__":true,"id":9234},"onMouseDown":{"__isSmartRef__":true,"id":9237},"isRoot":{"__isSmartRef__":true,"id":9244},"displayValue":{"__isSmartRef__":true,"id":9247},"update":{"__isSmartRef__":true,"id":9250}},"9234":{"varMapping":{"__isSmartRef__":true,"id":9235},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":9236},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9235":{"this":{"__isSmartRef__":true,"id":9189}},"9236":{},"9237":{"varMapping":{"__isSmartRef__":true,"id":9238},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":9243},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9238":{"this":{"__isSmartRef__":true,"id":9189},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9239}},"9239":{"$super":{"__isSmartRef__":true,"id":9240}},"9240":{"varMapping":{"__isSmartRef__":true,"id":9241},"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":9242},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9241":{"obj":{"__isSmartRef__":true,"id":9189},"name":"onMouseDown"},"9242":{},"9243":{},"9244":{"varMapping":{"__isSmartRef__":true,"id":9245},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":9246},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9245":{"this":{"__isSmartRef__":true,"id":9189}},"9246":{},"9247":{"varMapping":{"__isSmartRef__":true,"id":9248},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":9249},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9248":{"this":{"__isSmartRef__":true,"id":9189}},"9249":{},"9250":{"varMapping":{"__isSmartRef__":true,"id":9251},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9252},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9251":{"this":{"__isSmartRef__":true,"id":9189}},"9252":{},"9253":{"_Position":{"__isSmartRef__":true,"id":9254},"renderContextTable":{"__isSmartRef__":true,"id":9255},"_Extent":{"__isSmartRef__":true,"id":9256},"_Padding":{"__isSmartRef__":true,"id":9257},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9254":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9255":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9256":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9257":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9258":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9259":{"morph":{"__isSmartRef__":true,"id":9188},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9260":{"layouter":{"__isSmartRef__":true,"id":9261},"resizeWidth":true},"9261":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":9188},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"9262":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9263":{"x":0,"y":240,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9264":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":9265}},"9265":{"varMapping":{"__isSmartRef__":true,"id":9266},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":9271},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9266":{"this":{"__isSmartRef__":true,"id":9188},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9267}},"9267":{"$super":{"__isSmartRef__":true,"id":9268}},"9268":{"varMapping":{"__isSmartRef__":true,"id":9269},"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":9270},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9269":{"obj":{"__isSmartRef__":true,"id":9188},"name":"getLayoutableSubmorphs"},"9270":{},"9271":{},"9272":{"submorphs":[{"__isSmartRef__":true,"id":9273}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9337},"derivationIds":[null],"id":"D5C10F24-1161-4B9D-9C4B-389317B6D761","renderContextTable":{"__isSmartRef__":true,"id":9342},"eventHandler":{"__isSmartRef__":true,"id":9343},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9344},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":9346},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":9347},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9348},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9273":{"submorphs":[{"__isSmartRef__":true,"id":9274},{"__isSmartRef__":true,"id":9291}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9307},"derivationIds":[null],"id":"41F5B559-C016-4C57-B983-67870D085835","renderContextTable":{"__isSmartRef__":true,"id":9312},"eventHandler":{"__isSmartRef__":true,"id":9313},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9314},"grabbingEnabled":false,"draggingEnabled":false,"data":false,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"pinned","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":9274},"text":{"__isSmartRef__":true,"id":9291},"owner":{"__isSmartRef__":true,"id":9272},"_Position":{"__isSmartRef__":true,"id":9315},"priorExtent":{"__isSmartRef__":true,"id":9316},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9317},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9274":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9275},"derivationIds":[null],"id":"5820A217-8931-475B-8BF5-D98F5A5F724D","renderContextTable":{"__isSmartRef__":true,"id":9281},"eventHandler":{"__isSmartRef__":true,"id":9282},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":9283},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":9273},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9284},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"9275":{"_Position":{"__isSmartRef__":true,"id":9276},"renderContextTable":{"__isSmartRef__":true,"id":9277},"_Extent":{"__isSmartRef__":true,"id":9278},"_Padding":{"__isSmartRef__":true,"id":9279},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":9280},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9276":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9277":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9278":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9279":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9280":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9281":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9282":{"morph":{"__isSmartRef__":true,"id":9274},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9283":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9284":{"toggle":{"__isSmartRef__":true,"id":9285},"toggleExpansion":{"__isSmartRef__":true,"id":9288}},"9285":{"varMapping":{"__isSmartRef__":true,"id":9286},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":9287},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9286":{"this":{"__isSmartRef__":true,"id":9274}},"9287":{},"9288":{"varMapping":{"__isSmartRef__":true,"id":9289},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":9290},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9289":{"this":{"__isSmartRef__":true,"id":9274}},"9290":{},"9291":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9292},"derivationIds":[null],"id":"B5E861BB-DE1F-45FC-B924-C68F9307C313","renderContextTable":{"__isSmartRef__":true,"id":9296},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":9297},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":9298},{"__isSmartRef__":true,"id":9300}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":9302},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":9273},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9303},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9292":{"_Position":{"__isSmartRef__":true,"id":9293},"renderContextTable":{"__isSmartRef__":true,"id":9294},"_Extent":{"__isSmartRef__":true,"id":9295},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9293":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9294":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9295":{"x":82,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9296":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"9297":{"morph":{"__isSmartRef__":true,"id":9291},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9298":{"style":{"__isSmartRef__":true,"id":9299},"chunkOwner":{"__isSmartRef__":true,"id":9291},"storedString":"pinned","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9299":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9300":{"style":{"__isSmartRef__":true,"id":9301},"chunkOwner":{"__isSmartRef__":true,"id":9291},"storedString":": false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9301":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9302":{"x":97.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9303":{"layoutText":{"__isSmartRef__":true,"id":9304}},"9304":{"varMapping":{"__isSmartRef__":true,"id":9305},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":9306},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9305":{"this":{"__isSmartRef__":true,"id":9291}},"9306":{},"9307":{"_Position":{"__isSmartRef__":true,"id":9308},"renderContextTable":{"__isSmartRef__":true,"id":9309},"_Extent":{"__isSmartRef__":true,"id":9310},"_Padding":{"__isSmartRef__":true,"id":9311},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9308":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9309":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9310":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9311":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9312":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9313":{"morph":{"__isSmartRef__":true,"id":9273},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9314":{"resizeWidth":true},"9315":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9316":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9317":{"updateExpanderColor":{"__isSmartRef__":true,"id":9318},"onMouseDown":{"__isSmartRef__":true,"id":9321},"isRoot":{"__isSmartRef__":true,"id":9328},"displayValue":{"__isSmartRef__":true,"id":9331},"update":{"__isSmartRef__":true,"id":9334}},"9318":{"varMapping":{"__isSmartRef__":true,"id":9319},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":9320},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9319":{"this":{"__isSmartRef__":true,"id":9273}},"9320":{},"9321":{"varMapping":{"__isSmartRef__":true,"id":9322},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":9327},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9322":{"this":{"__isSmartRef__":true,"id":9273},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9323}},"9323":{"$super":{"__isSmartRef__":true,"id":9324}},"9324":{"varMapping":{"__isSmartRef__":true,"id":9325},"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":9326},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9325":{"obj":{"__isSmartRef__":true,"id":9273},"name":"onMouseDown"},"9326":{},"9327":{},"9328":{"varMapping":{"__isSmartRef__":true,"id":9329},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":9330},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9329":{"this":{"__isSmartRef__":true,"id":9273}},"9330":{},"9331":{"varMapping":{"__isSmartRef__":true,"id":9332},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":9333},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9332":{"this":{"__isSmartRef__":true,"id":9273}},"9333":{},"9334":{"varMapping":{"__isSmartRef__":true,"id":9335},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9336},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9335":{"this":{"__isSmartRef__":true,"id":9273}},"9336":{},"9337":{"_Position":{"__isSmartRef__":true,"id":9338},"renderContextTable":{"__isSmartRef__":true,"id":9339},"_Extent":{"__isSmartRef__":true,"id":9340},"_Padding":{"__isSmartRef__":true,"id":9341},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9338":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9339":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9340":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9341":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9342":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9343":{"morph":{"__isSmartRef__":true,"id":9272},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9344":{"layouter":{"__isSmartRef__":true,"id":9345},"resizeWidth":true},"9345":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":9272},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"9346":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9347":{"x":0,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9348":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":9349}},"9349":{"varMapping":{"__isSmartRef__":true,"id":9350},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":9355},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9350":{"this":{"__isSmartRef__":true,"id":9272},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9351}},"9351":{"$super":{"__isSmartRef__":true,"id":9352}},"9352":{"varMapping":{"__isSmartRef__":true,"id":9353},"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":9354},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9353":{"obj":{"__isSmartRef__":true,"id":9272},"name":"getLayoutableSubmorphs"},"9354":{},"9355":{},"9356":{"submorphs":[{"__isSmartRef__":true,"id":9357}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9421},"derivationIds":[null],"id":"A99F5C43-7355-479F-8623-83AC5ADFA869","renderContextTable":{"__isSmartRef__":true,"id":9426},"eventHandler":{"__isSmartRef__":true,"id":9427},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9428},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":9430},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":9431},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9432},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9357":{"submorphs":[{"__isSmartRef__":true,"id":9358},{"__isSmartRef__":true,"id":9375}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9391},"derivationIds":[null],"id":"9D841C28-AE31-4B1B-8DBE-113513A7145B","renderContextTable":{"__isSmartRef__":true,"id":9396},"eventHandler":{"__isSmartRef__":true,"id":9397},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9398},"grabbingEnabled":false,"draggingEnabled":false,"data":[0,0],"propertyList":["0","1"],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"prevScroll","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":9358},"text":{"__isSmartRef__":true,"id":9375},"owner":{"__isSmartRef__":true,"id":9356},"_Position":{"__isSmartRef__":true,"id":9399},"priorExtent":{"__isSmartRef__":true,"id":9400},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9401},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9358":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9359},"derivationIds":[null],"id":"85A7D600-38EC-4B3C-ABA6-4AEFBC16A422","renderContextTable":{"__isSmartRef__":true,"id":9365},"eventHandler":{"__isSmartRef__":true,"id":9366},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":9367},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":9357},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9368},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"9359":{"_Position":{"__isSmartRef__":true,"id":9360},"renderContextTable":{"__isSmartRef__":true,"id":9361},"_Extent":{"__isSmartRef__":true,"id":9362},"_Padding":{"__isSmartRef__":true,"id":9363},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":9364},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9360":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9361":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9362":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9363":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9364":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9365":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9366":{"morph":{"__isSmartRef__":true,"id":9358},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9367":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9368":{"toggle":{"__isSmartRef__":true,"id":9369},"toggleExpansion":{"__isSmartRef__":true,"id":9372}},"9369":{"varMapping":{"__isSmartRef__":true,"id":9370},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":9371},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9370":{"this":{"__isSmartRef__":true,"id":9358}},"9371":{},"9372":{"varMapping":{"__isSmartRef__":true,"id":9373},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":9374},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9373":{"this":{"__isSmartRef__":true,"id":9358}},"9374":{},"9375":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9376},"derivationIds":[null],"id":"78E0A5F2-9BB9-4881-A848-6858047BA0FA","renderContextTable":{"__isSmartRef__":true,"id":9380},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":9381},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":9382},{"__isSmartRef__":true,"id":9384}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":9386},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":9357},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9387},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9376":{"_Position":{"__isSmartRef__":true,"id":9377},"renderContextTable":{"__isSmartRef__":true,"id":9378},"_Extent":{"__isSmartRef__":true,"id":9379},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9377":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9378":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9379":{"x":92,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9380":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"9381":{"morph":{"__isSmartRef__":true,"id":9375},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9382":{"style":{"__isSmartRef__":true,"id":9383},"chunkOwner":{"__isSmartRef__":true,"id":9375},"storedString":"prevScroll","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9383":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9384":{"style":{"__isSmartRef__":true,"id":9385},"chunkOwner":{"__isSmartRef__":true,"id":9375},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9385":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9386":{"x":127.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9387":{"layoutText":{"__isSmartRef__":true,"id":9388}},"9388":{"varMapping":{"__isSmartRef__":true,"id":9389},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":9390},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9389":{"this":{"__isSmartRef__":true,"id":9375}},"9390":{},"9391":{"_Position":{"__isSmartRef__":true,"id":9392},"renderContextTable":{"__isSmartRef__":true,"id":9393},"_Extent":{"__isSmartRef__":true,"id":9394},"_Padding":{"__isSmartRef__":true,"id":9395},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9392":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9393":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9394":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9395":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9396":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9397":{"morph":{"__isSmartRef__":true,"id":9357},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9398":{"resizeWidth":true},"9399":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9400":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9401":{"updateExpanderColor":{"__isSmartRef__":true,"id":9402},"onMouseDown":{"__isSmartRef__":true,"id":9405},"isRoot":{"__isSmartRef__":true,"id":9412},"displayValue":{"__isSmartRef__":true,"id":9415},"update":{"__isSmartRef__":true,"id":9418}},"9402":{"varMapping":{"__isSmartRef__":true,"id":9403},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":9404},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9403":{"this":{"__isSmartRef__":true,"id":9357}},"9404":{},"9405":{"varMapping":{"__isSmartRef__":true,"id":9406},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":9411},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9406":{"this":{"__isSmartRef__":true,"id":9357},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9407}},"9407":{"$super":{"__isSmartRef__":true,"id":9408}},"9408":{"varMapping":{"__isSmartRef__":true,"id":9409},"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":9410},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9409":{"obj":{"__isSmartRef__":true,"id":9357},"name":"onMouseDown"},"9410":{},"9411":{},"9412":{"varMapping":{"__isSmartRef__":true,"id":9413},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":9414},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9413":{"this":{"__isSmartRef__":true,"id":9357}},"9414":{},"9415":{"varMapping":{"__isSmartRef__":true,"id":9416},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":9417},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9416":{"this":{"__isSmartRef__":true,"id":9357}},"9417":{},"9418":{"varMapping":{"__isSmartRef__":true,"id":9419},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9420},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9419":{"this":{"__isSmartRef__":true,"id":9357}},"9420":{},"9421":{"_Position":{"__isSmartRef__":true,"id":9422},"renderContextTable":{"__isSmartRef__":true,"id":9423},"_Extent":{"__isSmartRef__":true,"id":9424},"_Padding":{"__isSmartRef__":true,"id":9425},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9422":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9423":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9424":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9425":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9426":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9427":{"morph":{"__isSmartRef__":true,"id":9356},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9428":{"layouter":{"__isSmartRef__":true,"id":9429},"resizeWidth":true},"9429":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":9356},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"9430":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9431":{"x":0,"y":200,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9432":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":9433}},"9433":{"varMapping":{"__isSmartRef__":true,"id":9434},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":9439},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9434":{"this":{"__isSmartRef__":true,"id":9356},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9435}},"9435":{"$super":{"__isSmartRef__":true,"id":9436}},"9436":{"varMapping":{"__isSmartRef__":true,"id":9437},"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":9438},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9437":{"obj":{"__isSmartRef__":true,"id":9356},"name":"getLayoutableSubmorphs"},"9438":{},"9439":{},"9440":{"submorphs":[{"__isSmartRef__":true,"id":9441}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9505},"derivationIds":[null],"id":"EA24751D-4EA1-4A86-BF11-34B52324AE3B","renderContextTable":{"__isSmartRef__":true,"id":9510},"eventHandler":{"__isSmartRef__":true,"id":9511},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9512},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":9514},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":9515},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9516},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9441":{"submorphs":[{"__isSmartRef__":true,"id":9442},{"__isSmartRef__":true,"id":9459}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9475},"derivationIds":[null],"id":"4BDCC2E0-553A-4399-BF40-3FADC0B55C73","renderContextTable":{"__isSmartRef__":true,"id":9480},"eventHandler":{"__isSmartRef__":true,"id":9481},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9482},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1518},"propertyList":["x","y"],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"priorExtent","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":9442},"text":{"__isSmartRef__":true,"id":9459},"owner":{"__isSmartRef__":true,"id":9440},"_Position":{"__isSmartRef__":true,"id":9483},"priorExtent":{"__isSmartRef__":true,"id":9484},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9485},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9442":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9443},"derivationIds":[null],"id":"7AE6F841-A0C6-425E-9398-0C694A413B02","renderContextTable":{"__isSmartRef__":true,"id":9449},"eventHandler":{"__isSmartRef__":true,"id":9450},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":9451},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":9441},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9452},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"9443":{"_Position":{"__isSmartRef__":true,"id":9444},"renderContextTable":{"__isSmartRef__":true,"id":9445},"_Extent":{"__isSmartRef__":true,"id":9446},"_Padding":{"__isSmartRef__":true,"id":9447},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":9448},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9444":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9445":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9446":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9447":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9448":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9449":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9450":{"morph":{"__isSmartRef__":true,"id":9442},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9451":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9452":{"toggle":{"__isSmartRef__":true,"id":9453},"toggleExpansion":{"__isSmartRef__":true,"id":9456}},"9453":{"varMapping":{"__isSmartRef__":true,"id":9454},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":9455},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9454":{"this":{"__isSmartRef__":true,"id":9442}},"9455":{},"9456":{"varMapping":{"__isSmartRef__":true,"id":9457},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":9458},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9457":{"this":{"__isSmartRef__":true,"id":9442}},"9458":{},"9459":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9460},"derivationIds":[null],"id":"7ECE6926-D84C-4E21-936B-43B1A74BFDA3","renderContextTable":{"__isSmartRef__":true,"id":9464},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":9465},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":9466},{"__isSmartRef__":true,"id":9468}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":9470},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":9441},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9471},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9460":{"_Position":{"__isSmartRef__":true,"id":9461},"renderContextTable":{"__isSmartRef__":true,"id":9462},"_Extent":{"__isSmartRef__":true,"id":9463},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9461":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9462":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9463":{"x":109,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9464":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"9465":{"morph":{"__isSmartRef__":true,"id":9459},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9466":{"style":{"__isSmartRef__":true,"id":9467},"chunkOwner":{"__isSmartRef__":true,"id":9459},"storedString":"priorExtent","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9467":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9468":{"style":{"__isSmartRef__":true,"id":9469},"chunkOwner":{"__isSmartRef__":true,"id":9459},"storedString":": Point","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9469":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9470":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9471":{"layoutText":{"__isSmartRef__":true,"id":9472}},"9472":{"varMapping":{"__isSmartRef__":true,"id":9473},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":9474},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9473":{"this":{"__isSmartRef__":true,"id":9459}},"9474":{},"9475":{"_Position":{"__isSmartRef__":true,"id":9476},"renderContextTable":{"__isSmartRef__":true,"id":9477},"_Extent":{"__isSmartRef__":true,"id":9478},"_Padding":{"__isSmartRef__":true,"id":9479},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9476":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9477":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9478":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9479":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9480":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9481":{"morph":{"__isSmartRef__":true,"id":9441},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9482":{"resizeWidth":true},"9483":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9484":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9485":{"updateExpanderColor":{"__isSmartRef__":true,"id":9486},"onMouseDown":{"__isSmartRef__":true,"id":9489},"isRoot":{"__isSmartRef__":true,"id":9496},"displayValue":{"__isSmartRef__":true,"id":9499},"update":{"__isSmartRef__":true,"id":9502}},"9486":{"varMapping":{"__isSmartRef__":true,"id":9487},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":9488},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9487":{"this":{"__isSmartRef__":true,"id":9441}},"9488":{},"9489":{"varMapping":{"__isSmartRef__":true,"id":9490},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":9495},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9490":{"this":{"__isSmartRef__":true,"id":9441},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9491}},"9491":{"$super":{"__isSmartRef__":true,"id":9492}},"9492":{"varMapping":{"__isSmartRef__":true,"id":9493},"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":9494},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9493":{"obj":{"__isSmartRef__":true,"id":9441},"name":"onMouseDown"},"9494":{},"9495":{},"9496":{"varMapping":{"__isSmartRef__":true,"id":9497},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":9498},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9497":{"this":{"__isSmartRef__":true,"id":9441}},"9498":{},"9499":{"varMapping":{"__isSmartRef__":true,"id":9500},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":9501},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9500":{"this":{"__isSmartRef__":true,"id":9441}},"9501":{},"9502":{"varMapping":{"__isSmartRef__":true,"id":9503},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9504},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9503":{"this":{"__isSmartRef__":true,"id":9441}},"9504":{},"9505":{"_Position":{"__isSmartRef__":true,"id":9506},"renderContextTable":{"__isSmartRef__":true,"id":9507},"_Extent":{"__isSmartRef__":true,"id":9508},"_Padding":{"__isSmartRef__":true,"id":9509},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9506":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9507":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9508":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9509":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9510":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9511":{"morph":{"__isSmartRef__":true,"id":9440},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9512":{"layouter":{"__isSmartRef__":true,"id":9513},"resizeWidth":true},"9513":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":9440},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"9514":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9515":{"x":0,"y":180,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9516":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":9517}},"9517":{"varMapping":{"__isSmartRef__":true,"id":9518},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":9523},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9518":{"this":{"__isSmartRef__":true,"id":9440},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9519}},"9519":{"$super":{"__isSmartRef__":true,"id":9520}},"9520":{"varMapping":{"__isSmartRef__":true,"id":9521},"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":9522},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9521":{"obj":{"__isSmartRef__":true,"id":9440},"name":"getLayoutableSubmorphs"},"9522":{},"9523":{},"9524":{"submorphs":[{"__isSmartRef__":true,"id":9525}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9589},"derivationIds":[null],"id":"62E5A990-0C00-4A21-BAAB-9D9AF0A4CB27","renderContextTable":{"__isSmartRef__":true,"id":9594},"eventHandler":{"__isSmartRef__":true,"id":9595},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9596},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":9598},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":9599},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9600},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9525":{"submorphs":[{"__isSmartRef__":true,"id":9526},{"__isSmartRef__":true,"id":9543}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9559},"derivationIds":[null],"id":"81FD117C-42FB-4F30-B712-4050B34F280B","renderContextTable":{"__isSmartRef__":true,"id":9564},"eventHandler":{"__isSmartRef__":true,"id":9565},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9566},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"registeredForMouseEvents","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":9526},"text":{"__isSmartRef__":true,"id":9543},"owner":{"__isSmartRef__":true,"id":9524},"_Position":{"__isSmartRef__":true,"id":9567},"priorExtent":{"__isSmartRef__":true,"id":9568},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9569},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9526":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9527},"derivationIds":[null],"id":"B6C1AAEC-B6CE-40ED-A927-3802E56EB415","renderContextTable":{"__isSmartRef__":true,"id":9533},"eventHandler":{"__isSmartRef__":true,"id":9534},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":9535},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":9525},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9536},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"9527":{"_Position":{"__isSmartRef__":true,"id":9528},"renderContextTable":{"__isSmartRef__":true,"id":9529},"_Extent":{"__isSmartRef__":true,"id":9530},"_Padding":{"__isSmartRef__":true,"id":9531},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":9532},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9528":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9529":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9530":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9531":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9532":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9533":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9534":{"morph":{"__isSmartRef__":true,"id":9526},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9535":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9536":{"toggle":{"__isSmartRef__":true,"id":9537},"toggleExpansion":{"__isSmartRef__":true,"id":9540}},"9537":{"varMapping":{"__isSmartRef__":true,"id":9538},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":9539},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9538":{"this":{"__isSmartRef__":true,"id":9526}},"9539":{},"9540":{"varMapping":{"__isSmartRef__":true,"id":9541},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":9542},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9541":{"this":{"__isSmartRef__":true,"id":9526}},"9542":{},"9543":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9544},"derivationIds":[null],"id":"2FDD5292-0D3B-4225-97D8-241B72F04E45","renderContextTable":{"__isSmartRef__":true,"id":9548},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":9549},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":9550},{"__isSmartRef__":true,"id":9552}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":9554},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":9525},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9555},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9544":{"_Position":{"__isSmartRef__":true,"id":9545},"renderContextTable":{"__isSmartRef__":true,"id":9546},"_Extent":{"__isSmartRef__":true,"id":9547},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9545":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9546":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9547":{"x":192,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9548":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"9549":{"morph":{"__isSmartRef__":true,"id":9543},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9550":{"style":{"__isSmartRef__":true,"id":9551},"chunkOwner":{"__isSmartRef__":true,"id":9543},"storedString":"registeredForMouseEvents","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9551":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9552":{"style":{"__isSmartRef__":true,"id":9553},"chunkOwner":{"__isSmartRef__":true,"id":9543},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9553":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9554":{"x":225,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9555":{"layoutText":{"__isSmartRef__":true,"id":9556}},"9556":{"varMapping":{"__isSmartRef__":true,"id":9557},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":9558},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9557":{"this":{"__isSmartRef__":true,"id":9543}},"9558":{},"9559":{"_Position":{"__isSmartRef__":true,"id":9560},"renderContextTable":{"__isSmartRef__":true,"id":9561},"_Extent":{"__isSmartRef__":true,"id":9562},"_Padding":{"__isSmartRef__":true,"id":9563},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9560":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9561":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9562":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9563":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9564":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9565":{"morph":{"__isSmartRef__":true,"id":9525},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9566":{"resizeWidth":true},"9567":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9568":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9569":{"updateExpanderColor":{"__isSmartRef__":true,"id":9570},"onMouseDown":{"__isSmartRef__":true,"id":9573},"isRoot":{"__isSmartRef__":true,"id":9580},"displayValue":{"__isSmartRef__":true,"id":9583},"update":{"__isSmartRef__":true,"id":9586}},"9570":{"varMapping":{"__isSmartRef__":true,"id":9571},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":9572},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9571":{"this":{"__isSmartRef__":true,"id":9525}},"9572":{},"9573":{"varMapping":{"__isSmartRef__":true,"id":9574},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":9579},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9574":{"this":{"__isSmartRef__":true,"id":9525},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9575}},"9575":{"$super":{"__isSmartRef__":true,"id":9576}},"9576":{"varMapping":{"__isSmartRef__":true,"id":9577},"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":9578},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9577":{"obj":{"__isSmartRef__":true,"id":9525},"name":"onMouseDown"},"9578":{},"9579":{},"9580":{"varMapping":{"__isSmartRef__":true,"id":9581},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":9582},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9581":{"this":{"__isSmartRef__":true,"id":9525}},"9582":{},"9583":{"varMapping":{"__isSmartRef__":true,"id":9584},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":9585},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9584":{"this":{"__isSmartRef__":true,"id":9525}},"9585":{},"9586":{"varMapping":{"__isSmartRef__":true,"id":9587},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9588},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9587":{"this":{"__isSmartRef__":true,"id":9525}},"9588":{},"9589":{"_Position":{"__isSmartRef__":true,"id":9590},"renderContextTable":{"__isSmartRef__":true,"id":9591},"_Extent":{"__isSmartRef__":true,"id":9592},"_Padding":{"__isSmartRef__":true,"id":9593},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9590":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9591":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9592":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9593":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9594":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9595":{"morph":{"__isSmartRef__":true,"id":9524},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9596":{"layouter":{"__isSmartRef__":true,"id":9597},"resizeWidth":true},"9597":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":9524},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"9598":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9599":{"x":0,"y":160,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9600":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":9601}},"9601":{"varMapping":{"__isSmartRef__":true,"id":9602},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":9607},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9602":{"this":{"__isSmartRef__":true,"id":9524},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9603}},"9603":{"$super":{"__isSmartRef__":true,"id":9604}},"9604":{"varMapping":{"__isSmartRef__":true,"id":9605},"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":9606},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9605":{"obj":{"__isSmartRef__":true,"id":9524},"name":"getLayoutableSubmorphs"},"9606":{},"9607":{},"9608":{"submorphs":[{"__isSmartRef__":true,"id":9609}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9673},"derivationIds":[null],"id":"9728A14D-A667-4ABB-8C1C-493F09377C3B","renderContextTable":{"__isSmartRef__":true,"id":9678},"eventHandler":{"__isSmartRef__":true,"id":9679},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9680},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":9682},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":9683},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9684},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9609":{"submorphs":[{"__isSmartRef__":true,"id":9610},{"__isSmartRef__":true,"id":9627}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9643},"derivationIds":[null],"id":"BDB5A381-1EEF-4969-AAC6-4E7B4ACA375A","renderContextTable":{"__isSmartRef__":true,"id":9648},"eventHandler":{"__isSmartRef__":true,"id":9649},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9650},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1516},"propertyList":["replaceRenderContext","init","append","remove","onRenderFinished","triggerEvent","setTransform","setPosition","setRotation","setExtent","setScale","setVisible","adjustOrigin","setPivotPoint","setClipMode","showsVerticalScrollBar","showsHorizontalScrollBar","getScrollBarExtent","setHandStyle","setPointerEvents","setToolTip","focus","blur","setFocusable"],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"renderContextTable","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":9610},"text":{"__isSmartRef__":true,"id":9627},"owner":{"__isSmartRef__":true,"id":9608},"_Position":{"__isSmartRef__":true,"id":9651},"priorExtent":{"__isSmartRef__":true,"id":9652},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9653},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9610":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9611},"derivationIds":[null],"id":"9550580B-93FA-4C41-812A-A56A2163AF0D","renderContextTable":{"__isSmartRef__":true,"id":9617},"eventHandler":{"__isSmartRef__":true,"id":9618},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":9619},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":9609},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9620},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"9611":{"_Position":{"__isSmartRef__":true,"id":9612},"renderContextTable":{"__isSmartRef__":true,"id":9613},"_Extent":{"__isSmartRef__":true,"id":9614},"_Padding":{"__isSmartRef__":true,"id":9615},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":9616},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9612":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9613":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9614":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9615":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9616":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9617":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9618":{"morph":{"__isSmartRef__":true,"id":9610},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9619":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9620":{"toggle":{"__isSmartRef__":true,"id":9621},"toggleExpansion":{"__isSmartRef__":true,"id":9624}},"9621":{"varMapping":{"__isSmartRef__":true,"id":9622},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":9623},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9622":{"this":{"__isSmartRef__":true,"id":9610}},"9623":{},"9624":{"varMapping":{"__isSmartRef__":true,"id":9625},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":9626},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9625":{"this":{"__isSmartRef__":true,"id":9610}},"9626":{},"9627":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9628},"derivationIds":[null],"id":"35E07F5D-7550-44E9-8A1E-FA432930AB65","renderContextTable":{"__isSmartRef__":true,"id":9632},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":9633},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":9634},{"__isSmartRef__":true,"id":9636}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":9638},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":9609},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9639},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9628":{"_Position":{"__isSmartRef__":true,"id":9629},"renderContextTable":{"__isSmartRef__":true,"id":9630},"_Extent":{"__isSmartRef__":true,"id":9631},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9629":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9630":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9631":{"x":148,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9632":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"9633":{"morph":{"__isSmartRef__":true,"id":9627},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9634":{"style":{"__isSmartRef__":true,"id":9635},"chunkOwner":{"__isSmartRef__":true,"id":9627},"storedString":"renderContextTable","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9635":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9636":{"style":{"__isSmartRef__":true,"id":9637},"chunkOwner":{"__isSmartRef__":true,"id":9627},"storedString":": {...}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9637":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9638":{"x":187.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9639":{"layoutText":{"__isSmartRef__":true,"id":9640}},"9640":{"varMapping":{"__isSmartRef__":true,"id":9641},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":9642},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9641":{"this":{"__isSmartRef__":true,"id":9627}},"9642":{},"9643":{"_Position":{"__isSmartRef__":true,"id":9644},"renderContextTable":{"__isSmartRef__":true,"id":9645},"_Extent":{"__isSmartRef__":true,"id":9646},"_Padding":{"__isSmartRef__":true,"id":9647},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9644":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9645":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9646":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9647":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9648":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9649":{"morph":{"__isSmartRef__":true,"id":9609},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9650":{"resizeWidth":true},"9651":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9652":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9653":{"updateExpanderColor":{"__isSmartRef__":true,"id":9654},"onMouseDown":{"__isSmartRef__":true,"id":9657},"isRoot":{"__isSmartRef__":true,"id":9664},"displayValue":{"__isSmartRef__":true,"id":9667},"update":{"__isSmartRef__":true,"id":9670}},"9654":{"varMapping":{"__isSmartRef__":true,"id":9655},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":9656},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9655":{"this":{"__isSmartRef__":true,"id":9609}},"9656":{},"9657":{"varMapping":{"__isSmartRef__":true,"id":9658},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":9663},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9658":{"this":{"__isSmartRef__":true,"id":9609},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9659}},"9659":{"$super":{"__isSmartRef__":true,"id":9660}},"9660":{"varMapping":{"__isSmartRef__":true,"id":9661},"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":9662},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9661":{"obj":{"__isSmartRef__":true,"id":9609},"name":"onMouseDown"},"9662":{},"9663":{},"9664":{"varMapping":{"__isSmartRef__":true,"id":9665},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":9666},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9665":{"this":{"__isSmartRef__":true,"id":9609}},"9666":{},"9667":{"varMapping":{"__isSmartRef__":true,"id":9668},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":9669},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9668":{"this":{"__isSmartRef__":true,"id":9609}},"9669":{},"9670":{"varMapping":{"__isSmartRef__":true,"id":9671},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9672},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9671":{"this":{"__isSmartRef__":true,"id":9609}},"9672":{},"9673":{"_Position":{"__isSmartRef__":true,"id":9674},"renderContextTable":{"__isSmartRef__":true,"id":9675},"_Extent":{"__isSmartRef__":true,"id":9676},"_Padding":{"__isSmartRef__":true,"id":9677},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9674":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9675":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9676":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9677":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9678":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9679":{"morph":{"__isSmartRef__":true,"id":9608},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9680":{"layouter":{"__isSmartRef__":true,"id":9681},"resizeWidth":true},"9681":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":9608},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"9682":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9683":{"x":0,"y":140,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9684":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":9685}},"9685":{"varMapping":{"__isSmartRef__":true,"id":9686},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":9691},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9686":{"this":{"__isSmartRef__":true,"id":9608},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9687}},"9687":{"$super":{"__isSmartRef__":true,"id":9688}},"9688":{"varMapping":{"__isSmartRef__":true,"id":9689},"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":9690},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9689":{"obj":{"__isSmartRef__":true,"id":9608},"name":"getLayoutableSubmorphs"},"9690":{},"9691":{},"9692":{"submorphs":[{"__isSmartRef__":true,"id":9693}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9757},"derivationIds":[null],"id":"7D269350-F31D-479B-B402-5A3EDA276344","renderContextTable":{"__isSmartRef__":true,"id":9762},"eventHandler":{"__isSmartRef__":true,"id":9763},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9764},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":9766},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":9767},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9768},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9693":{"submorphs":[{"__isSmartRef__":true,"id":9694},{"__isSmartRef__":true,"id":9711}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9727},"derivationIds":[null],"id":"B9B58025-C045-4116-8039-87149553B524","renderContextTable":{"__isSmartRef__":true,"id":9732},"eventHandler":{"__isSmartRef__":true,"id":9733},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9734},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"scripts","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":9694},"text":{"__isSmartRef__":true,"id":9711},"owner":{"__isSmartRef__":true,"id":9692},"_Position":{"__isSmartRef__":true,"id":9735},"priorExtent":{"__isSmartRef__":true,"id":9736},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9737},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9694":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9695},"derivationIds":[null],"id":"445E2985-F0DA-4876-806B-F66CEA08B872","renderContextTable":{"__isSmartRef__":true,"id":9701},"eventHandler":{"__isSmartRef__":true,"id":9702},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":9703},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":9693},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9704},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"9695":{"_Position":{"__isSmartRef__":true,"id":9696},"renderContextTable":{"__isSmartRef__":true,"id":9697},"_Extent":{"__isSmartRef__":true,"id":9698},"_Padding":{"__isSmartRef__":true,"id":9699},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":9700},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9696":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9697":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9698":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9699":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9700":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9701":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9702":{"morph":{"__isSmartRef__":true,"id":9694},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9703":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9704":{"toggle":{"__isSmartRef__":true,"id":9705},"toggleExpansion":{"__isSmartRef__":true,"id":9708}},"9705":{"varMapping":{"__isSmartRef__":true,"id":9706},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":9707},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9706":{"this":{"__isSmartRef__":true,"id":9694}},"9707":{},"9708":{"varMapping":{"__isSmartRef__":true,"id":9709},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":9710},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9709":{"this":{"__isSmartRef__":true,"id":9694}},"9710":{},"9711":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9712},"derivationIds":[null],"id":"7B7C9F5B-72A9-4CF4-8DA6-1883C5BC59C1","renderContextTable":{"__isSmartRef__":true,"id":9716},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":9717},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":9718},{"__isSmartRef__":true,"id":9720}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":9722},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":9693},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9723},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9712":{"_Position":{"__isSmartRef__":true,"id":9713},"renderContextTable":{"__isSmartRef__":true,"id":9714},"_Extent":{"__isSmartRef__":true,"id":9715},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9713":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9714":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9715":{"x":63,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9716":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"9717":{"morph":{"__isSmartRef__":true,"id":9711},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9718":{"style":{"__isSmartRef__":true,"id":9719},"chunkOwner":{"__isSmartRef__":true,"id":9711},"storedString":"scripts","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9719":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9720":{"style":{"__isSmartRef__":true,"id":9721},"chunkOwner":{"__isSmartRef__":true,"id":9711},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9721":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9722":{"x":82.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9723":{"layoutText":{"__isSmartRef__":true,"id":9724}},"9724":{"varMapping":{"__isSmartRef__":true,"id":9725},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":9726},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9725":{"this":{"__isSmartRef__":true,"id":9711}},"9726":{},"9727":{"_Position":{"__isSmartRef__":true,"id":9728},"renderContextTable":{"__isSmartRef__":true,"id":9729},"_Extent":{"__isSmartRef__":true,"id":9730},"_Padding":{"__isSmartRef__":true,"id":9731},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9728":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9729":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9730":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9731":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9732":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9733":{"morph":{"__isSmartRef__":true,"id":9693},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9734":{"resizeWidth":true},"9735":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9736":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9737":{"updateExpanderColor":{"__isSmartRef__":true,"id":9738},"onMouseDown":{"__isSmartRef__":true,"id":9741},"isRoot":{"__isSmartRef__":true,"id":9748},"displayValue":{"__isSmartRef__":true,"id":9751},"update":{"__isSmartRef__":true,"id":9754}},"9738":{"varMapping":{"__isSmartRef__":true,"id":9739},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":9740},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9739":{"this":{"__isSmartRef__":true,"id":9693}},"9740":{},"9741":{"varMapping":{"__isSmartRef__":true,"id":9742},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":9747},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9742":{"this":{"__isSmartRef__":true,"id":9693},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9743}},"9743":{"$super":{"__isSmartRef__":true,"id":9744}},"9744":{"varMapping":{"__isSmartRef__":true,"id":9745},"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":9746},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9745":{"obj":{"__isSmartRef__":true,"id":9693},"name":"onMouseDown"},"9746":{},"9747":{},"9748":{"varMapping":{"__isSmartRef__":true,"id":9749},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":9750},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9749":{"this":{"__isSmartRef__":true,"id":9693}},"9750":{},"9751":{"varMapping":{"__isSmartRef__":true,"id":9752},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":9753},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9752":{"this":{"__isSmartRef__":true,"id":9693}},"9753":{},"9754":{"varMapping":{"__isSmartRef__":true,"id":9755},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9756},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9755":{"this":{"__isSmartRef__":true,"id":9693}},"9756":{},"9757":{"_Position":{"__isSmartRef__":true,"id":9758},"renderContextTable":{"__isSmartRef__":true,"id":9759},"_Extent":{"__isSmartRef__":true,"id":9760},"_Padding":{"__isSmartRef__":true,"id":9761},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9758":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9759":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9760":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9761":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9762":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9763":{"morph":{"__isSmartRef__":true,"id":9692},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9764":{"layouter":{"__isSmartRef__":true,"id":9765},"resizeWidth":true},"9765":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":9692},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"9766":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9767":{"x":0,"y":120,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9768":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":9769}},"9769":{"varMapping":{"__isSmartRef__":true,"id":9770},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":9775},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9770":{"this":{"__isSmartRef__":true,"id":9692},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9771}},"9771":{"$super":{"__isSmartRef__":true,"id":9772}},"9772":{"varMapping":{"__isSmartRef__":true,"id":9773},"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":9774},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9773":{"obj":{"__isSmartRef__":true,"id":9692},"name":"getLayoutableSubmorphs"},"9774":{},"9775":{},"9776":{"submorphs":[{"__isSmartRef__":true,"id":9777}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9841},"derivationIds":[null],"id":"A03EDCCA-1D95-42EA-9187-578B0AE078C8","renderContextTable":{"__isSmartRef__":true,"id":9846},"eventHandler":{"__isSmartRef__":true,"id":9847},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9848},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":9850},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":9851},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9852},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9777":{"submorphs":[{"__isSmartRef__":true,"id":9778},{"__isSmartRef__":true,"id":9795}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9811},"derivationIds":[null],"id":"38FA65B8-CBFE-47C9-8C01-F02ADC1CBDAE","renderContextTable":{"__isSmartRef__":true,"id":9816},"eventHandler":{"__isSmartRef__":true,"id":9817},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9818},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1372},"propertyList":["position","_Extent","_BorderWidth","_BorderColor","_Fill","__SourceModuleName__","renderContextTable","_ClipMode","_Padding","_BorderRadius","_Opacity","_BorderStyle","_Position","_renderContext"],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"shape","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":9778},"text":{"__isSmartRef__":true,"id":9795},"owner":{"__isSmartRef__":true,"id":9776},"_Position":{"__isSmartRef__":true,"id":9819},"priorExtent":{"__isSmartRef__":true,"id":9820},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9821},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9778":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9779},"derivationIds":[null],"id":"E81EF56B-15E7-4873-9A9B-490A0507C47A","renderContextTable":{"__isSmartRef__":true,"id":9785},"eventHandler":{"__isSmartRef__":true,"id":9786},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":9787},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":9777},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9788},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"9779":{"_Position":{"__isSmartRef__":true,"id":9780},"renderContextTable":{"__isSmartRef__":true,"id":9781},"_Extent":{"__isSmartRef__":true,"id":9782},"_Padding":{"__isSmartRef__":true,"id":9783},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":9784},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9780":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9781":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9782":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9783":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9784":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9785":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9786":{"morph":{"__isSmartRef__":true,"id":9778},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9787":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9788":{"toggle":{"__isSmartRef__":true,"id":9789},"toggleExpansion":{"__isSmartRef__":true,"id":9792}},"9789":{"varMapping":{"__isSmartRef__":true,"id":9790},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":9791},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9790":{"this":{"__isSmartRef__":true,"id":9778}},"9791":{},"9792":{"varMapping":{"__isSmartRef__":true,"id":9793},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":9794},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9793":{"this":{"__isSmartRef__":true,"id":9778}},"9794":{},"9795":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9796},"derivationIds":[null],"id":"1DCA1D53-0C95-4F45-ADF4-30B2329949E9","renderContextTable":{"__isSmartRef__":true,"id":9800},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":9801},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":9802},{"__isSmartRef__":true,"id":9804}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":9806},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":9777},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9807},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9796":{"_Position":{"__isSmartRef__":true,"id":9797},"renderContextTable":{"__isSmartRef__":true,"id":9798},"_Extent":{"__isSmartRef__":true,"id":9799},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9797":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9798":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9799":{"x":109,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9800":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"9801":{"morph":{"__isSmartRef__":true,"id":9795},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9802":{"style":{"__isSmartRef__":true,"id":9803},"chunkOwner":{"__isSmartRef__":true,"id":9795},"storedString":"shape","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9803":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9804":{"style":{"__isSmartRef__":true,"id":9805},"chunkOwner":{"__isSmartRef__":true,"id":9795},"storedString":": Rectangle","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9805":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9806":{"x":120,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9807":{"layoutText":{"__isSmartRef__":true,"id":9808}},"9808":{"varMapping":{"__isSmartRef__":true,"id":9809},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":9810},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9809":{"this":{"__isSmartRef__":true,"id":9795}},"9810":{},"9811":{"_Position":{"__isSmartRef__":true,"id":9812},"renderContextTable":{"__isSmartRef__":true,"id":9813},"_Extent":{"__isSmartRef__":true,"id":9814},"_Padding":{"__isSmartRef__":true,"id":9815},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9812":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9813":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9814":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9815":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9816":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9817":{"morph":{"__isSmartRef__":true,"id":9777},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9818":{"resizeWidth":true},"9819":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9820":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9821":{"updateExpanderColor":{"__isSmartRef__":true,"id":9822},"onMouseDown":{"__isSmartRef__":true,"id":9825},"isRoot":{"__isSmartRef__":true,"id":9832},"displayValue":{"__isSmartRef__":true,"id":9835},"update":{"__isSmartRef__":true,"id":9838}},"9822":{"varMapping":{"__isSmartRef__":true,"id":9823},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":9824},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9823":{"this":{"__isSmartRef__":true,"id":9777}},"9824":{},"9825":{"varMapping":{"__isSmartRef__":true,"id":9826},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":9831},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9826":{"this":{"__isSmartRef__":true,"id":9777},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9827}},"9827":{"$super":{"__isSmartRef__":true,"id":9828}},"9828":{"varMapping":{"__isSmartRef__":true,"id":9829},"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":9830},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9829":{"obj":{"__isSmartRef__":true,"id":9777},"name":"onMouseDown"},"9830":{},"9831":{},"9832":{"varMapping":{"__isSmartRef__":true,"id":9833},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":9834},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9833":{"this":{"__isSmartRef__":true,"id":9777}},"9834":{},"9835":{"varMapping":{"__isSmartRef__":true,"id":9836},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":9837},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9836":{"this":{"__isSmartRef__":true,"id":9777}},"9837":{},"9838":{"varMapping":{"__isSmartRef__":true,"id":9839},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9840},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9839":{"this":{"__isSmartRef__":true,"id":9777}},"9840":{},"9841":{"_Position":{"__isSmartRef__":true,"id":9842},"renderContextTable":{"__isSmartRef__":true,"id":9843},"_Extent":{"__isSmartRef__":true,"id":9844},"_Padding":{"__isSmartRef__":true,"id":9845},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9842":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9843":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9844":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9845":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9846":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9847":{"morph":{"__isSmartRef__":true,"id":9776},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9848":{"layouter":{"__isSmartRef__":true,"id":9849},"resizeWidth":true},"9849":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":9776},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"9850":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9851":{"x":0,"y":100,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9852":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":9853}},"9853":{"varMapping":{"__isSmartRef__":true,"id":9854},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":9859},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9854":{"this":{"__isSmartRef__":true,"id":9776},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9855}},"9855":{"$super":{"__isSmartRef__":true,"id":9856}},"9856":{"varMapping":{"__isSmartRef__":true,"id":9857},"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":9858},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9857":{"obj":{"__isSmartRef__":true,"id":9776},"name":"getLayoutableSubmorphs"},"9858":{},"9859":{},"9860":{"submorphs":[{"__isSmartRef__":true,"id":9861}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9925},"derivationIds":[null],"id":"1EA199FA-319D-4979-BF1E-DF779B9C1B75","renderContextTable":{"__isSmartRef__":true,"id":9930},"eventHandler":{"__isSmartRef__":true,"id":9931},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9932},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":9934},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":9935},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9936},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9861":{"submorphs":[{"__isSmartRef__":true,"id":9862},{"__isSmartRef__":true,"id":9879}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9895},"derivationIds":[null],"id":"0F4760FB-36E0-4D20-9167-F8FC21294F4D","renderContextTable":{"__isSmartRef__":true,"id":9900},"eventHandler":{"__isSmartRef__":true,"id":9901},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9902},"grabbingEnabled":false,"draggingEnabled":false,"data":false,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"showsHalos","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":9862},"text":{"__isSmartRef__":true,"id":9879},"owner":{"__isSmartRef__":true,"id":9860},"_Position":{"__isSmartRef__":true,"id":9903},"priorExtent":{"__isSmartRef__":true,"id":9904},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9905},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9862":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9863},"derivationIds":[null],"id":"B4378966-A7D4-4C4D-A420-D0A517194616","renderContextTable":{"__isSmartRef__":true,"id":9869},"eventHandler":{"__isSmartRef__":true,"id":9870},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":9871},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":9861},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9872},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"9863":{"_Position":{"__isSmartRef__":true,"id":9864},"renderContextTable":{"__isSmartRef__":true,"id":9865},"_Extent":{"__isSmartRef__":true,"id":9866},"_Padding":{"__isSmartRef__":true,"id":9867},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":9868},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9864":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9865":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9866":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9867":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9868":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9869":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9870":{"morph":{"__isSmartRef__":true,"id":9862},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9871":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9872":{"toggle":{"__isSmartRef__":true,"id":9873},"toggleExpansion":{"__isSmartRef__":true,"id":9876}},"9873":{"varMapping":{"__isSmartRef__":true,"id":9874},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":9875},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9874":{"this":{"__isSmartRef__":true,"id":9862}},"9875":{},"9876":{"varMapping":{"__isSmartRef__":true,"id":9877},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":9878},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9877":{"this":{"__isSmartRef__":true,"id":9862}},"9878":{},"9879":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9880},"derivationIds":[null],"id":"08182F7A-C5F5-407E-B31A-B604525D1DFB","renderContextTable":{"__isSmartRef__":true,"id":9884},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":9885},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":9886},{"__isSmartRef__":true,"id":9888}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":9890},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":9861},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9891},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9880":{"_Position":{"__isSmartRef__":true,"id":9881},"renderContextTable":{"__isSmartRef__":true,"id":9882},"_Extent":{"__isSmartRef__":true,"id":9883},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9881":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9882":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9883":{"x":127.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9884":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"9885":{"morph":{"__isSmartRef__":true,"id":9879},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9886":{"style":{"__isSmartRef__":true,"id":9887},"chunkOwner":{"__isSmartRef__":true,"id":9879},"storedString":"showsHalos","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9887":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9888":{"style":{"__isSmartRef__":true,"id":9889},"chunkOwner":{"__isSmartRef__":true,"id":9879},"storedString":": false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9889":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9890":{"x":120,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9891":{"layoutText":{"__isSmartRef__":true,"id":9892}},"9892":{"varMapping":{"__isSmartRef__":true,"id":9893},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":9894},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9893":{"this":{"__isSmartRef__":true,"id":9879}},"9894":{},"9895":{"_Position":{"__isSmartRef__":true,"id":9896},"renderContextTable":{"__isSmartRef__":true,"id":9897},"_Extent":{"__isSmartRef__":true,"id":9898},"_Padding":{"__isSmartRef__":true,"id":9899},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9896":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9897":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9898":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9899":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9900":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9901":{"morph":{"__isSmartRef__":true,"id":9861},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9902":{"resizeWidth":true},"9903":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9904":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9905":{"updateExpanderColor":{"__isSmartRef__":true,"id":9906},"onMouseDown":{"__isSmartRef__":true,"id":9909},"isRoot":{"__isSmartRef__":true,"id":9916},"displayValue":{"__isSmartRef__":true,"id":9919},"update":{"__isSmartRef__":true,"id":9922}},"9906":{"varMapping":{"__isSmartRef__":true,"id":9907},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":9908},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9907":{"this":{"__isSmartRef__":true,"id":9861}},"9908":{},"9909":{"varMapping":{"__isSmartRef__":true,"id":9910},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":9915},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9910":{"this":{"__isSmartRef__":true,"id":9861},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9911}},"9911":{"$super":{"__isSmartRef__":true,"id":9912}},"9912":{"varMapping":{"__isSmartRef__":true,"id":9913},"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":9914},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9913":{"obj":{"__isSmartRef__":true,"id":9861},"name":"onMouseDown"},"9914":{},"9915":{},"9916":{"varMapping":{"__isSmartRef__":true,"id":9917},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":9918},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9917":{"this":{"__isSmartRef__":true,"id":9861}},"9918":{},"9919":{"varMapping":{"__isSmartRef__":true,"id":9920},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":9921},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9920":{"this":{"__isSmartRef__":true,"id":9861}},"9921":{},"9922":{"varMapping":{"__isSmartRef__":true,"id":9923},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9924},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9923":{"this":{"__isSmartRef__":true,"id":9861}},"9924":{},"9925":{"_Position":{"__isSmartRef__":true,"id":9926},"renderContextTable":{"__isSmartRef__":true,"id":9927},"_Extent":{"__isSmartRef__":true,"id":9928},"_Padding":{"__isSmartRef__":true,"id":9929},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9926":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9927":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9928":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9929":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9930":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9931":{"morph":{"__isSmartRef__":true,"id":9860},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9932":{"layouter":{"__isSmartRef__":true,"id":9933},"resizeWidth":true},"9933":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":9860},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"9934":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9935":{"x":0,"y":80,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9936":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":9937}},"9937":{"varMapping":{"__isSmartRef__":true,"id":9938},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":9943},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9938":{"this":{"__isSmartRef__":true,"id":9860},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9939}},"9939":{"$super":{"__isSmartRef__":true,"id":9940}},"9940":{"varMapping":{"__isSmartRef__":true,"id":9941},"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":9942},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9941":{"obj":{"__isSmartRef__":true,"id":9860},"name":"getLayoutableSubmorphs"},"9942":{},"9943":{},"9944":{"submorphs":[{"__isSmartRef__":true,"id":9945}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10009},"derivationIds":[null],"id":"C82E0276-F3A3-45D7-84EB-D90AE50C7F60","renderContextTable":{"__isSmartRef__":true,"id":10014},"eventHandler":{"__isSmartRef__":true,"id":10015},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10016},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":10018},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":10019},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10020},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9945":{"submorphs":[{"__isSmartRef__":true,"id":9946},{"__isSmartRef__":true,"id":9963}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9979},"derivationIds":[null],"id":"731BA247-463A-4894-8DCD-0791E1FAF2BB","renderContextTable":{"__isSmartRef__":true,"id":9984},"eventHandler":{"__isSmartRef__":true,"id":9985},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":9986},"grabbingEnabled":false,"draggingEnabled":false,"data":[{"__isSmartRef__":true,"id":1352},{"__isSmartRef__":true,"id":768}],"propertyList":["0","1"],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"submorphs","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":9946},"text":{"__isSmartRef__":true,"id":9963},"owner":{"__isSmartRef__":true,"id":9944},"_Position":{"__isSmartRef__":true,"id":9987},"priorExtent":{"__isSmartRef__":true,"id":9988},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9989},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"9946":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9947},"derivationIds":[null],"id":"BC009EC0-39CF-4AA7-AB9B-69B2819EDAB5","renderContextTable":{"__isSmartRef__":true,"id":9953},"eventHandler":{"__isSmartRef__":true,"id":9954},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":9955},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":9945},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9956},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"9947":{"_Position":{"__isSmartRef__":true,"id":9948},"renderContextTable":{"__isSmartRef__":true,"id":9949},"_Extent":{"__isSmartRef__":true,"id":9950},"_Padding":{"__isSmartRef__":true,"id":9951},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":9952},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9948":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9949":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9950":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9951":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9952":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9953":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9954":{"morph":{"__isSmartRef__":true,"id":9946},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9955":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9956":{"toggle":{"__isSmartRef__":true,"id":9957},"toggleExpansion":{"__isSmartRef__":true,"id":9960}},"9957":{"varMapping":{"__isSmartRef__":true,"id":9958},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":9959},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9958":{"this":{"__isSmartRef__":true,"id":9946}},"9959":{},"9960":{"varMapping":{"__isSmartRef__":true,"id":9961},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":9962},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9961":{"this":{"__isSmartRef__":true,"id":9946}},"9962":{},"9963":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":9964},"derivationIds":[null],"id":"414F7CA2-AA64-46F4-88C2-29B49894CE4C","renderContextTable":{"__isSmartRef__":true,"id":9968},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":9969},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":9970},{"__isSmartRef__":true,"id":9972}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":9974},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":9945},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9975},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9964":{"_Position":{"__isSmartRef__":true,"id":9965},"renderContextTable":{"__isSmartRef__":true,"id":9966},"_Extent":{"__isSmartRef__":true,"id":9967},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9965":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9966":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9967":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9968":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"9969":{"morph":{"__isSmartRef__":true,"id":9963},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9970":{"style":{"__isSmartRef__":true,"id":9971},"chunkOwner":{"__isSmartRef__":true,"id":9963},"storedString":"submorphs","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9971":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9972":{"style":{"__isSmartRef__":true,"id":9973},"chunkOwner":{"__isSmartRef__":true,"id":9963},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9973":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9974":{"x":120,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9975":{"layoutText":{"__isSmartRef__":true,"id":9976}},"9976":{"varMapping":{"__isSmartRef__":true,"id":9977},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":9978},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9977":{"this":{"__isSmartRef__":true,"id":9963}},"9978":{},"9979":{"_Position":{"__isSmartRef__":true,"id":9980},"renderContextTable":{"__isSmartRef__":true,"id":9981},"_Extent":{"__isSmartRef__":true,"id":9982},"_Padding":{"__isSmartRef__":true,"id":9983},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"9980":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9981":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"9982":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9983":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9984":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9985":{"morph":{"__isSmartRef__":true,"id":9945},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9986":{"resizeWidth":true},"9987":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9988":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"9989":{"updateExpanderColor":{"__isSmartRef__":true,"id":9990},"onMouseDown":{"__isSmartRef__":true,"id":9993},"isRoot":{"__isSmartRef__":true,"id":10000},"displayValue":{"__isSmartRef__":true,"id":10003},"update":{"__isSmartRef__":true,"id":10006}},"9990":{"varMapping":{"__isSmartRef__":true,"id":9991},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":9992},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9991":{"this":{"__isSmartRef__":true,"id":9945}},"9992":{},"9993":{"varMapping":{"__isSmartRef__":true,"id":9994},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":9999},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9994":{"this":{"__isSmartRef__":true,"id":9945},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9995}},"9995":{"$super":{"__isSmartRef__":true,"id":9996}},"9996":{"varMapping":{"__isSmartRef__":true,"id":9997},"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":9998},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9997":{"obj":{"__isSmartRef__":true,"id":9945},"name":"onMouseDown"},"9998":{},"9999":{},"10000":{"varMapping":{"__isSmartRef__":true,"id":10001},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":10002},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10001":{"this":{"__isSmartRef__":true,"id":9945}},"10002":{},"10003":{"varMapping":{"__isSmartRef__":true,"id":10004},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":10005},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10004":{"this":{"__isSmartRef__":true,"id":9945}},"10005":{},"10006":{"varMapping":{"__isSmartRef__":true,"id":10007},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10008},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10007":{"this":{"__isSmartRef__":true,"id":9945}},"10008":{},"10009":{"_Position":{"__isSmartRef__":true,"id":10010},"renderContextTable":{"__isSmartRef__":true,"id":10011},"_Extent":{"__isSmartRef__":true,"id":10012},"_Padding":{"__isSmartRef__":true,"id":10013},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10010":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10011":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10012":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10013":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10014":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10015":{"morph":{"__isSmartRef__":true,"id":9944},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10016":{"layouter":{"__isSmartRef__":true,"id":10017},"resizeWidth":true},"10017":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":9944},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"10018":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10019":{"x":0,"y":60,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10020":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":10021}},"10021":{"varMapping":{"__isSmartRef__":true,"id":10022},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":10027},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10022":{"this":{"__isSmartRef__":true,"id":9944},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10023}},"10023":{"$super":{"__isSmartRef__":true,"id":10024}},"10024":{"varMapping":{"__isSmartRef__":true,"id":10025},"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":10026},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10025":{"obj":{"__isSmartRef__":true,"id":9944},"name":"getLayoutableSubmorphs"},"10026":{},"10027":{},"10028":{"submorphs":[{"__isSmartRef__":true,"id":10029}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10093},"derivationIds":[null],"id":"4A0CFE21-7D84-4AA0-B96B-1CE5F30D88E3","renderContextTable":{"__isSmartRef__":true,"id":10098},"eventHandler":{"__isSmartRef__":true,"id":10099},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10100},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":10102},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":10103},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10104},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10029":{"submorphs":[{"__isSmartRef__":true,"id":10030},{"__isSmartRef__":true,"id":10047}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10063},"derivationIds":[null],"id":"BA151FE9-0C86-47A7-8B75-F162AC3A172C","renderContextTable":{"__isSmartRef__":true,"id":10068},"eventHandler":{"__isSmartRef__":true,"id":10069},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10070},"grabbingEnabled":false,"draggingEnabled":false,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"targetMorph","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":10030},"text":{"__isSmartRef__":true,"id":10047},"owner":{"__isSmartRef__":true,"id":10028},"_Position":{"__isSmartRef__":true,"id":10071},"priorExtent":{"__isSmartRef__":true,"id":10072},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10073},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10030":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10031},"derivationIds":[null],"id":"E0D5C9FA-15E6-4763-81D0-27670A2251DD","renderContextTable":{"__isSmartRef__":true,"id":10037},"eventHandler":{"__isSmartRef__":true,"id":10038},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":10039},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":10029},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10040},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"10031":{"_Position":{"__isSmartRef__":true,"id":10032},"renderContextTable":{"__isSmartRef__":true,"id":10033},"_Extent":{"__isSmartRef__":true,"id":10034},"_Padding":{"__isSmartRef__":true,"id":10035},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":10036},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10032":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10033":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10034":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10035":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10036":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10037":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10038":{"morph":{"__isSmartRef__":true,"id":10030},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10039":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10040":{"toggle":{"__isSmartRef__":true,"id":10041},"toggleExpansion":{"__isSmartRef__":true,"id":10044}},"10041":{"varMapping":{"__isSmartRef__":true,"id":10042},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":10043},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10042":{"this":{"__isSmartRef__":true,"id":10030}},"10043":{},"10044":{"varMapping":{"__isSmartRef__":true,"id":10045},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":10046},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10045":{"this":{"__isSmartRef__":true,"id":10030}},"10046":{},"10047":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10048},"derivationIds":[null],"id":"7BA09D98-9204-4EFB-AA6A-E7312CBE781B","renderContextTable":{"__isSmartRef__":true,"id":10052},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":10053},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":10054},{"__isSmartRef__":true,"id":10056}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":10058},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":10029},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10059},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10048":{"_Position":{"__isSmartRef__":true,"id":10049},"renderContextTable":{"__isSmartRef__":true,"id":10050},"_Extent":{"__isSmartRef__":true,"id":10051},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10049":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10050":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10051":{"x":141,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10052":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"10053":{"morph":{"__isSmartRef__":true,"id":10047},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10054":{"style":{"__isSmartRef__":true,"id":10055},"chunkOwner":{"__isSmartRef__":true,"id":10047},"storedString":"targetMorph","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10055":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10056":{"style":{"__isSmartRef__":true,"id":10057},"chunkOwner":{"__isSmartRef__":true,"id":10047},"storedString":": undefined","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10057":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10058":{"x":165,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10059":{"layoutText":{"__isSmartRef__":true,"id":10060}},"10060":{"varMapping":{"__isSmartRef__":true,"id":10061},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":10062},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10061":{"this":{"__isSmartRef__":true,"id":10047}},"10062":{},"10063":{"_Position":{"__isSmartRef__":true,"id":10064},"renderContextTable":{"__isSmartRef__":true,"id":10065},"_Extent":{"__isSmartRef__":true,"id":10066},"_Padding":{"__isSmartRef__":true,"id":10067},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10064":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10065":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10066":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10067":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10068":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10069":{"morph":{"__isSmartRef__":true,"id":10029},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10070":{"resizeWidth":true},"10071":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10072":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10073":{"updateExpanderColor":{"__isSmartRef__":true,"id":10074},"onMouseDown":{"__isSmartRef__":true,"id":10077},"isRoot":{"__isSmartRef__":true,"id":10084},"displayValue":{"__isSmartRef__":true,"id":10087},"update":{"__isSmartRef__":true,"id":10090}},"10074":{"varMapping":{"__isSmartRef__":true,"id":10075},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":10076},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10075":{"this":{"__isSmartRef__":true,"id":10029}},"10076":{},"10077":{"varMapping":{"__isSmartRef__":true,"id":10078},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":10083},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10078":{"this":{"__isSmartRef__":true,"id":10029},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10079}},"10079":{"$super":{"__isSmartRef__":true,"id":10080}},"10080":{"varMapping":{"__isSmartRef__":true,"id":10081},"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":10082},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10081":{"obj":{"__isSmartRef__":true,"id":10029},"name":"onMouseDown"},"10082":{},"10083":{},"10084":{"varMapping":{"__isSmartRef__":true,"id":10085},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":10086},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10085":{"this":{"__isSmartRef__":true,"id":10029}},"10086":{},"10087":{"varMapping":{"__isSmartRef__":true,"id":10088},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":10089},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10088":{"this":{"__isSmartRef__":true,"id":10029}},"10089":{},"10090":{"varMapping":{"__isSmartRef__":true,"id":10091},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10092},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10091":{"this":{"__isSmartRef__":true,"id":10029}},"10092":{},"10093":{"_Position":{"__isSmartRef__":true,"id":10094},"renderContextTable":{"__isSmartRef__":true,"id":10095},"_Extent":{"__isSmartRef__":true,"id":10096},"_Padding":{"__isSmartRef__":true,"id":10097},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10094":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10095":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10096":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10097":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10098":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10099":{"morph":{"__isSmartRef__":true,"id":10028},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10100":{"layouter":{"__isSmartRef__":true,"id":10101},"resizeWidth":true},"10101":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":10028},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"10102":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10103":{"x":0,"y":40,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10104":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":10105}},"10105":{"varMapping":{"__isSmartRef__":true,"id":10106},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":10111},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10106":{"this":{"__isSmartRef__":true,"id":10028},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10107}},"10107":{"$super":{"__isSmartRef__":true,"id":10108}},"10108":{"varMapping":{"__isSmartRef__":true,"id":10109},"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":10110},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10109":{"obj":{"__isSmartRef__":true,"id":10028},"name":"getLayoutableSubmorphs"},"10110":{},"10111":{},"10112":{"submorphs":[{"__isSmartRef__":true,"id":10113}],"scripts":[],"shape":{"__isSmartRef__":true,"id":25279},"derivationIds":[null],"id":"F040104B-7BD6-435F-8AA3-A53E95AAA7F3","renderContextTable":{"__isSmartRef__":true,"id":25284},"eventHandler":{"__isSmartRef__":true,"id":25285},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":25286},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":25288},"owner":{"__isSmartRef__":true,"id":7003},"_Position":{"__isSmartRef__":true,"id":25289},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":25290},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10113":{"submorphs":[{"__isSmartRef__":true,"id":10114},{"__isSmartRef__":true,"id":10131}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10147},"derivationIds":[null],"id":"29282BD2-F007-4C1B-8A0F-DA598A8FF91B","renderContextTable":{"__isSmartRef__":true,"id":10152},"eventHandler":{"__isSmartRef__":true,"id":10153},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10154},"grabbingEnabled":false,"draggingEnabled":false,"data":[{"__isSmartRef__":true,"id":10155}],"propertyList":["0"],"level":1,"treeView":{"__isSmartRef__":true,"id":6903},"label":"withoutLayers","children":[],"parent":{"__isSmartRef__":true,"id":6906},"expander":{"__isSmartRef__":true,"id":10114},"text":{"__isSmartRef__":true,"id":10131},"owner":{"__isSmartRef__":true,"id":10112},"_Position":{"__isSmartRef__":true,"id":25257},"priorExtent":{"__isSmartRef__":true,"id":25258},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":25259},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10114":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10115},"derivationIds":[null],"id":"5A2CA85B-364D-43CA-8017-498560ABAB45","renderContextTable":{"__isSmartRef__":true,"id":10121},"eventHandler":{"__isSmartRef__":true,"id":10122},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":10123},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":10113},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10124},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"10115":{"_Position":{"__isSmartRef__":true,"id":10116},"renderContextTable":{"__isSmartRef__":true,"id":10117},"_Extent":{"__isSmartRef__":true,"id":10118},"_Padding":{"__isSmartRef__":true,"id":10119},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6913},"_Fill":{"__isSmartRef__":true,"id":10120},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10116":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10117":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10118":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10119":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10120":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10121":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10122":{"morph":{"__isSmartRef__":true,"id":10114},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10123":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10124":{"toggle":{"__isSmartRef__":true,"id":10125},"toggleExpansion":{"__isSmartRef__":true,"id":10128}},"10125":{"varMapping":{"__isSmartRef__":true,"id":10126},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":10127},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10126":{"this":{"__isSmartRef__":true,"id":10114}},"10127":{},"10128":{"varMapping":{"__isSmartRef__":true,"id":10129},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":10130},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10129":{"this":{"__isSmartRef__":true,"id":10114}},"10130":{},"10131":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10132},"derivationIds":[null],"id":"6DEA635E-76F4-4B9E-9289-1D85673014F1","renderContextTable":{"__isSmartRef__":true,"id":10136},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":10137},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":10138},{"__isSmartRef__":true,"id":10140}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":10142},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":10113},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10143},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10132":{"_Position":{"__isSmartRef__":true,"id":10133},"renderContextTable":{"__isSmartRef__":true,"id":10134},"_Extent":{"__isSmartRef__":true,"id":10135},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10133":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10134":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10135":{"x":116,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10136":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"10137":{"morph":{"__isSmartRef__":true,"id":10131},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10138":{"style":{"__isSmartRef__":true,"id":10139},"chunkOwner":{"__isSmartRef__":true,"id":10131},"storedString":"withoutLayers","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10139":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10140":{"style":{"__isSmartRef__":true,"id":10141},"chunkOwner":{"__isSmartRef__":true,"id":10131},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10141":{"color":{"__isSmartRef__":true,"id":6935},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10142":{"x":150,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10143":{"layoutText":{"__isSmartRef__":true,"id":10144}},"10144":{"varMapping":{"__isSmartRef__":true,"id":10145},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":10146},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10145":{"this":{"__isSmartRef__":true,"id":10131}},"10146":{},"10147":{"_Position":{"__isSmartRef__":true,"id":10148},"renderContextTable":{"__isSmartRef__":true,"id":10149},"_Extent":{"__isSmartRef__":true,"id":10150},"_Padding":{"__isSmartRef__":true,"id":10151},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10148":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10149":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10150":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10151":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10152":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10153":{"morph":{"__isSmartRef__":true,"id":10113},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10154":{"resizeWidth":true},"10155":{"7":{"__isSmartRef__":true,"id":10156},"8":{"__isSmartRef__":true,"id":18076},"name":"GrabbingLayer","namespaceName":"Global.lively.morphic","sourceModule":{"__isSmartRef__":true,"id":18118},"__LivelyClassName__":"Layer","__SourceModuleName__":"Global.cop.Layers"},"10156":{"_layered_object":{"__isSmartRef__":true,"id":10157}},"10157":{"style":{"__isSmartRef__":true,"id":10158},"isMorph":true,"idCounter":0,"htmlDispatchTable":{"__isSmartRef__":true,"id":10159},"svgDispatchTable":{"__isSmartRef__":true,"id":10160},"canvasDispatchTable":{"__isSmartRef__":true,"id":10161},"dragTriggerDistance":5,"connections":{"__isSmartRef__":true,"id":10162},"doNotSerialize":["_renderContext","halos","_isRendered","magnets"],"showsHalosOnRightClick":true,"_layer_object_id":7,"lookupLayersIn":["owner"],"_focusedMorph":{"__isSmartRef__":true,"id":10173},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10158":{"enableDropping":true,"enableHalos":true},"10159":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10160":{"replaceRenderContext":"replaceRenderContextSVG","init":"initSVG","append":"appendSVG","remove":"removeSVG","setPosition":"setPositionSVG","setRotation":"setRotationSVG","setPointerEvents":"setPointerEventsSVG","setHandStyle":"setHandStyleSVG"},"10161":{"init":"initCANVAS","append":"appendCANVAS","remove":"removeCANVAS","setPosition":"attributeChangedCANVAS"},"10162":{"name":{"__isSmartRef__":true,"id":10163},"position":{"__isSmartRef__":true,"id":10164},"rotation":{"__isSmartRef__":true,"id":10165},"scale":{"__isSmartRef__":true,"id":10166},"setScale":{"__isSmartRef__":true,"id":10167},"borderWidth":{"__isSmartRef__":true,"id":10168},"borderColor":{"__isSmartRef__":true,"id":10169},"fill":{"__isSmartRef__":true,"id":10170},"extent":{"__isSmartRef__":true,"id":10171},"globalTransform":{"__isSmartRef__":true,"id":10172}},"10163":{},"10164":{"map":"_Position"},"10165":{"map":"_Rotation"},"10166":{"map":"_Scale"},"10167":{},"10168":{"map":"shape._BorderWidth"},"10169":{"map":"shape._BorderColor"},"10170":{"map":"shape._Fill"},"10171":{"map":"shape._Extent"},"10172":{"connectionClassType":"lively.morphic.GeometryTransformConnection"},"10173":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10174},"id":"6E147213-AD6C-424C-88EA-D4C48C91E590","renderContextTable":{"__isSmartRef__":true,"id":10181},"textChunks":[{"__isSmartRef__":true,"id":10182}],"eventHandler":{"__isSmartRef__":true,"id":10184},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"auto","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":10185},"priorExtent":{"__isSmartRef__":true,"id":10186},"_MaxTextWidth":493.8398611920343,"_MinTextWidth":493.8398611920343,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"layout":{"__isSmartRef__":true,"id":10187},"doitContext":{"__isSmartRef__":true,"id":1337},"charsReplaced":"this.allowInput = false","lastFindLoc":23,"__SourceModuleName__":"Global.lively.morphic.TextCore","prevScroll":[0,0],"isBeingDragged":false,"showsHalos":false,"name":"Workspace","owner":{"__isSmartRef__":true,"id":10188},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"distanceToDragEvent":{"__isSmartRef__":true,"id":18068},"isCopyMorphRef":true,"morphRefId":1,"scriptAnnotations":{"__isSmartRef__":true,"id":18069},"lastDragTime":1317079672221,"derivationIds":[372,"3BBD270B-A828-436A-915C-D23688CF2067","D0890AA7-6E65-4B35-9600-1AD66DF96797","243534E4-AE49-45EC-9DB9-384D7DE4B994","251CC01A-7FDF-4357-9313-99DE732BDF7B","49FB5C89-127F-411D-9E7D-74274AFC6322","4BCE87D8-39F3-4B7F-A78F-10398B72A854"],"_Rotation":0,"_Scale":1,"priorSelectionRange":[0,0],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":18072},"__LivelyClassName__":"lively.morphic.Text"},"10174":{"_Position":{"__isSmartRef__":true,"id":10175},"renderContextTable":{"__isSmartRef__":true,"id":10176},"_Extent":{"__isSmartRef__":true,"id":10177},"_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":10178},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10179},"_Fill":{"__isSmartRef__":true,"id":10180},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":4,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"10175":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"10176":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10177":{"x":498.8398611920343,"y":81.00200300400502,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10178":{"x":3,"y":3,"width":-3,"height":-3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"10179":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"10180":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10181":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"10182":{"style":{"__isSmartRef__":true,"id":10183},"chunkOwner":{"__isSmartRef__":true,"id":10173},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10183":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10184":{"morph":{"__isSmartRef__":true,"id":10173},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"10185":{"x":10,"y":325.4698859496224,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10186":{"x":498.8398611920343,"y":81.00200300400502,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10187":{"resizeWidth":true,"resizeHeight":false,"moveVertical":true,"adjustForNewBounds":true},"10188":{"submorphs":[{"__isSmartRef__":true,"id":10189},{"__isSmartRef__":true,"id":10173}],"scripts":[],"id":"65300C8C-0D4F-43E3-862E-F14F0C5D73B0","shape":{"__isSmartRef__":true,"id":17773},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":17780},"showsHalos":false,"name":"ExplorerPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":17781},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":17784},"eventHandler":{"__isSmartRef__":true,"id":17785},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":17786},"priorExtent":{"__isSmartRef__":true,"id":18047},"distanceToDragEvent":{"__isSmartRef__":true,"id":18048},"layout":{"__isSmartRef__":true,"id":18049},"workspace":{"__isSmartRef__":true,"id":10173},"treeView":{"__isSmartRef__":true,"id":10189},"focusedNode":{"__isSmartRef__":true,"id":12850},"isInLayoutCycle":false,"prevScroll":[0,0],"derivationIds":[370,"19EB328E-FFB1-41CD-B181-A60FCF27908C","D1C1A399-6222-405C-A922-2ADD2DFBFB56","F7B66347-DB63-470F-8ABC-5C342E31BC5E","7A83A60F-0956-4BD5-AFDB-B7CFECEF9E30","D14B60A2-D449-4E15-8A1B-EADF6D8A988B","9AA7774E-2D58-467B-986D-947454B915CA"],"_Rotation":0,"_Scale":1,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":18051},"__LivelyClassName__":"lively.morphic.Box"},"10189":{"submorphs":[{"__isSmartRef__":true,"id":10190}],"scripts":[{"__isSmartRef__":true,"id":17692}],"id":"91328F7D-3EBA-4B62-B3EE-E4C132C22166","shape":{"__isSmartRef__":true,"id":17693},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":17699},"showsHalos":false,"name":"TreeView","partsBinMetaInfo":{"__isSmartRef__":true,"id":17700},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":17701},"eventHandler":{"__isSmartRef__":true,"id":17702},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"priorExtent":{"__isSmartRef__":true,"id":17703},"layout":{"__isSmartRef__":true,"id":17704},"isInLayoutCycle":false,"isCopyMorphRef":true,"morphRefId":1,"isBeingDragged":false,"owner":{"__isSmartRef__":true,"id":10188},"distanceToDragEvent":{"__isSmartRef__":true,"id":17706},"colors":{"__isSmartRef__":true,"id":17707},"fonts":{"__isSmartRef__":true,"id":17708},"sizes":{"__isSmartRef__":true,"id":17709},"rootNode":{"__isSmartRef__":true,"id":10192},"prevScroll":[0,0],"derivationIds":[371,"5F72E9BF-51FA-45DD-9F01-ADDC32FBF64C","4B46569F-B458-41CF-846F-31DB325C55FE","BC2E4190-4592-4E2C-8644-51CA0FC16963","DBB73829-F82D-45F0-8499-2332C8C0487E","78E2B139-F388-4299-A7CC-0964C21003A4","F124DD76-61DA-471A-A1DA-D01C9F74D5C3"],"_Rotation":0,"_Scale":1,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17714},"__LivelyClassName__":"lively.morphic.Box"},"10190":{"submorphs":[{"__isSmartRef__":true,"id":10191}],"scripts":[],"shape":{"__isSmartRef__":true,"id":17674},"derivationIds":[null],"id":"545CC1E6-F10D-4894-91DF-0834CD2DEB94","renderContextTable":{"__isSmartRef__":true,"id":17679},"eventHandler":{"__isSmartRef__":true,"id":17680},"_ClipMode":"scroll","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":17681},"layout":{"__isSmartRef__":true,"id":17682},"grabbingEnabled":false,"draggingEnabled":false,"name":"TreeViewScrollPane","owner":{"__isSmartRef__":true,"id":10189},"priorExtent":{"__isSmartRef__":true,"id":17683},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17684},"__LivelyClassName__":"lively.morphic.Clip","__SourceModuleName__":"Global.lively.morphic.Core"},"10191":{"submorphs":[{"__isSmartRef__":true,"id":10192},{"__isSmartRef__":true,"id":10287}],"scripts":[],"shape":{"__isSmartRef__":true,"id":17656},"derivationIds":[null],"id":"CBFE7F09-8D12-4152-8649-98D2BF740DC5","renderContextTable":{"__isSmartRef__":true,"id":17661},"eventHandler":{"__isSmartRef__":true,"id":17662},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":17663},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":17665},"owner":{"__isSmartRef__":true,"id":10190},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17666},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10192":{"submorphs":[{"__isSmartRef__":true,"id":10193},{"__isSmartRef__":true,"id":10210}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10227},"derivationIds":[null],"id":"E43064D1-97E9-440D-B694-5D5BAD824714","renderContextTable":{"__isSmartRef__":true,"id":10232},"eventHandler":{"__isSmartRef__":true,"id":10233},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10234},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1352},"propertyList":["submorphs","scripts","id","shape","droppingEnabled","halosEnabled","registeredForMouseEvents","_Position","showsHalos","name","partsBinMetaInfo","__SourceModuleName__","renderContextTable","eventHandler","attributeConnections","doNotSerialize","doNotCopyProperties","derivationIds","owner","priorExtent","isBeingDragged","distanceToDragEvent","prevScroll","lastTimeClickedOnIpad","layout","isLockOwner","_ClipMode","_renderContext","_isRendered","halos","_Rotation","_Scale"],"level":0,"treeView":{"__isSmartRef__":true,"id":10189},"label":"Properties","children":[{"__isSmartRef__":true,"id":10235},{"__isSmartRef__":true,"id":10289},{"__isSmartRef__":true,"id":10373},{"__isSmartRef__":true,"id":10457},{"__isSmartRef__":true,"id":10541},{"__isSmartRef__":true,"id":10625},{"__isSmartRef__":true,"id":10709},{"__isSmartRef__":true,"id":10794},{"__isSmartRef__":true,"id":10878},{"__isSmartRef__":true,"id":10962},{"__isSmartRef__":true,"id":11046},{"__isSmartRef__":true,"id":11130},{"__isSmartRef__":true,"id":11214},{"__isSmartRef__":true,"id":11298},{"__isSmartRef__":true,"id":11382},{"__isSmartRef__":true,"id":11465},{"__isSmartRef__":true,"id":11549},{"__isSmartRef__":true,"id":11633},{"__isSmartRef__":true,"id":11717},{"__isSmartRef__":true,"id":11801},{"__isSmartRef__":true,"id":11885},{"__isSmartRef__":true,"id":11969},{"__isSmartRef__":true,"id":12053},{"__isSmartRef__":true,"id":12137},{"__isSmartRef__":true,"id":12221},{"__isSmartRef__":true,"id":12305},{"__isSmartRef__":true,"id":12389},{"__isSmartRef__":true,"id":12473},{"__isSmartRef__":true,"id":12557},{"__isSmartRef__":true,"id":12641},{"__isSmartRef__":true,"id":12725},{"__isSmartRef__":true,"id":12809}],"parent":null,"expander":{"__isSmartRef__":true,"id":10193},"text":{"__isSmartRef__":true,"id":10210},"owner":{"__isSmartRef__":true,"id":10191},"_Position":{"__isSmartRef__":true,"id":17634},"priorExtent":{"__isSmartRef__":true,"id":17635},"_Rotation":0,"_Scale":1.0141055623885957,"childrenWrapper":{"__isSmartRef__":true,"id":10287},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17636},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10193":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10194},"derivationIds":[null],"id":"89D7183A-478F-4C85-8449-7D24AA23CA93","renderContextTable":{"__isSmartRef__":true,"id":10200},"eventHandler":{"__isSmartRef__":true,"id":10201},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":10202},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":true,"owner":{"__isSmartRef__":true,"id":10192},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10203},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"10194":{"_Position":{"__isSmartRef__":true,"id":10195},"renderContextTable":{"__isSmartRef__":true,"id":10196},"_Extent":{"__isSmartRef__":true,"id":10197},"_Padding":{"__isSmartRef__":true,"id":10198},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":6759},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10195":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10196":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10197":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10198":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10199":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10200":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10201":{"morph":{"__isSmartRef__":true,"id":10193},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10202":{"x":8,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10203":{"toggle":{"__isSmartRef__":true,"id":10204},"toggleExpansion":{"__isSmartRef__":true,"id":10207}},"10204":{"varMapping":{"__isSmartRef__":true,"id":10205},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":10206},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10205":{"this":{"__isSmartRef__":true,"id":10193}},"10206":{},"10207":{"varMapping":{"__isSmartRef__":true,"id":10208},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":10209},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10208":{"this":{"__isSmartRef__":true,"id":10193}},"10209":{},"10210":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10211},"derivationIds":[null],"id":"E749E123-398B-4580-ADF0-AE365E34DBD4","renderContextTable":{"__isSmartRef__":true,"id":10215},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":10216},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":10217},{"__isSmartRef__":true,"id":10219}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":10222},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":10192},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10223},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10211":{"_Position":{"__isSmartRef__":true,"id":10212},"renderContextTable":{"__isSmartRef__":true,"id":10213},"_Extent":{"__isSmartRef__":true,"id":10214},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10212":{"x":18,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10213":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10214":{"x":116,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10215":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"10216":{"morph":{"__isSmartRef__":true,"id":10210},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10217":{"style":{"__isSmartRef__":true,"id":10218},"chunkOwner":{"__isSmartRef__":true,"id":10210},"storedString":"Properties","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10218":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10219":{"style":{"__isSmartRef__":true,"id":10220},"chunkOwner":{"__isSmartRef__":true,"id":10210},"storedString":": Header","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10220":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10221":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10222":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10223":{"layoutText":{"__isSmartRef__":true,"id":10224}},"10224":{"varMapping":{"__isSmartRef__":true,"id":10225},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":10226},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10225":{"this":{"__isSmartRef__":true,"id":10210}},"10226":{},"10227":{"_Position":{"__isSmartRef__":true,"id":10228},"renderContextTable":{"__isSmartRef__":true,"id":10229},"_Extent":{"__isSmartRef__":true,"id":10230},"_Padding":{"__isSmartRef__":true,"id":10231},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10228":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10229":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10230":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10231":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10232":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10233":{"morph":{"__isSmartRef__":true,"id":10192},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10234":{"resizeWidth":true},"10235":{"submorphs":[{"__isSmartRef__":true,"id":10236},{"__isSmartRef__":true,"id":10252}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10268},"derivationIds":[null],"id":"618068DC-BD81-456C-A63E-80F1840624B5","renderContextTable":{"__isSmartRef__":true,"id":10273},"eventHandler":{"__isSmartRef__":true,"id":10274},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10275},"grabbingEnabled":false,"draggingEnabled":false,"data":"visible","propertyList":["0","1","2","3","4","5","6"],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"_ClipMode","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":10236},"text":{"__isSmartRef__":true,"id":10252},"owner":{"__isSmartRef__":true,"id":10276},"_Position":{"__isSmartRef__":true,"id":17612},"priorExtent":{"__isSmartRef__":true,"id":17613},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17614},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10236":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10237},"derivationIds":[null],"id":"51646DE6-4271-4987-9E29-425006AF2E45","renderContextTable":{"__isSmartRef__":true,"id":10242},"eventHandler":{"__isSmartRef__":true,"id":10243},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":10244},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":10235},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10245},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"10237":{"_Position":{"__isSmartRef__":true,"id":10238},"renderContextTable":{"__isSmartRef__":true,"id":10239},"_Extent":{"__isSmartRef__":true,"id":10240},"_Padding":{"__isSmartRef__":true,"id":10241},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":6759},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10238":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10239":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10240":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10241":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10242":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10243":{"morph":{"__isSmartRef__":true,"id":10236},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10244":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10245":{"toggle":{"__isSmartRef__":true,"id":10246},"toggleExpansion":{"__isSmartRef__":true,"id":10249}},"10246":{"varMapping":{"__isSmartRef__":true,"id":10247},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":10248},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10247":{"this":{"__isSmartRef__":true,"id":10236}},"10248":{},"10249":{"varMapping":{"__isSmartRef__":true,"id":10250},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":10251},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10250":{"this":{"__isSmartRef__":true,"id":10236}},"10251":{},"10252":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10253},"derivationIds":[null],"id":"E3B22DB8-C6EA-466C-9F55-DE8D49365C1A","renderContextTable":{"__isSmartRef__":true,"id":10257},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":10258},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":10259},{"__isSmartRef__":true,"id":10261}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":10263},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":10235},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10264},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10253":{"_Position":{"__isSmartRef__":true,"id":10254},"renderContextTable":{"__isSmartRef__":true,"id":10255},"_Extent":{"__isSmartRef__":true,"id":10256},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10254":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10255":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10256":{"x":114,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10257":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"10258":{"morph":{"__isSmartRef__":true,"id":10252},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10259":{"style":{"__isSmartRef__":true,"id":10260},"chunkOwner":{"__isSmartRef__":true,"id":10252},"storedString":"_ClipMode","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10260":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10261":{"style":{"__isSmartRef__":true,"id":10262},"chunkOwner":{"__isSmartRef__":true,"id":10252},"storedString":": visible","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10262":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10263":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10264":{"layoutText":{"__isSmartRef__":true,"id":10265}},"10265":{"varMapping":{"__isSmartRef__":true,"id":10266},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":10267},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10266":{"this":{"__isSmartRef__":true,"id":10252}},"10267":{},"10268":{"_Position":{"__isSmartRef__":true,"id":10269},"renderContextTable":{"__isSmartRef__":true,"id":10270},"_Extent":{"__isSmartRef__":true,"id":10271},"_Padding":{"__isSmartRef__":true,"id":10272},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10269":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10270":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10271":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10272":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10273":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10274":{"morph":{"__isSmartRef__":true,"id":10235},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10275":{"resizeWidth":true},"10276":{"submorphs":[{"__isSmartRef__":true,"id":10235}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10277},"derivationIds":[null],"id":"DC886BE1-FF68-4D12-820B-E45D8B47C3D7","renderContextTable":{"__isSmartRef__":true,"id":10282},"eventHandler":{"__isSmartRef__":true,"id":10283},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10284},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":10286},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":17603},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17604},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10277":{"_Position":{"__isSmartRef__":true,"id":10278},"renderContextTable":{"__isSmartRef__":true,"id":10279},"_Extent":{"__isSmartRef__":true,"id":10280},"_Padding":{"__isSmartRef__":true,"id":10281},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10278":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10279":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10280":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10281":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10282":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10283":{"morph":{"__isSmartRef__":true,"id":10276},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10284":{"layouter":{"__isSmartRef__":true,"id":10285},"resizeWidth":true},"10285":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":10276},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"10286":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10287":{"submorphs":[{"__isSmartRef__":true,"id":10276},{"__isSmartRef__":true,"id":10288},{"__isSmartRef__":true,"id":10372},{"__isSmartRef__":true,"id":10456},{"__isSmartRef__":true,"id":10540},{"__isSmartRef__":true,"id":10624},{"__isSmartRef__":true,"id":10708},{"__isSmartRef__":true,"id":10793},{"__isSmartRef__":true,"id":10877},{"__isSmartRef__":true,"id":10961},{"__isSmartRef__":true,"id":11045},{"__isSmartRef__":true,"id":11129},{"__isSmartRef__":true,"id":11213},{"__isSmartRef__":true,"id":11297},{"__isSmartRef__":true,"id":11381},{"__isSmartRef__":true,"id":11464},{"__isSmartRef__":true,"id":11548},{"__isSmartRef__":true,"id":11632},{"__isSmartRef__":true,"id":11716},{"__isSmartRef__":true,"id":11800},{"__isSmartRef__":true,"id":11884},{"__isSmartRef__":true,"id":11968},{"__isSmartRef__":true,"id":12052},{"__isSmartRef__":true,"id":12136},{"__isSmartRef__":true,"id":12220},{"__isSmartRef__":true,"id":12304},{"__isSmartRef__":true,"id":12388},{"__isSmartRef__":true,"id":12472},{"__isSmartRef__":true,"id":12556},{"__isSmartRef__":true,"id":12640},{"__isSmartRef__":true,"id":12724},{"__isSmartRef__":true,"id":12808}],"scripts":[],"shape":{"__isSmartRef__":true,"id":17581},"derivationIds":[null],"id":"9AA467DC-C6C5-4FA2-8AC9-BB87D7105B69","renderContextTable":{"__isSmartRef__":true,"id":17586},"eventHandler":{"__isSmartRef__":true,"id":17587},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":17588},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":17590},"owner":{"__isSmartRef__":true,"id":10191},"_Position":{"__isSmartRef__":true,"id":17591},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17592},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10288":{"submorphs":[{"__isSmartRef__":true,"id":10289}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10353},"derivationIds":[null],"id":"261EC0D1-E441-4C50-87F1-D810CB540A7A","renderContextTable":{"__isSmartRef__":true,"id":10358},"eventHandler":{"__isSmartRef__":true,"id":10359},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10360},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":10362},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":10363},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10364},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10289":{"submorphs":[{"__isSmartRef__":true,"id":10290},{"__isSmartRef__":true,"id":10307}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10323},"derivationIds":[null],"id":"82328E92-C924-4FD2-9011-716007361D94","renderContextTable":{"__isSmartRef__":true,"id":10328},"eventHandler":{"__isSmartRef__":true,"id":10329},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10330},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1367},"propertyList":["x","y","__SourceModuleName__"],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"_Position","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":10290},"text":{"__isSmartRef__":true,"id":10307},"owner":{"__isSmartRef__":true,"id":10288},"_Position":{"__isSmartRef__":true,"id":10331},"priorExtent":{"__isSmartRef__":true,"id":10332},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10333},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10290":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10291},"derivationIds":[null],"id":"738ACCC8-199B-4F93-97DB-779DBA72D8BC","renderContextTable":{"__isSmartRef__":true,"id":10297},"eventHandler":{"__isSmartRef__":true,"id":10298},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":10299},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":10289},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10300},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"10291":{"_Position":{"__isSmartRef__":true,"id":10292},"renderContextTable":{"__isSmartRef__":true,"id":10293},"_Extent":{"__isSmartRef__":true,"id":10294},"_Padding":{"__isSmartRef__":true,"id":10295},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":10296},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10292":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10293":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10294":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10295":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10296":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10297":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10298":{"morph":{"__isSmartRef__":true,"id":10290},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10299":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10300":{"toggle":{"__isSmartRef__":true,"id":10301},"toggleExpansion":{"__isSmartRef__":true,"id":10304}},"10301":{"varMapping":{"__isSmartRef__":true,"id":10302},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":10303},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10302":{"this":{"__isSmartRef__":true,"id":10290}},"10303":{},"10304":{"varMapping":{"__isSmartRef__":true,"id":10305},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":10306},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10305":{"this":{"__isSmartRef__":true,"id":10290}},"10306":{},"10307":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10308},"derivationIds":[null],"id":"0AF64B6E-D45D-4F04-9C0D-25980B1EE4D9","renderContextTable":{"__isSmartRef__":true,"id":10312},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":10313},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":10314},{"__isSmartRef__":true,"id":10316}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":10318},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":10289},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10319},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10308":{"_Position":{"__isSmartRef__":true,"id":10309},"renderContextTable":{"__isSmartRef__":true,"id":10310},"_Extent":{"__isSmartRef__":true,"id":10311},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10309":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10310":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10311":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10312":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"10313":{"morph":{"__isSmartRef__":true,"id":10307},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10314":{"style":{"__isSmartRef__":true,"id":10315},"chunkOwner":{"__isSmartRef__":true,"id":10307},"storedString":"_Position","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10315":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10316":{"style":{"__isSmartRef__":true,"id":10317},"chunkOwner":{"__isSmartRef__":true,"id":10307},"storedString":": Point","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10317":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10318":{"x":120,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10319":{"layoutText":{"__isSmartRef__":true,"id":10320}},"10320":{"varMapping":{"__isSmartRef__":true,"id":10321},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":10322},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10321":{"this":{"__isSmartRef__":true,"id":10307}},"10322":{},"10323":{"_Position":{"__isSmartRef__":true,"id":10324},"renderContextTable":{"__isSmartRef__":true,"id":10325},"_Extent":{"__isSmartRef__":true,"id":10326},"_Padding":{"__isSmartRef__":true,"id":10327},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10324":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10325":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10326":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10327":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10328":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10329":{"morph":{"__isSmartRef__":true,"id":10289},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10330":{"resizeWidth":true},"10331":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10332":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10333":{"updateExpanderColor":{"__isSmartRef__":true,"id":10334},"onMouseDown":{"__isSmartRef__":true,"id":10337},"isRoot":{"__isSmartRef__":true,"id":10344},"displayValue":{"__isSmartRef__":true,"id":10347},"update":{"__isSmartRef__":true,"id":10350}},"10334":{"varMapping":{"__isSmartRef__":true,"id":10335},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":10336},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10335":{"this":{"__isSmartRef__":true,"id":10289}},"10336":{},"10337":{"varMapping":{"__isSmartRef__":true,"id":10338},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":10343},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10338":{"this":{"__isSmartRef__":true,"id":10289},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10339}},"10339":{"$super":{"__isSmartRef__":true,"id":10340}},"10340":{"varMapping":{"__isSmartRef__":true,"id":10341},"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":10342},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10341":{"obj":{"__isSmartRef__":true,"id":10289},"name":"onMouseDown"},"10342":{},"10343":{},"10344":{"varMapping":{"__isSmartRef__":true,"id":10345},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":10346},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10345":{"this":{"__isSmartRef__":true,"id":10289}},"10346":{},"10347":{"varMapping":{"__isSmartRef__":true,"id":10348},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":10349},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10348":{"this":{"__isSmartRef__":true,"id":10289}},"10349":{},"10350":{"varMapping":{"__isSmartRef__":true,"id":10351},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10352},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10351":{"this":{"__isSmartRef__":true,"id":10289}},"10352":{},"10353":{"_Position":{"__isSmartRef__":true,"id":10354},"renderContextTable":{"__isSmartRef__":true,"id":10355},"_Extent":{"__isSmartRef__":true,"id":10356},"_Padding":{"__isSmartRef__":true,"id":10357},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10354":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10355":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10356":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10357":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10358":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10359":{"morph":{"__isSmartRef__":true,"id":10288},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10360":{"layouter":{"__isSmartRef__":true,"id":10361},"resizeWidth":true},"10361":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":10288},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"10362":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10363":{"x":0,"y":640,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10364":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":10365}},"10365":{"varMapping":{"__isSmartRef__":true,"id":10366},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":10371},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10366":{"this":{"__isSmartRef__":true,"id":10288},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10367}},"10367":{"$super":{"__isSmartRef__":true,"id":10368}},"10368":{"varMapping":{"__isSmartRef__":true,"id":10369},"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":10370},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10369":{"obj":{"__isSmartRef__":true,"id":10288},"name":"getLayoutableSubmorphs"},"10370":{},"10371":{},"10372":{"submorphs":[{"__isSmartRef__":true,"id":10373}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10437},"derivationIds":[null],"id":"0725654A-77AC-4ED2-B047-0841BF795C37","renderContextTable":{"__isSmartRef__":true,"id":10442},"eventHandler":{"__isSmartRef__":true,"id":10443},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10444},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":10446},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":10447},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10448},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10373":{"submorphs":[{"__isSmartRef__":true,"id":10374},{"__isSmartRef__":true,"id":10391}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10407},"derivationIds":[null],"id":"FCCFCE6B-283F-44C5-ACA2-2B6174CBF26A","renderContextTable":{"__isSmartRef__":true,"id":10412},"eventHandler":{"__isSmartRef__":true,"id":10413},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10414},"grabbingEnabled":false,"draggingEnabled":false,"data":0,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"_Rotation","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":10374},"text":{"__isSmartRef__":true,"id":10391},"owner":{"__isSmartRef__":true,"id":10372},"_Position":{"__isSmartRef__":true,"id":10415},"priorExtent":{"__isSmartRef__":true,"id":10416},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10417},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10374":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10375},"derivationIds":[null],"id":"1FCB6995-8AF1-42EA-94F9-A5FE7E9AC6F2","renderContextTable":{"__isSmartRef__":true,"id":10381},"eventHandler":{"__isSmartRef__":true,"id":10382},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":10383},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":10373},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10384},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"10375":{"_Position":{"__isSmartRef__":true,"id":10376},"renderContextTable":{"__isSmartRef__":true,"id":10377},"_Extent":{"__isSmartRef__":true,"id":10378},"_Padding":{"__isSmartRef__":true,"id":10379},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":10380},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10376":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10377":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10378":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10379":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10380":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10381":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10382":{"morph":{"__isSmartRef__":true,"id":10374},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10383":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10384":{"toggle":{"__isSmartRef__":true,"id":10385},"toggleExpansion":{"__isSmartRef__":true,"id":10388}},"10385":{"varMapping":{"__isSmartRef__":true,"id":10386},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":10387},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10386":{"this":{"__isSmartRef__":true,"id":10374}},"10387":{},"10388":{"varMapping":{"__isSmartRef__":true,"id":10389},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":10390},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10389":{"this":{"__isSmartRef__":true,"id":10374}},"10390":{},"10391":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10392},"derivationIds":[null],"id":"40E57A37-D5CF-4256-9F88-7ED1BA741E79","renderContextTable":{"__isSmartRef__":true,"id":10396},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":10397},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":10398},{"__isSmartRef__":true,"id":10400}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":10402},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":10373},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10403},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10392":{"_Position":{"__isSmartRef__":true,"id":10393},"renderContextTable":{"__isSmartRef__":true,"id":10394},"_Extent":{"__isSmartRef__":true,"id":10395},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10393":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10394":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10395":{"x":78,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10396":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"10397":{"morph":{"__isSmartRef__":true,"id":10391},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10398":{"style":{"__isSmartRef__":true,"id":10399},"chunkOwner":{"__isSmartRef__":true,"id":10391},"storedString":"_Rotation","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10399":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10400":{"style":{"__isSmartRef__":true,"id":10401},"chunkOwner":{"__isSmartRef__":true,"id":10391},"storedString":": 0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10401":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10402":{"x":90,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10403":{"layoutText":{"__isSmartRef__":true,"id":10404}},"10404":{"varMapping":{"__isSmartRef__":true,"id":10405},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":10406},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10405":{"this":{"__isSmartRef__":true,"id":10391}},"10406":{},"10407":{"_Position":{"__isSmartRef__":true,"id":10408},"renderContextTable":{"__isSmartRef__":true,"id":10409},"_Extent":{"__isSmartRef__":true,"id":10410},"_Padding":{"__isSmartRef__":true,"id":10411},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10408":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10409":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10410":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10411":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10412":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10413":{"morph":{"__isSmartRef__":true,"id":10373},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10414":{"resizeWidth":true},"10415":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10416":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10417":{"updateExpanderColor":{"__isSmartRef__":true,"id":10418},"onMouseDown":{"__isSmartRef__":true,"id":10421},"isRoot":{"__isSmartRef__":true,"id":10428},"displayValue":{"__isSmartRef__":true,"id":10431},"update":{"__isSmartRef__":true,"id":10434}},"10418":{"varMapping":{"__isSmartRef__":true,"id":10419},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":10420},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10419":{"this":{"__isSmartRef__":true,"id":10373}},"10420":{},"10421":{"varMapping":{"__isSmartRef__":true,"id":10422},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":10427},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10422":{"this":{"__isSmartRef__":true,"id":10373},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10423}},"10423":{"$super":{"__isSmartRef__":true,"id":10424}},"10424":{"varMapping":{"__isSmartRef__":true,"id":10425},"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":10426},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10425":{"obj":{"__isSmartRef__":true,"id":10373},"name":"onMouseDown"},"10426":{},"10427":{},"10428":{"varMapping":{"__isSmartRef__":true,"id":10429},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":10430},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10429":{"this":{"__isSmartRef__":true,"id":10373}},"10430":{},"10431":{"varMapping":{"__isSmartRef__":true,"id":10432},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":10433},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10432":{"this":{"__isSmartRef__":true,"id":10373}},"10433":{},"10434":{"varMapping":{"__isSmartRef__":true,"id":10435},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10436},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10435":{"this":{"__isSmartRef__":true,"id":10373}},"10436":{},"10437":{"_Position":{"__isSmartRef__":true,"id":10438},"renderContextTable":{"__isSmartRef__":true,"id":10439},"_Extent":{"__isSmartRef__":true,"id":10440},"_Padding":{"__isSmartRef__":true,"id":10441},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10438":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10439":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10440":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10441":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10442":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10443":{"morph":{"__isSmartRef__":true,"id":10372},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10444":{"layouter":{"__isSmartRef__":true,"id":10445},"resizeWidth":true},"10445":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":10372},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"10446":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10447":{"x":0,"y":620,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10448":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":10449}},"10449":{"varMapping":{"__isSmartRef__":true,"id":10450},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":10455},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10450":{"this":{"__isSmartRef__":true,"id":10372},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10451}},"10451":{"$super":{"__isSmartRef__":true,"id":10452}},"10452":{"varMapping":{"__isSmartRef__":true,"id":10453},"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":10454},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10453":{"obj":{"__isSmartRef__":true,"id":10372},"name":"getLayoutableSubmorphs"},"10454":{},"10455":{},"10456":{"submorphs":[{"__isSmartRef__":true,"id":10457}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10521},"derivationIds":[null],"id":"87B99A35-437D-4966-A704-8626B792A7EE","renderContextTable":{"__isSmartRef__":true,"id":10526},"eventHandler":{"__isSmartRef__":true,"id":10527},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10528},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":10530},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":10531},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10532},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10457":{"submorphs":[{"__isSmartRef__":true,"id":10458},{"__isSmartRef__":true,"id":10475}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10491},"derivationIds":[null],"id":"94D5384D-8943-4157-9A62-D78E144666B9","renderContextTable":{"__isSmartRef__":true,"id":10496},"eventHandler":{"__isSmartRef__":true,"id":10497},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10498},"grabbingEnabled":false,"draggingEnabled":false,"data":1,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"_Scale","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":10458},"text":{"__isSmartRef__":true,"id":10475},"owner":{"__isSmartRef__":true,"id":10456},"_Position":{"__isSmartRef__":true,"id":10499},"priorExtent":{"__isSmartRef__":true,"id":10500},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10501},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10458":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10459},"derivationIds":[null],"id":"948366B0-D112-47BF-AA73-01871C7FEA49","renderContextTable":{"__isSmartRef__":true,"id":10465},"eventHandler":{"__isSmartRef__":true,"id":10466},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":10467},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":10457},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10468},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"10459":{"_Position":{"__isSmartRef__":true,"id":10460},"renderContextTable":{"__isSmartRef__":true,"id":10461},"_Extent":{"__isSmartRef__":true,"id":10462},"_Padding":{"__isSmartRef__":true,"id":10463},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":10464},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10460":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10461":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10462":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10463":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10464":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10465":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10466":{"morph":{"__isSmartRef__":true,"id":10458},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10467":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10468":{"toggle":{"__isSmartRef__":true,"id":10469},"toggleExpansion":{"__isSmartRef__":true,"id":10472}},"10469":{"varMapping":{"__isSmartRef__":true,"id":10470},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":10471},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10470":{"this":{"__isSmartRef__":true,"id":10458}},"10471":{},"10472":{"varMapping":{"__isSmartRef__":true,"id":10473},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":10474},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10473":{"this":{"__isSmartRef__":true,"id":10458}},"10474":{},"10475":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10476},"derivationIds":[null],"id":"D46D42D6-103F-4A3E-AF81-8B2A0BAAF4E8","renderContextTable":{"__isSmartRef__":true,"id":10480},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":10481},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":10482},{"__isSmartRef__":true,"id":10484}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":10486},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":10457},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10487},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10476":{"_Position":{"__isSmartRef__":true,"id":10477},"renderContextTable":{"__isSmartRef__":true,"id":10478},"_Extent":{"__isSmartRef__":true,"id":10479},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10477":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10478":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10479":{"x":63,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10480":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"10481":{"morph":{"__isSmartRef__":true,"id":10475},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10482":{"style":{"__isSmartRef__":true,"id":10483},"chunkOwner":{"__isSmartRef__":true,"id":10475},"storedString":"_Scale","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10483":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10484":{"style":{"__isSmartRef__":true,"id":10485},"chunkOwner":{"__isSmartRef__":true,"id":10475},"storedString":": 1","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10485":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10486":{"x":67.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10487":{"layoutText":{"__isSmartRef__":true,"id":10488}},"10488":{"varMapping":{"__isSmartRef__":true,"id":10489},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":10490},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10489":{"this":{"__isSmartRef__":true,"id":10475}},"10490":{},"10491":{"_Position":{"__isSmartRef__":true,"id":10492},"renderContextTable":{"__isSmartRef__":true,"id":10493},"_Extent":{"__isSmartRef__":true,"id":10494},"_Padding":{"__isSmartRef__":true,"id":10495},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10492":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10493":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10494":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10495":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10496":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10497":{"morph":{"__isSmartRef__":true,"id":10457},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10498":{"resizeWidth":true},"10499":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10500":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10501":{"updateExpanderColor":{"__isSmartRef__":true,"id":10502},"onMouseDown":{"__isSmartRef__":true,"id":10505},"isRoot":{"__isSmartRef__":true,"id":10512},"displayValue":{"__isSmartRef__":true,"id":10515},"update":{"__isSmartRef__":true,"id":10518}},"10502":{"varMapping":{"__isSmartRef__":true,"id":10503},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":10504},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10503":{"this":{"__isSmartRef__":true,"id":10457}},"10504":{},"10505":{"varMapping":{"__isSmartRef__":true,"id":10506},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":10511},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10506":{"this":{"__isSmartRef__":true,"id":10457},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10507}},"10507":{"$super":{"__isSmartRef__":true,"id":10508}},"10508":{"varMapping":{"__isSmartRef__":true,"id":10509},"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":10510},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10509":{"obj":{"__isSmartRef__":true,"id":10457},"name":"onMouseDown"},"10510":{},"10511":{},"10512":{"varMapping":{"__isSmartRef__":true,"id":10513},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":10514},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10513":{"this":{"__isSmartRef__":true,"id":10457}},"10514":{},"10515":{"varMapping":{"__isSmartRef__":true,"id":10516},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":10517},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10516":{"this":{"__isSmartRef__":true,"id":10457}},"10517":{},"10518":{"varMapping":{"__isSmartRef__":true,"id":10519},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10520},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10519":{"this":{"__isSmartRef__":true,"id":10457}},"10520":{},"10521":{"_Position":{"__isSmartRef__":true,"id":10522},"renderContextTable":{"__isSmartRef__":true,"id":10523},"_Extent":{"__isSmartRef__":true,"id":10524},"_Padding":{"__isSmartRef__":true,"id":10525},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10522":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10523":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10524":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10525":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10526":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10527":{"morph":{"__isSmartRef__":true,"id":10456},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10528":{"layouter":{"__isSmartRef__":true,"id":10529},"resizeWidth":true},"10529":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":10456},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"10530":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10531":{"x":0,"y":600,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10532":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":10533}},"10533":{"varMapping":{"__isSmartRef__":true,"id":10534},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":10539},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10534":{"this":{"__isSmartRef__":true,"id":10456},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10535}},"10535":{"$super":{"__isSmartRef__":true,"id":10536}},"10536":{"varMapping":{"__isSmartRef__":true,"id":10537},"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":10538},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10537":{"obj":{"__isSmartRef__":true,"id":10456},"name":"getLayoutableSubmorphs"},"10538":{},"10539":{},"10540":{"submorphs":[{"__isSmartRef__":true,"id":10541}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10605},"derivationIds":[null],"id":"1F45DDC0-1501-44BF-A0F4-8A5BB332C055","renderContextTable":{"__isSmartRef__":true,"id":10610},"eventHandler":{"__isSmartRef__":true,"id":10611},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10612},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":10614},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":10615},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10616},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10541":{"submorphs":[{"__isSmartRef__":true,"id":10542},{"__isSmartRef__":true,"id":10559}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10575},"derivationIds":[null],"id":"69F55011-FE7A-4966-91CA-99CF2B79B1CD","renderContextTable":{"__isSmartRef__":true,"id":10580},"eventHandler":{"__isSmartRef__":true,"id":10581},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10582},"grabbingEnabled":false,"draggingEnabled":false,"data":"Global.lively.morphic.Core","propertyList":["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25"],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"__SourceModuleName__","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":10542},"text":{"__isSmartRef__":true,"id":10559},"owner":{"__isSmartRef__":true,"id":10540},"_Position":{"__isSmartRef__":true,"id":10583},"priorExtent":{"__isSmartRef__":true,"id":10584},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10585},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10542":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10543},"derivationIds":[null],"id":"A04AC303-01AA-49C4-8C8D-0ABB47525CF8","renderContextTable":{"__isSmartRef__":true,"id":10549},"eventHandler":{"__isSmartRef__":true,"id":10550},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":10551},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":10541},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10552},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"10543":{"_Position":{"__isSmartRef__":true,"id":10544},"renderContextTable":{"__isSmartRef__":true,"id":10545},"_Extent":{"__isSmartRef__":true,"id":10546},"_Padding":{"__isSmartRef__":true,"id":10547},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":10548},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10544":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10545":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10546":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10547":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10548":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10549":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10550":{"morph":{"__isSmartRef__":true,"id":10542},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10551":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10552":{"toggle":{"__isSmartRef__":true,"id":10553},"toggleExpansion":{"__isSmartRef__":true,"id":10556}},"10553":{"varMapping":{"__isSmartRef__":true,"id":10554},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":10555},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10554":{"this":{"__isSmartRef__":true,"id":10542}},"10555":{},"10556":{"varMapping":{"__isSmartRef__":true,"id":10557},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":10558},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10557":{"this":{"__isSmartRef__":true,"id":10542}},"10558":{},"10559":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10560},"derivationIds":[null],"id":"521BBF9E-6FE0-41E9-A7D7-F01832E46B75","renderContextTable":{"__isSmartRef__":true,"id":10564},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":10565},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":10566},{"__isSmartRef__":true,"id":10568}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":10570},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":10541},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10571},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10560":{"_Position":{"__isSmartRef__":true,"id":10561},"renderContextTable":{"__isSmartRef__":true,"id":10562},"_Extent":{"__isSmartRef__":true,"id":10563},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10561":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10562":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10563":{"x":312,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10564":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"10565":{"morph":{"__isSmartRef__":true,"id":10559},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10566":{"style":{"__isSmartRef__":true,"id":10567},"chunkOwner":{"__isSmartRef__":true,"id":10559},"storedString":"__SourceModuleName__","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10567":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10568":{"style":{"__isSmartRef__":true,"id":10569},"chunkOwner":{"__isSmartRef__":true,"id":10559},"storedString":": Global.lively.morphic.Core","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10569":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10570":{"x":360,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10571":{"layoutText":{"__isSmartRef__":true,"id":10572}},"10572":{"varMapping":{"__isSmartRef__":true,"id":10573},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":10574},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10573":{"this":{"__isSmartRef__":true,"id":10559}},"10574":{},"10575":{"_Position":{"__isSmartRef__":true,"id":10576},"renderContextTable":{"__isSmartRef__":true,"id":10577},"_Extent":{"__isSmartRef__":true,"id":10578},"_Padding":{"__isSmartRef__":true,"id":10579},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10576":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10577":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10578":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10579":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10580":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10581":{"morph":{"__isSmartRef__":true,"id":10541},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10582":{"resizeWidth":true},"10583":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10584":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10585":{"updateExpanderColor":{"__isSmartRef__":true,"id":10586},"onMouseDown":{"__isSmartRef__":true,"id":10589},"isRoot":{"__isSmartRef__":true,"id":10596},"displayValue":{"__isSmartRef__":true,"id":10599},"update":{"__isSmartRef__":true,"id":10602}},"10586":{"varMapping":{"__isSmartRef__":true,"id":10587},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":10588},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10587":{"this":{"__isSmartRef__":true,"id":10541}},"10588":{},"10589":{"varMapping":{"__isSmartRef__":true,"id":10590},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":10595},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10590":{"this":{"__isSmartRef__":true,"id":10541},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10591}},"10591":{"$super":{"__isSmartRef__":true,"id":10592}},"10592":{"varMapping":{"__isSmartRef__":true,"id":10593},"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":10594},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10593":{"obj":{"__isSmartRef__":true,"id":10541},"name":"onMouseDown"},"10594":{},"10595":{},"10596":{"varMapping":{"__isSmartRef__":true,"id":10597},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":10598},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10597":{"this":{"__isSmartRef__":true,"id":10541}},"10598":{},"10599":{"varMapping":{"__isSmartRef__":true,"id":10600},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":10601},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10600":{"this":{"__isSmartRef__":true,"id":10541}},"10601":{},"10602":{"varMapping":{"__isSmartRef__":true,"id":10603},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10604},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10603":{"this":{"__isSmartRef__":true,"id":10541}},"10604":{},"10605":{"_Position":{"__isSmartRef__":true,"id":10606},"renderContextTable":{"__isSmartRef__":true,"id":10607},"_Extent":{"__isSmartRef__":true,"id":10608},"_Padding":{"__isSmartRef__":true,"id":10609},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10606":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10607":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10608":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10609":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10610":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10611":{"morph":{"__isSmartRef__":true,"id":10540},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10612":{"layouter":{"__isSmartRef__":true,"id":10613},"resizeWidth":true},"10613":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":10540},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"10614":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10615":{"x":0,"y":580,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10616":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":10617}},"10617":{"varMapping":{"__isSmartRef__":true,"id":10618},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":10623},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10618":{"this":{"__isSmartRef__":true,"id":10540},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10619}},"10619":{"$super":{"__isSmartRef__":true,"id":10620}},"10620":{"varMapping":{"__isSmartRef__":true,"id":10621},"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":10622},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10621":{"obj":{"__isSmartRef__":true,"id":10540},"name":"getLayoutableSubmorphs"},"10622":{},"10623":{},"10624":{"submorphs":[{"__isSmartRef__":true,"id":10625}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10689},"derivationIds":[null],"id":"ADCD476C-FC59-4078-9243-F3877B52C038","renderContextTable":{"__isSmartRef__":true,"id":10694},"eventHandler":{"__isSmartRef__":true,"id":10695},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10696},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":10698},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":10699},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10700},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10625":{"submorphs":[{"__isSmartRef__":true,"id":10626},{"__isSmartRef__":true,"id":10643}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10659},"derivationIds":[null],"id":"77E80F4E-0AA8-4D66-9F8F-EBA46E78A048","renderContextTable":{"__isSmartRef__":true,"id":10664},"eventHandler":{"__isSmartRef__":true,"id":10665},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10666},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"_isRendered","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":10626},"text":{"__isSmartRef__":true,"id":10643},"owner":{"__isSmartRef__":true,"id":10624},"_Position":{"__isSmartRef__":true,"id":10667},"priorExtent":{"__isSmartRef__":true,"id":10668},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10669},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10626":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10627},"derivationIds":[null],"id":"ED3D4EC4-D18A-4032-98AB-2588A9FF64DF","renderContextTable":{"__isSmartRef__":true,"id":10633},"eventHandler":{"__isSmartRef__":true,"id":10634},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":10635},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":10625},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10636},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"10627":{"_Position":{"__isSmartRef__":true,"id":10628},"renderContextTable":{"__isSmartRef__":true,"id":10629},"_Extent":{"__isSmartRef__":true,"id":10630},"_Padding":{"__isSmartRef__":true,"id":10631},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":10632},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10628":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10629":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10630":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10631":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10632":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10633":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10634":{"morph":{"__isSmartRef__":true,"id":10626},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10635":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10636":{"toggle":{"__isSmartRef__":true,"id":10637},"toggleExpansion":{"__isSmartRef__":true,"id":10640}},"10637":{"varMapping":{"__isSmartRef__":true,"id":10638},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":10639},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10638":{"this":{"__isSmartRef__":true,"id":10626}},"10639":{},"10640":{"varMapping":{"__isSmartRef__":true,"id":10641},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":10642},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10641":{"this":{"__isSmartRef__":true,"id":10626}},"10642":{},"10643":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10644},"derivationIds":[null],"id":"48736E3D-6B7C-4F8C-836C-8BE9F31F5AFD","renderContextTable":{"__isSmartRef__":true,"id":10648},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":10649},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":10650},{"__isSmartRef__":true,"id":10652}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":10654},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":10625},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10655},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10644":{"_Position":{"__isSmartRef__":true,"id":10645},"renderContextTable":{"__isSmartRef__":true,"id":10646},"_Extent":{"__isSmartRef__":true,"id":10647},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10645":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10646":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10647":{"x":110,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10648":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"10649":{"morph":{"__isSmartRef__":true,"id":10643},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10650":{"style":{"__isSmartRef__":true,"id":10651},"chunkOwner":{"__isSmartRef__":true,"id":10643},"storedString":"_isRendered","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10651":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10652":{"style":{"__isSmartRef__":true,"id":10653},"chunkOwner":{"__isSmartRef__":true,"id":10643},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10653":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10654":{"x":127.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10655":{"layoutText":{"__isSmartRef__":true,"id":10656}},"10656":{"varMapping":{"__isSmartRef__":true,"id":10657},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":10658},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10657":{"this":{"__isSmartRef__":true,"id":10643}},"10658":{},"10659":{"_Position":{"__isSmartRef__":true,"id":10660},"renderContextTable":{"__isSmartRef__":true,"id":10661},"_Extent":{"__isSmartRef__":true,"id":10662},"_Padding":{"__isSmartRef__":true,"id":10663},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10660":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10661":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10662":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10663":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10664":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10665":{"morph":{"__isSmartRef__":true,"id":10625},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10666":{"resizeWidth":true},"10667":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10668":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10669":{"updateExpanderColor":{"__isSmartRef__":true,"id":10670},"onMouseDown":{"__isSmartRef__":true,"id":10673},"isRoot":{"__isSmartRef__":true,"id":10680},"displayValue":{"__isSmartRef__":true,"id":10683},"update":{"__isSmartRef__":true,"id":10686}},"10670":{"varMapping":{"__isSmartRef__":true,"id":10671},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":10672},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10671":{"this":{"__isSmartRef__":true,"id":10625}},"10672":{},"10673":{"varMapping":{"__isSmartRef__":true,"id":10674},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":10679},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10674":{"this":{"__isSmartRef__":true,"id":10625},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10675}},"10675":{"$super":{"__isSmartRef__":true,"id":10676}},"10676":{"varMapping":{"__isSmartRef__":true,"id":10677},"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":10678},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10677":{"obj":{"__isSmartRef__":true,"id":10625},"name":"onMouseDown"},"10678":{},"10679":{},"10680":{"varMapping":{"__isSmartRef__":true,"id":10681},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":10682},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10681":{"this":{"__isSmartRef__":true,"id":10625}},"10682":{},"10683":{"varMapping":{"__isSmartRef__":true,"id":10684},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":10685},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10684":{"this":{"__isSmartRef__":true,"id":10625}},"10685":{},"10686":{"varMapping":{"__isSmartRef__":true,"id":10687},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10688},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10687":{"this":{"__isSmartRef__":true,"id":10625}},"10688":{},"10689":{"_Position":{"__isSmartRef__":true,"id":10690},"renderContextTable":{"__isSmartRef__":true,"id":10691},"_Extent":{"__isSmartRef__":true,"id":10692},"_Padding":{"__isSmartRef__":true,"id":10693},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10690":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10691":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10692":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10693":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10694":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10695":{"morph":{"__isSmartRef__":true,"id":10624},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10696":{"layouter":{"__isSmartRef__":true,"id":10697},"resizeWidth":true},"10697":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":10624},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"10698":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10699":{"x":0,"y":560,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10700":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":10701}},"10701":{"varMapping":{"__isSmartRef__":true,"id":10702},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":10707},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10702":{"this":{"__isSmartRef__":true,"id":10624},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10703}},"10703":{"$super":{"__isSmartRef__":true,"id":10704}},"10704":{"varMapping":{"__isSmartRef__":true,"id":10705},"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":10706},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10705":{"obj":{"__isSmartRef__":true,"id":10624},"name":"getLayoutableSubmorphs"},"10706":{},"10707":{},"10708":{"submorphs":[{"__isSmartRef__":true,"id":10709}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10774},"derivationIds":[null],"id":"02F9D29D-3E98-45D9-8DAB-8CC1229F302B","renderContextTable":{"__isSmartRef__":true,"id":10779},"eventHandler":{"__isSmartRef__":true,"id":10780},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10781},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":10783},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":10784},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10785},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10709":{"submorphs":[{"__isSmartRef__":true,"id":10710},{"__isSmartRef__":true,"id":10727}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10743},"derivationIds":[null],"id":"848EF327-C885-4F97-A96B-19BBB7164E4E","renderContextTable":{"__isSmartRef__":true,"id":10748},"eventHandler":{"__isSmartRef__":true,"id":10749},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10750},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":10751},"propertyList":["parentNode","morphNode","shapeNode","originNode"],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"_renderContext","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":10710},"text":{"__isSmartRef__":true,"id":10727},"owner":{"__isSmartRef__":true,"id":10708},"_Position":{"__isSmartRef__":true,"id":10752},"priorExtent":{"__isSmartRef__":true,"id":10753},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10754},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10710":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10711},"derivationIds":[null],"id":"27E8ECF1-2724-4000-B174-8EECE38892B8","renderContextTable":{"__isSmartRef__":true,"id":10717},"eventHandler":{"__isSmartRef__":true,"id":10718},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":10719},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":10709},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10720},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"10711":{"_Position":{"__isSmartRef__":true,"id":10712},"renderContextTable":{"__isSmartRef__":true,"id":10713},"_Extent":{"__isSmartRef__":true,"id":10714},"_Padding":{"__isSmartRef__":true,"id":10715},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":10716},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10712":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10713":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10714":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10715":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10716":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10717":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10718":{"morph":{"__isSmartRef__":true,"id":10710},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10719":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10720":{"toggle":{"__isSmartRef__":true,"id":10721},"toggleExpansion":{"__isSmartRef__":true,"id":10724}},"10721":{"varMapping":{"__isSmartRef__":true,"id":10722},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":10723},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10722":{"this":{"__isSmartRef__":true,"id":10710}},"10723":{},"10724":{"varMapping":{"__isSmartRef__":true,"id":10725},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":10726},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10725":{"this":{"__isSmartRef__":true,"id":10710}},"10726":{},"10727":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10728},"derivationIds":[null],"id":"4AD516C5-A7A3-488D-A029-E6620F85AD94","renderContextTable":{"__isSmartRef__":true,"id":10732},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":10733},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":10734},{"__isSmartRef__":true,"id":10736}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":10738},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":10709},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10739},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10728":{"_Position":{"__isSmartRef__":true,"id":10729},"renderContextTable":{"__isSmartRef__":true,"id":10730},"_Extent":{"__isSmartRef__":true,"id":10731},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10729":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10730":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10731":{"x":189,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10732":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"10733":{"morph":{"__isSmartRef__":true,"id":10727},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10734":{"style":{"__isSmartRef__":true,"id":10735},"chunkOwner":{"__isSmartRef__":true,"id":10727},"storedString":"_renderContext","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10735":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10736":{"style":{"__isSmartRef__":true,"id":10737},"chunkOwner":{"__isSmartRef__":true,"id":10727},"storedString":": RenderContext","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10737":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10738":{"x":217.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10739":{"layoutText":{"__isSmartRef__":true,"id":10740}},"10740":{"varMapping":{"__isSmartRef__":true,"id":10741},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":10742},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10741":{"this":{"__isSmartRef__":true,"id":10727}},"10742":{},"10743":{"_Position":{"__isSmartRef__":true,"id":10744},"renderContextTable":{"__isSmartRef__":true,"id":10745},"_Extent":{"__isSmartRef__":true,"id":10746},"_Padding":{"__isSmartRef__":true,"id":10747},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10744":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10745":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10746":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10747":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10748":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10749":{"morph":{"__isSmartRef__":true,"id":10709},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10750":{"resizeWidth":true},"10751":{"__LivelyClassName__":"lively.morphic.HTML.RenderContext","__SourceModuleName__":"Global.lively.morphic.HTML"},"10752":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10753":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10754":{"updateExpanderColor":{"__isSmartRef__":true,"id":10755},"onMouseDown":{"__isSmartRef__":true,"id":10758},"isRoot":{"__isSmartRef__":true,"id":10765},"displayValue":{"__isSmartRef__":true,"id":10768},"update":{"__isSmartRef__":true,"id":10771}},"10755":{"varMapping":{"__isSmartRef__":true,"id":10756},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":10757},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10756":{"this":{"__isSmartRef__":true,"id":10709}},"10757":{},"10758":{"varMapping":{"__isSmartRef__":true,"id":10759},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":10764},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10759":{"this":{"__isSmartRef__":true,"id":10709},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10760}},"10760":{"$super":{"__isSmartRef__":true,"id":10761}},"10761":{"varMapping":{"__isSmartRef__":true,"id":10762},"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":10763},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10762":{"obj":{"__isSmartRef__":true,"id":10709},"name":"onMouseDown"},"10763":{},"10764":{},"10765":{"varMapping":{"__isSmartRef__":true,"id":10766},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":10767},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10766":{"this":{"__isSmartRef__":true,"id":10709}},"10767":{},"10768":{"varMapping":{"__isSmartRef__":true,"id":10769},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":10770},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10769":{"this":{"__isSmartRef__":true,"id":10709}},"10770":{},"10771":{"varMapping":{"__isSmartRef__":true,"id":10772},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10773},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10772":{"this":{"__isSmartRef__":true,"id":10709}},"10773":{},"10774":{"_Position":{"__isSmartRef__":true,"id":10775},"renderContextTable":{"__isSmartRef__":true,"id":10776},"_Extent":{"__isSmartRef__":true,"id":10777},"_Padding":{"__isSmartRef__":true,"id":10778},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10775":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10776":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10777":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10778":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10779":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10780":{"morph":{"__isSmartRef__":true,"id":10708},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10781":{"layouter":{"__isSmartRef__":true,"id":10782},"resizeWidth":true},"10782":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":10708},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"10783":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10784":{"x":0,"y":540,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10785":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":10786}},"10786":{"varMapping":{"__isSmartRef__":true,"id":10787},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":10792},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10787":{"this":{"__isSmartRef__":true,"id":10708},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10788}},"10788":{"$super":{"__isSmartRef__":true,"id":10789}},"10789":{"varMapping":{"__isSmartRef__":true,"id":10790},"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":10791},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10790":{"obj":{"__isSmartRef__":true,"id":10708},"name":"getLayoutableSubmorphs"},"10791":{},"10792":{},"10793":{"submorphs":[{"__isSmartRef__":true,"id":10794}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10858},"derivationIds":[null],"id":"A93213CF-BEF6-4132-9B1D-2A7D43576075","renderContextTable":{"__isSmartRef__":true,"id":10863},"eventHandler":{"__isSmartRef__":true,"id":10864},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10865},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":10867},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":10868},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10869},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10794":{"submorphs":[{"__isSmartRef__":true,"id":10795},{"__isSmartRef__":true,"id":10812}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10828},"derivationIds":[null],"id":"BAA152FF-E13E-4DC1-9952-891CF5376094","renderContextTable":{"__isSmartRef__":true,"id":10833},"eventHandler":{"__isSmartRef__":true,"id":10834},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10835},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"attributeConnections","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":10795},"text":{"__isSmartRef__":true,"id":10812},"owner":{"__isSmartRef__":true,"id":10793},"_Position":{"__isSmartRef__":true,"id":10836},"priorExtent":{"__isSmartRef__":true,"id":10837},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10838},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10795":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10796},"derivationIds":[null],"id":"1F5D00DC-31B4-4763-B1F1-ECD6B50C3CAA","renderContextTable":{"__isSmartRef__":true,"id":10802},"eventHandler":{"__isSmartRef__":true,"id":10803},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":10804},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":10794},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10805},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"10796":{"_Position":{"__isSmartRef__":true,"id":10797},"renderContextTable":{"__isSmartRef__":true,"id":10798},"_Extent":{"__isSmartRef__":true,"id":10799},"_Padding":{"__isSmartRef__":true,"id":10800},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":10801},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10797":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10798":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10799":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10800":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10801":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10802":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10803":{"morph":{"__isSmartRef__":true,"id":10795},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10804":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10805":{"toggle":{"__isSmartRef__":true,"id":10806},"toggleExpansion":{"__isSmartRef__":true,"id":10809}},"10806":{"varMapping":{"__isSmartRef__":true,"id":10807},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":10808},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10807":{"this":{"__isSmartRef__":true,"id":10795}},"10808":{},"10809":{"varMapping":{"__isSmartRef__":true,"id":10810},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":10811},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10810":{"this":{"__isSmartRef__":true,"id":10795}},"10811":{},"10812":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10813},"derivationIds":[null],"id":"82EEF9AE-4916-49A7-8C0B-9AD3806C9541","renderContextTable":{"__isSmartRef__":true,"id":10817},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":10818},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":10819},{"__isSmartRef__":true,"id":10821}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":10823},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":10794},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10824},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10813":{"_Position":{"__isSmartRef__":true,"id":10814},"renderContextTable":{"__isSmartRef__":true,"id":10815},"_Extent":{"__isSmartRef__":true,"id":10816},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10814":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10815":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10816":{"x":143,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10817":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"10818":{"morph":{"__isSmartRef__":true,"id":10812},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10819":{"style":{"__isSmartRef__":true,"id":10820},"chunkOwner":{"__isSmartRef__":true,"id":10812},"storedString":"attributeConnections","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10820":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10821":{"style":{"__isSmartRef__":true,"id":10822},"chunkOwner":{"__isSmartRef__":true,"id":10812},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10822":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10823":{"x":180,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10824":{"layoutText":{"__isSmartRef__":true,"id":10825}},"10825":{"varMapping":{"__isSmartRef__":true,"id":10826},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":10827},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10826":{"this":{"__isSmartRef__":true,"id":10812}},"10827":{},"10828":{"_Position":{"__isSmartRef__":true,"id":10829},"renderContextTable":{"__isSmartRef__":true,"id":10830},"_Extent":{"__isSmartRef__":true,"id":10831},"_Padding":{"__isSmartRef__":true,"id":10832},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10829":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10830":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10831":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10832":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10833":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10834":{"morph":{"__isSmartRef__":true,"id":10794},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10835":{"resizeWidth":true},"10836":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10837":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10838":{"updateExpanderColor":{"__isSmartRef__":true,"id":10839},"onMouseDown":{"__isSmartRef__":true,"id":10842},"isRoot":{"__isSmartRef__":true,"id":10849},"displayValue":{"__isSmartRef__":true,"id":10852},"update":{"__isSmartRef__":true,"id":10855}},"10839":{"varMapping":{"__isSmartRef__":true,"id":10840},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":10841},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10840":{"this":{"__isSmartRef__":true,"id":10794}},"10841":{},"10842":{"varMapping":{"__isSmartRef__":true,"id":10843},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":10848},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10843":{"this":{"__isSmartRef__":true,"id":10794},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10844}},"10844":{"$super":{"__isSmartRef__":true,"id":10845}},"10845":{"varMapping":{"__isSmartRef__":true,"id":10846},"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":10847},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10846":{"obj":{"__isSmartRef__":true,"id":10794},"name":"onMouseDown"},"10847":{},"10848":{},"10849":{"varMapping":{"__isSmartRef__":true,"id":10850},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":10851},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10850":{"this":{"__isSmartRef__":true,"id":10794}},"10851":{},"10852":{"varMapping":{"__isSmartRef__":true,"id":10853},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":10854},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10853":{"this":{"__isSmartRef__":true,"id":10794}},"10854":{},"10855":{"varMapping":{"__isSmartRef__":true,"id":10856},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10857},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10856":{"this":{"__isSmartRef__":true,"id":10794}},"10857":{},"10858":{"_Position":{"__isSmartRef__":true,"id":10859},"renderContextTable":{"__isSmartRef__":true,"id":10860},"_Extent":{"__isSmartRef__":true,"id":10861},"_Padding":{"__isSmartRef__":true,"id":10862},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10859":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10860":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10861":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10862":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10863":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10864":{"morph":{"__isSmartRef__":true,"id":10793},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10865":{"layouter":{"__isSmartRef__":true,"id":10866},"resizeWidth":true},"10866":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":10793},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"10867":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10868":{"x":0,"y":520,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10869":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":10870}},"10870":{"varMapping":{"__isSmartRef__":true,"id":10871},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":10876},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10871":{"this":{"__isSmartRef__":true,"id":10793},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10872}},"10872":{"$super":{"__isSmartRef__":true,"id":10873}},"10873":{"varMapping":{"__isSmartRef__":true,"id":10874},"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":10875},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10874":{"obj":{"__isSmartRef__":true,"id":10793},"name":"getLayoutableSubmorphs"},"10875":{},"10876":{},"10877":{"submorphs":[{"__isSmartRef__":true,"id":10878}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10942},"derivationIds":[null],"id":"8EE3E213-F7D8-4786-BDF1-6181BC0AF032","renderContextTable":{"__isSmartRef__":true,"id":10947},"eventHandler":{"__isSmartRef__":true,"id":10948},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10949},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":10951},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":10952},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10953},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10878":{"submorphs":[{"__isSmartRef__":true,"id":10879},{"__isSmartRef__":true,"id":10896}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10912},"derivationIds":[null],"id":"0AF312F8-7068-4894-A652-77E361A61943","renderContextTable":{"__isSmartRef__":true,"id":10917},"eventHandler":{"__isSmartRef__":true,"id":10918},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":10919},"grabbingEnabled":false,"draggingEnabled":false,"data":[127,"ACBC75B3-2117-4599-88DF-98DE3A01B945","9F026C00-2906-4517-84AF-5074606A0111","CCAAB5EF-E2C7-4C26-BC98-8814BBE7816E","2503728C-6E3D-41EC-A9E7-D62F0A101BD3","26D66BEF-833F-492F-91A1-A566527FD073","91ABF2E8-887F-4E30-A51B-9CA909FA0B8F","27B3B527-0488-4989-8A6C-2247B31CF3B9","1BA4D6B6-8FBD-4F8E-BD88-A205A6EBFE4F","19818871-2C05-486B-8CB0-1B8CB8901216","52DC24F1-D515-4A83-8AB4-3A5F96B367D3","3F32BF3A-01F4-473C-823F-D797DB426F2E","DF9E1612-6D05-4B55-821B-AF6F0CB19EB3","5629A044-0874-41F6-993E-344771194369","FA604ECA-4CDA-4882-9EA3-BE2A27FA547A","1EEA3D2C-72BB-4767-B77E-7FCD2B7096BF","5F820F0F-87D3-4CE1-8D45-EC25645EDD07","6B1911FD-1546-4998-BE01-9490F465447B"],"propertyList":["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"derivationIds","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":10879},"text":{"__isSmartRef__":true,"id":10896},"owner":{"__isSmartRef__":true,"id":10877},"_Position":{"__isSmartRef__":true,"id":10920},"priorExtent":{"__isSmartRef__":true,"id":10921},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10922},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10879":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10880},"derivationIds":[null],"id":"C09C4E1A-F7C7-42E3-A338-0137134171E0","renderContextTable":{"__isSmartRef__":true,"id":10886},"eventHandler":{"__isSmartRef__":true,"id":10887},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":10888},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":10878},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10889},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"10880":{"_Position":{"__isSmartRef__":true,"id":10881},"renderContextTable":{"__isSmartRef__":true,"id":10882},"_Extent":{"__isSmartRef__":true,"id":10883},"_Padding":{"__isSmartRef__":true,"id":10884},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":10885},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10881":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10882":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10883":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10884":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10885":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10886":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10887":{"morph":{"__isSmartRef__":true,"id":10879},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10888":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10889":{"toggle":{"__isSmartRef__":true,"id":10890},"toggleExpansion":{"__isSmartRef__":true,"id":10893}},"10890":{"varMapping":{"__isSmartRef__":true,"id":10891},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":10892},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10891":{"this":{"__isSmartRef__":true,"id":10879}},"10892":{},"10893":{"varMapping":{"__isSmartRef__":true,"id":10894},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":10895},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10894":{"this":{"__isSmartRef__":true,"id":10879}},"10895":{},"10896":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10897},"derivationIds":[null],"id":"CA6ADEBB-8679-4AB6-807D-0984D4462E33","renderContextTable":{"__isSmartRef__":true,"id":10901},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":10902},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":10903},{"__isSmartRef__":true,"id":10905}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":10907},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":10878},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10908},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10897":{"_Position":{"__isSmartRef__":true,"id":10898},"renderContextTable":{"__isSmartRef__":true,"id":10899},"_Extent":{"__isSmartRef__":true,"id":10900},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10898":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10899":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10900":{"x":107,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10901":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"10902":{"morph":{"__isSmartRef__":true,"id":10896},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10903":{"style":{"__isSmartRef__":true,"id":10904},"chunkOwner":{"__isSmartRef__":true,"id":10896},"storedString":"derivationIds","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10904":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10905":{"style":{"__isSmartRef__":true,"id":10906},"chunkOwner":{"__isSmartRef__":true,"id":10896},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10906":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10907":{"x":150,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10908":{"layoutText":{"__isSmartRef__":true,"id":10909}},"10909":{"varMapping":{"__isSmartRef__":true,"id":10910},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":10911},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10910":{"this":{"__isSmartRef__":true,"id":10896}},"10911":{},"10912":{"_Position":{"__isSmartRef__":true,"id":10913},"renderContextTable":{"__isSmartRef__":true,"id":10914},"_Extent":{"__isSmartRef__":true,"id":10915},"_Padding":{"__isSmartRef__":true,"id":10916},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10913":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10914":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10915":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10916":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10917":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10918":{"morph":{"__isSmartRef__":true,"id":10878},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10919":{"resizeWidth":true},"10920":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10921":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10922":{"updateExpanderColor":{"__isSmartRef__":true,"id":10923},"onMouseDown":{"__isSmartRef__":true,"id":10926},"isRoot":{"__isSmartRef__":true,"id":10933},"displayValue":{"__isSmartRef__":true,"id":10936},"update":{"__isSmartRef__":true,"id":10939}},"10923":{"varMapping":{"__isSmartRef__":true,"id":10924},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":10925},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10924":{"this":{"__isSmartRef__":true,"id":10878}},"10925":{},"10926":{"varMapping":{"__isSmartRef__":true,"id":10927},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":10932},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10927":{"this":{"__isSmartRef__":true,"id":10878},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10928}},"10928":{"$super":{"__isSmartRef__":true,"id":10929}},"10929":{"varMapping":{"__isSmartRef__":true,"id":10930},"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":10931},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10930":{"obj":{"__isSmartRef__":true,"id":10878},"name":"onMouseDown"},"10931":{},"10932":{},"10933":{"varMapping":{"__isSmartRef__":true,"id":10934},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":10935},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10934":{"this":{"__isSmartRef__":true,"id":10878}},"10935":{},"10936":{"varMapping":{"__isSmartRef__":true,"id":10937},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":10938},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10937":{"this":{"__isSmartRef__":true,"id":10878}},"10938":{},"10939":{"varMapping":{"__isSmartRef__":true,"id":10940},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10941},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10940":{"this":{"__isSmartRef__":true,"id":10878}},"10941":{},"10942":{"_Position":{"__isSmartRef__":true,"id":10943},"renderContextTable":{"__isSmartRef__":true,"id":10944},"_Extent":{"__isSmartRef__":true,"id":10945},"_Padding":{"__isSmartRef__":true,"id":10946},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10943":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10944":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10945":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10946":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10947":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10948":{"morph":{"__isSmartRef__":true,"id":10877},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10949":{"layouter":{"__isSmartRef__":true,"id":10950},"resizeWidth":true},"10950":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":10877},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"10951":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10952":{"x":0,"y":500,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10953":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":10954}},"10954":{"varMapping":{"__isSmartRef__":true,"id":10955},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":10960},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10955":{"this":{"__isSmartRef__":true,"id":10877},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10956}},"10956":{"$super":{"__isSmartRef__":true,"id":10957}},"10957":{"varMapping":{"__isSmartRef__":true,"id":10958},"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":10959},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10958":{"obj":{"__isSmartRef__":true,"id":10877},"name":"getLayoutableSubmorphs"},"10959":{},"10960":{},"10961":{"submorphs":[{"__isSmartRef__":true,"id":10962}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11026},"derivationIds":[null],"id":"59FFCC07-B97B-4F10-AABA-E7280585695A","renderContextTable":{"__isSmartRef__":true,"id":11031},"eventHandler":{"__isSmartRef__":true,"id":11032},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11033},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":11035},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":11036},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11037},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10962":{"submorphs":[{"__isSmartRef__":true,"id":10963},{"__isSmartRef__":true,"id":10980}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10996},"derivationIds":[null],"id":"5EE1BAE6-F602-4589-BFC5-2190FBA5C539","renderContextTable":{"__isSmartRef__":true,"id":11001},"eventHandler":{"__isSmartRef__":true,"id":11002},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11003},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":4377},"propertyList":["x","y","__SourceModuleName__"],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"distanceToDragEvent","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":10963},"text":{"__isSmartRef__":true,"id":10980},"owner":{"__isSmartRef__":true,"id":10961},"_Position":{"__isSmartRef__":true,"id":11004},"priorExtent":{"__isSmartRef__":true,"id":11005},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11006},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"10963":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10964},"derivationIds":[null],"id":"C17B7EC3-5EAA-48BB-A965-0101C137CB98","renderContextTable":{"__isSmartRef__":true,"id":10970},"eventHandler":{"__isSmartRef__":true,"id":10971},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":10972},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":10962},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10973},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"10964":{"_Position":{"__isSmartRef__":true,"id":10965},"renderContextTable":{"__isSmartRef__":true,"id":10966},"_Extent":{"__isSmartRef__":true,"id":10967},"_Padding":{"__isSmartRef__":true,"id":10968},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":10969},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10965":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10966":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10967":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10968":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10969":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10970":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"10971":{"morph":{"__isSmartRef__":true,"id":10963},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10972":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10973":{"toggle":{"__isSmartRef__":true,"id":10974},"toggleExpansion":{"__isSmartRef__":true,"id":10977}},"10974":{"varMapping":{"__isSmartRef__":true,"id":10975},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":10976},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10975":{"this":{"__isSmartRef__":true,"id":10963}},"10976":{},"10977":{"varMapping":{"__isSmartRef__":true,"id":10978},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":10979},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10978":{"this":{"__isSmartRef__":true,"id":10963}},"10979":{},"10980":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10981},"derivationIds":[null],"id":"E34F6BB0-189E-48B7-89D8-EDBD89E1E5DA","renderContextTable":{"__isSmartRef__":true,"id":10985},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":10986},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":10987},{"__isSmartRef__":true,"id":10989}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":10991},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":10962},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10992},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10981":{"_Position":{"__isSmartRef__":true,"id":10982},"renderContextTable":{"__isSmartRef__":true,"id":10983},"_Extent":{"__isSmartRef__":true,"id":10984},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10982":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10983":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10984":{"x":168,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10985":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"10986":{"morph":{"__isSmartRef__":true,"id":10980},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10987":{"style":{"__isSmartRef__":true,"id":10988},"chunkOwner":{"__isSmartRef__":true,"id":10980},"storedString":"distanceToDragEvent","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10988":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10989":{"style":{"__isSmartRef__":true,"id":10990},"chunkOwner":{"__isSmartRef__":true,"id":10980},"storedString":": Point","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10990":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10991":{"x":195,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10992":{"layoutText":{"__isSmartRef__":true,"id":10993}},"10993":{"varMapping":{"__isSmartRef__":true,"id":10994},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":10995},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10994":{"this":{"__isSmartRef__":true,"id":10980}},"10995":{},"10996":{"_Position":{"__isSmartRef__":true,"id":10997},"renderContextTable":{"__isSmartRef__":true,"id":10998},"_Extent":{"__isSmartRef__":true,"id":10999},"_Padding":{"__isSmartRef__":true,"id":11000},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"10997":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10998":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"10999":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11000":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11001":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11002":{"morph":{"__isSmartRef__":true,"id":10962},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11003":{"resizeWidth":true},"11004":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11005":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11006":{"updateExpanderColor":{"__isSmartRef__":true,"id":11007},"onMouseDown":{"__isSmartRef__":true,"id":11010},"isRoot":{"__isSmartRef__":true,"id":11017},"displayValue":{"__isSmartRef__":true,"id":11020},"update":{"__isSmartRef__":true,"id":11023}},"11007":{"varMapping":{"__isSmartRef__":true,"id":11008},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":11009},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11008":{"this":{"__isSmartRef__":true,"id":10962}},"11009":{},"11010":{"varMapping":{"__isSmartRef__":true,"id":11011},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":11016},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11011":{"this":{"__isSmartRef__":true,"id":10962},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11012}},"11012":{"$super":{"__isSmartRef__":true,"id":11013}},"11013":{"varMapping":{"__isSmartRef__":true,"id":11014},"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":11015},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11014":{"obj":{"__isSmartRef__":true,"id":10962},"name":"onMouseDown"},"11015":{},"11016":{},"11017":{"varMapping":{"__isSmartRef__":true,"id":11018},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":11019},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11018":{"this":{"__isSmartRef__":true,"id":10962}},"11019":{},"11020":{"varMapping":{"__isSmartRef__":true,"id":11021},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":11022},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11021":{"this":{"__isSmartRef__":true,"id":10962}},"11022":{},"11023":{"varMapping":{"__isSmartRef__":true,"id":11024},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":11025},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11024":{"this":{"__isSmartRef__":true,"id":10962}},"11025":{},"11026":{"_Position":{"__isSmartRef__":true,"id":11027},"renderContextTable":{"__isSmartRef__":true,"id":11028},"_Extent":{"__isSmartRef__":true,"id":11029},"_Padding":{"__isSmartRef__":true,"id":11030},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11027":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11028":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11029":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11030":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11031":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11032":{"morph":{"__isSmartRef__":true,"id":10961},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11033":{"layouter":{"__isSmartRef__":true,"id":11034},"resizeWidth":true},"11034":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":10961},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"11035":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11036":{"x":0,"y":480,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11037":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":11038}},"11038":{"varMapping":{"__isSmartRef__":true,"id":11039},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":11044},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11039":{"this":{"__isSmartRef__":true,"id":10961},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11040}},"11040":{"$super":{"__isSmartRef__":true,"id":11041}},"11041":{"varMapping":{"__isSmartRef__":true,"id":11042},"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":11043},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11042":{"obj":{"__isSmartRef__":true,"id":10961},"name":"getLayoutableSubmorphs"},"11043":{},"11044":{},"11045":{"submorphs":[{"__isSmartRef__":true,"id":11046}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11110},"derivationIds":[null],"id":"10C068BF-918B-41B0-8833-146472AF6C77","renderContextTable":{"__isSmartRef__":true,"id":11115},"eventHandler":{"__isSmartRef__":true,"id":11116},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11117},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":11119},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":11120},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11121},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"11046":{"submorphs":[{"__isSmartRef__":true,"id":11047},{"__isSmartRef__":true,"id":11064}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11080},"derivationIds":[null],"id":"D9F2C1F4-160F-463F-93BF-F626BD417FCD","renderContextTable":{"__isSmartRef__":true,"id":11085},"eventHandler":{"__isSmartRef__":true,"id":11086},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11087},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"doNotCopyProperties","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":11047},"text":{"__isSmartRef__":true,"id":11064},"owner":{"__isSmartRef__":true,"id":11045},"_Position":{"__isSmartRef__":true,"id":11088},"priorExtent":{"__isSmartRef__":true,"id":11089},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11090},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"11047":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11048},"derivationIds":[null],"id":"45850E12-6715-4787-A94D-072DD56C3939","renderContextTable":{"__isSmartRef__":true,"id":11054},"eventHandler":{"__isSmartRef__":true,"id":11055},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":11056},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":11046},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11057},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"11048":{"_Position":{"__isSmartRef__":true,"id":11049},"renderContextTable":{"__isSmartRef__":true,"id":11050},"_Extent":{"__isSmartRef__":true,"id":11051},"_Padding":{"__isSmartRef__":true,"id":11052},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":11053},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11049":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11050":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11051":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11052":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11053":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11054":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11055":{"morph":{"__isSmartRef__":true,"id":11047},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11056":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11057":{"toggle":{"__isSmartRef__":true,"id":11058},"toggleExpansion":{"__isSmartRef__":true,"id":11061}},"11058":{"varMapping":{"__isSmartRef__":true,"id":11059},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":11060},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11059":{"this":{"__isSmartRef__":true,"id":11047}},"11060":{},"11061":{"varMapping":{"__isSmartRef__":true,"id":11062},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":11063},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11062":{"this":{"__isSmartRef__":true,"id":11047}},"11063":{},"11064":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11065},"derivationIds":[null],"id":"BFBF137E-D9AD-4FB9-B888-34AF9D14F725","renderContextTable":{"__isSmartRef__":true,"id":11069},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":11070},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":11071},{"__isSmartRef__":true,"id":11073}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":11075},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":11046},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11076},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11065":{"_Position":{"__isSmartRef__":true,"id":11066},"renderContextTable":{"__isSmartRef__":true,"id":11067},"_Extent":{"__isSmartRef__":true,"id":11068},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11066":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11067":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11068":{"x":147,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11069":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"11070":{"morph":{"__isSmartRef__":true,"id":11064},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11071":{"style":{"__isSmartRef__":true,"id":11072},"chunkOwner":{"__isSmartRef__":true,"id":11064},"storedString":"doNotCopyProperties","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11072":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11073":{"style":{"__isSmartRef__":true,"id":11074},"chunkOwner":{"__isSmartRef__":true,"id":11064},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11074":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11075":{"x":172.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11076":{"layoutText":{"__isSmartRef__":true,"id":11077}},"11077":{"varMapping":{"__isSmartRef__":true,"id":11078},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":11079},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11078":{"this":{"__isSmartRef__":true,"id":11064}},"11079":{},"11080":{"_Position":{"__isSmartRef__":true,"id":11081},"renderContextTable":{"__isSmartRef__":true,"id":11082},"_Extent":{"__isSmartRef__":true,"id":11083},"_Padding":{"__isSmartRef__":true,"id":11084},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11081":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11082":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11083":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11084":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11085":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11086":{"morph":{"__isSmartRef__":true,"id":11046},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11087":{"resizeWidth":true},"11088":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11089":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11090":{"updateExpanderColor":{"__isSmartRef__":true,"id":11091},"onMouseDown":{"__isSmartRef__":true,"id":11094},"isRoot":{"__isSmartRef__":true,"id":11101},"displayValue":{"__isSmartRef__":true,"id":11104},"update":{"__isSmartRef__":true,"id":11107}},"11091":{"varMapping":{"__isSmartRef__":true,"id":11092},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":11093},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11092":{"this":{"__isSmartRef__":true,"id":11046}},"11093":{},"11094":{"varMapping":{"__isSmartRef__":true,"id":11095},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":11100},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11095":{"this":{"__isSmartRef__":true,"id":11046},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11096}},"11096":{"$super":{"__isSmartRef__":true,"id":11097}},"11097":{"varMapping":{"__isSmartRef__":true,"id":11098},"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":11099},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11098":{"obj":{"__isSmartRef__":true,"id":11046},"name":"onMouseDown"},"11099":{},"11100":{},"11101":{"varMapping":{"__isSmartRef__":true,"id":11102},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":11103},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11102":{"this":{"__isSmartRef__":true,"id":11046}},"11103":{},"11104":{"varMapping":{"__isSmartRef__":true,"id":11105},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":11106},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11105":{"this":{"__isSmartRef__":true,"id":11046}},"11106":{},"11107":{"varMapping":{"__isSmartRef__":true,"id":11108},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":11109},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11108":{"this":{"__isSmartRef__":true,"id":11046}},"11109":{},"11110":{"_Position":{"__isSmartRef__":true,"id":11111},"renderContextTable":{"__isSmartRef__":true,"id":11112},"_Extent":{"__isSmartRef__":true,"id":11113},"_Padding":{"__isSmartRef__":true,"id":11114},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11111":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11112":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11113":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11114":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11115":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11116":{"morph":{"__isSmartRef__":true,"id":11045},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11117":{"layouter":{"__isSmartRef__":true,"id":11118},"resizeWidth":true},"11118":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":11045},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"11119":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11120":{"x":0,"y":460,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11121":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":11122}},"11122":{"varMapping":{"__isSmartRef__":true,"id":11123},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":11128},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11123":{"this":{"__isSmartRef__":true,"id":11045},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11124}},"11124":{"$super":{"__isSmartRef__":true,"id":11125}},"11125":{"varMapping":{"__isSmartRef__":true,"id":11126},"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":11127},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11126":{"obj":{"__isSmartRef__":true,"id":11045},"name":"getLayoutableSubmorphs"},"11127":{},"11128":{},"11129":{"submorphs":[{"__isSmartRef__":true,"id":11130}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11194},"derivationIds":[null],"id":"83ECE605-315C-4D2D-BFEF-976DAAB16973","renderContextTable":{"__isSmartRef__":true,"id":11199},"eventHandler":{"__isSmartRef__":true,"id":11200},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11201},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":11203},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":11204},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11205},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"11130":{"submorphs":[{"__isSmartRef__":true,"id":11131},{"__isSmartRef__":true,"id":11148}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11164},"derivationIds":[null],"id":"1BE746D9-BBFE-435B-99A0-19905718DC31","renderContextTable":{"__isSmartRef__":true,"id":11169},"eventHandler":{"__isSmartRef__":true,"id":11170},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11171},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"doNotSerialize","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":11131},"text":{"__isSmartRef__":true,"id":11148},"owner":{"__isSmartRef__":true,"id":11129},"_Position":{"__isSmartRef__":true,"id":11172},"priorExtent":{"__isSmartRef__":true,"id":11173},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11174},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"11131":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11132},"derivationIds":[null],"id":"674298E4-D55A-45B6-9665-A3B5372599DC","renderContextTable":{"__isSmartRef__":true,"id":11138},"eventHandler":{"__isSmartRef__":true,"id":11139},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":11140},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":11130},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11141},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"11132":{"_Position":{"__isSmartRef__":true,"id":11133},"renderContextTable":{"__isSmartRef__":true,"id":11134},"_Extent":{"__isSmartRef__":true,"id":11135},"_Padding":{"__isSmartRef__":true,"id":11136},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":11137},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11133":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11134":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11135":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11136":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11137":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11138":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11139":{"morph":{"__isSmartRef__":true,"id":11131},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11140":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11141":{"toggle":{"__isSmartRef__":true,"id":11142},"toggleExpansion":{"__isSmartRef__":true,"id":11145}},"11142":{"varMapping":{"__isSmartRef__":true,"id":11143},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":11144},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11143":{"this":{"__isSmartRef__":true,"id":11131}},"11144":{},"11145":{"varMapping":{"__isSmartRef__":true,"id":11146},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":11147},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11146":{"this":{"__isSmartRef__":true,"id":11131}},"11147":{},"11148":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11149},"derivationIds":[null],"id":"8D901D4E-2973-4881-9290-FDB08D14650E","renderContextTable":{"__isSmartRef__":true,"id":11153},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":11154},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":11155},{"__isSmartRef__":true,"id":11157}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":11159},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":11130},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11160},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11149":{"_Position":{"__isSmartRef__":true,"id":11150},"renderContextTable":{"__isSmartRef__":true,"id":11151},"_Extent":{"__isSmartRef__":true,"id":11152},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11150":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11151":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11152":{"x":108,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11153":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"11154":{"morph":{"__isSmartRef__":true,"id":11148},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11155":{"style":{"__isSmartRef__":true,"id":11156},"chunkOwner":{"__isSmartRef__":true,"id":11148},"storedString":"doNotSerialize","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11156":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11157":{"style":{"__isSmartRef__":true,"id":11158},"chunkOwner":{"__isSmartRef__":true,"id":11148},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11158":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11159":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11160":{"layoutText":{"__isSmartRef__":true,"id":11161}},"11161":{"varMapping":{"__isSmartRef__":true,"id":11162},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":11163},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11162":{"this":{"__isSmartRef__":true,"id":11148}},"11163":{},"11164":{"_Position":{"__isSmartRef__":true,"id":11165},"renderContextTable":{"__isSmartRef__":true,"id":11166},"_Extent":{"__isSmartRef__":true,"id":11167},"_Padding":{"__isSmartRef__":true,"id":11168},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11165":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11166":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11167":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11168":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11169":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11170":{"morph":{"__isSmartRef__":true,"id":11130},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11171":{"resizeWidth":true},"11172":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11173":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11174":{"updateExpanderColor":{"__isSmartRef__":true,"id":11175},"onMouseDown":{"__isSmartRef__":true,"id":11178},"isRoot":{"__isSmartRef__":true,"id":11185},"displayValue":{"__isSmartRef__":true,"id":11188},"update":{"__isSmartRef__":true,"id":11191}},"11175":{"varMapping":{"__isSmartRef__":true,"id":11176},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":11177},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11176":{"this":{"__isSmartRef__":true,"id":11130}},"11177":{},"11178":{"varMapping":{"__isSmartRef__":true,"id":11179},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":11184},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11179":{"this":{"__isSmartRef__":true,"id":11130},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11180}},"11180":{"$super":{"__isSmartRef__":true,"id":11181}},"11181":{"varMapping":{"__isSmartRef__":true,"id":11182},"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":11183},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11182":{"obj":{"__isSmartRef__":true,"id":11130},"name":"onMouseDown"},"11183":{},"11184":{},"11185":{"varMapping":{"__isSmartRef__":true,"id":11186},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":11187},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11186":{"this":{"__isSmartRef__":true,"id":11130}},"11187":{},"11188":{"varMapping":{"__isSmartRef__":true,"id":11189},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":11190},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11189":{"this":{"__isSmartRef__":true,"id":11130}},"11190":{},"11191":{"varMapping":{"__isSmartRef__":true,"id":11192},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":11193},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11192":{"this":{"__isSmartRef__":true,"id":11130}},"11193":{},"11194":{"_Position":{"__isSmartRef__":true,"id":11195},"renderContextTable":{"__isSmartRef__":true,"id":11196},"_Extent":{"__isSmartRef__":true,"id":11197},"_Padding":{"__isSmartRef__":true,"id":11198},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11195":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11196":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11197":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11198":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11199":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11200":{"morph":{"__isSmartRef__":true,"id":11129},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11201":{"layouter":{"__isSmartRef__":true,"id":11202},"resizeWidth":true},"11202":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":11129},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"11203":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11204":{"x":0,"y":440,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11205":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":11206}},"11206":{"varMapping":{"__isSmartRef__":true,"id":11207},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":11212},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11207":{"this":{"__isSmartRef__":true,"id":11129},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11208}},"11208":{"$super":{"__isSmartRef__":true,"id":11209}},"11209":{"varMapping":{"__isSmartRef__":true,"id":11210},"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":11211},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11210":{"obj":{"__isSmartRef__":true,"id":11129},"name":"getLayoutableSubmorphs"},"11211":{},"11212":{},"11213":{"submorphs":[{"__isSmartRef__":true,"id":11214}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11278},"derivationIds":[null],"id":"4509B0AD-128A-4742-9457-04AEAD93EF63","renderContextTable":{"__isSmartRef__":true,"id":11283},"eventHandler":{"__isSmartRef__":true,"id":11284},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11285},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":11287},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":11288},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11289},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"11214":{"submorphs":[{"__isSmartRef__":true,"id":11215},{"__isSmartRef__":true,"id":11232}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11248},"derivationIds":[null],"id":"E2952259-9D8F-41A1-9C45-A8CFB46DAFFC","renderContextTable":{"__isSmartRef__":true,"id":11253},"eventHandler":{"__isSmartRef__":true,"id":11254},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11255},"grabbingEnabled":false,"draggingEnabled":false,"data":false,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"droppingEnabled","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":11215},"text":{"__isSmartRef__":true,"id":11232},"owner":{"__isSmartRef__":true,"id":11213},"_Position":{"__isSmartRef__":true,"id":11256},"priorExtent":{"__isSmartRef__":true,"id":11257},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11258},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"11215":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11216},"derivationIds":[null],"id":"12252161-E42A-4B83-9196-150587637980","renderContextTable":{"__isSmartRef__":true,"id":11222},"eventHandler":{"__isSmartRef__":true,"id":11223},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":11224},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":11214},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11225},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"11216":{"_Position":{"__isSmartRef__":true,"id":11217},"renderContextTable":{"__isSmartRef__":true,"id":11218},"_Extent":{"__isSmartRef__":true,"id":11219},"_Padding":{"__isSmartRef__":true,"id":11220},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":11221},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11217":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11218":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11219":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11220":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11221":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11222":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11223":{"morph":{"__isSmartRef__":true,"id":11215},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11224":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11225":{"toggle":{"__isSmartRef__":true,"id":11226},"toggleExpansion":{"__isSmartRef__":true,"id":11229}},"11226":{"varMapping":{"__isSmartRef__":true,"id":11227},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":11228},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11227":{"this":{"__isSmartRef__":true,"id":11215}},"11228":{},"11229":{"varMapping":{"__isSmartRef__":true,"id":11230},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":11231},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11230":{"this":{"__isSmartRef__":true,"id":11215}},"11231":{},"11232":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11233},"derivationIds":[null],"id":"49BE9C54-41F6-453C-8445-F6D8D9F77681","renderContextTable":{"__isSmartRef__":true,"id":11237},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":11238},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":11239},{"__isSmartRef__":true,"id":11241}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":11243},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":11214},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11244},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11233":{"_Position":{"__isSmartRef__":true,"id":11234},"renderContextTable":{"__isSmartRef__":true,"id":11235},"_Extent":{"__isSmartRef__":true,"id":11236},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11234":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11235":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11236":{"x":140,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11237":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"11238":{"morph":{"__isSmartRef__":true,"id":11232},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11239":{"style":{"__isSmartRef__":true,"id":11240},"chunkOwner":{"__isSmartRef__":true,"id":11232},"storedString":"droppingEnabled","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11240":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11241":{"style":{"__isSmartRef__":true,"id":11242},"chunkOwner":{"__isSmartRef__":true,"id":11232},"storedString":": false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11242":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11243":{"x":165,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11244":{"layoutText":{"__isSmartRef__":true,"id":11245}},"11245":{"varMapping":{"__isSmartRef__":true,"id":11246},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":11247},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11246":{"this":{"__isSmartRef__":true,"id":11232}},"11247":{},"11248":{"_Position":{"__isSmartRef__":true,"id":11249},"renderContextTable":{"__isSmartRef__":true,"id":11250},"_Extent":{"__isSmartRef__":true,"id":11251},"_Padding":{"__isSmartRef__":true,"id":11252},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11249":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11250":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11251":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11252":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11253":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11254":{"morph":{"__isSmartRef__":true,"id":11214},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11255":{"resizeWidth":true},"11256":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11257":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11258":{"updateExpanderColor":{"__isSmartRef__":true,"id":11259},"onMouseDown":{"__isSmartRef__":true,"id":11262},"isRoot":{"__isSmartRef__":true,"id":11269},"displayValue":{"__isSmartRef__":true,"id":11272},"update":{"__isSmartRef__":true,"id":11275}},"11259":{"varMapping":{"__isSmartRef__":true,"id":11260},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":11261},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11260":{"this":{"__isSmartRef__":true,"id":11214}},"11261":{},"11262":{"varMapping":{"__isSmartRef__":true,"id":11263},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":11268},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11263":{"this":{"__isSmartRef__":true,"id":11214},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11264}},"11264":{"$super":{"__isSmartRef__":true,"id":11265}},"11265":{"varMapping":{"__isSmartRef__":true,"id":11266},"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":11267},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11266":{"obj":{"__isSmartRef__":true,"id":11214},"name":"onMouseDown"},"11267":{},"11268":{},"11269":{"varMapping":{"__isSmartRef__":true,"id":11270},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":11271},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11270":{"this":{"__isSmartRef__":true,"id":11214}},"11271":{},"11272":{"varMapping":{"__isSmartRef__":true,"id":11273},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":11274},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11273":{"this":{"__isSmartRef__":true,"id":11214}},"11274":{},"11275":{"varMapping":{"__isSmartRef__":true,"id":11276},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":11277},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11276":{"this":{"__isSmartRef__":true,"id":11214}},"11277":{},"11278":{"_Position":{"__isSmartRef__":true,"id":11279},"renderContextTable":{"__isSmartRef__":true,"id":11280},"_Extent":{"__isSmartRef__":true,"id":11281},"_Padding":{"__isSmartRef__":true,"id":11282},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11279":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11280":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11281":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11282":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11283":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11284":{"morph":{"__isSmartRef__":true,"id":11213},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11285":{"layouter":{"__isSmartRef__":true,"id":11286},"resizeWidth":true},"11286":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":11213},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"11287":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11288":{"x":0,"y":420,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11289":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":11290}},"11290":{"varMapping":{"__isSmartRef__":true,"id":11291},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":11296},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11291":{"this":{"__isSmartRef__":true,"id":11213},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11292}},"11292":{"$super":{"__isSmartRef__":true,"id":11293}},"11293":{"varMapping":{"__isSmartRef__":true,"id":11294},"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":11295},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11294":{"obj":{"__isSmartRef__":true,"id":11213},"name":"getLayoutableSubmorphs"},"11295":{},"11296":{},"11297":{"submorphs":[{"__isSmartRef__":true,"id":11298}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11362},"derivationIds":[null],"id":"487F43B1-8EF3-4F5D-A075-CF279211CF23","renderContextTable":{"__isSmartRef__":true,"id":11367},"eventHandler":{"__isSmartRef__":true,"id":11368},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11369},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":11371},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":11372},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11373},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"11298":{"submorphs":[{"__isSmartRef__":true,"id":11299},{"__isSmartRef__":true,"id":11316}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11332},"derivationIds":[null],"id":"83244A65-DEE3-4D85-ACBB-6AFDEE2C5902","renderContextTable":{"__isSmartRef__":true,"id":11337},"eventHandler":{"__isSmartRef__":true,"id":11338},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11339},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1370},"propertyList":["morph","__SourceModuleName__","dispatchTable"],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"eventHandler","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":11299},"text":{"__isSmartRef__":true,"id":11316},"owner":{"__isSmartRef__":true,"id":11297},"_Position":{"__isSmartRef__":true,"id":11340},"priorExtent":{"__isSmartRef__":true,"id":11341},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11342},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"11299":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11300},"derivationIds":[null],"id":"7B5093F8-6C1B-466C-A833-D71C8DE3F992","renderContextTable":{"__isSmartRef__":true,"id":11306},"eventHandler":{"__isSmartRef__":true,"id":11307},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":11308},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":11298},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11309},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"11300":{"_Position":{"__isSmartRef__":true,"id":11301},"renderContextTable":{"__isSmartRef__":true,"id":11302},"_Extent":{"__isSmartRef__":true,"id":11303},"_Padding":{"__isSmartRef__":true,"id":11304},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":11305},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11301":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11302":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11303":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11304":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11305":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11306":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11307":{"morph":{"__isSmartRef__":true,"id":11299},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11308":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11309":{"toggle":{"__isSmartRef__":true,"id":11310},"toggleExpansion":{"__isSmartRef__":true,"id":11313}},"11310":{"varMapping":{"__isSmartRef__":true,"id":11311},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":11312},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11311":{"this":{"__isSmartRef__":true,"id":11299}},"11312":{},"11313":{"varMapping":{"__isSmartRef__":true,"id":11314},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":11315},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11314":{"this":{"__isSmartRef__":true,"id":11299}},"11315":{},"11316":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11317},"derivationIds":[null],"id":"D0EDCE15-8690-4D33-A4D8-ADC1E406D1BF","renderContextTable":{"__isSmartRef__":true,"id":11321},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":11322},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":11323},{"__isSmartRef__":true,"id":11325}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":11327},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":11298},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11328},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11317":{"_Position":{"__isSmartRef__":true,"id":11318},"renderContextTable":{"__isSmartRef__":true,"id":11319},"_Extent":{"__isSmartRef__":true,"id":11320},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11318":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11319":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11320":{"x":167,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11321":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"11322":{"morph":{"__isSmartRef__":true,"id":11316},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11323":{"style":{"__isSmartRef__":true,"id":11324},"chunkOwner":{"__isSmartRef__":true,"id":11316},"storedString":"eventHandler","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11324":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11325":{"style":{"__isSmartRef__":true,"id":11326},"chunkOwner":{"__isSmartRef__":true,"id":11316},"storedString":": EventHandler","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11326":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11327":{"x":195,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11328":{"layoutText":{"__isSmartRef__":true,"id":11329}},"11329":{"varMapping":{"__isSmartRef__":true,"id":11330},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":11331},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11330":{"this":{"__isSmartRef__":true,"id":11316}},"11331":{},"11332":{"_Position":{"__isSmartRef__":true,"id":11333},"renderContextTable":{"__isSmartRef__":true,"id":11334},"_Extent":{"__isSmartRef__":true,"id":11335},"_Padding":{"__isSmartRef__":true,"id":11336},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11333":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11334":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11335":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11336":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11337":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11338":{"morph":{"__isSmartRef__":true,"id":11298},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11339":{"resizeWidth":true},"11340":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11341":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11342":{"updateExpanderColor":{"__isSmartRef__":true,"id":11343},"onMouseDown":{"__isSmartRef__":true,"id":11346},"isRoot":{"__isSmartRef__":true,"id":11353},"displayValue":{"__isSmartRef__":true,"id":11356},"update":{"__isSmartRef__":true,"id":11359}},"11343":{"varMapping":{"__isSmartRef__":true,"id":11344},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":11345},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11344":{"this":{"__isSmartRef__":true,"id":11298}},"11345":{},"11346":{"varMapping":{"__isSmartRef__":true,"id":11347},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":11352},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11347":{"this":{"__isSmartRef__":true,"id":11298},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11348}},"11348":{"$super":{"__isSmartRef__":true,"id":11349}},"11349":{"varMapping":{"__isSmartRef__":true,"id":11350},"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":11351},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11350":{"obj":{"__isSmartRef__":true,"id":11298},"name":"onMouseDown"},"11351":{},"11352":{},"11353":{"varMapping":{"__isSmartRef__":true,"id":11354},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":11355},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11354":{"this":{"__isSmartRef__":true,"id":11298}},"11355":{},"11356":{"varMapping":{"__isSmartRef__":true,"id":11357},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":11358},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11357":{"this":{"__isSmartRef__":true,"id":11298}},"11358":{},"11359":{"varMapping":{"__isSmartRef__":true,"id":11360},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":11361},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11360":{"this":{"__isSmartRef__":true,"id":11298}},"11361":{},"11362":{"_Position":{"__isSmartRef__":true,"id":11363},"renderContextTable":{"__isSmartRef__":true,"id":11364},"_Extent":{"__isSmartRef__":true,"id":11365},"_Padding":{"__isSmartRef__":true,"id":11366},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11363":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11364":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11365":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11366":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11367":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11368":{"morph":{"__isSmartRef__":true,"id":11297},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11369":{"layouter":{"__isSmartRef__":true,"id":11370},"resizeWidth":true},"11370":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":11297},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"11371":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11372":{"x":0,"y":400,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11373":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":11374}},"11374":{"varMapping":{"__isSmartRef__":true,"id":11375},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":11380},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11375":{"this":{"__isSmartRef__":true,"id":11297},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11376}},"11376":{"$super":{"__isSmartRef__":true,"id":11377}},"11377":{"varMapping":{"__isSmartRef__":true,"id":11378},"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":11379},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11378":{"obj":{"__isSmartRef__":true,"id":11297},"name":"getLayoutableSubmorphs"},"11379":{},"11380":{},"11381":{"submorphs":[{"__isSmartRef__":true,"id":11382}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11445},"derivationIds":[null],"id":"496D0FB9-8DFE-4C66-B062-19EE6CD36ACA","renderContextTable":{"__isSmartRef__":true,"id":11450},"eventHandler":{"__isSmartRef__":true,"id":11451},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11452},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":11454},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":11455},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11456},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"11382":{"submorphs":[{"__isSmartRef__":true,"id":11383},{"__isSmartRef__":true,"id":11399}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11415},"derivationIds":[null],"id":"4E68FA2D-4DDF-4BC0-919F-793DED447A88","renderContextTable":{"__isSmartRef__":true,"id":11420},"eventHandler":{"__isSmartRef__":true,"id":11421},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11422},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"halos","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":11383},"text":{"__isSmartRef__":true,"id":11399},"owner":{"__isSmartRef__":true,"id":11381},"_Position":{"__isSmartRef__":true,"id":11423},"priorExtent":{"__isSmartRef__":true,"id":11424},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11425},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"11383":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11384},"derivationIds":[null],"id":"3257B5B8-8342-4E0C-9FD2-B9BABB10A34F","renderContextTable":{"__isSmartRef__":true,"id":11389},"eventHandler":{"__isSmartRef__":true,"id":11390},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":11391},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":11382},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11392},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"11384":{"_Position":{"__isSmartRef__":true,"id":11385},"renderContextTable":{"__isSmartRef__":true,"id":11386},"_Extent":{"__isSmartRef__":true,"id":11387},"_Padding":{"__isSmartRef__":true,"id":11388},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":6759},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11385":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11386":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11387":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11388":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11389":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11390":{"morph":{"__isSmartRef__":true,"id":11383},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11391":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11392":{"toggle":{"__isSmartRef__":true,"id":11393},"toggleExpansion":{"__isSmartRef__":true,"id":11396}},"11393":{"varMapping":{"__isSmartRef__":true,"id":11394},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":11395},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11394":{"this":{"__isSmartRef__":true,"id":11383}},"11395":{},"11396":{"varMapping":{"__isSmartRef__":true,"id":11397},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":11398},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11397":{"this":{"__isSmartRef__":true,"id":11383}},"11398":{},"11399":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11400},"derivationIds":[null],"id":"C8B5051D-1882-4CFC-A765-05B894D32D61","renderContextTable":{"__isSmartRef__":true,"id":11404},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":11405},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":11406},{"__isSmartRef__":true,"id":11408}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":11410},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":11382},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11411},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11400":{"_Position":{"__isSmartRef__":true,"id":11401},"renderContextTable":{"__isSmartRef__":true,"id":11402},"_Extent":{"__isSmartRef__":true,"id":11403},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11401":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11402":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11403":{"x":67.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11404":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"11405":{"morph":{"__isSmartRef__":true,"id":11399},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11406":{"style":{"__isSmartRef__":true,"id":11407},"chunkOwner":{"__isSmartRef__":true,"id":11399},"storedString":"halos","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11407":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11408":{"style":{"__isSmartRef__":true,"id":11409},"chunkOwner":{"__isSmartRef__":true,"id":11399},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11409":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11410":{"x":67.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11411":{"layoutText":{"__isSmartRef__":true,"id":11412}},"11412":{"varMapping":{"__isSmartRef__":true,"id":11413},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":11414},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11413":{"this":{"__isSmartRef__":true,"id":11399}},"11414":{},"11415":{"_Position":{"__isSmartRef__":true,"id":11416},"renderContextTable":{"__isSmartRef__":true,"id":11417},"_Extent":{"__isSmartRef__":true,"id":11418},"_Padding":{"__isSmartRef__":true,"id":11419},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11416":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11417":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11418":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11419":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11420":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11421":{"morph":{"__isSmartRef__":true,"id":11382},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11422":{"resizeWidth":true},"11423":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11424":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11425":{"updateExpanderColor":{"__isSmartRef__":true,"id":11426},"onMouseDown":{"__isSmartRef__":true,"id":11429},"isRoot":{"__isSmartRef__":true,"id":11436},"displayValue":{"__isSmartRef__":true,"id":11439},"update":{"__isSmartRef__":true,"id":11442}},"11426":{"varMapping":{"__isSmartRef__":true,"id":11427},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":11428},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11427":{"this":{"__isSmartRef__":true,"id":11382}},"11428":{},"11429":{"varMapping":{"__isSmartRef__":true,"id":11430},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":11435},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11430":{"this":{"__isSmartRef__":true,"id":11382},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11431}},"11431":{"$super":{"__isSmartRef__":true,"id":11432}},"11432":{"varMapping":{"__isSmartRef__":true,"id":11433},"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":11434},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11433":{"obj":{"__isSmartRef__":true,"id":11382},"name":"onMouseDown"},"11434":{},"11435":{},"11436":{"varMapping":{"__isSmartRef__":true,"id":11437},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":11438},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11437":{"this":{"__isSmartRef__":true,"id":11382}},"11438":{},"11439":{"varMapping":{"__isSmartRef__":true,"id":11440},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":11441},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11440":{"this":{"__isSmartRef__":true,"id":11382}},"11441":{},"11442":{"varMapping":{"__isSmartRef__":true,"id":11443},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":11444},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11443":{"this":{"__isSmartRef__":true,"id":11382}},"11444":{},"11445":{"_Position":{"__isSmartRef__":true,"id":11446},"renderContextTable":{"__isSmartRef__":true,"id":11447},"_Extent":{"__isSmartRef__":true,"id":11448},"_Padding":{"__isSmartRef__":true,"id":11449},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11446":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11447":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11448":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11449":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11450":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11451":{"morph":{"__isSmartRef__":true,"id":11381},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11452":{"layouter":{"__isSmartRef__":true,"id":11453},"resizeWidth":true},"11453":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":11381},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"11454":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11455":{"x":0,"y":380,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11456":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":11457}},"11457":{"varMapping":{"__isSmartRef__":true,"id":11458},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":11463},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11458":{"this":{"__isSmartRef__":true,"id":11381},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11459}},"11459":{"$super":{"__isSmartRef__":true,"id":11460}},"11460":{"varMapping":{"__isSmartRef__":true,"id":11461},"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":11462},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11461":{"obj":{"__isSmartRef__":true,"id":11381},"name":"getLayoutableSubmorphs"},"11462":{},"11463":{},"11464":{"submorphs":[{"__isSmartRef__":true,"id":11465}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11529},"derivationIds":[null],"id":"FC432C1C-79D4-4DC7-8D51-15A86E61042D","renderContextTable":{"__isSmartRef__":true,"id":11534},"eventHandler":{"__isSmartRef__":true,"id":11535},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11536},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":11538},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":11539},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11540},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"11465":{"submorphs":[{"__isSmartRef__":true,"id":11466},{"__isSmartRef__":true,"id":11483}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11499},"derivationIds":[null],"id":"626A7757-15E5-47C5-99D5-0DBEBFC8AA2E","renderContextTable":{"__isSmartRef__":true,"id":11504},"eventHandler":{"__isSmartRef__":true,"id":11505},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11506},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"halosEnabled","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":11466},"text":{"__isSmartRef__":true,"id":11483},"owner":{"__isSmartRef__":true,"id":11464},"_Position":{"__isSmartRef__":true,"id":11507},"priorExtent":{"__isSmartRef__":true,"id":11508},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11509},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"11466":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11467},"derivationIds":[null],"id":"850C185F-8123-4480-BEFA-EA833D9E78F8","renderContextTable":{"__isSmartRef__":true,"id":11473},"eventHandler":{"__isSmartRef__":true,"id":11474},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":11475},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":11465},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11476},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"11467":{"_Position":{"__isSmartRef__":true,"id":11468},"renderContextTable":{"__isSmartRef__":true,"id":11469},"_Extent":{"__isSmartRef__":true,"id":11470},"_Padding":{"__isSmartRef__":true,"id":11471},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":11472},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11468":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11469":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11470":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11471":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11472":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11473":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11474":{"morph":{"__isSmartRef__":true,"id":11466},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11475":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11476":{"toggle":{"__isSmartRef__":true,"id":11477},"toggleExpansion":{"__isSmartRef__":true,"id":11480}},"11477":{"varMapping":{"__isSmartRef__":true,"id":11478},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":11479},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11478":{"this":{"__isSmartRef__":true,"id":11466}},"11479":{},"11480":{"varMapping":{"__isSmartRef__":true,"id":11481},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":11482},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11481":{"this":{"__isSmartRef__":true,"id":11466}},"11482":{},"11483":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11484},"derivationIds":[null],"id":"8A268AC7-9B1B-4EB3-95A5-483C90722A5A","renderContextTable":{"__isSmartRef__":true,"id":11488},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":11489},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":11490},{"__isSmartRef__":true,"id":11492}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":11494},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":11465},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11495},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11484":{"_Position":{"__isSmartRef__":true,"id":11485},"renderContextTable":{"__isSmartRef__":true,"id":11486},"_Extent":{"__isSmartRef__":true,"id":11487},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11485":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11486":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11487":{"x":116,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11488":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"11489":{"morph":{"__isSmartRef__":true,"id":11483},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11490":{"style":{"__isSmartRef__":true,"id":11491},"chunkOwner":{"__isSmartRef__":true,"id":11483},"storedString":"halosEnabled","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11491":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11492":{"style":{"__isSmartRef__":true,"id":11493},"chunkOwner":{"__isSmartRef__":true,"id":11483},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11493":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11494":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11495":{"layoutText":{"__isSmartRef__":true,"id":11496}},"11496":{"varMapping":{"__isSmartRef__":true,"id":11497},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":11498},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11497":{"this":{"__isSmartRef__":true,"id":11483}},"11498":{},"11499":{"_Position":{"__isSmartRef__":true,"id":11500},"renderContextTable":{"__isSmartRef__":true,"id":11501},"_Extent":{"__isSmartRef__":true,"id":11502},"_Padding":{"__isSmartRef__":true,"id":11503},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11500":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11501":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11502":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11503":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11504":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11505":{"morph":{"__isSmartRef__":true,"id":11465},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11506":{"resizeWidth":true},"11507":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11508":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11509":{"updateExpanderColor":{"__isSmartRef__":true,"id":11510},"onMouseDown":{"__isSmartRef__":true,"id":11513},"isRoot":{"__isSmartRef__":true,"id":11520},"displayValue":{"__isSmartRef__":true,"id":11523},"update":{"__isSmartRef__":true,"id":11526}},"11510":{"varMapping":{"__isSmartRef__":true,"id":11511},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":11512},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11511":{"this":{"__isSmartRef__":true,"id":11465}},"11512":{},"11513":{"varMapping":{"__isSmartRef__":true,"id":11514},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":11519},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11514":{"this":{"__isSmartRef__":true,"id":11465},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11515}},"11515":{"$super":{"__isSmartRef__":true,"id":11516}},"11516":{"varMapping":{"__isSmartRef__":true,"id":11517},"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":11518},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11517":{"obj":{"__isSmartRef__":true,"id":11465},"name":"onMouseDown"},"11518":{},"11519":{},"11520":{"varMapping":{"__isSmartRef__":true,"id":11521},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":11522},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11521":{"this":{"__isSmartRef__":true,"id":11465}},"11522":{},"11523":{"varMapping":{"__isSmartRef__":true,"id":11524},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":11525},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11524":{"this":{"__isSmartRef__":true,"id":11465}},"11525":{},"11526":{"varMapping":{"__isSmartRef__":true,"id":11527},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":11528},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11527":{"this":{"__isSmartRef__":true,"id":11465}},"11528":{},"11529":{"_Position":{"__isSmartRef__":true,"id":11530},"renderContextTable":{"__isSmartRef__":true,"id":11531},"_Extent":{"__isSmartRef__":true,"id":11532},"_Padding":{"__isSmartRef__":true,"id":11533},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11530":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11531":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11532":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11533":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11534":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11535":{"morph":{"__isSmartRef__":true,"id":11464},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11536":{"layouter":{"__isSmartRef__":true,"id":11537},"resizeWidth":true},"11537":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":11464},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"11538":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11539":{"x":0,"y":360,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11540":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":11541}},"11541":{"varMapping":{"__isSmartRef__":true,"id":11542},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":11547},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11542":{"this":{"__isSmartRef__":true,"id":11464},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11543}},"11543":{"$super":{"__isSmartRef__":true,"id":11544}},"11544":{"varMapping":{"__isSmartRef__":true,"id":11545},"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":11546},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11545":{"obj":{"__isSmartRef__":true,"id":11464},"name":"getLayoutableSubmorphs"},"11546":{},"11547":{},"11548":{"submorphs":[{"__isSmartRef__":true,"id":11549}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11613},"derivationIds":[null],"id":"E3A72EF3-F0B4-4742-AC9C-EB73179A9983","renderContextTable":{"__isSmartRef__":true,"id":11618},"eventHandler":{"__isSmartRef__":true,"id":11619},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11620},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":11622},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":11623},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11624},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"11549":{"submorphs":[{"__isSmartRef__":true,"id":11550},{"__isSmartRef__":true,"id":11567}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11583},"derivationIds":[null],"id":"501EA949-ACA4-4EA5-9511-A06114D31B94","renderContextTable":{"__isSmartRef__":true,"id":11588},"eventHandler":{"__isSmartRef__":true,"id":11589},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11590},"grabbingEnabled":false,"draggingEnabled":false,"data":"F3CF232C-F7C3-4BB7-98CC-1BFC578D319D","propertyList":["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35"],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"id","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":11550},"text":{"__isSmartRef__":true,"id":11567},"owner":{"__isSmartRef__":true,"id":11548},"_Position":{"__isSmartRef__":true,"id":11591},"priorExtent":{"__isSmartRef__":true,"id":11592},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11593},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"11550":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11551},"derivationIds":[null],"id":"A70132CF-64E7-4E42-90CC-6BDF3D7335BD","renderContextTable":{"__isSmartRef__":true,"id":11557},"eventHandler":{"__isSmartRef__":true,"id":11558},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":11559},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":11549},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11560},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"11551":{"_Position":{"__isSmartRef__":true,"id":11552},"renderContextTable":{"__isSmartRef__":true,"id":11553},"_Extent":{"__isSmartRef__":true,"id":11554},"_Padding":{"__isSmartRef__":true,"id":11555},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":11556},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11552":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11553":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11554":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11555":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11556":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11557":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11558":{"morph":{"__isSmartRef__":true,"id":11550},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11559":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11560":{"toggle":{"__isSmartRef__":true,"id":11561},"toggleExpansion":{"__isSmartRef__":true,"id":11564}},"11561":{"varMapping":{"__isSmartRef__":true,"id":11562},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":11563},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11562":{"this":{"__isSmartRef__":true,"id":11550}},"11563":{},"11564":{"varMapping":{"__isSmartRef__":true,"id":11565},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":11566},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11565":{"this":{"__isSmartRef__":true,"id":11550}},"11566":{},"11567":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11568},"derivationIds":[null],"id":"E98088B6-E8BB-426C-A976-93B2D954290A","renderContextTable":{"__isSmartRef__":true,"id":11572},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":11573},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":11574},{"__isSmartRef__":true,"id":11576}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":11578},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":11549},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11579},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11568":{"_Position":{"__isSmartRef__":true,"id":11569},"renderContextTable":{"__isSmartRef__":true,"id":11570},"_Extent":{"__isSmartRef__":true,"id":11571},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11569":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11570":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11571":{"x":292,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11572":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"11573":{"morph":{"__isSmartRef__":true,"id":11567},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11574":{"style":{"__isSmartRef__":true,"id":11575},"chunkOwner":{"__isSmartRef__":true,"id":11567},"storedString":"id","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11575":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11576":{"style":{"__isSmartRef__":true,"id":11577},"chunkOwner":{"__isSmartRef__":true,"id":11567},"storedString":": F3CF232C-F7C3-4BB7-98CC-1BFC578D319D","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11577":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11578":{"x":300,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11579":{"layoutText":{"__isSmartRef__":true,"id":11580}},"11580":{"varMapping":{"__isSmartRef__":true,"id":11581},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":11582},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11581":{"this":{"__isSmartRef__":true,"id":11567}},"11582":{},"11583":{"_Position":{"__isSmartRef__":true,"id":11584},"renderContextTable":{"__isSmartRef__":true,"id":11585},"_Extent":{"__isSmartRef__":true,"id":11586},"_Padding":{"__isSmartRef__":true,"id":11587},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11584":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11585":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11586":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11587":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11588":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11589":{"morph":{"__isSmartRef__":true,"id":11549},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11590":{"resizeWidth":true},"11591":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11592":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11593":{"updateExpanderColor":{"__isSmartRef__":true,"id":11594},"onMouseDown":{"__isSmartRef__":true,"id":11597},"isRoot":{"__isSmartRef__":true,"id":11604},"displayValue":{"__isSmartRef__":true,"id":11607},"update":{"__isSmartRef__":true,"id":11610}},"11594":{"varMapping":{"__isSmartRef__":true,"id":11595},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":11596},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11595":{"this":{"__isSmartRef__":true,"id":11549}},"11596":{},"11597":{"varMapping":{"__isSmartRef__":true,"id":11598},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":11603},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11598":{"this":{"__isSmartRef__":true,"id":11549},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11599}},"11599":{"$super":{"__isSmartRef__":true,"id":11600}},"11600":{"varMapping":{"__isSmartRef__":true,"id":11601},"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":11602},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11601":{"obj":{"__isSmartRef__":true,"id":11549},"name":"onMouseDown"},"11602":{},"11603":{},"11604":{"varMapping":{"__isSmartRef__":true,"id":11605},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":11606},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11605":{"this":{"__isSmartRef__":true,"id":11549}},"11606":{},"11607":{"varMapping":{"__isSmartRef__":true,"id":11608},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":11609},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11608":{"this":{"__isSmartRef__":true,"id":11549}},"11609":{},"11610":{"varMapping":{"__isSmartRef__":true,"id":11611},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":11612},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11611":{"this":{"__isSmartRef__":true,"id":11549}},"11612":{},"11613":{"_Position":{"__isSmartRef__":true,"id":11614},"renderContextTable":{"__isSmartRef__":true,"id":11615},"_Extent":{"__isSmartRef__":true,"id":11616},"_Padding":{"__isSmartRef__":true,"id":11617},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11614":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11615":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11616":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11617":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11618":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11619":{"morph":{"__isSmartRef__":true,"id":11548},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11620":{"layouter":{"__isSmartRef__":true,"id":11621},"resizeWidth":true},"11621":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":11548},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"11622":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11623":{"x":0,"y":340,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11624":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":11625}},"11625":{"varMapping":{"__isSmartRef__":true,"id":11626},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":11631},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11626":{"this":{"__isSmartRef__":true,"id":11548},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11627}},"11627":{"$super":{"__isSmartRef__":true,"id":11628}},"11628":{"varMapping":{"__isSmartRef__":true,"id":11629},"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":11630},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11629":{"obj":{"__isSmartRef__":true,"id":11548},"name":"getLayoutableSubmorphs"},"11630":{},"11631":{},"11632":{"submorphs":[{"__isSmartRef__":true,"id":11633}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11697},"derivationIds":[null],"id":"B7ABA91A-B726-4BCA-B96C-3A12BFB831D2","renderContextTable":{"__isSmartRef__":true,"id":11702},"eventHandler":{"__isSmartRef__":true,"id":11703},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11704},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":11706},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":11707},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11708},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"11633":{"submorphs":[{"__isSmartRef__":true,"id":11634},{"__isSmartRef__":true,"id":11651}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11667},"derivationIds":[null],"id":"1D926B65-0D8C-4432-A5C8-E5A3613F8E4F","renderContextTable":{"__isSmartRef__":true,"id":11672},"eventHandler":{"__isSmartRef__":true,"id":11673},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11674},"grabbingEnabled":false,"draggingEnabled":false,"data":false,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"isBeingDragged","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":11634},"text":{"__isSmartRef__":true,"id":11651},"owner":{"__isSmartRef__":true,"id":11632},"_Position":{"__isSmartRef__":true,"id":11675},"priorExtent":{"__isSmartRef__":true,"id":11676},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11677},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"11634":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11635},"derivationIds":[null],"id":"08D7303E-16EC-4BE5-AB0A-E07D8A69B177","renderContextTable":{"__isSmartRef__":true,"id":11641},"eventHandler":{"__isSmartRef__":true,"id":11642},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":11643},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":11633},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11644},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"11635":{"_Position":{"__isSmartRef__":true,"id":11636},"renderContextTable":{"__isSmartRef__":true,"id":11637},"_Extent":{"__isSmartRef__":true,"id":11638},"_Padding":{"__isSmartRef__":true,"id":11639},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":11640},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11636":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11637":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11638":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11639":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11640":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11641":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11642":{"morph":{"__isSmartRef__":true,"id":11634},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11643":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11644":{"toggle":{"__isSmartRef__":true,"id":11645},"toggleExpansion":{"__isSmartRef__":true,"id":11648}},"11645":{"varMapping":{"__isSmartRef__":true,"id":11646},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":11647},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11646":{"this":{"__isSmartRef__":true,"id":11634}},"11647":{},"11648":{"varMapping":{"__isSmartRef__":true,"id":11649},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":11650},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11649":{"this":{"__isSmartRef__":true,"id":11634}},"11650":{},"11651":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11652},"derivationIds":[null],"id":"263CF297-6859-4009-999F-01DA9BBA4FF9","renderContextTable":{"__isSmartRef__":true,"id":11656},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":11657},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":11658},{"__isSmartRef__":true,"id":11660}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":11662},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":11633},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11663},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11652":{"_Position":{"__isSmartRef__":true,"id":11653},"renderContextTable":{"__isSmartRef__":true,"id":11654},"_Extent":{"__isSmartRef__":true,"id":11655},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11653":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11654":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11655":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11656":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"11657":{"morph":{"__isSmartRef__":true,"id":11651},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11658":{"style":{"__isSmartRef__":true,"id":11659},"chunkOwner":{"__isSmartRef__":true,"id":11651},"storedString":"isBeingDragged","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11659":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11660":{"style":{"__isSmartRef__":true,"id":11661},"chunkOwner":{"__isSmartRef__":true,"id":11651},"storedString":": false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11661":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11662":{"x":157.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11663":{"layoutText":{"__isSmartRef__":true,"id":11664}},"11664":{"varMapping":{"__isSmartRef__":true,"id":11665},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":11666},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11665":{"this":{"__isSmartRef__":true,"id":11651}},"11666":{},"11667":{"_Position":{"__isSmartRef__":true,"id":11668},"renderContextTable":{"__isSmartRef__":true,"id":11669},"_Extent":{"__isSmartRef__":true,"id":11670},"_Padding":{"__isSmartRef__":true,"id":11671},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11668":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11669":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11670":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11671":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11672":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11673":{"morph":{"__isSmartRef__":true,"id":11633},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11674":{"resizeWidth":true},"11675":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11676":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11677":{"updateExpanderColor":{"__isSmartRef__":true,"id":11678},"onMouseDown":{"__isSmartRef__":true,"id":11681},"isRoot":{"__isSmartRef__":true,"id":11688},"displayValue":{"__isSmartRef__":true,"id":11691},"update":{"__isSmartRef__":true,"id":11694}},"11678":{"varMapping":{"__isSmartRef__":true,"id":11679},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":11680},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11679":{"this":{"__isSmartRef__":true,"id":11633}},"11680":{},"11681":{"varMapping":{"__isSmartRef__":true,"id":11682},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":11687},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11682":{"this":{"__isSmartRef__":true,"id":11633},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11683}},"11683":{"$super":{"__isSmartRef__":true,"id":11684}},"11684":{"varMapping":{"__isSmartRef__":true,"id":11685},"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":11686},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11685":{"obj":{"__isSmartRef__":true,"id":11633},"name":"onMouseDown"},"11686":{},"11687":{},"11688":{"varMapping":{"__isSmartRef__":true,"id":11689},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":11690},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11689":{"this":{"__isSmartRef__":true,"id":11633}},"11690":{},"11691":{"varMapping":{"__isSmartRef__":true,"id":11692},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":11693},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11692":{"this":{"__isSmartRef__":true,"id":11633}},"11693":{},"11694":{"varMapping":{"__isSmartRef__":true,"id":11695},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":11696},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11695":{"this":{"__isSmartRef__":true,"id":11633}},"11696":{},"11697":{"_Position":{"__isSmartRef__":true,"id":11698},"renderContextTable":{"__isSmartRef__":true,"id":11699},"_Extent":{"__isSmartRef__":true,"id":11700},"_Padding":{"__isSmartRef__":true,"id":11701},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11698":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11699":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11700":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11701":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11702":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11703":{"morph":{"__isSmartRef__":true,"id":11632},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11704":{"layouter":{"__isSmartRef__":true,"id":11705},"resizeWidth":true},"11705":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":11632},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"11706":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11707":{"x":0,"y":320,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11708":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":11709}},"11709":{"varMapping":{"__isSmartRef__":true,"id":11710},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":11715},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11710":{"this":{"__isSmartRef__":true,"id":11632},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11711}},"11711":{"$super":{"__isSmartRef__":true,"id":11712}},"11712":{"varMapping":{"__isSmartRef__":true,"id":11713},"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":11714},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11713":{"obj":{"__isSmartRef__":true,"id":11632},"name":"getLayoutableSubmorphs"},"11714":{},"11715":{},"11716":{"submorphs":[{"__isSmartRef__":true,"id":11717}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11781},"derivationIds":[null],"id":"CED8EAB1-C2AB-4E64-AF2D-62DFB32D5A8F","renderContextTable":{"__isSmartRef__":true,"id":11786},"eventHandler":{"__isSmartRef__":true,"id":11787},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11788},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":11790},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":11791},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11792},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"11717":{"submorphs":[{"__isSmartRef__":true,"id":11718},{"__isSmartRef__":true,"id":11735}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11751},"derivationIds":[null],"id":"5D9AE997-ABAE-471A-ACC9-E57BBD75FCF1","renderContextTable":{"__isSmartRef__":true,"id":11756},"eventHandler":{"__isSmartRef__":true,"id":11757},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11758},"grabbingEnabled":false,"draggingEnabled":false,"data":false,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"isLockOwner","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":11718},"text":{"__isSmartRef__":true,"id":11735},"owner":{"__isSmartRef__":true,"id":11716},"_Position":{"__isSmartRef__":true,"id":11759},"priorExtent":{"__isSmartRef__":true,"id":11760},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11761},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"11718":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11719},"derivationIds":[null],"id":"86DCA076-BD3C-4DDE-8D24-226ABE991FC8","renderContextTable":{"__isSmartRef__":true,"id":11725},"eventHandler":{"__isSmartRef__":true,"id":11726},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":11727},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":11717},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11728},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"11719":{"_Position":{"__isSmartRef__":true,"id":11720},"renderContextTable":{"__isSmartRef__":true,"id":11721},"_Extent":{"__isSmartRef__":true,"id":11722},"_Padding":{"__isSmartRef__":true,"id":11723},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":11724},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11720":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11721":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11722":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11723":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11724":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11725":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11726":{"morph":{"__isSmartRef__":true,"id":11718},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11727":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11728":{"toggle":{"__isSmartRef__":true,"id":11729},"toggleExpansion":{"__isSmartRef__":true,"id":11732}},"11729":{"varMapping":{"__isSmartRef__":true,"id":11730},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":11731},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11730":{"this":{"__isSmartRef__":true,"id":11718}},"11731":{},"11732":{"varMapping":{"__isSmartRef__":true,"id":11733},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":11734},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11733":{"this":{"__isSmartRef__":true,"id":11718}},"11734":{},"11735":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11736},"derivationIds":[null],"id":"68ACAA8E-1A0A-4587-B5D9-586E5C46FF0E","renderContextTable":{"__isSmartRef__":true,"id":11740},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":11741},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":11742},{"__isSmartRef__":true,"id":11744}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":11746},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":11717},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11747},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11736":{"_Position":{"__isSmartRef__":true,"id":11737},"renderContextTable":{"__isSmartRef__":true,"id":11738},"_Extent":{"__isSmartRef__":true,"id":11739},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11737":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11738":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11739":{"x":119,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11740":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"11741":{"morph":{"__isSmartRef__":true,"id":11735},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11742":{"style":{"__isSmartRef__":true,"id":11743},"chunkOwner":{"__isSmartRef__":true,"id":11735},"storedString":"isLockOwner","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11743":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11744":{"style":{"__isSmartRef__":true,"id":11745},"chunkOwner":{"__isSmartRef__":true,"id":11735},"storedString":": false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11745":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11746":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11747":{"layoutText":{"__isSmartRef__":true,"id":11748}},"11748":{"varMapping":{"__isSmartRef__":true,"id":11749},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":11750},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11749":{"this":{"__isSmartRef__":true,"id":11735}},"11750":{},"11751":{"_Position":{"__isSmartRef__":true,"id":11752},"renderContextTable":{"__isSmartRef__":true,"id":11753},"_Extent":{"__isSmartRef__":true,"id":11754},"_Padding":{"__isSmartRef__":true,"id":11755},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11752":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11753":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11754":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11755":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11756":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11757":{"morph":{"__isSmartRef__":true,"id":11717},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11758":{"resizeWidth":true},"11759":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11760":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11761":{"updateExpanderColor":{"__isSmartRef__":true,"id":11762},"onMouseDown":{"__isSmartRef__":true,"id":11765},"isRoot":{"__isSmartRef__":true,"id":11772},"displayValue":{"__isSmartRef__":true,"id":11775},"update":{"__isSmartRef__":true,"id":11778}},"11762":{"varMapping":{"__isSmartRef__":true,"id":11763},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":11764},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11763":{"this":{"__isSmartRef__":true,"id":11717}},"11764":{},"11765":{"varMapping":{"__isSmartRef__":true,"id":11766},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":11771},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11766":{"this":{"__isSmartRef__":true,"id":11717},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11767}},"11767":{"$super":{"__isSmartRef__":true,"id":11768}},"11768":{"varMapping":{"__isSmartRef__":true,"id":11769},"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":11770},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11769":{"obj":{"__isSmartRef__":true,"id":11717},"name":"onMouseDown"},"11770":{},"11771":{},"11772":{"varMapping":{"__isSmartRef__":true,"id":11773},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":11774},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11773":{"this":{"__isSmartRef__":true,"id":11717}},"11774":{},"11775":{"varMapping":{"__isSmartRef__":true,"id":11776},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":11777},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11776":{"this":{"__isSmartRef__":true,"id":11717}},"11777":{},"11778":{"varMapping":{"__isSmartRef__":true,"id":11779},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":11780},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11779":{"this":{"__isSmartRef__":true,"id":11717}},"11780":{},"11781":{"_Position":{"__isSmartRef__":true,"id":11782},"renderContextTable":{"__isSmartRef__":true,"id":11783},"_Extent":{"__isSmartRef__":true,"id":11784},"_Padding":{"__isSmartRef__":true,"id":11785},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11782":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11783":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11784":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11785":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11786":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11787":{"morph":{"__isSmartRef__":true,"id":11716},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11788":{"layouter":{"__isSmartRef__":true,"id":11789},"resizeWidth":true},"11789":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":11716},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"11790":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11791":{"x":0,"y":300,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11792":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":11793}},"11793":{"varMapping":{"__isSmartRef__":true,"id":11794},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":11799},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11794":{"this":{"__isSmartRef__":true,"id":11716},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11795}},"11795":{"$super":{"__isSmartRef__":true,"id":11796}},"11796":{"varMapping":{"__isSmartRef__":true,"id":11797},"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":11798},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11797":{"obj":{"__isSmartRef__":true,"id":11716},"name":"getLayoutableSubmorphs"},"11798":{},"11799":{},"11800":{"submorphs":[{"__isSmartRef__":true,"id":11801}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11865},"derivationIds":[null],"id":"CDFE24F1-A8E9-4153-A20D-501DBA527612","renderContextTable":{"__isSmartRef__":true,"id":11870},"eventHandler":{"__isSmartRef__":true,"id":11871},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11872},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":11874},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":11875},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11876},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"11801":{"submorphs":[{"__isSmartRef__":true,"id":11802},{"__isSmartRef__":true,"id":11819}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11835},"derivationIds":[null],"id":"6AB7CAD5-CAFC-4074-B91A-847581D78A7F","renderContextTable":{"__isSmartRef__":true,"id":11840},"eventHandler":{"__isSmartRef__":true,"id":11841},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11842},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":4378},"propertyList":["isSerializedDate","string"],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"lastTimeClickedOnIpad","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":11802},"text":{"__isSmartRef__":true,"id":11819},"owner":{"__isSmartRef__":true,"id":11800},"_Position":{"__isSmartRef__":true,"id":11843},"priorExtent":{"__isSmartRef__":true,"id":11844},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11845},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"11802":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11803},"derivationIds":[null],"id":"C668CFC2-7F52-4BCA-A0F7-262FF5497683","renderContextTable":{"__isSmartRef__":true,"id":11809},"eventHandler":{"__isSmartRef__":true,"id":11810},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":11811},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":11801},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11812},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"11803":{"_Position":{"__isSmartRef__":true,"id":11804},"renderContextTable":{"__isSmartRef__":true,"id":11805},"_Extent":{"__isSmartRef__":true,"id":11806},"_Padding":{"__isSmartRef__":true,"id":11807},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":11808},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11804":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11805":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11806":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11807":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11808":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11809":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11810":{"morph":{"__isSmartRef__":true,"id":11802},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11811":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11812":{"toggle":{"__isSmartRef__":true,"id":11813},"toggleExpansion":{"__isSmartRef__":true,"id":11816}},"11813":{"varMapping":{"__isSmartRef__":true,"id":11814},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":11815},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11814":{"this":{"__isSmartRef__":true,"id":11802}},"11815":{},"11816":{"varMapping":{"__isSmartRef__":true,"id":11817},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":11818},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11817":{"this":{"__isSmartRef__":true,"id":11802}},"11818":{},"11819":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11820},"derivationIds":[null],"id":"D46AE4FA-9529-4D1D-AB36-D286FBC3E219","renderContextTable":{"__isSmartRef__":true,"id":11824},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":11825},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":11826},{"__isSmartRef__":true,"id":11828}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":11830},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":11801},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11831},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11820":{"_Position":{"__isSmartRef__":true,"id":11821},"renderContextTable":{"__isSmartRef__":true,"id":11822},"_Extent":{"__isSmartRef__":true,"id":11823},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11821":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11822":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11823":{"x":176,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11824":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"11825":{"morph":{"__isSmartRef__":true,"id":11819},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11826":{"style":{"__isSmartRef__":true,"id":11827},"chunkOwner":{"__isSmartRef__":true,"id":11819},"storedString":"lastTimeClickedOnIpad","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11827":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11828":{"style":{"__isSmartRef__":true,"id":11829},"chunkOwner":{"__isSmartRef__":true,"id":11819},"storedString":": Date","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11829":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11830":{"x":202.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11831":{"layoutText":{"__isSmartRef__":true,"id":11832}},"11832":{"varMapping":{"__isSmartRef__":true,"id":11833},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":11834},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11833":{"this":{"__isSmartRef__":true,"id":11819}},"11834":{},"11835":{"_Position":{"__isSmartRef__":true,"id":11836},"renderContextTable":{"__isSmartRef__":true,"id":11837},"_Extent":{"__isSmartRef__":true,"id":11838},"_Padding":{"__isSmartRef__":true,"id":11839},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11836":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11837":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11838":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11839":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11840":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11841":{"morph":{"__isSmartRef__":true,"id":11801},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11842":{"resizeWidth":true},"11843":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11844":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11845":{"updateExpanderColor":{"__isSmartRef__":true,"id":11846},"onMouseDown":{"__isSmartRef__":true,"id":11849},"isRoot":{"__isSmartRef__":true,"id":11856},"displayValue":{"__isSmartRef__":true,"id":11859},"update":{"__isSmartRef__":true,"id":11862}},"11846":{"varMapping":{"__isSmartRef__":true,"id":11847},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":11848},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11847":{"this":{"__isSmartRef__":true,"id":11801}},"11848":{},"11849":{"varMapping":{"__isSmartRef__":true,"id":11850},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":11855},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11850":{"this":{"__isSmartRef__":true,"id":11801},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11851}},"11851":{"$super":{"__isSmartRef__":true,"id":11852}},"11852":{"varMapping":{"__isSmartRef__":true,"id":11853},"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":11854},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11853":{"obj":{"__isSmartRef__":true,"id":11801},"name":"onMouseDown"},"11854":{},"11855":{},"11856":{"varMapping":{"__isSmartRef__":true,"id":11857},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":11858},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11857":{"this":{"__isSmartRef__":true,"id":11801}},"11858":{},"11859":{"varMapping":{"__isSmartRef__":true,"id":11860},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":11861},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11860":{"this":{"__isSmartRef__":true,"id":11801}},"11861":{},"11862":{"varMapping":{"__isSmartRef__":true,"id":11863},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":11864},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11863":{"this":{"__isSmartRef__":true,"id":11801}},"11864":{},"11865":{"_Position":{"__isSmartRef__":true,"id":11866},"renderContextTable":{"__isSmartRef__":true,"id":11867},"_Extent":{"__isSmartRef__":true,"id":11868},"_Padding":{"__isSmartRef__":true,"id":11869},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11866":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11867":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11868":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11869":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11870":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11871":{"morph":{"__isSmartRef__":true,"id":11800},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11872":{"layouter":{"__isSmartRef__":true,"id":11873},"resizeWidth":true},"11873":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":11800},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"11874":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11875":{"x":0,"y":280,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11876":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":11877}},"11877":{"varMapping":{"__isSmartRef__":true,"id":11878},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":11883},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11878":{"this":{"__isSmartRef__":true,"id":11800},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11879}},"11879":{"$super":{"__isSmartRef__":true,"id":11880}},"11880":{"varMapping":{"__isSmartRef__":true,"id":11881},"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":11882},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11881":{"obj":{"__isSmartRef__":true,"id":11800},"name":"getLayoutableSubmorphs"},"11882":{},"11883":{},"11884":{"submorphs":[{"__isSmartRef__":true,"id":11885}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11949},"derivationIds":[null],"id":"51059EBB-4673-4992-B3C5-757F7536A646","renderContextTable":{"__isSmartRef__":true,"id":11954},"eventHandler":{"__isSmartRef__":true,"id":11955},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11956},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":11958},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":11959},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11960},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"11885":{"submorphs":[{"__isSmartRef__":true,"id":11886},{"__isSmartRef__":true,"id":11903}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11919},"derivationIds":[null],"id":"F8C559B8-AA04-4BFD-B32C-219E603BC19E","renderContextTable":{"__isSmartRef__":true,"id":11924},"eventHandler":{"__isSmartRef__":true,"id":11925},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":11926},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":4379},"propertyList":["adjustForNewBounds","resizeWidth"],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"layout","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":11886},"text":{"__isSmartRef__":true,"id":11903},"owner":{"__isSmartRef__":true,"id":11884},"_Position":{"__isSmartRef__":true,"id":11927},"priorExtent":{"__isSmartRef__":true,"id":11928},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11929},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"11886":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11887},"derivationIds":[null],"id":"4891EEFA-BB24-40E8-87E0-FF834D5546CE","renderContextTable":{"__isSmartRef__":true,"id":11893},"eventHandler":{"__isSmartRef__":true,"id":11894},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":11895},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":11885},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11896},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"11887":{"_Position":{"__isSmartRef__":true,"id":11888},"renderContextTable":{"__isSmartRef__":true,"id":11889},"_Extent":{"__isSmartRef__":true,"id":11890},"_Padding":{"__isSmartRef__":true,"id":11891},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":11892},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11888":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11889":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11890":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11891":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11892":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11893":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11894":{"morph":{"__isSmartRef__":true,"id":11886},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11895":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11896":{"toggle":{"__isSmartRef__":true,"id":11897},"toggleExpansion":{"__isSmartRef__":true,"id":11900}},"11897":{"varMapping":{"__isSmartRef__":true,"id":11898},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":11899},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11898":{"this":{"__isSmartRef__":true,"id":11886}},"11899":{},"11900":{"varMapping":{"__isSmartRef__":true,"id":11901},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":11902},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11901":{"this":{"__isSmartRef__":true,"id":11886}},"11902":{},"11903":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11904},"derivationIds":[null],"id":"0AF7BDED-E2B9-4D04-85ED-AED4A0FD3F71","renderContextTable":{"__isSmartRef__":true,"id":11908},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":11909},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":11910},{"__isSmartRef__":true,"id":11912}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":11914},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":11885},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11915},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11904":{"_Position":{"__isSmartRef__":true,"id":11905},"renderContextTable":{"__isSmartRef__":true,"id":11906},"_Extent":{"__isSmartRef__":true,"id":11907},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11905":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11906":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11907":{"x":71,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11908":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"11909":{"morph":{"__isSmartRef__":true,"id":11903},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11910":{"style":{"__isSmartRef__":true,"id":11911},"chunkOwner":{"__isSmartRef__":true,"id":11903},"storedString":"layout","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11911":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11912":{"style":{"__isSmartRef__":true,"id":11913},"chunkOwner":{"__isSmartRef__":true,"id":11903},"storedString":": {...}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11913":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11914":{"x":97.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11915":{"layoutText":{"__isSmartRef__":true,"id":11916}},"11916":{"varMapping":{"__isSmartRef__":true,"id":11917},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":11918},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11917":{"this":{"__isSmartRef__":true,"id":11903}},"11918":{},"11919":{"_Position":{"__isSmartRef__":true,"id":11920},"renderContextTable":{"__isSmartRef__":true,"id":11921},"_Extent":{"__isSmartRef__":true,"id":11922},"_Padding":{"__isSmartRef__":true,"id":11923},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11920":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11921":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11922":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11923":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11924":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11925":{"morph":{"__isSmartRef__":true,"id":11885},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11926":{"resizeWidth":true},"11927":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11928":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11929":{"updateExpanderColor":{"__isSmartRef__":true,"id":11930},"onMouseDown":{"__isSmartRef__":true,"id":11933},"isRoot":{"__isSmartRef__":true,"id":11940},"displayValue":{"__isSmartRef__":true,"id":11943},"update":{"__isSmartRef__":true,"id":11946}},"11930":{"varMapping":{"__isSmartRef__":true,"id":11931},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":11932},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11931":{"this":{"__isSmartRef__":true,"id":11885}},"11932":{},"11933":{"varMapping":{"__isSmartRef__":true,"id":11934},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":11939},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11934":{"this":{"__isSmartRef__":true,"id":11885},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11935}},"11935":{"$super":{"__isSmartRef__":true,"id":11936}},"11936":{"varMapping":{"__isSmartRef__":true,"id":11937},"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":11938},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11937":{"obj":{"__isSmartRef__":true,"id":11885},"name":"onMouseDown"},"11938":{},"11939":{},"11940":{"varMapping":{"__isSmartRef__":true,"id":11941},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":11942},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11941":{"this":{"__isSmartRef__":true,"id":11885}},"11942":{},"11943":{"varMapping":{"__isSmartRef__":true,"id":11944},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":11945},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11944":{"this":{"__isSmartRef__":true,"id":11885}},"11945":{},"11946":{"varMapping":{"__isSmartRef__":true,"id":11947},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":11948},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11947":{"this":{"__isSmartRef__":true,"id":11885}},"11948":{},"11949":{"_Position":{"__isSmartRef__":true,"id":11950},"renderContextTable":{"__isSmartRef__":true,"id":11951},"_Extent":{"__isSmartRef__":true,"id":11952},"_Padding":{"__isSmartRef__":true,"id":11953},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11950":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11951":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11952":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11953":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11954":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11955":{"morph":{"__isSmartRef__":true,"id":11884},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11956":{"layouter":{"__isSmartRef__":true,"id":11957},"resizeWidth":true},"11957":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":11884},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"11958":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11959":{"x":0,"y":260,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11960":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":11961}},"11961":{"varMapping":{"__isSmartRef__":true,"id":11962},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":11967},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11962":{"this":{"__isSmartRef__":true,"id":11884},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11963}},"11963":{"$super":{"__isSmartRef__":true,"id":11964}},"11964":{"varMapping":{"__isSmartRef__":true,"id":11965},"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":11966},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11965":{"obj":{"__isSmartRef__":true,"id":11884},"name":"getLayoutableSubmorphs"},"11966":{},"11967":{},"11968":{"submorphs":[{"__isSmartRef__":true,"id":11969}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12033},"derivationIds":[null],"id":"F1D77867-0064-4BC1-8759-B5218A7DB34E","renderContextTable":{"__isSmartRef__":true,"id":12038},"eventHandler":{"__isSmartRef__":true,"id":12039},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12040},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":12042},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":12043},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12044},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"11969":{"submorphs":[{"__isSmartRef__":true,"id":11970},{"__isSmartRef__":true,"id":11987}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12003},"derivationIds":[null],"id":"CA8F183C-5378-41CA-9AF3-8B4941236530","renderContextTable":{"__isSmartRef__":true,"id":12008},"eventHandler":{"__isSmartRef__":true,"id":12009},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12010},"grabbingEnabled":false,"draggingEnabled":false,"data":"Header","propertyList":["0","1","2","3","4","5"],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"name","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":11970},"text":{"__isSmartRef__":true,"id":11987},"owner":{"__isSmartRef__":true,"id":11968},"_Position":{"__isSmartRef__":true,"id":12011},"priorExtent":{"__isSmartRef__":true,"id":12012},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12013},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"11970":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11971},"derivationIds":[null],"id":"7E516DCD-7C34-4BAD-BA7E-F585BA11A034","renderContextTable":{"__isSmartRef__":true,"id":11977},"eventHandler":{"__isSmartRef__":true,"id":11978},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":11979},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":11969},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11980},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"11971":{"_Position":{"__isSmartRef__":true,"id":11972},"renderContextTable":{"__isSmartRef__":true,"id":11973},"_Extent":{"__isSmartRef__":true,"id":11974},"_Padding":{"__isSmartRef__":true,"id":11975},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":11976},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11972":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11973":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11974":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11975":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11976":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11977":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"11978":{"morph":{"__isSmartRef__":true,"id":11970},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11979":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11980":{"toggle":{"__isSmartRef__":true,"id":11981},"toggleExpansion":{"__isSmartRef__":true,"id":11984}},"11981":{"varMapping":{"__isSmartRef__":true,"id":11982},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":11983},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11982":{"this":{"__isSmartRef__":true,"id":11970}},"11983":{},"11984":{"varMapping":{"__isSmartRef__":true,"id":11985},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":11986},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11985":{"this":{"__isSmartRef__":true,"id":11970}},"11986":{},"11987":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11988},"derivationIds":[null],"id":"1C3CBF75-1B08-4D94-844B-7EF11058363C","renderContextTable":{"__isSmartRef__":true,"id":11992},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":11993},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":11994},{"__isSmartRef__":true,"id":11996}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":11998},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":11969},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11999},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11988":{"_Position":{"__isSmartRef__":true,"id":11989},"renderContextTable":{"__isSmartRef__":true,"id":11990},"_Extent":{"__isSmartRef__":true,"id":11991},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"11989":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11990":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"11991":{"x":89,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11992":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"11993":{"morph":{"__isSmartRef__":true,"id":11987},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11994":{"style":{"__isSmartRef__":true,"id":11995},"chunkOwner":{"__isSmartRef__":true,"id":11987},"storedString":"name","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11995":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11996":{"style":{"__isSmartRef__":true,"id":11997},"chunkOwner":{"__isSmartRef__":true,"id":11987},"storedString":": Header","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11997":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11998":{"x":90,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11999":{"layoutText":{"__isSmartRef__":true,"id":12000}},"12000":{"varMapping":{"__isSmartRef__":true,"id":12001},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":12002},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12001":{"this":{"__isSmartRef__":true,"id":11987}},"12002":{},"12003":{"_Position":{"__isSmartRef__":true,"id":12004},"renderContextTable":{"__isSmartRef__":true,"id":12005},"_Extent":{"__isSmartRef__":true,"id":12006},"_Padding":{"__isSmartRef__":true,"id":12007},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12004":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12005":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12006":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12007":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12008":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12009":{"morph":{"__isSmartRef__":true,"id":11969},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12010":{"resizeWidth":true},"12011":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12012":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12013":{"updateExpanderColor":{"__isSmartRef__":true,"id":12014},"onMouseDown":{"__isSmartRef__":true,"id":12017},"isRoot":{"__isSmartRef__":true,"id":12024},"displayValue":{"__isSmartRef__":true,"id":12027},"update":{"__isSmartRef__":true,"id":12030}},"12014":{"varMapping":{"__isSmartRef__":true,"id":12015},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":12016},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12015":{"this":{"__isSmartRef__":true,"id":11969}},"12016":{},"12017":{"varMapping":{"__isSmartRef__":true,"id":12018},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":12023},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12018":{"this":{"__isSmartRef__":true,"id":11969},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12019}},"12019":{"$super":{"__isSmartRef__":true,"id":12020}},"12020":{"varMapping":{"__isSmartRef__":true,"id":12021},"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":12022},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12021":{"obj":{"__isSmartRef__":true,"id":11969},"name":"onMouseDown"},"12022":{},"12023":{},"12024":{"varMapping":{"__isSmartRef__":true,"id":12025},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":12026},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12025":{"this":{"__isSmartRef__":true,"id":11969}},"12026":{},"12027":{"varMapping":{"__isSmartRef__":true,"id":12028},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":12029},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12028":{"this":{"__isSmartRef__":true,"id":11969}},"12029":{},"12030":{"varMapping":{"__isSmartRef__":true,"id":12031},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12032},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12031":{"this":{"__isSmartRef__":true,"id":11969}},"12032":{},"12033":{"_Position":{"__isSmartRef__":true,"id":12034},"renderContextTable":{"__isSmartRef__":true,"id":12035},"_Extent":{"__isSmartRef__":true,"id":12036},"_Padding":{"__isSmartRef__":true,"id":12037},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12034":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12035":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12036":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12037":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12038":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12039":{"morph":{"__isSmartRef__":true,"id":11968},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12040":{"layouter":{"__isSmartRef__":true,"id":12041},"resizeWidth":true},"12041":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":11968},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"12042":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12043":{"x":0,"y":240,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12044":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":12045}},"12045":{"varMapping":{"__isSmartRef__":true,"id":12046},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":12051},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12046":{"this":{"__isSmartRef__":true,"id":11968},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12047}},"12047":{"$super":{"__isSmartRef__":true,"id":12048}},"12048":{"varMapping":{"__isSmartRef__":true,"id":12049},"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":12050},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12049":{"obj":{"__isSmartRef__":true,"id":11968},"name":"getLayoutableSubmorphs"},"12050":{},"12051":{},"12052":{"submorphs":[{"__isSmartRef__":true,"id":12053}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12117},"derivationIds":[null],"id":"E7F29316-D898-4598-93C3-208B1BB56C15","renderContextTable":{"__isSmartRef__":true,"id":12122},"eventHandler":{"__isSmartRef__":true,"id":12123},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12124},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":12126},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":12127},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12128},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12053":{"submorphs":[{"__isSmartRef__":true,"id":12054},{"__isSmartRef__":true,"id":12071}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12087},"derivationIds":[null],"id":"3D5B82D3-3D64-43D5-ACD3-03671EEF3D3D","renderContextTable":{"__isSmartRef__":true,"id":12092},"eventHandler":{"__isSmartRef__":true,"id":12093},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12094},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1371},"propertyList":["submorphs","scripts","id","shape","droppingEnabled","halosEnabled","registeredForMouseEvents","_Position","showsHalos","name","partsBinMetaInfo","__SourceModuleName__","renderContextTable","eventHandler","attributeConnections","doNotSerialize","doNotCopyProperties","derivationIds","isBeingDragged","priorExtent","prevScroll","lastTimeClickedOnIpad","layout","isLockOwner","_Visible","lists","distanceToDragEvent","pinned","moved","headRevision","_ClipMode","owner","withoutLayers","_renderContext","_isRendered","halos","targetMorph","_Rotation","_Scale"],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"owner","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":12054},"text":{"__isSmartRef__":true,"id":12071},"owner":{"__isSmartRef__":true,"id":12052},"_Position":{"__isSmartRef__":true,"id":12095},"priorExtent":{"__isSmartRef__":true,"id":12096},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12097},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12054":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12055},"derivationIds":[null],"id":"B7427FE4-5631-43A6-B99A-82418E65145E","renderContextTable":{"__isSmartRef__":true,"id":12061},"eventHandler":{"__isSmartRef__":true,"id":12062},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":12063},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":12053},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12064},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"12055":{"_Position":{"__isSmartRef__":true,"id":12056},"renderContextTable":{"__isSmartRef__":true,"id":12057},"_Extent":{"__isSmartRef__":true,"id":12058},"_Padding":{"__isSmartRef__":true,"id":12059},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":12060},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12056":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12057":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12058":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12059":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12060":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12061":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12062":{"morph":{"__isSmartRef__":true,"id":12054},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12063":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12064":{"toggle":{"__isSmartRef__":true,"id":12065},"toggleExpansion":{"__isSmartRef__":true,"id":12068}},"12065":{"varMapping":{"__isSmartRef__":true,"id":12066},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":12067},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12066":{"this":{"__isSmartRef__":true,"id":12054}},"12067":{},"12068":{"varMapping":{"__isSmartRef__":true,"id":12069},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":12070},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12069":{"this":{"__isSmartRef__":true,"id":12054}},"12070":{},"12071":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12072},"derivationIds":[null],"id":"F27002E0-6B62-4C73-A99A-C3DE3C132C28","renderContextTable":{"__isSmartRef__":true,"id":12076},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":12077},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":12078},{"__isSmartRef__":true,"id":12080}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":12082},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":12053},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12083},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12072":{"_Position":{"__isSmartRef__":true,"id":12073},"renderContextTable":{"__isSmartRef__":true,"id":12074},"_Extent":{"__isSmartRef__":true,"id":12075},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12073":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12074":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12075":{"x":110,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12076":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"12077":{"morph":{"__isSmartRef__":true,"id":12071},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12078":{"style":{"__isSmartRef__":true,"id":12079},"chunkOwner":{"__isSmartRef__":true,"id":12071},"storedString":"owner","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12079":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12080":{"style":{"__isSmartRef__":true,"id":12081},"chunkOwner":{"__isSmartRef__":true,"id":12071},"storedString":": FightMenu","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12081":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12082":{"x":120,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12083":{"layoutText":{"__isSmartRef__":true,"id":12084}},"12084":{"varMapping":{"__isSmartRef__":true,"id":12085},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":12086},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12085":{"this":{"__isSmartRef__":true,"id":12071}},"12086":{},"12087":{"_Position":{"__isSmartRef__":true,"id":12088},"renderContextTable":{"__isSmartRef__":true,"id":12089},"_Extent":{"__isSmartRef__":true,"id":12090},"_Padding":{"__isSmartRef__":true,"id":12091},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12088":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12089":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12090":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12091":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12092":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12093":{"morph":{"__isSmartRef__":true,"id":12053},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12094":{"resizeWidth":true},"12095":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12096":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12097":{"updateExpanderColor":{"__isSmartRef__":true,"id":12098},"onMouseDown":{"__isSmartRef__":true,"id":12101},"isRoot":{"__isSmartRef__":true,"id":12108},"displayValue":{"__isSmartRef__":true,"id":12111},"update":{"__isSmartRef__":true,"id":12114}},"12098":{"varMapping":{"__isSmartRef__":true,"id":12099},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":12100},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12099":{"this":{"__isSmartRef__":true,"id":12053}},"12100":{},"12101":{"varMapping":{"__isSmartRef__":true,"id":12102},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":12107},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12102":{"this":{"__isSmartRef__":true,"id":12053},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12103}},"12103":{"$super":{"__isSmartRef__":true,"id":12104}},"12104":{"varMapping":{"__isSmartRef__":true,"id":12105},"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":12106},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12105":{"obj":{"__isSmartRef__":true,"id":12053},"name":"onMouseDown"},"12106":{},"12107":{},"12108":{"varMapping":{"__isSmartRef__":true,"id":12109},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":12110},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12109":{"this":{"__isSmartRef__":true,"id":12053}},"12110":{},"12111":{"varMapping":{"__isSmartRef__":true,"id":12112},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":12113},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12112":{"this":{"__isSmartRef__":true,"id":12053}},"12113":{},"12114":{"varMapping":{"__isSmartRef__":true,"id":12115},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12116},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12115":{"this":{"__isSmartRef__":true,"id":12053}},"12116":{},"12117":{"_Position":{"__isSmartRef__":true,"id":12118},"renderContextTable":{"__isSmartRef__":true,"id":12119},"_Extent":{"__isSmartRef__":true,"id":12120},"_Padding":{"__isSmartRef__":true,"id":12121},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12118":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12119":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12120":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12121":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12122":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12123":{"morph":{"__isSmartRef__":true,"id":12052},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12124":{"layouter":{"__isSmartRef__":true,"id":12125},"resizeWidth":true},"12125":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":12052},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"12126":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12127":{"x":0,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12128":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":12129}},"12129":{"varMapping":{"__isSmartRef__":true,"id":12130},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":12135},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12130":{"this":{"__isSmartRef__":true,"id":12052},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12131}},"12131":{"$super":{"__isSmartRef__":true,"id":12132}},"12132":{"varMapping":{"__isSmartRef__":true,"id":12133},"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":12134},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12133":{"obj":{"__isSmartRef__":true,"id":12052},"name":"getLayoutableSubmorphs"},"12134":{},"12135":{},"12136":{"submorphs":[{"__isSmartRef__":true,"id":12137}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12201},"derivationIds":[null],"id":"FA1366CA-1B0C-48FD-B562-179A9CA0832F","renderContextTable":{"__isSmartRef__":true,"id":12206},"eventHandler":{"__isSmartRef__":true,"id":12207},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12208},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":12210},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":12211},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12212},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12137":{"submorphs":[{"__isSmartRef__":true,"id":12138},{"__isSmartRef__":true,"id":12155}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12171},"derivationIds":[null],"id":"4221E0D4-9289-4F74-987D-4AD487F4DDBA","renderContextTable":{"__isSmartRef__":true,"id":12176},"eventHandler":{"__isSmartRef__":true,"id":12177},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12178},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1368},"propertyList":["partsSpaceName","__SourceModuleName__","comment","migrationLevel","partName"],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"partsBinMetaInfo","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":12138},"text":{"__isSmartRef__":true,"id":12155},"owner":{"__isSmartRef__":true,"id":12136},"_Position":{"__isSmartRef__":true,"id":12179},"priorExtent":{"__isSmartRef__":true,"id":12180},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12181},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12138":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12139},"derivationIds":[null],"id":"57552A6B-D81D-4813-B849-DF85A6B2E0E3","renderContextTable":{"__isSmartRef__":true,"id":12145},"eventHandler":{"__isSmartRef__":true,"id":12146},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":12147},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":12137},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12148},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"12139":{"_Position":{"__isSmartRef__":true,"id":12140},"renderContextTable":{"__isSmartRef__":true,"id":12141},"_Extent":{"__isSmartRef__":true,"id":12142},"_Padding":{"__isSmartRef__":true,"id":12143},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":12144},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12140":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12141":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12142":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12143":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12144":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12145":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12146":{"morph":{"__isSmartRef__":true,"id":12138},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12147":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12148":{"toggle":{"__isSmartRef__":true,"id":12149},"toggleExpansion":{"__isSmartRef__":true,"id":12152}},"12149":{"varMapping":{"__isSmartRef__":true,"id":12150},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":12151},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12150":{"this":{"__isSmartRef__":true,"id":12138}},"12151":{},"12152":{"varMapping":{"__isSmartRef__":true,"id":12153},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":12154},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12153":{"this":{"__isSmartRef__":true,"id":12138}},"12154":{},"12155":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12156},"derivationIds":[null],"id":"52A85922-554B-4D6A-AB25-F2B2DC0B492D","renderContextTable":{"__isSmartRef__":true,"id":12160},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":12161},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":12162},{"__isSmartRef__":true,"id":12164}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":12166},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":12137},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12167},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12156":{"_Position":{"__isSmartRef__":true,"id":12157},"renderContextTable":{"__isSmartRef__":true,"id":12158},"_Extent":{"__isSmartRef__":true,"id":12159},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12157":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12158":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12159":{"x":213,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12160":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"12161":{"morph":{"__isSmartRef__":true,"id":12155},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12162":{"style":{"__isSmartRef__":true,"id":12163},"chunkOwner":{"__isSmartRef__":true,"id":12155},"storedString":"partsBinMetaInfo","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12163":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12164":{"style":{"__isSmartRef__":true,"id":12165},"chunkOwner":{"__isSmartRef__":true,"id":12155},"storedString":": PartsBinMetaInfo","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12165":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12166":{"x":255,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12167":{"layoutText":{"__isSmartRef__":true,"id":12168}},"12168":{"varMapping":{"__isSmartRef__":true,"id":12169},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":12170},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12169":{"this":{"__isSmartRef__":true,"id":12155}},"12170":{},"12171":{"_Position":{"__isSmartRef__":true,"id":12172},"renderContextTable":{"__isSmartRef__":true,"id":12173},"_Extent":{"__isSmartRef__":true,"id":12174},"_Padding":{"__isSmartRef__":true,"id":12175},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12172":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12173":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12174":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12175":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12176":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12177":{"morph":{"__isSmartRef__":true,"id":12137},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12178":{"resizeWidth":true},"12179":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12180":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12181":{"updateExpanderColor":{"__isSmartRef__":true,"id":12182},"onMouseDown":{"__isSmartRef__":true,"id":12185},"isRoot":{"__isSmartRef__":true,"id":12192},"displayValue":{"__isSmartRef__":true,"id":12195},"update":{"__isSmartRef__":true,"id":12198}},"12182":{"varMapping":{"__isSmartRef__":true,"id":12183},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":12184},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12183":{"this":{"__isSmartRef__":true,"id":12137}},"12184":{},"12185":{"varMapping":{"__isSmartRef__":true,"id":12186},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":12191},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12186":{"this":{"__isSmartRef__":true,"id":12137},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12187}},"12187":{"$super":{"__isSmartRef__":true,"id":12188}},"12188":{"varMapping":{"__isSmartRef__":true,"id":12189},"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":12190},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12189":{"obj":{"__isSmartRef__":true,"id":12137},"name":"onMouseDown"},"12190":{},"12191":{},"12192":{"varMapping":{"__isSmartRef__":true,"id":12193},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":12194},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12193":{"this":{"__isSmartRef__":true,"id":12137}},"12194":{},"12195":{"varMapping":{"__isSmartRef__":true,"id":12196},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":12197},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12196":{"this":{"__isSmartRef__":true,"id":12137}},"12197":{},"12198":{"varMapping":{"__isSmartRef__":true,"id":12199},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12200},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12199":{"this":{"__isSmartRef__":true,"id":12137}},"12200":{},"12201":{"_Position":{"__isSmartRef__":true,"id":12202},"renderContextTable":{"__isSmartRef__":true,"id":12203},"_Extent":{"__isSmartRef__":true,"id":12204},"_Padding":{"__isSmartRef__":true,"id":12205},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12202":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12203":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12204":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12205":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12206":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12207":{"morph":{"__isSmartRef__":true,"id":12136},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12208":{"layouter":{"__isSmartRef__":true,"id":12209},"resizeWidth":true},"12209":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":12136},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"12210":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12211":{"x":0,"y":200,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12212":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":12213}},"12213":{"varMapping":{"__isSmartRef__":true,"id":12214},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":12219},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12214":{"this":{"__isSmartRef__":true,"id":12136},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12215}},"12215":{"$super":{"__isSmartRef__":true,"id":12216}},"12216":{"varMapping":{"__isSmartRef__":true,"id":12217},"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":12218},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12217":{"obj":{"__isSmartRef__":true,"id":12136},"name":"getLayoutableSubmorphs"},"12218":{},"12219":{},"12220":{"submorphs":[{"__isSmartRef__":true,"id":12221}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12285},"derivationIds":[null],"id":"B63CA550-C28A-44D3-B3A5-6804A5D2E3E7","renderContextTable":{"__isSmartRef__":true,"id":12290},"eventHandler":{"__isSmartRef__":true,"id":12291},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12292},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":12294},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":12295},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12296},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12221":{"submorphs":[{"__isSmartRef__":true,"id":12222},{"__isSmartRef__":true,"id":12239}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12255},"derivationIds":[null],"id":"E8BF550D-EC29-4246-9972-52C9544FD325","renderContextTable":{"__isSmartRef__":true,"id":12260},"eventHandler":{"__isSmartRef__":true,"id":12261},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12262},"grabbingEnabled":false,"draggingEnabled":false,"data":[0,0],"propertyList":["0","1"],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"prevScroll","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":12222},"text":{"__isSmartRef__":true,"id":12239},"owner":{"__isSmartRef__":true,"id":12220},"_Position":{"__isSmartRef__":true,"id":12263},"priorExtent":{"__isSmartRef__":true,"id":12264},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12265},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12222":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12223},"derivationIds":[null],"id":"C353F1D4-4B5B-45AC-B6F6-5677555A8158","renderContextTable":{"__isSmartRef__":true,"id":12229},"eventHandler":{"__isSmartRef__":true,"id":12230},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":12231},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":12221},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12232},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"12223":{"_Position":{"__isSmartRef__":true,"id":12224},"renderContextTable":{"__isSmartRef__":true,"id":12225},"_Extent":{"__isSmartRef__":true,"id":12226},"_Padding":{"__isSmartRef__":true,"id":12227},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":12228},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12224":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12225":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12226":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12227":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12228":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12229":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12230":{"morph":{"__isSmartRef__":true,"id":12222},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12231":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12232":{"toggle":{"__isSmartRef__":true,"id":12233},"toggleExpansion":{"__isSmartRef__":true,"id":12236}},"12233":{"varMapping":{"__isSmartRef__":true,"id":12234},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":12235},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12234":{"this":{"__isSmartRef__":true,"id":12222}},"12235":{},"12236":{"varMapping":{"__isSmartRef__":true,"id":12237},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":12238},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12237":{"this":{"__isSmartRef__":true,"id":12222}},"12238":{},"12239":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12240},"derivationIds":[null],"id":"426641FE-56FC-43A8-89D7-9EB040ED78A9","renderContextTable":{"__isSmartRef__":true,"id":12244},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":12245},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":12246},{"__isSmartRef__":true,"id":12248}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":12250},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":12221},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12251},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12240":{"_Position":{"__isSmartRef__":true,"id":12241},"renderContextTable":{"__isSmartRef__":true,"id":12242},"_Extent":{"__isSmartRef__":true,"id":12243},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12241":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12242":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12243":{"x":92,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12244":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"12245":{"morph":{"__isSmartRef__":true,"id":12239},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12246":{"style":{"__isSmartRef__":true,"id":12247},"chunkOwner":{"__isSmartRef__":true,"id":12239},"storedString":"prevScroll","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12247":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12248":{"style":{"__isSmartRef__":true,"id":12249},"chunkOwner":{"__isSmartRef__":true,"id":12239},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12249":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12250":{"x":127.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12251":{"layoutText":{"__isSmartRef__":true,"id":12252}},"12252":{"varMapping":{"__isSmartRef__":true,"id":12253},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":12254},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12253":{"this":{"__isSmartRef__":true,"id":12239}},"12254":{},"12255":{"_Position":{"__isSmartRef__":true,"id":12256},"renderContextTable":{"__isSmartRef__":true,"id":12257},"_Extent":{"__isSmartRef__":true,"id":12258},"_Padding":{"__isSmartRef__":true,"id":12259},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12256":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12257":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12258":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12259":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12260":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12261":{"morph":{"__isSmartRef__":true,"id":12221},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12262":{"resizeWidth":true},"12263":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12264":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12265":{"updateExpanderColor":{"__isSmartRef__":true,"id":12266},"onMouseDown":{"__isSmartRef__":true,"id":12269},"isRoot":{"__isSmartRef__":true,"id":12276},"displayValue":{"__isSmartRef__":true,"id":12279},"update":{"__isSmartRef__":true,"id":12282}},"12266":{"varMapping":{"__isSmartRef__":true,"id":12267},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":12268},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12267":{"this":{"__isSmartRef__":true,"id":12221}},"12268":{},"12269":{"varMapping":{"__isSmartRef__":true,"id":12270},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":12275},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12270":{"this":{"__isSmartRef__":true,"id":12221},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12271}},"12271":{"$super":{"__isSmartRef__":true,"id":12272}},"12272":{"varMapping":{"__isSmartRef__":true,"id":12273},"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":12274},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12273":{"obj":{"__isSmartRef__":true,"id":12221},"name":"onMouseDown"},"12274":{},"12275":{},"12276":{"varMapping":{"__isSmartRef__":true,"id":12277},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":12278},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12277":{"this":{"__isSmartRef__":true,"id":12221}},"12278":{},"12279":{"varMapping":{"__isSmartRef__":true,"id":12280},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":12281},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12280":{"this":{"__isSmartRef__":true,"id":12221}},"12281":{},"12282":{"varMapping":{"__isSmartRef__":true,"id":12283},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12284},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12283":{"this":{"__isSmartRef__":true,"id":12221}},"12284":{},"12285":{"_Position":{"__isSmartRef__":true,"id":12286},"renderContextTable":{"__isSmartRef__":true,"id":12287},"_Extent":{"__isSmartRef__":true,"id":12288},"_Padding":{"__isSmartRef__":true,"id":12289},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12286":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12287":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12288":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12289":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12290":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12291":{"morph":{"__isSmartRef__":true,"id":12220},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12292":{"layouter":{"__isSmartRef__":true,"id":12293},"resizeWidth":true},"12293":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":12220},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"12294":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12295":{"x":0,"y":180,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12296":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":12297}},"12297":{"varMapping":{"__isSmartRef__":true,"id":12298},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":12303},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12298":{"this":{"__isSmartRef__":true,"id":12220},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12299}},"12299":{"$super":{"__isSmartRef__":true,"id":12300}},"12300":{"varMapping":{"__isSmartRef__":true,"id":12301},"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":12302},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12301":{"obj":{"__isSmartRef__":true,"id":12220},"name":"getLayoutableSubmorphs"},"12302":{},"12303":{},"12304":{"submorphs":[{"__isSmartRef__":true,"id":12305}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12369},"derivationIds":[null],"id":"A493AA87-28A5-4A4D-9F19-8E8BDCE71CCA","renderContextTable":{"__isSmartRef__":true,"id":12374},"eventHandler":{"__isSmartRef__":true,"id":12375},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12376},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":12378},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":12379},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12380},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12305":{"submorphs":[{"__isSmartRef__":true,"id":12306},{"__isSmartRef__":true,"id":12323}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12339},"derivationIds":[null],"id":"7002891D-9B19-4C8C-A346-4EB8DFCB84C4","renderContextTable":{"__isSmartRef__":true,"id":12344},"eventHandler":{"__isSmartRef__":true,"id":12345},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12346},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":4376},"propertyList":["x","y"],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"priorExtent","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":12306},"text":{"__isSmartRef__":true,"id":12323},"owner":{"__isSmartRef__":true,"id":12304},"_Position":{"__isSmartRef__":true,"id":12347},"priorExtent":{"__isSmartRef__":true,"id":12348},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12349},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12306":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12307},"derivationIds":[null],"id":"8AD337FD-4B27-4033-8424-5420E244FF78","renderContextTable":{"__isSmartRef__":true,"id":12313},"eventHandler":{"__isSmartRef__":true,"id":12314},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":12315},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":12305},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12316},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"12307":{"_Position":{"__isSmartRef__":true,"id":12308},"renderContextTable":{"__isSmartRef__":true,"id":12309},"_Extent":{"__isSmartRef__":true,"id":12310},"_Padding":{"__isSmartRef__":true,"id":12311},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":12312},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12308":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12309":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12310":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12311":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12312":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12313":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12314":{"morph":{"__isSmartRef__":true,"id":12306},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12315":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12316":{"toggle":{"__isSmartRef__":true,"id":12317},"toggleExpansion":{"__isSmartRef__":true,"id":12320}},"12317":{"varMapping":{"__isSmartRef__":true,"id":12318},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":12319},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12318":{"this":{"__isSmartRef__":true,"id":12306}},"12319":{},"12320":{"varMapping":{"__isSmartRef__":true,"id":12321},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":12322},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12321":{"this":{"__isSmartRef__":true,"id":12306}},"12322":{},"12323":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12324},"derivationIds":[null],"id":"9B2A5883-4F6F-4206-A72A-8AFE2D3E5ECD","renderContextTable":{"__isSmartRef__":true,"id":12328},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":12329},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":12330},{"__isSmartRef__":true,"id":12332}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":12334},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":12305},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12335},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12324":{"_Position":{"__isSmartRef__":true,"id":12325},"renderContextTable":{"__isSmartRef__":true,"id":12326},"_Extent":{"__isSmartRef__":true,"id":12327},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12325":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12326":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12327":{"x":109,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12328":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"12329":{"morph":{"__isSmartRef__":true,"id":12323},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12330":{"style":{"__isSmartRef__":true,"id":12331},"chunkOwner":{"__isSmartRef__":true,"id":12323},"storedString":"priorExtent","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12331":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12332":{"style":{"__isSmartRef__":true,"id":12333},"chunkOwner":{"__isSmartRef__":true,"id":12323},"storedString":": Point","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12333":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12334":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12335":{"layoutText":{"__isSmartRef__":true,"id":12336}},"12336":{"varMapping":{"__isSmartRef__":true,"id":12337},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":12338},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12337":{"this":{"__isSmartRef__":true,"id":12323}},"12338":{},"12339":{"_Position":{"__isSmartRef__":true,"id":12340},"renderContextTable":{"__isSmartRef__":true,"id":12341},"_Extent":{"__isSmartRef__":true,"id":12342},"_Padding":{"__isSmartRef__":true,"id":12343},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12340":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12341":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12342":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12343":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12344":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12345":{"morph":{"__isSmartRef__":true,"id":12305},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12346":{"resizeWidth":true},"12347":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12348":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12349":{"updateExpanderColor":{"__isSmartRef__":true,"id":12350},"onMouseDown":{"__isSmartRef__":true,"id":12353},"isRoot":{"__isSmartRef__":true,"id":12360},"displayValue":{"__isSmartRef__":true,"id":12363},"update":{"__isSmartRef__":true,"id":12366}},"12350":{"varMapping":{"__isSmartRef__":true,"id":12351},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":12352},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12351":{"this":{"__isSmartRef__":true,"id":12305}},"12352":{},"12353":{"varMapping":{"__isSmartRef__":true,"id":12354},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":12359},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12354":{"this":{"__isSmartRef__":true,"id":12305},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12355}},"12355":{"$super":{"__isSmartRef__":true,"id":12356}},"12356":{"varMapping":{"__isSmartRef__":true,"id":12357},"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":12358},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12357":{"obj":{"__isSmartRef__":true,"id":12305},"name":"onMouseDown"},"12358":{},"12359":{},"12360":{"varMapping":{"__isSmartRef__":true,"id":12361},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":12362},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12361":{"this":{"__isSmartRef__":true,"id":12305}},"12362":{},"12363":{"varMapping":{"__isSmartRef__":true,"id":12364},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":12365},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12364":{"this":{"__isSmartRef__":true,"id":12305}},"12365":{},"12366":{"varMapping":{"__isSmartRef__":true,"id":12367},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12368},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12367":{"this":{"__isSmartRef__":true,"id":12305}},"12368":{},"12369":{"_Position":{"__isSmartRef__":true,"id":12370},"renderContextTable":{"__isSmartRef__":true,"id":12371},"_Extent":{"__isSmartRef__":true,"id":12372},"_Padding":{"__isSmartRef__":true,"id":12373},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12370":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12371":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12372":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12373":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12374":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12375":{"morph":{"__isSmartRef__":true,"id":12304},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12376":{"layouter":{"__isSmartRef__":true,"id":12377},"resizeWidth":true},"12377":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":12304},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"12378":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12379":{"x":0,"y":160,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12380":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":12381}},"12381":{"varMapping":{"__isSmartRef__":true,"id":12382},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":12387},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12382":{"this":{"__isSmartRef__":true,"id":12304},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12383}},"12383":{"$super":{"__isSmartRef__":true,"id":12384}},"12384":{"varMapping":{"__isSmartRef__":true,"id":12385},"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":12386},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12385":{"obj":{"__isSmartRef__":true,"id":12304},"name":"getLayoutableSubmorphs"},"12386":{},"12387":{},"12388":{"submorphs":[{"__isSmartRef__":true,"id":12389}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12453},"derivationIds":[null],"id":"1D031F5F-280E-4958-9F1E-9DDF592384BD","renderContextTable":{"__isSmartRef__":true,"id":12458},"eventHandler":{"__isSmartRef__":true,"id":12459},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12460},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":12462},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":12463},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12464},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12389":{"submorphs":[{"__isSmartRef__":true,"id":12390},{"__isSmartRef__":true,"id":12407}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12423},"derivationIds":[null],"id":"AF4B3103-C259-4688-97C7-842274EE0CE7","renderContextTable":{"__isSmartRef__":true,"id":12428},"eventHandler":{"__isSmartRef__":true,"id":12429},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12430},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"registeredForMouseEvents","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":12390},"text":{"__isSmartRef__":true,"id":12407},"owner":{"__isSmartRef__":true,"id":12388},"_Position":{"__isSmartRef__":true,"id":12431},"priorExtent":{"__isSmartRef__":true,"id":12432},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12433},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12390":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12391},"derivationIds":[null],"id":"27696FB9-18F3-4C71-98FF-C009724B7026","renderContextTable":{"__isSmartRef__":true,"id":12397},"eventHandler":{"__isSmartRef__":true,"id":12398},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":12399},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":12389},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12400},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"12391":{"_Position":{"__isSmartRef__":true,"id":12392},"renderContextTable":{"__isSmartRef__":true,"id":12393},"_Extent":{"__isSmartRef__":true,"id":12394},"_Padding":{"__isSmartRef__":true,"id":12395},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":12396},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12392":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12393":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12394":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12395":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12396":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12397":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12398":{"morph":{"__isSmartRef__":true,"id":12390},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12399":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12400":{"toggle":{"__isSmartRef__":true,"id":12401},"toggleExpansion":{"__isSmartRef__":true,"id":12404}},"12401":{"varMapping":{"__isSmartRef__":true,"id":12402},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":12403},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12402":{"this":{"__isSmartRef__":true,"id":12390}},"12403":{},"12404":{"varMapping":{"__isSmartRef__":true,"id":12405},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":12406},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12405":{"this":{"__isSmartRef__":true,"id":12390}},"12406":{},"12407":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12408},"derivationIds":[null],"id":"44A1D999-F823-4CD7-B9D2-D1D9511EEB00","renderContextTable":{"__isSmartRef__":true,"id":12412},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":12413},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":12414},{"__isSmartRef__":true,"id":12416}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":12418},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":12389},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12419},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12408":{"_Position":{"__isSmartRef__":true,"id":12409},"renderContextTable":{"__isSmartRef__":true,"id":12410},"_Extent":{"__isSmartRef__":true,"id":12411},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12409":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12410":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12411":{"x":192,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12412":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"12413":{"morph":{"__isSmartRef__":true,"id":12407},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12414":{"style":{"__isSmartRef__":true,"id":12415},"chunkOwner":{"__isSmartRef__":true,"id":12407},"storedString":"registeredForMouseEvents","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12415":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12416":{"style":{"__isSmartRef__":true,"id":12417},"chunkOwner":{"__isSmartRef__":true,"id":12407},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12417":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12418":{"x":225,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12419":{"layoutText":{"__isSmartRef__":true,"id":12420}},"12420":{"varMapping":{"__isSmartRef__":true,"id":12421},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":12422},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12421":{"this":{"__isSmartRef__":true,"id":12407}},"12422":{},"12423":{"_Position":{"__isSmartRef__":true,"id":12424},"renderContextTable":{"__isSmartRef__":true,"id":12425},"_Extent":{"__isSmartRef__":true,"id":12426},"_Padding":{"__isSmartRef__":true,"id":12427},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12424":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12425":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12426":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12427":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12428":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12429":{"morph":{"__isSmartRef__":true,"id":12389},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12430":{"resizeWidth":true},"12431":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12432":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12433":{"updateExpanderColor":{"__isSmartRef__":true,"id":12434},"onMouseDown":{"__isSmartRef__":true,"id":12437},"isRoot":{"__isSmartRef__":true,"id":12444},"displayValue":{"__isSmartRef__":true,"id":12447},"update":{"__isSmartRef__":true,"id":12450}},"12434":{"varMapping":{"__isSmartRef__":true,"id":12435},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":12436},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12435":{"this":{"__isSmartRef__":true,"id":12389}},"12436":{},"12437":{"varMapping":{"__isSmartRef__":true,"id":12438},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":12443},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12438":{"this":{"__isSmartRef__":true,"id":12389},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12439}},"12439":{"$super":{"__isSmartRef__":true,"id":12440}},"12440":{"varMapping":{"__isSmartRef__":true,"id":12441},"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":12442},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12441":{"obj":{"__isSmartRef__":true,"id":12389},"name":"onMouseDown"},"12442":{},"12443":{},"12444":{"varMapping":{"__isSmartRef__":true,"id":12445},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":12446},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12445":{"this":{"__isSmartRef__":true,"id":12389}},"12446":{},"12447":{"varMapping":{"__isSmartRef__":true,"id":12448},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":12449},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12448":{"this":{"__isSmartRef__":true,"id":12389}},"12449":{},"12450":{"varMapping":{"__isSmartRef__":true,"id":12451},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12452},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12451":{"this":{"__isSmartRef__":true,"id":12389}},"12452":{},"12453":{"_Position":{"__isSmartRef__":true,"id":12454},"renderContextTable":{"__isSmartRef__":true,"id":12455},"_Extent":{"__isSmartRef__":true,"id":12456},"_Padding":{"__isSmartRef__":true,"id":12457},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12454":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12455":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12456":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12457":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12458":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12459":{"morph":{"__isSmartRef__":true,"id":12388},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12460":{"layouter":{"__isSmartRef__":true,"id":12461},"resizeWidth":true},"12461":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":12388},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"12462":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12463":{"x":0,"y":140,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12464":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":12465}},"12465":{"varMapping":{"__isSmartRef__":true,"id":12466},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":12471},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12466":{"this":{"__isSmartRef__":true,"id":12388},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12467}},"12467":{"$super":{"__isSmartRef__":true,"id":12468}},"12468":{"varMapping":{"__isSmartRef__":true,"id":12469},"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":12470},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12469":{"obj":{"__isSmartRef__":true,"id":12388},"name":"getLayoutableSubmorphs"},"12470":{},"12471":{},"12472":{"submorphs":[{"__isSmartRef__":true,"id":12473}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12537},"derivationIds":[null],"id":"1690490B-AD58-4AE9-B502-70193A7F5AC5","renderContextTable":{"__isSmartRef__":true,"id":12542},"eventHandler":{"__isSmartRef__":true,"id":12543},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12544},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":12546},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":12547},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12548},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12473":{"submorphs":[{"__isSmartRef__":true,"id":12474},{"__isSmartRef__":true,"id":12491}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12507},"derivationIds":[null],"id":"11727EF8-3824-475A-9511-3BAAEB626388","renderContextTable":{"__isSmartRef__":true,"id":12512},"eventHandler":{"__isSmartRef__":true,"id":12513},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12514},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1369},"propertyList":["replaceRenderContext","init","append","remove","onRenderFinished","triggerEvent","setTransform","setPosition","setRotation","setExtent","setScale","setVisible","adjustOrigin","setPivotPoint","setClipMode","showsVerticalScrollBar","showsHorizontalScrollBar","getScrollBarExtent","setHandStyle","setPointerEvents","setToolTip","focus","blur","setFocusable"],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"renderContextTable","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":12474},"text":{"__isSmartRef__":true,"id":12491},"owner":{"__isSmartRef__":true,"id":12472},"_Position":{"__isSmartRef__":true,"id":12515},"priorExtent":{"__isSmartRef__":true,"id":12516},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12517},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12474":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12475},"derivationIds":[null],"id":"85029DB3-5B17-476C-8298-14D2B6C3E989","renderContextTable":{"__isSmartRef__":true,"id":12481},"eventHandler":{"__isSmartRef__":true,"id":12482},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":12483},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":12473},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12484},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"12475":{"_Position":{"__isSmartRef__":true,"id":12476},"renderContextTable":{"__isSmartRef__":true,"id":12477},"_Extent":{"__isSmartRef__":true,"id":12478},"_Padding":{"__isSmartRef__":true,"id":12479},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":12480},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12476":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12477":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12478":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12479":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12480":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12481":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12482":{"morph":{"__isSmartRef__":true,"id":12474},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12483":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12484":{"toggle":{"__isSmartRef__":true,"id":12485},"toggleExpansion":{"__isSmartRef__":true,"id":12488}},"12485":{"varMapping":{"__isSmartRef__":true,"id":12486},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":12487},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12486":{"this":{"__isSmartRef__":true,"id":12474}},"12487":{},"12488":{"varMapping":{"__isSmartRef__":true,"id":12489},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":12490},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12489":{"this":{"__isSmartRef__":true,"id":12474}},"12490":{},"12491":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12492},"derivationIds":[null],"id":"A094DA8B-F363-4768-8981-F36F243ED710","renderContextTable":{"__isSmartRef__":true,"id":12496},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":12497},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":12498},{"__isSmartRef__":true,"id":12500}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":12502},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":12473},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12503},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12492":{"_Position":{"__isSmartRef__":true,"id":12493},"renderContextTable":{"__isSmartRef__":true,"id":12494},"_Extent":{"__isSmartRef__":true,"id":12495},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12493":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12494":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12495":{"x":148,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12496":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"12497":{"morph":{"__isSmartRef__":true,"id":12491},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12498":{"style":{"__isSmartRef__":true,"id":12499},"chunkOwner":{"__isSmartRef__":true,"id":12491},"storedString":"renderContextTable","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12499":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12500":{"style":{"__isSmartRef__":true,"id":12501},"chunkOwner":{"__isSmartRef__":true,"id":12491},"storedString":": {...}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12501":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12502":{"x":187.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12503":{"layoutText":{"__isSmartRef__":true,"id":12504}},"12504":{"varMapping":{"__isSmartRef__":true,"id":12505},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":12506},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12505":{"this":{"__isSmartRef__":true,"id":12491}},"12506":{},"12507":{"_Position":{"__isSmartRef__":true,"id":12508},"renderContextTable":{"__isSmartRef__":true,"id":12509},"_Extent":{"__isSmartRef__":true,"id":12510},"_Padding":{"__isSmartRef__":true,"id":12511},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12508":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12509":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12510":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12511":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12512":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12513":{"morph":{"__isSmartRef__":true,"id":12473},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12514":{"resizeWidth":true},"12515":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12516":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12517":{"updateExpanderColor":{"__isSmartRef__":true,"id":12518},"onMouseDown":{"__isSmartRef__":true,"id":12521},"isRoot":{"__isSmartRef__":true,"id":12528},"displayValue":{"__isSmartRef__":true,"id":12531},"update":{"__isSmartRef__":true,"id":12534}},"12518":{"varMapping":{"__isSmartRef__":true,"id":12519},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":12520},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12519":{"this":{"__isSmartRef__":true,"id":12473}},"12520":{},"12521":{"varMapping":{"__isSmartRef__":true,"id":12522},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":12527},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12522":{"this":{"__isSmartRef__":true,"id":12473},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12523}},"12523":{"$super":{"__isSmartRef__":true,"id":12524}},"12524":{"varMapping":{"__isSmartRef__":true,"id":12525},"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":12526},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12525":{"obj":{"__isSmartRef__":true,"id":12473},"name":"onMouseDown"},"12526":{},"12527":{},"12528":{"varMapping":{"__isSmartRef__":true,"id":12529},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":12530},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12529":{"this":{"__isSmartRef__":true,"id":12473}},"12530":{},"12531":{"varMapping":{"__isSmartRef__":true,"id":12532},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":12533},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12532":{"this":{"__isSmartRef__":true,"id":12473}},"12533":{},"12534":{"varMapping":{"__isSmartRef__":true,"id":12535},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12536},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12535":{"this":{"__isSmartRef__":true,"id":12473}},"12536":{},"12537":{"_Position":{"__isSmartRef__":true,"id":12538},"renderContextTable":{"__isSmartRef__":true,"id":12539},"_Extent":{"__isSmartRef__":true,"id":12540},"_Padding":{"__isSmartRef__":true,"id":12541},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12538":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12539":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12540":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12541":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12542":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12543":{"morph":{"__isSmartRef__":true,"id":12472},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12544":{"layouter":{"__isSmartRef__":true,"id":12545},"resizeWidth":true},"12545":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":12472},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"12546":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12547":{"x":0,"y":120,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12548":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":12549}},"12549":{"varMapping":{"__isSmartRef__":true,"id":12550},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":12555},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12550":{"this":{"__isSmartRef__":true,"id":12472},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12551}},"12551":{"$super":{"__isSmartRef__":true,"id":12552}},"12552":{"varMapping":{"__isSmartRef__":true,"id":12553},"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":12554},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12553":{"obj":{"__isSmartRef__":true,"id":12472},"name":"getLayoutableSubmorphs"},"12554":{},"12555":{},"12556":{"submorphs":[{"__isSmartRef__":true,"id":12557}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12621},"derivationIds":[null],"id":"F1789445-0358-434A-AA06-8EE4F53609B2","renderContextTable":{"__isSmartRef__":true,"id":12626},"eventHandler":{"__isSmartRef__":true,"id":12627},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12628},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":12630},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":12631},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12632},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12557":{"submorphs":[{"__isSmartRef__":true,"id":12558},{"__isSmartRef__":true,"id":12575}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12591},"derivationIds":[null],"id":"95FA83C9-99E1-45B4-A9B9-32318C22BC8F","renderContextTable":{"__isSmartRef__":true,"id":12596},"eventHandler":{"__isSmartRef__":true,"id":12597},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12598},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"scripts","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":12558},"text":{"__isSmartRef__":true,"id":12575},"owner":{"__isSmartRef__":true,"id":12556},"_Position":{"__isSmartRef__":true,"id":12599},"priorExtent":{"__isSmartRef__":true,"id":12600},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12601},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12558":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12559},"derivationIds":[null],"id":"5B6FFEA8-4D34-496F-A4F5-55C584BBB823","renderContextTable":{"__isSmartRef__":true,"id":12565},"eventHandler":{"__isSmartRef__":true,"id":12566},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":12567},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":12557},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12568},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"12559":{"_Position":{"__isSmartRef__":true,"id":12560},"renderContextTable":{"__isSmartRef__":true,"id":12561},"_Extent":{"__isSmartRef__":true,"id":12562},"_Padding":{"__isSmartRef__":true,"id":12563},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":12564},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12560":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12561":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12562":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12563":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12564":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12565":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12566":{"morph":{"__isSmartRef__":true,"id":12558},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12567":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12568":{"toggle":{"__isSmartRef__":true,"id":12569},"toggleExpansion":{"__isSmartRef__":true,"id":12572}},"12569":{"varMapping":{"__isSmartRef__":true,"id":12570},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":12571},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12570":{"this":{"__isSmartRef__":true,"id":12558}},"12571":{},"12572":{"varMapping":{"__isSmartRef__":true,"id":12573},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":12574},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12573":{"this":{"__isSmartRef__":true,"id":12558}},"12574":{},"12575":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12576},"derivationIds":[null],"id":"553A147F-45CE-42AC-AF49-6D071863D984","renderContextTable":{"__isSmartRef__":true,"id":12580},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":12581},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":12582},{"__isSmartRef__":true,"id":12584}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":12586},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":12557},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12587},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12576":{"_Position":{"__isSmartRef__":true,"id":12577},"renderContextTable":{"__isSmartRef__":true,"id":12578},"_Extent":{"__isSmartRef__":true,"id":12579},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12577":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12578":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12579":{"x":63,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12580":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"12581":{"morph":{"__isSmartRef__":true,"id":12575},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12582":{"style":{"__isSmartRef__":true,"id":12583},"chunkOwner":{"__isSmartRef__":true,"id":12575},"storedString":"scripts","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12583":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12584":{"style":{"__isSmartRef__":true,"id":12585},"chunkOwner":{"__isSmartRef__":true,"id":12575},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12585":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12586":{"x":82.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12587":{"layoutText":{"__isSmartRef__":true,"id":12588}},"12588":{"varMapping":{"__isSmartRef__":true,"id":12589},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":12590},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12589":{"this":{"__isSmartRef__":true,"id":12575}},"12590":{},"12591":{"_Position":{"__isSmartRef__":true,"id":12592},"renderContextTable":{"__isSmartRef__":true,"id":12593},"_Extent":{"__isSmartRef__":true,"id":12594},"_Padding":{"__isSmartRef__":true,"id":12595},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12592":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12593":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12594":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12595":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12596":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12597":{"morph":{"__isSmartRef__":true,"id":12557},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12598":{"resizeWidth":true},"12599":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12600":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12601":{"updateExpanderColor":{"__isSmartRef__":true,"id":12602},"onMouseDown":{"__isSmartRef__":true,"id":12605},"isRoot":{"__isSmartRef__":true,"id":12612},"displayValue":{"__isSmartRef__":true,"id":12615},"update":{"__isSmartRef__":true,"id":12618}},"12602":{"varMapping":{"__isSmartRef__":true,"id":12603},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":12604},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12603":{"this":{"__isSmartRef__":true,"id":12557}},"12604":{},"12605":{"varMapping":{"__isSmartRef__":true,"id":12606},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":12611},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12606":{"this":{"__isSmartRef__":true,"id":12557},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12607}},"12607":{"$super":{"__isSmartRef__":true,"id":12608}},"12608":{"varMapping":{"__isSmartRef__":true,"id":12609},"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":12610},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12609":{"obj":{"__isSmartRef__":true,"id":12557},"name":"onMouseDown"},"12610":{},"12611":{},"12612":{"varMapping":{"__isSmartRef__":true,"id":12613},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":12614},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12613":{"this":{"__isSmartRef__":true,"id":12557}},"12614":{},"12615":{"varMapping":{"__isSmartRef__":true,"id":12616},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":12617},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12616":{"this":{"__isSmartRef__":true,"id":12557}},"12617":{},"12618":{"varMapping":{"__isSmartRef__":true,"id":12619},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12620},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12619":{"this":{"__isSmartRef__":true,"id":12557}},"12620":{},"12621":{"_Position":{"__isSmartRef__":true,"id":12622},"renderContextTable":{"__isSmartRef__":true,"id":12623},"_Extent":{"__isSmartRef__":true,"id":12624},"_Padding":{"__isSmartRef__":true,"id":12625},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12622":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12623":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12624":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12625":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12626":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12627":{"morph":{"__isSmartRef__":true,"id":12556},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12628":{"layouter":{"__isSmartRef__":true,"id":12629},"resizeWidth":true},"12629":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":12556},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"12630":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12631":{"x":0,"y":100,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12632":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":12633}},"12633":{"varMapping":{"__isSmartRef__":true,"id":12634},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":12639},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12634":{"this":{"__isSmartRef__":true,"id":12556},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12635}},"12635":{"$super":{"__isSmartRef__":true,"id":12636}},"12636":{"varMapping":{"__isSmartRef__":true,"id":12637},"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":12638},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12637":{"obj":{"__isSmartRef__":true,"id":12556},"name":"getLayoutableSubmorphs"},"12638":{},"12639":{},"12640":{"submorphs":[{"__isSmartRef__":true,"id":12641}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12705},"derivationIds":[null],"id":"0F2FA63E-9A54-4C57-B9E8-B1A2113E3323","renderContextTable":{"__isSmartRef__":true,"id":12710},"eventHandler":{"__isSmartRef__":true,"id":12711},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12712},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":12714},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":12715},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12716},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12641":{"submorphs":[{"__isSmartRef__":true,"id":12642},{"__isSmartRef__":true,"id":12659}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12675},"derivationIds":[null],"id":"F42E1BD1-7C90-42DB-B397-F53D69DE0F14","renderContextTable":{"__isSmartRef__":true,"id":12680},"eventHandler":{"__isSmartRef__":true,"id":12681},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12682},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1353},"propertyList":["position","_Extent","_BorderWidth","_BorderColor","_Fill","__SourceModuleName__","renderContextTable","_ClipMode","_Padding","_BorderRadius","_Opacity","_BorderStyle","_renderContext"],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"shape","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":12642},"text":{"__isSmartRef__":true,"id":12659},"owner":{"__isSmartRef__":true,"id":12640},"_Position":{"__isSmartRef__":true,"id":12683},"priorExtent":{"__isSmartRef__":true,"id":12684},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12685},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12642":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12643},"derivationIds":[null],"id":"27B875B7-05E0-4A32-8F0D-20B309C514BA","renderContextTable":{"__isSmartRef__":true,"id":12649},"eventHandler":{"__isSmartRef__":true,"id":12650},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":12651},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":12641},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12652},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"12643":{"_Position":{"__isSmartRef__":true,"id":12644},"renderContextTable":{"__isSmartRef__":true,"id":12645},"_Extent":{"__isSmartRef__":true,"id":12646},"_Padding":{"__isSmartRef__":true,"id":12647},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":12648},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12644":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12645":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12646":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12647":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12648":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12649":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12650":{"morph":{"__isSmartRef__":true,"id":12642},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12651":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12652":{"toggle":{"__isSmartRef__":true,"id":12653},"toggleExpansion":{"__isSmartRef__":true,"id":12656}},"12653":{"varMapping":{"__isSmartRef__":true,"id":12654},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":12655},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12654":{"this":{"__isSmartRef__":true,"id":12642}},"12655":{},"12656":{"varMapping":{"__isSmartRef__":true,"id":12657},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":12658},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12657":{"this":{"__isSmartRef__":true,"id":12642}},"12658":{},"12659":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12660},"derivationIds":[null],"id":"C340F4B7-301F-46A2-A42E-CBAADCD0CEF0","renderContextTable":{"__isSmartRef__":true,"id":12664},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":12665},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":12666},{"__isSmartRef__":true,"id":12668}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":12670},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":12641},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12671},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12660":{"_Position":{"__isSmartRef__":true,"id":12661},"renderContextTable":{"__isSmartRef__":true,"id":12662},"_Extent":{"__isSmartRef__":true,"id":12663},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12661":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12662":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12663":{"x":109,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12664":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"12665":{"morph":{"__isSmartRef__":true,"id":12659},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12666":{"style":{"__isSmartRef__":true,"id":12667},"chunkOwner":{"__isSmartRef__":true,"id":12659},"storedString":"shape","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12667":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12668":{"style":{"__isSmartRef__":true,"id":12669},"chunkOwner":{"__isSmartRef__":true,"id":12659},"storedString":": Rectangle","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12669":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12670":{"x":120,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12671":{"layoutText":{"__isSmartRef__":true,"id":12672}},"12672":{"varMapping":{"__isSmartRef__":true,"id":12673},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":12674},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12673":{"this":{"__isSmartRef__":true,"id":12659}},"12674":{},"12675":{"_Position":{"__isSmartRef__":true,"id":12676},"renderContextTable":{"__isSmartRef__":true,"id":12677},"_Extent":{"__isSmartRef__":true,"id":12678},"_Padding":{"__isSmartRef__":true,"id":12679},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12676":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12677":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12678":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12679":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12680":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12681":{"morph":{"__isSmartRef__":true,"id":12641},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12682":{"resizeWidth":true},"12683":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12684":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12685":{"updateExpanderColor":{"__isSmartRef__":true,"id":12686},"onMouseDown":{"__isSmartRef__":true,"id":12689},"isRoot":{"__isSmartRef__":true,"id":12696},"displayValue":{"__isSmartRef__":true,"id":12699},"update":{"__isSmartRef__":true,"id":12702}},"12686":{"varMapping":{"__isSmartRef__":true,"id":12687},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":12688},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12687":{"this":{"__isSmartRef__":true,"id":12641}},"12688":{},"12689":{"varMapping":{"__isSmartRef__":true,"id":12690},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":12695},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12690":{"this":{"__isSmartRef__":true,"id":12641},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12691}},"12691":{"$super":{"__isSmartRef__":true,"id":12692}},"12692":{"varMapping":{"__isSmartRef__":true,"id":12693},"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":12694},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12693":{"obj":{"__isSmartRef__":true,"id":12641},"name":"onMouseDown"},"12694":{},"12695":{},"12696":{"varMapping":{"__isSmartRef__":true,"id":12697},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":12698},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12697":{"this":{"__isSmartRef__":true,"id":12641}},"12698":{},"12699":{"varMapping":{"__isSmartRef__":true,"id":12700},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":12701},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12700":{"this":{"__isSmartRef__":true,"id":12641}},"12701":{},"12702":{"varMapping":{"__isSmartRef__":true,"id":12703},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12704},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12703":{"this":{"__isSmartRef__":true,"id":12641}},"12704":{},"12705":{"_Position":{"__isSmartRef__":true,"id":12706},"renderContextTable":{"__isSmartRef__":true,"id":12707},"_Extent":{"__isSmartRef__":true,"id":12708},"_Padding":{"__isSmartRef__":true,"id":12709},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12706":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12707":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12708":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12709":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12710":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12711":{"morph":{"__isSmartRef__":true,"id":12640},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12712":{"layouter":{"__isSmartRef__":true,"id":12713},"resizeWidth":true},"12713":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":12640},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"12714":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12715":{"x":0,"y":80,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12716":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":12717}},"12717":{"varMapping":{"__isSmartRef__":true,"id":12718},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":12723},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12718":{"this":{"__isSmartRef__":true,"id":12640},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12719}},"12719":{"$super":{"__isSmartRef__":true,"id":12720}},"12720":{"varMapping":{"__isSmartRef__":true,"id":12721},"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":12722},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12721":{"obj":{"__isSmartRef__":true,"id":12640},"name":"getLayoutableSubmorphs"},"12722":{},"12723":{},"12724":{"submorphs":[{"__isSmartRef__":true,"id":12725}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12789},"derivationIds":[null],"id":"1CE02673-BA79-4DC3-889F-B0AF761DD23F","renderContextTable":{"__isSmartRef__":true,"id":12794},"eventHandler":{"__isSmartRef__":true,"id":12795},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12796},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":12798},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":12799},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12800},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12725":{"submorphs":[{"__isSmartRef__":true,"id":12726},{"__isSmartRef__":true,"id":12743}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12759},"derivationIds":[null],"id":"7D8C9B10-8B83-427A-82E3-20AA80C05173","renderContextTable":{"__isSmartRef__":true,"id":12764},"eventHandler":{"__isSmartRef__":true,"id":12765},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12766},"grabbingEnabled":false,"draggingEnabled":false,"data":false,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"showsHalos","children":[],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":12726},"text":{"__isSmartRef__":true,"id":12743},"owner":{"__isSmartRef__":true,"id":12724},"_Position":{"__isSmartRef__":true,"id":12767},"priorExtent":{"__isSmartRef__":true,"id":12768},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12769},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12726":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12727},"derivationIds":[null],"id":"FD8DBD57-641A-45CF-9F76-EA08FF830301","renderContextTable":{"__isSmartRef__":true,"id":12733},"eventHandler":{"__isSmartRef__":true,"id":12734},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":12735},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":12725},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12736},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"12727":{"_Position":{"__isSmartRef__":true,"id":12728},"renderContextTable":{"__isSmartRef__":true,"id":12729},"_Extent":{"__isSmartRef__":true,"id":12730},"_Padding":{"__isSmartRef__":true,"id":12731},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":12732},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12728":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12729":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12730":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12731":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12732":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12733":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12734":{"morph":{"__isSmartRef__":true,"id":12726},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12735":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12736":{"toggle":{"__isSmartRef__":true,"id":12737},"toggleExpansion":{"__isSmartRef__":true,"id":12740}},"12737":{"varMapping":{"__isSmartRef__":true,"id":12738},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":12739},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12738":{"this":{"__isSmartRef__":true,"id":12726}},"12739":{},"12740":{"varMapping":{"__isSmartRef__":true,"id":12741},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":12742},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12741":{"this":{"__isSmartRef__":true,"id":12726}},"12742":{},"12743":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12744},"derivationIds":[null],"id":"F0B0CE71-3C0F-44D7-B7F8-63FD894D3AC5","renderContextTable":{"__isSmartRef__":true,"id":12748},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":12749},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":12750},{"__isSmartRef__":true,"id":12752}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":12754},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":12725},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12755},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12744":{"_Position":{"__isSmartRef__":true,"id":12745},"renderContextTable":{"__isSmartRef__":true,"id":12746},"_Extent":{"__isSmartRef__":true,"id":12747},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12745":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12746":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12747":{"x":127.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12748":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"12749":{"morph":{"__isSmartRef__":true,"id":12743},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12750":{"style":{"__isSmartRef__":true,"id":12751},"chunkOwner":{"__isSmartRef__":true,"id":12743},"storedString":"showsHalos","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12751":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12752":{"style":{"__isSmartRef__":true,"id":12753},"chunkOwner":{"__isSmartRef__":true,"id":12743},"storedString":": false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12753":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12754":{"x":120,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12755":{"layoutText":{"__isSmartRef__":true,"id":12756}},"12756":{"varMapping":{"__isSmartRef__":true,"id":12757},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":12758},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12757":{"this":{"__isSmartRef__":true,"id":12743}},"12758":{},"12759":{"_Position":{"__isSmartRef__":true,"id":12760},"renderContextTable":{"__isSmartRef__":true,"id":12761},"_Extent":{"__isSmartRef__":true,"id":12762},"_Padding":{"__isSmartRef__":true,"id":12763},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12760":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12761":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12762":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12763":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12764":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12765":{"morph":{"__isSmartRef__":true,"id":12725},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12766":{"resizeWidth":true},"12767":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12768":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12769":{"updateExpanderColor":{"__isSmartRef__":true,"id":12770},"onMouseDown":{"__isSmartRef__":true,"id":12773},"isRoot":{"__isSmartRef__":true,"id":12780},"displayValue":{"__isSmartRef__":true,"id":12783},"update":{"__isSmartRef__":true,"id":12786}},"12770":{"varMapping":{"__isSmartRef__":true,"id":12771},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":12772},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12771":{"this":{"__isSmartRef__":true,"id":12725}},"12772":{},"12773":{"varMapping":{"__isSmartRef__":true,"id":12774},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":12779},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12774":{"this":{"__isSmartRef__":true,"id":12725},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12775}},"12775":{"$super":{"__isSmartRef__":true,"id":12776}},"12776":{"varMapping":{"__isSmartRef__":true,"id":12777},"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":12778},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12777":{"obj":{"__isSmartRef__":true,"id":12725},"name":"onMouseDown"},"12778":{},"12779":{},"12780":{"varMapping":{"__isSmartRef__":true,"id":12781},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":12782},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12781":{"this":{"__isSmartRef__":true,"id":12725}},"12782":{},"12783":{"varMapping":{"__isSmartRef__":true,"id":12784},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":12785},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12784":{"this":{"__isSmartRef__":true,"id":12725}},"12785":{},"12786":{"varMapping":{"__isSmartRef__":true,"id":12787},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12788},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12787":{"this":{"__isSmartRef__":true,"id":12725}},"12788":{},"12789":{"_Position":{"__isSmartRef__":true,"id":12790},"renderContextTable":{"__isSmartRef__":true,"id":12791},"_Extent":{"__isSmartRef__":true,"id":12792},"_Padding":{"__isSmartRef__":true,"id":12793},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12790":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12791":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12792":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12793":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12794":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12795":{"morph":{"__isSmartRef__":true,"id":12724},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12796":{"layouter":{"__isSmartRef__":true,"id":12797},"resizeWidth":true},"12797":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":12724},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"12798":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12799":{"x":0,"y":60,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12800":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":12801}},"12801":{"varMapping":{"__isSmartRef__":true,"id":12802},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":12807},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12802":{"this":{"__isSmartRef__":true,"id":12724},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12803}},"12803":{"$super":{"__isSmartRef__":true,"id":12804}},"12804":{"varMapping":{"__isSmartRef__":true,"id":12805},"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":12806},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12805":{"obj":{"__isSmartRef__":true,"id":12724},"name":"getLayoutableSubmorphs"},"12806":{},"12807":{},"12808":{"submorphs":[{"__isSmartRef__":true,"id":12809},{"__isSmartRef__":true,"id":17443}],"scripts":[],"shape":{"__isSmartRef__":true,"id":17562},"derivationIds":[null],"id":"93ED3757-AB52-4C60-8013-C69AFC468FD6","renderContextTable":{"__isSmartRef__":true,"id":17567},"eventHandler":{"__isSmartRef__":true,"id":17568},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":17569},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":17571},"owner":{"__isSmartRef__":true,"id":10287},"_Position":{"__isSmartRef__":true,"id":17572},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17573},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12809":{"submorphs":[{"__isSmartRef__":true,"id":12810},{"__isSmartRef__":true,"id":12826}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12842},"derivationIds":[null],"id":"55F42671-7F8F-4E25-8073-8AB62DD78838","renderContextTable":{"__isSmartRef__":true,"id":12847},"eventHandler":{"__isSmartRef__":true,"id":12848},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12849},"grabbingEnabled":false,"draggingEnabled":false,"data":[{"__isSmartRef__":true,"id":1337}],"propertyList":["0"],"level":1,"treeView":{"__isSmartRef__":true,"id":10189},"label":"submorphs","children":[{"__isSmartRef__":true,"id":12850}],"parent":{"__isSmartRef__":true,"id":10192},"expander":{"__isSmartRef__":true,"id":12810},"text":{"__isSmartRef__":true,"id":12826},"owner":{"__isSmartRef__":true,"id":12808},"_Position":{"__isSmartRef__":true,"id":17540},"priorExtent":{"__isSmartRef__":true,"id":17541},"childrenWrapper":{"__isSmartRef__":true,"id":17443},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17542},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12810":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12811},"derivationIds":[null],"id":"3089F934-0B2A-4FC6-9584-0228BCA0A6D6","renderContextTable":{"__isSmartRef__":true,"id":12816},"eventHandler":{"__isSmartRef__":true,"id":12817},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":12818},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":true,"owner":{"__isSmartRef__":true,"id":12809},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12819},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"12811":{"_Position":{"__isSmartRef__":true,"id":12812},"renderContextTable":{"__isSmartRef__":true,"id":12813},"_Extent":{"__isSmartRef__":true,"id":12814},"_Padding":{"__isSmartRef__":true,"id":12815},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":6759},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12812":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12813":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12814":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12815":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12816":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12817":{"morph":{"__isSmartRef__":true,"id":12810},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12818":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12819":{"toggle":{"__isSmartRef__":true,"id":12820},"toggleExpansion":{"__isSmartRef__":true,"id":12823}},"12820":{"varMapping":{"__isSmartRef__":true,"id":12821},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":12822},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12821":{"this":{"__isSmartRef__":true,"id":12810}},"12822":{},"12823":{"varMapping":{"__isSmartRef__":true,"id":12824},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":12825},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12824":{"this":{"__isSmartRef__":true,"id":12810}},"12825":{},"12826":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12827},"derivationIds":[null],"id":"6684CA0A-D40B-4715-98CD-BF0F91FF12AF","renderContextTable":{"__isSmartRef__":true,"id":12831},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":12832},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":12833},{"__isSmartRef__":true,"id":12835}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":12837},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":12809},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12838},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12827":{"_Position":{"__isSmartRef__":true,"id":12828},"renderContextTable":{"__isSmartRef__":true,"id":12829},"_Extent":{"__isSmartRef__":true,"id":12830},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12828":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12829":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12830":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12831":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"12832":{"morph":{"__isSmartRef__":true,"id":12826},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12833":{"style":{"__isSmartRef__":true,"id":12834},"chunkOwner":{"__isSmartRef__":true,"id":12826},"storedString":"submorphs","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12834":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12835":{"style":{"__isSmartRef__":true,"id":12836},"chunkOwner":{"__isSmartRef__":true,"id":12826},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12836":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12837":{"x":120,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12838":{"layoutText":{"__isSmartRef__":true,"id":12839}},"12839":{"varMapping":{"__isSmartRef__":true,"id":12840},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":12841},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12840":{"this":{"__isSmartRef__":true,"id":12826}},"12841":{},"12842":{"_Position":{"__isSmartRef__":true,"id":12843},"renderContextTable":{"__isSmartRef__":true,"id":12844},"_Extent":{"__isSmartRef__":true,"id":12845},"_Padding":{"__isSmartRef__":true,"id":12846},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12843":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12844":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12845":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12846":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12847":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12848":{"morph":{"__isSmartRef__":true,"id":12809},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12849":{"resizeWidth":true},"12850":{"submorphs":[{"__isSmartRef__":true,"id":12851},{"__isSmartRef__":true,"id":12868}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12885},"derivationIds":[null],"id":"58AF880B-A06D-4626-B467-C50FE00AB462","renderContextTable":{"__isSmartRef__":true,"id":12890},"eventHandler":{"__isSmartRef__":true,"id":12891},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12892},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1337},"propertyList":["submorphs","scripts","id","shape","grabbingEnabled","droppingEnabled","halosEnabled","fixedWidth","fixedHeight","allowsInput","_FontFamily","registeredForMouseEvents","_Position","_MaxTextWidth","_MaxTextHeight","textColor","showsHalos","_FontSize","__SourceModuleName__","name","partsBinMetaInfo","textChunks","charsReplaced","lastFindLoc","prevScroll","priorExtent","renderContextTable","eventHandler","attributeConnections","doNotSerialize","doNotCopyProperties","_Padding","_ClipMode","derivationIds","_WhiteSpaceHandling","owner","_MinTextWidth","_MinTextHeight","_TextColor","distanceToDragEvent","previousSelection","_Align","eventsAreIgnored","_Visible","isCopyMorphRef","morphRefId","charsTyped","_renderContext","_isRendered","cachedTextString","_Rotation","_Scale"],"level":2,"treeView":{"__isSmartRef__":true,"id":10189},"label":"0","children":[{"__isSmartRef__":true,"id":12893},{"__isSmartRef__":true,"id":12948},{"__isSmartRef__":true,"id":13032},{"__isSmartRef__":true,"id":13116},{"__isSmartRef__":true,"id":13200},{"__isSmartRef__":true,"id":13284},{"__isSmartRef__":true,"id":13368},{"__isSmartRef__":true,"id":13452},{"__isSmartRef__":true,"id":13536},{"__isSmartRef__":true,"id":13620},{"__isSmartRef__":true,"id":13704},{"__isSmartRef__":true,"id":13788},{"__isSmartRef__":true,"id":13872},{"__isSmartRef__":true,"id":13956},{"__isSmartRef__":true,"id":14040},{"__isSmartRef__":true,"id":14124},{"__isSmartRef__":true,"id":14208},{"__isSmartRef__":true,"id":14292},{"__isSmartRef__":true,"id":14377},{"__isSmartRef__":true,"id":14461},{"__isSmartRef__":true,"id":14545},{"__isSmartRef__":true,"id":14629},{"__isSmartRef__":true,"id":14713},{"__isSmartRef__":true,"id":14797},{"__isSmartRef__":true,"id":14881},{"__isSmartRef__":true,"id":14965},{"__isSmartRef__":true,"id":15049},{"__isSmartRef__":true,"id":15133},{"__isSmartRef__":true,"id":15217},{"__isSmartRef__":true,"id":15301},{"__isSmartRef__":true,"id":15385},{"__isSmartRef__":true,"id":15469},{"__isSmartRef__":true,"id":15553},{"__isSmartRef__":true,"id":15637},{"__isSmartRef__":true,"id":15721},{"__isSmartRef__":true,"id":15805},{"__isSmartRef__":true,"id":15889},{"__isSmartRef__":true,"id":15973},{"__isSmartRef__":true,"id":16057},{"__isSmartRef__":true,"id":16141},{"__isSmartRef__":true,"id":16225},{"__isSmartRef__":true,"id":16309},{"__isSmartRef__":true,"id":16393},{"__isSmartRef__":true,"id":16477},{"__isSmartRef__":true,"id":16751},{"__isSmartRef__":true,"id":16835},{"__isSmartRef__":true,"id":16919},{"__isSmartRef__":true,"id":17003},{"__isSmartRef__":true,"id":17087},{"__isSmartRef__":true,"id":17171},{"__isSmartRef__":true,"id":17255},{"__isSmartRef__":true,"id":17339}],"parent":{"__isSmartRef__":true,"id":12809},"expander":{"__isSmartRef__":true,"id":12851},"text":{"__isSmartRef__":true,"id":12868},"owner":{"__isSmartRef__":true,"id":17432},"_Position":{"__isSmartRef__":true,"id":17518},"priorExtent":{"__isSmartRef__":true,"id":17519},"childrenWrapper":{"__isSmartRef__":true,"id":12946},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17520},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12851":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12852},"derivationIds":[null],"id":"A38D104B-BF5A-4F9B-8CEA-8FED0808CF87","renderContextTable":{"__isSmartRef__":true,"id":12858},"eventHandler":{"__isSmartRef__":true,"id":12859},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":12860},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":12850},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12861},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"12852":{"_Position":{"__isSmartRef__":true,"id":12853},"renderContextTable":{"__isSmartRef__":true,"id":12854},"_Extent":{"__isSmartRef__":true,"id":12855},"_Padding":{"__isSmartRef__":true,"id":12856},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":12857},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12853":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12854":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12855":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12856":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12857":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12858":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12859":{"morph":{"__isSmartRef__":true,"id":12851},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12860":{"x":28,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12861":{"toggle":{"__isSmartRef__":true,"id":12862},"toggleExpansion":{"__isSmartRef__":true,"id":12865}},"12862":{"varMapping":{"__isSmartRef__":true,"id":12863},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":12864},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12863":{"this":{"__isSmartRef__":true,"id":12851}},"12864":{},"12865":{"varMapping":{"__isSmartRef__":true,"id":12866},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":12867},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12866":{"this":{"__isSmartRef__":true,"id":12851}},"12867":{},"12868":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12869},"derivationIds":[null],"id":"875A4ACE-9B27-471D-B388-CC8FA45C96DB","renderContextTable":{"__isSmartRef__":true,"id":12874},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":12875},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":12876},{"__isSmartRef__":true,"id":12878}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":12880},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":12850},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12881},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12869":{"_Position":{"__isSmartRef__":true,"id":12870},"renderContextTable":{"__isSmartRef__":true,"id":12871},"_Extent":{"__isSmartRef__":true,"id":12872},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":{"__isSmartRef__":true,"id":12873},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12870":{"x":38,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12871":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12872":{"x":101,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12873":{"r":0.9529411764705882,"g":0.9529411764705882,"b":0.9529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12874":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"12875":{"morph":{"__isSmartRef__":true,"id":12868},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12876":{"style":{"__isSmartRef__":true,"id":12877},"chunkOwner":{"__isSmartRef__":true,"id":12868},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12877":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12878":{"style":{"__isSmartRef__":true,"id":12879},"chunkOwner":{"__isSmartRef__":true,"id":12868},"storedString":": MenuPosition","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12879":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12880":{"x":112.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12881":{"layoutText":{"__isSmartRef__":true,"id":12882}},"12882":{"varMapping":{"__isSmartRef__":true,"id":12883},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":12884},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12883":{"this":{"__isSmartRef__":true,"id":12868}},"12884":{},"12885":{"_Position":{"__isSmartRef__":true,"id":12886},"renderContextTable":{"__isSmartRef__":true,"id":12887},"_Extent":{"__isSmartRef__":true,"id":12888},"_Padding":{"__isSmartRef__":true,"id":12889},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12886":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12887":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12888":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12889":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12890":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12891":{"morph":{"__isSmartRef__":true,"id":12850},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12892":{"resizeWidth":true},"12893":{"submorphs":[{"__isSmartRef__":true,"id":12894},{"__isSmartRef__":true,"id":12911}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12927},"derivationIds":[null],"id":"87157145-05CE-4074-BDB5-F9D1BA07562A","renderContextTable":{"__isSmartRef__":true,"id":12932},"eventHandler":{"__isSmartRef__":true,"id":12933},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12934},"grabbingEnabled":false,"draggingEnabled":false,"data":"left","propertyList":["0","1","2","3"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"_Align","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":12894},"text":{"__isSmartRef__":true,"id":12911},"owner":{"__isSmartRef__":true,"id":12935},"_Position":{"__isSmartRef__":true,"id":17496},"priorExtent":{"__isSmartRef__":true,"id":17497},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17498},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12894":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12895},"derivationIds":[null],"id":"D263CD27-E5AD-47E6-8347-9BA941508607","renderContextTable":{"__isSmartRef__":true,"id":12901},"eventHandler":{"__isSmartRef__":true,"id":12902},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":12903},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":12893},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12904},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"12895":{"_Position":{"__isSmartRef__":true,"id":12896},"renderContextTable":{"__isSmartRef__":true,"id":12897},"_Extent":{"__isSmartRef__":true,"id":12898},"_Padding":{"__isSmartRef__":true,"id":12899},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":12900},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12896":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12897":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12898":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12899":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12900":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12901":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12902":{"morph":{"__isSmartRef__":true,"id":12894},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12903":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12904":{"toggle":{"__isSmartRef__":true,"id":12905},"toggleExpansion":{"__isSmartRef__":true,"id":12908}},"12905":{"varMapping":{"__isSmartRef__":true,"id":12906},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":12907},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12906":{"this":{"__isSmartRef__":true,"id":12894}},"12907":{},"12908":{"varMapping":{"__isSmartRef__":true,"id":12909},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":12910},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12909":{"this":{"__isSmartRef__":true,"id":12894}},"12910":{},"12911":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12912},"derivationIds":[null],"id":"8BA52D33-10C6-480A-BF9D-17C18941B7BA","renderContextTable":{"__isSmartRef__":true,"id":12916},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":12917},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":12918},{"__isSmartRef__":true,"id":12920}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":12922},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":12893},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12923},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12912":{"_Position":{"__isSmartRef__":true,"id":12913},"renderContextTable":{"__isSmartRef__":true,"id":12914},"_Extent":{"__isSmartRef__":true,"id":12915},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12913":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12914":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12915":{"x":70,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12916":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"12917":{"morph":{"__isSmartRef__":true,"id":12911},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12918":{"style":{"__isSmartRef__":true,"id":12919},"chunkOwner":{"__isSmartRef__":true,"id":12911},"storedString":"_Align","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12919":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12920":{"style":{"__isSmartRef__":true,"id":12921},"chunkOwner":{"__isSmartRef__":true,"id":12911},"storedString":": left","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12921":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12922":{"x":90,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12923":{"layoutText":{"__isSmartRef__":true,"id":12924}},"12924":{"varMapping":{"__isSmartRef__":true,"id":12925},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":12926},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12925":{"this":{"__isSmartRef__":true,"id":12911}},"12926":{},"12927":{"_Position":{"__isSmartRef__":true,"id":12928},"renderContextTable":{"__isSmartRef__":true,"id":12929},"_Extent":{"__isSmartRef__":true,"id":12930},"_Padding":{"__isSmartRef__":true,"id":12931},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12928":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12929":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12930":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12931":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12932":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12933":{"morph":{"__isSmartRef__":true,"id":12893},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12934":{"resizeWidth":true},"12935":{"submorphs":[{"__isSmartRef__":true,"id":12893}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12936},"derivationIds":[null],"id":"371E9141-7DB6-4A80-98B6-016085E18FB0","renderContextTable":{"__isSmartRef__":true,"id":12941},"eventHandler":{"__isSmartRef__":true,"id":12942},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12943},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":12945},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":17487},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17488},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12936":{"_Position":{"__isSmartRef__":true,"id":12937},"renderContextTable":{"__isSmartRef__":true,"id":12938},"_Extent":{"__isSmartRef__":true,"id":12939},"_Padding":{"__isSmartRef__":true,"id":12940},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12937":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12938":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12939":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12940":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12941":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12942":{"morph":{"__isSmartRef__":true,"id":12935},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12943":{"layouter":{"__isSmartRef__":true,"id":12944},"resizeWidth":true},"12944":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":12935},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"12945":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12946":{"submorphs":[{"__isSmartRef__":true,"id":12935},{"__isSmartRef__":true,"id":12947},{"__isSmartRef__":true,"id":13031},{"__isSmartRef__":true,"id":13115},{"__isSmartRef__":true,"id":13199},{"__isSmartRef__":true,"id":13283},{"__isSmartRef__":true,"id":13367},{"__isSmartRef__":true,"id":13451},{"__isSmartRef__":true,"id":13535},{"__isSmartRef__":true,"id":13619},{"__isSmartRef__":true,"id":13703},{"__isSmartRef__":true,"id":13787},{"__isSmartRef__":true,"id":13871},{"__isSmartRef__":true,"id":13955},{"__isSmartRef__":true,"id":14039},{"__isSmartRef__":true,"id":14123},{"__isSmartRef__":true,"id":14207},{"__isSmartRef__":true,"id":14291},{"__isSmartRef__":true,"id":14376},{"__isSmartRef__":true,"id":14460},{"__isSmartRef__":true,"id":14544},{"__isSmartRef__":true,"id":14628},{"__isSmartRef__":true,"id":14712},{"__isSmartRef__":true,"id":14796},{"__isSmartRef__":true,"id":14880},{"__isSmartRef__":true,"id":14964},{"__isSmartRef__":true,"id":15048},{"__isSmartRef__":true,"id":15132},{"__isSmartRef__":true,"id":15216},{"__isSmartRef__":true,"id":15300},{"__isSmartRef__":true,"id":15384},{"__isSmartRef__":true,"id":15468},{"__isSmartRef__":true,"id":15552},{"__isSmartRef__":true,"id":15636},{"__isSmartRef__":true,"id":15720},{"__isSmartRef__":true,"id":15804},{"__isSmartRef__":true,"id":15888},{"__isSmartRef__":true,"id":15972},{"__isSmartRef__":true,"id":16056},{"__isSmartRef__":true,"id":16140},{"__isSmartRef__":true,"id":16224},{"__isSmartRef__":true,"id":16308},{"__isSmartRef__":true,"id":16392},{"__isSmartRef__":true,"id":16476},{"__isSmartRef__":true,"id":16750},{"__isSmartRef__":true,"id":16834},{"__isSmartRef__":true,"id":16918},{"__isSmartRef__":true,"id":17002},{"__isSmartRef__":true,"id":17086},{"__isSmartRef__":true,"id":17170},{"__isSmartRef__":true,"id":17254},{"__isSmartRef__":true,"id":17338}],"scripts":[],"shape":{"__isSmartRef__":true,"id":17422},"derivationIds":[null],"id":"89326187-2590-40D3-8D2B-52FE6F5B6325","renderContextTable":{"__isSmartRef__":true,"id":17427},"eventHandler":{"__isSmartRef__":true,"id":17428},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":17429},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":17431},"owner":{"__isSmartRef__":true,"id":17432},"_Position":{"__isSmartRef__":true,"id":17475},"_Visible":false,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17476},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12947":{"submorphs":[{"__isSmartRef__":true,"id":12948}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13012},"derivationIds":[null],"id":"E1962B6C-9D62-49A7-BD2E-A6948E442F00","renderContextTable":{"__isSmartRef__":true,"id":13017},"eventHandler":{"__isSmartRef__":true,"id":13018},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13019},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":13021},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":13022},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13023},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12948":{"submorphs":[{"__isSmartRef__":true,"id":12949},{"__isSmartRef__":true,"id":12966}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12982},"derivationIds":[null],"id":"B90F471E-E93A-49E7-83CD-17EE0FB1A869","renderContextTable":{"__isSmartRef__":true,"id":12987},"eventHandler":{"__isSmartRef__":true,"id":12988},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12989},"grabbingEnabled":false,"draggingEnabled":false,"data":"visible","propertyList":["0","1","2","3","4","5","6"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"_ClipMode","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":12949},"text":{"__isSmartRef__":true,"id":12966},"owner":{"__isSmartRef__":true,"id":12947},"_Position":{"__isSmartRef__":true,"id":12990},"priorExtent":{"__isSmartRef__":true,"id":12991},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12992},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"12949":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12950},"derivationIds":[null],"id":"C1E0F157-86EB-42D1-BCFC-8730C44092C9","renderContextTable":{"__isSmartRef__":true,"id":12956},"eventHandler":{"__isSmartRef__":true,"id":12957},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":12958},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":12948},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12959},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"12950":{"_Position":{"__isSmartRef__":true,"id":12951},"renderContextTable":{"__isSmartRef__":true,"id":12952},"_Extent":{"__isSmartRef__":true,"id":12953},"_Padding":{"__isSmartRef__":true,"id":12954},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":12955},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12951":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12952":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12953":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12954":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12955":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12956":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12957":{"morph":{"__isSmartRef__":true,"id":12949},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12958":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12959":{"toggle":{"__isSmartRef__":true,"id":12960},"toggleExpansion":{"__isSmartRef__":true,"id":12963}},"12960":{"varMapping":{"__isSmartRef__":true,"id":12961},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":12962},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12961":{"this":{"__isSmartRef__":true,"id":12949}},"12962":{},"12963":{"varMapping":{"__isSmartRef__":true,"id":12964},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":12965},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12964":{"this":{"__isSmartRef__":true,"id":12949}},"12965":{},"12966":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12967},"derivationIds":[null],"id":"18416E44-D4AD-452F-89D7-6C12C22D6A28","renderContextTable":{"__isSmartRef__":true,"id":12971},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":12972},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":12973},{"__isSmartRef__":true,"id":12975}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":12977},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":12948},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12978},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12967":{"_Position":{"__isSmartRef__":true,"id":12968},"renderContextTable":{"__isSmartRef__":true,"id":12969},"_Extent":{"__isSmartRef__":true,"id":12970},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12968":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12969":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12970":{"x":114,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12971":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"12972":{"morph":{"__isSmartRef__":true,"id":12966},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12973":{"style":{"__isSmartRef__":true,"id":12974},"chunkOwner":{"__isSmartRef__":true,"id":12966},"storedString":"_ClipMode","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12974":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12975":{"style":{"__isSmartRef__":true,"id":12976},"chunkOwner":{"__isSmartRef__":true,"id":12966},"storedString":": visible","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12976":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12977":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12978":{"layoutText":{"__isSmartRef__":true,"id":12979}},"12979":{"varMapping":{"__isSmartRef__":true,"id":12980},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":12981},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12980":{"this":{"__isSmartRef__":true,"id":12966}},"12981":{},"12982":{"_Position":{"__isSmartRef__":true,"id":12983},"renderContextTable":{"__isSmartRef__":true,"id":12984},"_Extent":{"__isSmartRef__":true,"id":12985},"_Padding":{"__isSmartRef__":true,"id":12986},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"12983":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12984":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"12985":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12986":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12987":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12988":{"morph":{"__isSmartRef__":true,"id":12948},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12989":{"resizeWidth":true},"12990":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12991":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12992":{"updateExpanderColor":{"__isSmartRef__":true,"id":12993},"onMouseDown":{"__isSmartRef__":true,"id":12996},"isRoot":{"__isSmartRef__":true,"id":13003},"displayValue":{"__isSmartRef__":true,"id":13006},"update":{"__isSmartRef__":true,"id":13009}},"12993":{"varMapping":{"__isSmartRef__":true,"id":12994},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":12995},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12994":{"this":{"__isSmartRef__":true,"id":12948}},"12995":{},"12996":{"varMapping":{"__isSmartRef__":true,"id":12997},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":13002},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12997":{"this":{"__isSmartRef__":true,"id":12948},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12998}},"12998":{"$super":{"__isSmartRef__":true,"id":12999}},"12999":{"varMapping":{"__isSmartRef__":true,"id":13000},"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":13001},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13000":{"obj":{"__isSmartRef__":true,"id":12948},"name":"onMouseDown"},"13001":{},"13002":{},"13003":{"varMapping":{"__isSmartRef__":true,"id":13004},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":13005},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13004":{"this":{"__isSmartRef__":true,"id":12948}},"13005":{},"13006":{"varMapping":{"__isSmartRef__":true,"id":13007},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":13008},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13007":{"this":{"__isSmartRef__":true,"id":12948}},"13008":{},"13009":{"varMapping":{"__isSmartRef__":true,"id":13010},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":13011},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13010":{"this":{"__isSmartRef__":true,"id":12948}},"13011":{},"13012":{"_Position":{"__isSmartRef__":true,"id":13013},"renderContextTable":{"__isSmartRef__":true,"id":13014},"_Extent":{"__isSmartRef__":true,"id":13015},"_Padding":{"__isSmartRef__":true,"id":13016},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13013":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13014":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13015":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13016":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13017":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13018":{"morph":{"__isSmartRef__":true,"id":12947},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13019":{"layouter":{"__isSmartRef__":true,"id":13020},"resizeWidth":true},"13020":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":12947},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"13021":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13022":{"x":0,"y":1020,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13023":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":13024}},"13024":{"varMapping":{"__isSmartRef__":true,"id":13025},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":13030},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13025":{"this":{"__isSmartRef__":true,"id":12947},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13026}},"13026":{"$super":{"__isSmartRef__":true,"id":13027}},"13027":{"varMapping":{"__isSmartRef__":true,"id":13028},"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":13029},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13028":{"obj":{"__isSmartRef__":true,"id":12947},"name":"getLayoutableSubmorphs"},"13029":{},"13030":{},"13031":{"submorphs":[{"__isSmartRef__":true,"id":13032}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13096},"derivationIds":[null],"id":"77E4D65F-7256-4DFC-AC57-61E9E3D41A20","renderContextTable":{"__isSmartRef__":true,"id":13101},"eventHandler":{"__isSmartRef__":true,"id":13102},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13103},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":13105},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":13106},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13107},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"13032":{"submorphs":[{"__isSmartRef__":true,"id":13033},{"__isSmartRef__":true,"id":13050}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13066},"derivationIds":[null],"id":"F421F0DF-6E0E-49EE-BFF6-1EFF8B8FCB6E","renderContextTable":{"__isSmartRef__":true,"id":13071},"eventHandler":{"__isSmartRef__":true,"id":13072},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13073},"grabbingEnabled":false,"draggingEnabled":false,"data":"Helvetica, Arial, sans-serif","propertyList":["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"_FontFamily","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":13033},"text":{"__isSmartRef__":true,"id":13050},"owner":{"__isSmartRef__":true,"id":13031},"_Position":{"__isSmartRef__":true,"id":13074},"priorExtent":{"__isSmartRef__":true,"id":13075},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13076},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"13033":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13034},"derivationIds":[null],"id":"49A2CBB7-FBDB-4884-8CF9-29206CFFF358","renderContextTable":{"__isSmartRef__":true,"id":13040},"eventHandler":{"__isSmartRef__":true,"id":13041},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":13042},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":13032},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13043},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"13034":{"_Position":{"__isSmartRef__":true,"id":13035},"renderContextTable":{"__isSmartRef__":true,"id":13036},"_Extent":{"__isSmartRef__":true,"id":13037},"_Padding":{"__isSmartRef__":true,"id":13038},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":13039},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13035":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13036":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13037":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13038":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13039":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13040":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13041":{"morph":{"__isSmartRef__":true,"id":13033},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13042":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13043":{"toggle":{"__isSmartRef__":true,"id":13044},"toggleExpansion":{"__isSmartRef__":true,"id":13047}},"13044":{"varMapping":{"__isSmartRef__":true,"id":13045},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":13046},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13045":{"this":{"__isSmartRef__":true,"id":13033}},"13046":{},"13047":{"varMapping":{"__isSmartRef__":true,"id":13048},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":13049},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13048":{"this":{"__isSmartRef__":true,"id":13033}},"13049":{},"13050":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13051},"derivationIds":[null],"id":"7A70D994-6D69-4B7C-AF95-632FD72AFCF5","renderContextTable":{"__isSmartRef__":true,"id":13055},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":13056},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":13057},{"__isSmartRef__":true,"id":13059}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":13061},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":13032},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13062},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13051":{"_Position":{"__isSmartRef__":true,"id":13052},"renderContextTable":{"__isSmartRef__":true,"id":13053},"_Extent":{"__isSmartRef__":true,"id":13054},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13052":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13053":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13054":{"x":240,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13055":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"13056":{"morph":{"__isSmartRef__":true,"id":13050},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13057":{"style":{"__isSmartRef__":true,"id":13058},"chunkOwner":{"__isSmartRef__":true,"id":13050},"storedString":"_FontFamily","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13058":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13059":{"style":{"__isSmartRef__":true,"id":13060},"chunkOwner":{"__isSmartRef__":true,"id":13050},"storedString":": Helvetica, Arial, sans-serif","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13060":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13061":{"x":307.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13062":{"layoutText":{"__isSmartRef__":true,"id":13063}},"13063":{"varMapping":{"__isSmartRef__":true,"id":13064},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":13065},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13064":{"this":{"__isSmartRef__":true,"id":13050}},"13065":{},"13066":{"_Position":{"__isSmartRef__":true,"id":13067},"renderContextTable":{"__isSmartRef__":true,"id":13068},"_Extent":{"__isSmartRef__":true,"id":13069},"_Padding":{"__isSmartRef__":true,"id":13070},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13067":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13068":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13069":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13070":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13071":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13072":{"morph":{"__isSmartRef__":true,"id":13032},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13073":{"resizeWidth":true},"13074":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13075":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13076":{"updateExpanderColor":{"__isSmartRef__":true,"id":13077},"onMouseDown":{"__isSmartRef__":true,"id":13080},"isRoot":{"__isSmartRef__":true,"id":13087},"displayValue":{"__isSmartRef__":true,"id":13090},"update":{"__isSmartRef__":true,"id":13093}},"13077":{"varMapping":{"__isSmartRef__":true,"id":13078},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":13079},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13078":{"this":{"__isSmartRef__":true,"id":13032}},"13079":{},"13080":{"varMapping":{"__isSmartRef__":true,"id":13081},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":13086},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13081":{"this":{"__isSmartRef__":true,"id":13032},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13082}},"13082":{"$super":{"__isSmartRef__":true,"id":13083}},"13083":{"varMapping":{"__isSmartRef__":true,"id":13084},"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":13085},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13084":{"obj":{"__isSmartRef__":true,"id":13032},"name":"onMouseDown"},"13085":{},"13086":{},"13087":{"varMapping":{"__isSmartRef__":true,"id":13088},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":13089},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13088":{"this":{"__isSmartRef__":true,"id":13032}},"13089":{},"13090":{"varMapping":{"__isSmartRef__":true,"id":13091},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":13092},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13091":{"this":{"__isSmartRef__":true,"id":13032}},"13092":{},"13093":{"varMapping":{"__isSmartRef__":true,"id":13094},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":13095},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13094":{"this":{"__isSmartRef__":true,"id":13032}},"13095":{},"13096":{"_Position":{"__isSmartRef__":true,"id":13097},"renderContextTable":{"__isSmartRef__":true,"id":13098},"_Extent":{"__isSmartRef__":true,"id":13099},"_Padding":{"__isSmartRef__":true,"id":13100},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13097":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13098":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13099":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13100":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13101":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13102":{"morph":{"__isSmartRef__":true,"id":13031},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13103":{"layouter":{"__isSmartRef__":true,"id":13104},"resizeWidth":true},"13104":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":13031},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"13105":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13106":{"x":0,"y":1000,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13107":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":13108}},"13108":{"varMapping":{"__isSmartRef__":true,"id":13109},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":13114},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13109":{"this":{"__isSmartRef__":true,"id":13031},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13110}},"13110":{"$super":{"__isSmartRef__":true,"id":13111}},"13111":{"varMapping":{"__isSmartRef__":true,"id":13112},"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":13113},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13112":{"obj":{"__isSmartRef__":true,"id":13031},"name":"getLayoutableSubmorphs"},"13113":{},"13114":{},"13115":{"submorphs":[{"__isSmartRef__":true,"id":13116}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13180},"derivationIds":[null],"id":"9BE76380-B2D6-4DE0-AAAA-9D58FE6795A2","renderContextTable":{"__isSmartRef__":true,"id":13185},"eventHandler":{"__isSmartRef__":true,"id":13186},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13187},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":13189},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":13190},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13191},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"13116":{"submorphs":[{"__isSmartRef__":true,"id":13117},{"__isSmartRef__":true,"id":13134}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13150},"derivationIds":[null],"id":"B52665CD-BCA5-464E-B4A4-B029352BA17C","renderContextTable":{"__isSmartRef__":true,"id":13155},"eventHandler":{"__isSmartRef__":true,"id":13156},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13157},"grabbingEnabled":false,"draggingEnabled":false,"data":14,"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"_FontSize","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":13117},"text":{"__isSmartRef__":true,"id":13134},"owner":{"__isSmartRef__":true,"id":13115},"_Position":{"__isSmartRef__":true,"id":13158},"priorExtent":{"__isSmartRef__":true,"id":13159},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13160},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"13117":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13118},"derivationIds":[null],"id":"B8B2BD49-F187-445C-A446-FACF2419C7A1","renderContextTable":{"__isSmartRef__":true,"id":13124},"eventHandler":{"__isSmartRef__":true,"id":13125},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":13126},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":13116},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13127},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"13118":{"_Position":{"__isSmartRef__":true,"id":13119},"renderContextTable":{"__isSmartRef__":true,"id":13120},"_Extent":{"__isSmartRef__":true,"id":13121},"_Padding":{"__isSmartRef__":true,"id":13122},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":13123},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13119":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13120":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13121":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13122":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13123":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13124":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13125":{"morph":{"__isSmartRef__":true,"id":13117},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13126":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13127":{"toggle":{"__isSmartRef__":true,"id":13128},"toggleExpansion":{"__isSmartRef__":true,"id":13131}},"13128":{"varMapping":{"__isSmartRef__":true,"id":13129},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":13130},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13129":{"this":{"__isSmartRef__":true,"id":13117}},"13130":{},"13131":{"varMapping":{"__isSmartRef__":true,"id":13132},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":13133},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13132":{"this":{"__isSmartRef__":true,"id":13117}},"13133":{},"13134":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13135},"derivationIds":[null],"id":"5E68118A-7901-46C3-8703-4812050E5570","renderContextTable":{"__isSmartRef__":true,"id":13139},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":13140},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":13141},{"__isSmartRef__":true,"id":13143}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":13145},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":13116},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13146},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13135":{"_Position":{"__isSmartRef__":true,"id":13136},"renderContextTable":{"__isSmartRef__":true,"id":13137},"_Extent":{"__isSmartRef__":true,"id":13138},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13136":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13137":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13138":{"x":89,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13139":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"13140":{"morph":{"__isSmartRef__":true,"id":13134},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13141":{"style":{"__isSmartRef__":true,"id":13142},"chunkOwner":{"__isSmartRef__":true,"id":13134},"storedString":"_FontSize","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13142":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13143":{"style":{"__isSmartRef__":true,"id":13144},"chunkOwner":{"__isSmartRef__":true,"id":13134},"storedString":": 14","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13144":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13145":{"x":97.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13146":{"layoutText":{"__isSmartRef__":true,"id":13147}},"13147":{"varMapping":{"__isSmartRef__":true,"id":13148},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":13149},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13148":{"this":{"__isSmartRef__":true,"id":13134}},"13149":{},"13150":{"_Position":{"__isSmartRef__":true,"id":13151},"renderContextTable":{"__isSmartRef__":true,"id":13152},"_Extent":{"__isSmartRef__":true,"id":13153},"_Padding":{"__isSmartRef__":true,"id":13154},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13151":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13152":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13153":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13154":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13155":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13156":{"morph":{"__isSmartRef__":true,"id":13116},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13157":{"resizeWidth":true},"13158":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13159":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13160":{"updateExpanderColor":{"__isSmartRef__":true,"id":13161},"onMouseDown":{"__isSmartRef__":true,"id":13164},"isRoot":{"__isSmartRef__":true,"id":13171},"displayValue":{"__isSmartRef__":true,"id":13174},"update":{"__isSmartRef__":true,"id":13177}},"13161":{"varMapping":{"__isSmartRef__":true,"id":13162},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":13163},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13162":{"this":{"__isSmartRef__":true,"id":13116}},"13163":{},"13164":{"varMapping":{"__isSmartRef__":true,"id":13165},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":13170},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13165":{"this":{"__isSmartRef__":true,"id":13116},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13166}},"13166":{"$super":{"__isSmartRef__":true,"id":13167}},"13167":{"varMapping":{"__isSmartRef__":true,"id":13168},"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":13169},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13168":{"obj":{"__isSmartRef__":true,"id":13116},"name":"onMouseDown"},"13169":{},"13170":{},"13171":{"varMapping":{"__isSmartRef__":true,"id":13172},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":13173},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13172":{"this":{"__isSmartRef__":true,"id":13116}},"13173":{},"13174":{"varMapping":{"__isSmartRef__":true,"id":13175},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":13176},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13175":{"this":{"__isSmartRef__":true,"id":13116}},"13176":{},"13177":{"varMapping":{"__isSmartRef__":true,"id":13178},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":13179},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13178":{"this":{"__isSmartRef__":true,"id":13116}},"13179":{},"13180":{"_Position":{"__isSmartRef__":true,"id":13181},"renderContextTable":{"__isSmartRef__":true,"id":13182},"_Extent":{"__isSmartRef__":true,"id":13183},"_Padding":{"__isSmartRef__":true,"id":13184},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13181":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13182":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13183":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13184":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13185":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13186":{"morph":{"__isSmartRef__":true,"id":13115},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13187":{"layouter":{"__isSmartRef__":true,"id":13188},"resizeWidth":true},"13188":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":13115},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"13189":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13190":{"x":0,"y":980,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13191":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":13192}},"13192":{"varMapping":{"__isSmartRef__":true,"id":13193},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":13198},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13193":{"this":{"__isSmartRef__":true,"id":13115},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13194}},"13194":{"$super":{"__isSmartRef__":true,"id":13195}},"13195":{"varMapping":{"__isSmartRef__":true,"id":13196},"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":13197},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13196":{"obj":{"__isSmartRef__":true,"id":13115},"name":"getLayoutableSubmorphs"},"13197":{},"13198":{},"13199":{"submorphs":[{"__isSmartRef__":true,"id":13200}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13264},"derivationIds":[null],"id":"EA74808E-5018-4E12-86E5-EADB03925EE6","renderContextTable":{"__isSmartRef__":true,"id":13269},"eventHandler":{"__isSmartRef__":true,"id":13270},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13271},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":13273},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":13274},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13275},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"13200":{"submorphs":[{"__isSmartRef__":true,"id":13201},{"__isSmartRef__":true,"id":13218}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13234},"derivationIds":[null],"id":"53ECCA41-FC20-4502-8F54-4B2FFD2799EC","renderContextTable":{"__isSmartRef__":true,"id":13239},"eventHandler":{"__isSmartRef__":true,"id":13240},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13241},"grabbingEnabled":false,"draggingEnabled":false,"data":null,"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"_MaxTextHeight","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":13201},"text":{"__isSmartRef__":true,"id":13218},"owner":{"__isSmartRef__":true,"id":13199},"_Position":{"__isSmartRef__":true,"id":13242},"priorExtent":{"__isSmartRef__":true,"id":13243},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13244},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"13201":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13202},"derivationIds":[null],"id":"3C1C6BD8-9559-44D7-A5E5-65AC43AFC81F","renderContextTable":{"__isSmartRef__":true,"id":13208},"eventHandler":{"__isSmartRef__":true,"id":13209},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":13210},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":13200},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13211},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"13202":{"_Position":{"__isSmartRef__":true,"id":13203},"renderContextTable":{"__isSmartRef__":true,"id":13204},"_Extent":{"__isSmartRef__":true,"id":13205},"_Padding":{"__isSmartRef__":true,"id":13206},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":13207},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13203":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13204":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13205":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13206":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13207":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13208":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13209":{"morph":{"__isSmartRef__":true,"id":13201},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13210":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13211":{"toggle":{"__isSmartRef__":true,"id":13212},"toggleExpansion":{"__isSmartRef__":true,"id":13215}},"13212":{"varMapping":{"__isSmartRef__":true,"id":13213},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":13214},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13213":{"this":{"__isSmartRef__":true,"id":13201}},"13214":{},"13215":{"varMapping":{"__isSmartRef__":true,"id":13216},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":13217},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13216":{"this":{"__isSmartRef__":true,"id":13201}},"13217":{},"13218":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13219},"derivationIds":[null],"id":"4CA4C107-17C9-4003-8DC3-1BCC332F35FD","renderContextTable":{"__isSmartRef__":true,"id":13223},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":13224},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":13225},{"__isSmartRef__":true,"id":13227}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":13229},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":13200},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13230},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13219":{"_Position":{"__isSmartRef__":true,"id":13220},"renderContextTable":{"__isSmartRef__":true,"id":13221},"_Extent":{"__isSmartRef__":true,"id":13222},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13220":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13221":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13222":{"x":130,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13223":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"13224":{"morph":{"__isSmartRef__":true,"id":13218},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13225":{"style":{"__isSmartRef__":true,"id":13226},"chunkOwner":{"__isSmartRef__":true,"id":13218},"storedString":"_MaxTextHeight","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13226":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13227":{"style":{"__isSmartRef__":true,"id":13228},"chunkOwner":{"__isSmartRef__":true,"id":13218},"storedString":": null","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13228":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13229":{"x":150,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13230":{"layoutText":{"__isSmartRef__":true,"id":13231}},"13231":{"varMapping":{"__isSmartRef__":true,"id":13232},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":13233},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13232":{"this":{"__isSmartRef__":true,"id":13218}},"13233":{},"13234":{"_Position":{"__isSmartRef__":true,"id":13235},"renderContextTable":{"__isSmartRef__":true,"id":13236},"_Extent":{"__isSmartRef__":true,"id":13237},"_Padding":{"__isSmartRef__":true,"id":13238},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13235":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13236":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13237":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13238":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13239":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13240":{"morph":{"__isSmartRef__":true,"id":13200},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13241":{"resizeWidth":true},"13242":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13243":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13244":{"updateExpanderColor":{"__isSmartRef__":true,"id":13245},"onMouseDown":{"__isSmartRef__":true,"id":13248},"isRoot":{"__isSmartRef__":true,"id":13255},"displayValue":{"__isSmartRef__":true,"id":13258},"update":{"__isSmartRef__":true,"id":13261}},"13245":{"varMapping":{"__isSmartRef__":true,"id":13246},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":13247},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13246":{"this":{"__isSmartRef__":true,"id":13200}},"13247":{},"13248":{"varMapping":{"__isSmartRef__":true,"id":13249},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":13254},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13249":{"this":{"__isSmartRef__":true,"id":13200},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13250}},"13250":{"$super":{"__isSmartRef__":true,"id":13251}},"13251":{"varMapping":{"__isSmartRef__":true,"id":13252},"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":13253},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13252":{"obj":{"__isSmartRef__":true,"id":13200},"name":"onMouseDown"},"13253":{},"13254":{},"13255":{"varMapping":{"__isSmartRef__":true,"id":13256},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":13257},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13256":{"this":{"__isSmartRef__":true,"id":13200}},"13257":{},"13258":{"varMapping":{"__isSmartRef__":true,"id":13259},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":13260},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13259":{"this":{"__isSmartRef__":true,"id":13200}},"13260":{},"13261":{"varMapping":{"__isSmartRef__":true,"id":13262},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":13263},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13262":{"this":{"__isSmartRef__":true,"id":13200}},"13263":{},"13264":{"_Position":{"__isSmartRef__":true,"id":13265},"renderContextTable":{"__isSmartRef__":true,"id":13266},"_Extent":{"__isSmartRef__":true,"id":13267},"_Padding":{"__isSmartRef__":true,"id":13268},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13265":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13266":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13267":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13268":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13269":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13270":{"morph":{"__isSmartRef__":true,"id":13199},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13271":{"layouter":{"__isSmartRef__":true,"id":13272},"resizeWidth":true},"13272":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":13199},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"13273":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13274":{"x":0,"y":960,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13275":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":13276}},"13276":{"varMapping":{"__isSmartRef__":true,"id":13277},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":13282},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13277":{"this":{"__isSmartRef__":true,"id":13199},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13278}},"13278":{"$super":{"__isSmartRef__":true,"id":13279}},"13279":{"varMapping":{"__isSmartRef__":true,"id":13280},"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":13281},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13280":{"obj":{"__isSmartRef__":true,"id":13199},"name":"getLayoutableSubmorphs"},"13281":{},"13282":{},"13283":{"submorphs":[{"__isSmartRef__":true,"id":13284}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13348},"derivationIds":[null],"id":"5E245BD2-BB6A-4E43-9520-1EDD64870EDC","renderContextTable":{"__isSmartRef__":true,"id":13353},"eventHandler":{"__isSmartRef__":true,"id":13354},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13355},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":13357},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":13358},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13359},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"13284":{"submorphs":[{"__isSmartRef__":true,"id":13285},{"__isSmartRef__":true,"id":13302}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13318},"derivationIds":[null],"id":"164F3D41-A919-4EA3-83BF-7DCEC3FCB8C5","renderContextTable":{"__isSmartRef__":true,"id":13323},"eventHandler":{"__isSmartRef__":true,"id":13324},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13325},"grabbingEnabled":false,"draggingEnabled":false,"data":187,"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"_MaxTextWidth","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":13285},"text":{"__isSmartRef__":true,"id":13302},"owner":{"__isSmartRef__":true,"id":13283},"_Position":{"__isSmartRef__":true,"id":13326},"priorExtent":{"__isSmartRef__":true,"id":13327},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13328},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"13285":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13286},"derivationIds":[null],"id":"F99DC99E-0EC6-489E-AC7D-1B0C77B2B10B","renderContextTable":{"__isSmartRef__":true,"id":13292},"eventHandler":{"__isSmartRef__":true,"id":13293},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":13294},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":13284},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13295},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"13286":{"_Position":{"__isSmartRef__":true,"id":13287},"renderContextTable":{"__isSmartRef__":true,"id":13288},"_Extent":{"__isSmartRef__":true,"id":13289},"_Padding":{"__isSmartRef__":true,"id":13290},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":13291},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13287":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13288":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13289":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13290":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13291":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13292":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13293":{"morph":{"__isSmartRef__":true,"id":13285},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13294":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13295":{"toggle":{"__isSmartRef__":true,"id":13296},"toggleExpansion":{"__isSmartRef__":true,"id":13299}},"13296":{"varMapping":{"__isSmartRef__":true,"id":13297},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":13298},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13297":{"this":{"__isSmartRef__":true,"id":13285}},"13298":{},"13299":{"varMapping":{"__isSmartRef__":true,"id":13300},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":13301},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13300":{"this":{"__isSmartRef__":true,"id":13285}},"13301":{},"13302":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13303},"derivationIds":[null],"id":"38C189AB-9261-4600-9E4A-C484274645C2","renderContextTable":{"__isSmartRef__":true,"id":13307},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":13308},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":13309},{"__isSmartRef__":true,"id":13311}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":13313},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":13284},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13314},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13303":{"_Position":{"__isSmartRef__":true,"id":13304},"renderContextTable":{"__isSmartRef__":true,"id":13305},"_Extent":{"__isSmartRef__":true,"id":13306},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13304":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13305":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13306":{"x":128,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13307":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"13308":{"morph":{"__isSmartRef__":true,"id":13302},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13309":{"style":{"__isSmartRef__":true,"id":13310},"chunkOwner":{"__isSmartRef__":true,"id":13302},"storedString":"_MaxTextWidth","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13310":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13311":{"style":{"__isSmartRef__":true,"id":13312},"chunkOwner":{"__isSmartRef__":true,"id":13302},"storedString":": 187","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13312":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13313":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13314":{"layoutText":{"__isSmartRef__":true,"id":13315}},"13315":{"varMapping":{"__isSmartRef__":true,"id":13316},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":13317},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13316":{"this":{"__isSmartRef__":true,"id":13302}},"13317":{},"13318":{"_Position":{"__isSmartRef__":true,"id":13319},"renderContextTable":{"__isSmartRef__":true,"id":13320},"_Extent":{"__isSmartRef__":true,"id":13321},"_Padding":{"__isSmartRef__":true,"id":13322},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13319":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13320":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13321":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13322":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13323":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13324":{"morph":{"__isSmartRef__":true,"id":13284},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13325":{"resizeWidth":true},"13326":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13327":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13328":{"updateExpanderColor":{"__isSmartRef__":true,"id":13329},"onMouseDown":{"__isSmartRef__":true,"id":13332},"isRoot":{"__isSmartRef__":true,"id":13339},"displayValue":{"__isSmartRef__":true,"id":13342},"update":{"__isSmartRef__":true,"id":13345}},"13329":{"varMapping":{"__isSmartRef__":true,"id":13330},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":13331},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13330":{"this":{"__isSmartRef__":true,"id":13284}},"13331":{},"13332":{"varMapping":{"__isSmartRef__":true,"id":13333},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":13338},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13333":{"this":{"__isSmartRef__":true,"id":13284},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13334}},"13334":{"$super":{"__isSmartRef__":true,"id":13335}},"13335":{"varMapping":{"__isSmartRef__":true,"id":13336},"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":13337},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13336":{"obj":{"__isSmartRef__":true,"id":13284},"name":"onMouseDown"},"13337":{},"13338":{},"13339":{"varMapping":{"__isSmartRef__":true,"id":13340},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":13341},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13340":{"this":{"__isSmartRef__":true,"id":13284}},"13341":{},"13342":{"varMapping":{"__isSmartRef__":true,"id":13343},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":13344},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13343":{"this":{"__isSmartRef__":true,"id":13284}},"13344":{},"13345":{"varMapping":{"__isSmartRef__":true,"id":13346},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":13347},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13346":{"this":{"__isSmartRef__":true,"id":13284}},"13347":{},"13348":{"_Position":{"__isSmartRef__":true,"id":13349},"renderContextTable":{"__isSmartRef__":true,"id":13350},"_Extent":{"__isSmartRef__":true,"id":13351},"_Padding":{"__isSmartRef__":true,"id":13352},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13349":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13350":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13351":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13352":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13353":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13354":{"morph":{"__isSmartRef__":true,"id":13283},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13355":{"layouter":{"__isSmartRef__":true,"id":13356},"resizeWidth":true},"13356":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":13283},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"13357":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13358":{"x":0,"y":940,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13359":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":13360}},"13360":{"varMapping":{"__isSmartRef__":true,"id":13361},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":13366},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13361":{"this":{"__isSmartRef__":true,"id":13283},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13362}},"13362":{"$super":{"__isSmartRef__":true,"id":13363}},"13363":{"varMapping":{"__isSmartRef__":true,"id":13364},"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":13365},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13364":{"obj":{"__isSmartRef__":true,"id":13283},"name":"getLayoutableSubmorphs"},"13365":{},"13366":{},"13367":{"submorphs":[{"__isSmartRef__":true,"id":13368}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13432},"derivationIds":[null],"id":"BBE1522A-BEA2-48DA-8EF2-63DC88E08ECA","renderContextTable":{"__isSmartRef__":true,"id":13437},"eventHandler":{"__isSmartRef__":true,"id":13438},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13439},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":13441},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":13442},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13443},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"13368":{"submorphs":[{"__isSmartRef__":true,"id":13369},{"__isSmartRef__":true,"id":13386}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13402},"derivationIds":[null],"id":"8DBAD400-D6DA-4012-9DC3-82195C6EE6DA","renderContextTable":{"__isSmartRef__":true,"id":13407},"eventHandler":{"__isSmartRef__":true,"id":13408},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13409},"grabbingEnabled":false,"draggingEnabled":false,"data":null,"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"_MinTextHeight","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":13369},"text":{"__isSmartRef__":true,"id":13386},"owner":{"__isSmartRef__":true,"id":13367},"_Position":{"__isSmartRef__":true,"id":13410},"priorExtent":{"__isSmartRef__":true,"id":13411},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13412},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"13369":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13370},"derivationIds":[null],"id":"F6DE098B-2FA7-46F7-B48A-3C92A920B350","renderContextTable":{"__isSmartRef__":true,"id":13376},"eventHandler":{"__isSmartRef__":true,"id":13377},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":13378},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":13368},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13379},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"13370":{"_Position":{"__isSmartRef__":true,"id":13371},"renderContextTable":{"__isSmartRef__":true,"id":13372},"_Extent":{"__isSmartRef__":true,"id":13373},"_Padding":{"__isSmartRef__":true,"id":13374},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":13375},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13371":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13372":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13373":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13374":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13375":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13376":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13377":{"morph":{"__isSmartRef__":true,"id":13369},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13378":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13379":{"toggle":{"__isSmartRef__":true,"id":13380},"toggleExpansion":{"__isSmartRef__":true,"id":13383}},"13380":{"varMapping":{"__isSmartRef__":true,"id":13381},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":13382},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13381":{"this":{"__isSmartRef__":true,"id":13369}},"13382":{},"13383":{"varMapping":{"__isSmartRef__":true,"id":13384},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":13385},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13384":{"this":{"__isSmartRef__":true,"id":13369}},"13385":{},"13386":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13387},"derivationIds":[null],"id":"0177672E-1C7E-4E17-B500-0DCC8FA68B8C","renderContextTable":{"__isSmartRef__":true,"id":13391},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":13392},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":13393},{"__isSmartRef__":true,"id":13395}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":13397},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":13368},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13398},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13387":{"_Position":{"__isSmartRef__":true,"id":13388},"renderContextTable":{"__isSmartRef__":true,"id":13389},"_Extent":{"__isSmartRef__":true,"id":13390},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13388":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13389":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13390":{"x":126,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13391":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"13392":{"morph":{"__isSmartRef__":true,"id":13386},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13393":{"style":{"__isSmartRef__":true,"id":13394},"chunkOwner":{"__isSmartRef__":true,"id":13386},"storedString":"_MinTextHeight","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13394":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13395":{"style":{"__isSmartRef__":true,"id":13396},"chunkOwner":{"__isSmartRef__":true,"id":13386},"storedString":": null","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13396":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13397":{"x":150,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13398":{"layoutText":{"__isSmartRef__":true,"id":13399}},"13399":{"varMapping":{"__isSmartRef__":true,"id":13400},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":13401},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13400":{"this":{"__isSmartRef__":true,"id":13386}},"13401":{},"13402":{"_Position":{"__isSmartRef__":true,"id":13403},"renderContextTable":{"__isSmartRef__":true,"id":13404},"_Extent":{"__isSmartRef__":true,"id":13405},"_Padding":{"__isSmartRef__":true,"id":13406},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13403":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13404":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13405":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13406":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13407":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13408":{"morph":{"__isSmartRef__":true,"id":13368},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13409":{"resizeWidth":true},"13410":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13411":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13412":{"updateExpanderColor":{"__isSmartRef__":true,"id":13413},"onMouseDown":{"__isSmartRef__":true,"id":13416},"isRoot":{"__isSmartRef__":true,"id":13423},"displayValue":{"__isSmartRef__":true,"id":13426},"update":{"__isSmartRef__":true,"id":13429}},"13413":{"varMapping":{"__isSmartRef__":true,"id":13414},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":13415},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13414":{"this":{"__isSmartRef__":true,"id":13368}},"13415":{},"13416":{"varMapping":{"__isSmartRef__":true,"id":13417},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":13422},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13417":{"this":{"__isSmartRef__":true,"id":13368},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13418}},"13418":{"$super":{"__isSmartRef__":true,"id":13419}},"13419":{"varMapping":{"__isSmartRef__":true,"id":13420},"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":13421},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13420":{"obj":{"__isSmartRef__":true,"id":13368},"name":"onMouseDown"},"13421":{},"13422":{},"13423":{"varMapping":{"__isSmartRef__":true,"id":13424},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":13425},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13424":{"this":{"__isSmartRef__":true,"id":13368}},"13425":{},"13426":{"varMapping":{"__isSmartRef__":true,"id":13427},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":13428},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13427":{"this":{"__isSmartRef__":true,"id":13368}},"13428":{},"13429":{"varMapping":{"__isSmartRef__":true,"id":13430},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":13431},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13430":{"this":{"__isSmartRef__":true,"id":13368}},"13431":{},"13432":{"_Position":{"__isSmartRef__":true,"id":13433},"renderContextTable":{"__isSmartRef__":true,"id":13434},"_Extent":{"__isSmartRef__":true,"id":13435},"_Padding":{"__isSmartRef__":true,"id":13436},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13433":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13434":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13435":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13436":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13437":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13438":{"morph":{"__isSmartRef__":true,"id":13367},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13439":{"layouter":{"__isSmartRef__":true,"id":13440},"resizeWidth":true},"13440":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":13367},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"13441":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13442":{"x":0,"y":920,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13443":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":13444}},"13444":{"varMapping":{"__isSmartRef__":true,"id":13445},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":13450},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13445":{"this":{"__isSmartRef__":true,"id":13367},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13446}},"13446":{"$super":{"__isSmartRef__":true,"id":13447}},"13447":{"varMapping":{"__isSmartRef__":true,"id":13448},"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":13449},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13448":{"obj":{"__isSmartRef__":true,"id":13367},"name":"getLayoutableSubmorphs"},"13449":{},"13450":{},"13451":{"submorphs":[{"__isSmartRef__":true,"id":13452}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13516},"derivationIds":[null],"id":"AA0B17B5-76C7-491F-BB18-D3E0C43AFF29","renderContextTable":{"__isSmartRef__":true,"id":13521},"eventHandler":{"__isSmartRef__":true,"id":13522},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13523},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":13525},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":13526},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13527},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"13452":{"submorphs":[{"__isSmartRef__":true,"id":13453},{"__isSmartRef__":true,"id":13470}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13486},"derivationIds":[null],"id":"A704D44B-FFE3-446A-83A8-7584771B6BB2","renderContextTable":{"__isSmartRef__":true,"id":13491},"eventHandler":{"__isSmartRef__":true,"id":13492},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13493},"grabbingEnabled":false,"draggingEnabled":false,"data":187,"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"_MinTextWidth","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":13453},"text":{"__isSmartRef__":true,"id":13470},"owner":{"__isSmartRef__":true,"id":13451},"_Position":{"__isSmartRef__":true,"id":13494},"priorExtent":{"__isSmartRef__":true,"id":13495},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13496},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"13453":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13454},"derivationIds":[null],"id":"62E821F3-2E8B-45AB-A4CD-3DD2919CC06F","renderContextTable":{"__isSmartRef__":true,"id":13460},"eventHandler":{"__isSmartRef__":true,"id":13461},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":13462},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":13452},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13463},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"13454":{"_Position":{"__isSmartRef__":true,"id":13455},"renderContextTable":{"__isSmartRef__":true,"id":13456},"_Extent":{"__isSmartRef__":true,"id":13457},"_Padding":{"__isSmartRef__":true,"id":13458},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":13459},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13455":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13456":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13457":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13458":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13459":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13460":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13461":{"morph":{"__isSmartRef__":true,"id":13453},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13462":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13463":{"toggle":{"__isSmartRef__":true,"id":13464},"toggleExpansion":{"__isSmartRef__":true,"id":13467}},"13464":{"varMapping":{"__isSmartRef__":true,"id":13465},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":13466},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13465":{"this":{"__isSmartRef__":true,"id":13453}},"13466":{},"13467":{"varMapping":{"__isSmartRef__":true,"id":13468},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":13469},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13468":{"this":{"__isSmartRef__":true,"id":13453}},"13469":{},"13470":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13471},"derivationIds":[null],"id":"B6C2B61B-144D-4140-A5F4-148E6B612F2D","renderContextTable":{"__isSmartRef__":true,"id":13475},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":13476},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":13477},{"__isSmartRef__":true,"id":13479}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":13481},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":13452},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13482},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13471":{"_Position":{"__isSmartRef__":true,"id":13472},"renderContextTable":{"__isSmartRef__":true,"id":13473},"_Extent":{"__isSmartRef__":true,"id":13474},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13472":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13473":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13474":{"x":124,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13475":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"13476":{"morph":{"__isSmartRef__":true,"id":13470},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13477":{"style":{"__isSmartRef__":true,"id":13478},"chunkOwner":{"__isSmartRef__":true,"id":13470},"storedString":"_MinTextWidth","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13478":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13479":{"style":{"__isSmartRef__":true,"id":13480},"chunkOwner":{"__isSmartRef__":true,"id":13470},"storedString":": 187","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13480":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13481":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13482":{"layoutText":{"__isSmartRef__":true,"id":13483}},"13483":{"varMapping":{"__isSmartRef__":true,"id":13484},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":13485},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13484":{"this":{"__isSmartRef__":true,"id":13470}},"13485":{},"13486":{"_Position":{"__isSmartRef__":true,"id":13487},"renderContextTable":{"__isSmartRef__":true,"id":13488},"_Extent":{"__isSmartRef__":true,"id":13489},"_Padding":{"__isSmartRef__":true,"id":13490},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13487":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13488":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13489":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13490":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13491":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13492":{"morph":{"__isSmartRef__":true,"id":13452},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13493":{"resizeWidth":true},"13494":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13495":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13496":{"updateExpanderColor":{"__isSmartRef__":true,"id":13497},"onMouseDown":{"__isSmartRef__":true,"id":13500},"isRoot":{"__isSmartRef__":true,"id":13507},"displayValue":{"__isSmartRef__":true,"id":13510},"update":{"__isSmartRef__":true,"id":13513}},"13497":{"varMapping":{"__isSmartRef__":true,"id":13498},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":13499},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13498":{"this":{"__isSmartRef__":true,"id":13452}},"13499":{},"13500":{"varMapping":{"__isSmartRef__":true,"id":13501},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":13506},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13501":{"this":{"__isSmartRef__":true,"id":13452},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13502}},"13502":{"$super":{"__isSmartRef__":true,"id":13503}},"13503":{"varMapping":{"__isSmartRef__":true,"id":13504},"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":13505},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13504":{"obj":{"__isSmartRef__":true,"id":13452},"name":"onMouseDown"},"13505":{},"13506":{},"13507":{"varMapping":{"__isSmartRef__":true,"id":13508},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":13509},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13508":{"this":{"__isSmartRef__":true,"id":13452}},"13509":{},"13510":{"varMapping":{"__isSmartRef__":true,"id":13511},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":13512},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13511":{"this":{"__isSmartRef__":true,"id":13452}},"13512":{},"13513":{"varMapping":{"__isSmartRef__":true,"id":13514},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":13515},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13514":{"this":{"__isSmartRef__":true,"id":13452}},"13515":{},"13516":{"_Position":{"__isSmartRef__":true,"id":13517},"renderContextTable":{"__isSmartRef__":true,"id":13518},"_Extent":{"__isSmartRef__":true,"id":13519},"_Padding":{"__isSmartRef__":true,"id":13520},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13517":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13518":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13519":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13520":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13521":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13522":{"morph":{"__isSmartRef__":true,"id":13451},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13523":{"layouter":{"__isSmartRef__":true,"id":13524},"resizeWidth":true},"13524":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":13451},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"13525":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13526":{"x":0,"y":900,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13527":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":13528}},"13528":{"varMapping":{"__isSmartRef__":true,"id":13529},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":13534},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13529":{"this":{"__isSmartRef__":true,"id":13451},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13530}},"13530":{"$super":{"__isSmartRef__":true,"id":13531}},"13531":{"varMapping":{"__isSmartRef__":true,"id":13532},"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":13533},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13532":{"obj":{"__isSmartRef__":true,"id":13451},"name":"getLayoutableSubmorphs"},"13533":{},"13534":{},"13535":{"submorphs":[{"__isSmartRef__":true,"id":13536}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13600},"derivationIds":[null],"id":"E55D66CA-FA55-430C-AAAF-DF556C6A0397","renderContextTable":{"__isSmartRef__":true,"id":13605},"eventHandler":{"__isSmartRef__":true,"id":13606},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13607},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":13609},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":13610},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13611},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"13536":{"submorphs":[{"__isSmartRef__":true,"id":13537},{"__isSmartRef__":true,"id":13554}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13570},"derivationIds":[null],"id":"82B14FFF-CF18-405A-B82E-04E46E0EF38E","renderContextTable":{"__isSmartRef__":true,"id":13575},"eventHandler":{"__isSmartRef__":true,"id":13576},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13577},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1351},"propertyList":["x","y","width","height","__SourceModuleName__"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"_Padding","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":13537},"text":{"__isSmartRef__":true,"id":13554},"owner":{"__isSmartRef__":true,"id":13535},"_Position":{"__isSmartRef__":true,"id":13578},"priorExtent":{"__isSmartRef__":true,"id":13579},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13580},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"13537":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13538},"derivationIds":[null],"id":"626B6959-75D0-4D03-B6B0-6F101661A612","renderContextTable":{"__isSmartRef__":true,"id":13544},"eventHandler":{"__isSmartRef__":true,"id":13545},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":13546},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":13536},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13547},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"13538":{"_Position":{"__isSmartRef__":true,"id":13539},"renderContextTable":{"__isSmartRef__":true,"id":13540},"_Extent":{"__isSmartRef__":true,"id":13541},"_Padding":{"__isSmartRef__":true,"id":13542},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":13543},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13539":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13540":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13541":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13542":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13543":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13544":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13545":{"morph":{"__isSmartRef__":true,"id":13537},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13546":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13547":{"toggle":{"__isSmartRef__":true,"id":13548},"toggleExpansion":{"__isSmartRef__":true,"id":13551}},"13548":{"varMapping":{"__isSmartRef__":true,"id":13549},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":13550},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13549":{"this":{"__isSmartRef__":true,"id":13537}},"13550":{},"13551":{"varMapping":{"__isSmartRef__":true,"id":13552},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":13553},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13552":{"this":{"__isSmartRef__":true,"id":13537}},"13553":{},"13554":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13555},"derivationIds":[null],"id":"5035E939-55B6-45BA-B7E8-ABFDACDF9028","renderContextTable":{"__isSmartRef__":true,"id":13559},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":13560},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":13561},{"__isSmartRef__":true,"id":13563}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":13565},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":13536},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13566},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13555":{"_Position":{"__isSmartRef__":true,"id":13556},"renderContextTable":{"__isSmartRef__":true,"id":13557},"_Extent":{"__isSmartRef__":true,"id":13558},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13556":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13557":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13558":{"x":128,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13559":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"13560":{"morph":{"__isSmartRef__":true,"id":13554},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13561":{"style":{"__isSmartRef__":true,"id":13562},"chunkOwner":{"__isSmartRef__":true,"id":13554},"storedString":"_Padding","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13562":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13563":{"style":{"__isSmartRef__":true,"id":13564},"chunkOwner":{"__isSmartRef__":true,"id":13554},"storedString":": Rectangle","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13564":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13565":{"x":142.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13566":{"layoutText":{"__isSmartRef__":true,"id":13567}},"13567":{"varMapping":{"__isSmartRef__":true,"id":13568},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":13569},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13568":{"this":{"__isSmartRef__":true,"id":13554}},"13569":{},"13570":{"_Position":{"__isSmartRef__":true,"id":13571},"renderContextTable":{"__isSmartRef__":true,"id":13572},"_Extent":{"__isSmartRef__":true,"id":13573},"_Padding":{"__isSmartRef__":true,"id":13574},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13571":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13572":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13573":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13574":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13575":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13576":{"morph":{"__isSmartRef__":true,"id":13536},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13577":{"resizeWidth":true},"13578":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13579":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13580":{"updateExpanderColor":{"__isSmartRef__":true,"id":13581},"onMouseDown":{"__isSmartRef__":true,"id":13584},"isRoot":{"__isSmartRef__":true,"id":13591},"displayValue":{"__isSmartRef__":true,"id":13594},"update":{"__isSmartRef__":true,"id":13597}},"13581":{"varMapping":{"__isSmartRef__":true,"id":13582},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":13583},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13582":{"this":{"__isSmartRef__":true,"id":13536}},"13583":{},"13584":{"varMapping":{"__isSmartRef__":true,"id":13585},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":13590},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13585":{"this":{"__isSmartRef__":true,"id":13536},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13586}},"13586":{"$super":{"__isSmartRef__":true,"id":13587}},"13587":{"varMapping":{"__isSmartRef__":true,"id":13588},"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":13589},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13588":{"obj":{"__isSmartRef__":true,"id":13536},"name":"onMouseDown"},"13589":{},"13590":{},"13591":{"varMapping":{"__isSmartRef__":true,"id":13592},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":13593},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13592":{"this":{"__isSmartRef__":true,"id":13536}},"13593":{},"13594":{"varMapping":{"__isSmartRef__":true,"id":13595},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":13596},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13595":{"this":{"__isSmartRef__":true,"id":13536}},"13596":{},"13597":{"varMapping":{"__isSmartRef__":true,"id":13598},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":13599},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13598":{"this":{"__isSmartRef__":true,"id":13536}},"13599":{},"13600":{"_Position":{"__isSmartRef__":true,"id":13601},"renderContextTable":{"__isSmartRef__":true,"id":13602},"_Extent":{"__isSmartRef__":true,"id":13603},"_Padding":{"__isSmartRef__":true,"id":13604},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13601":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13602":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13603":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13604":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13605":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13606":{"morph":{"__isSmartRef__":true,"id":13535},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13607":{"layouter":{"__isSmartRef__":true,"id":13608},"resizeWidth":true},"13608":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":13535},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"13609":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13610":{"x":0,"y":880,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13611":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":13612}},"13612":{"varMapping":{"__isSmartRef__":true,"id":13613},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":13618},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13613":{"this":{"__isSmartRef__":true,"id":13535},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13614}},"13614":{"$super":{"__isSmartRef__":true,"id":13615}},"13615":{"varMapping":{"__isSmartRef__":true,"id":13616},"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":13617},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13616":{"obj":{"__isSmartRef__":true,"id":13535},"name":"getLayoutableSubmorphs"},"13617":{},"13618":{},"13619":{"submorphs":[{"__isSmartRef__":true,"id":13620}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13684},"derivationIds":[null],"id":"533F79A7-DF42-4D38-81AB-158B428CAB2D","renderContextTable":{"__isSmartRef__":true,"id":13689},"eventHandler":{"__isSmartRef__":true,"id":13690},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13691},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":13693},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":13694},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13695},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"13620":{"submorphs":[{"__isSmartRef__":true,"id":13621},{"__isSmartRef__":true,"id":13638}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13654},"derivationIds":[null],"id":"8EA4E6BE-5D0C-456F-A234-55FF02470E22","renderContextTable":{"__isSmartRef__":true,"id":13659},"eventHandler":{"__isSmartRef__":true,"id":13660},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13661},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1344},"propertyList":["x","y","__SourceModuleName__"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"_Position","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":13621},"text":{"__isSmartRef__":true,"id":13638},"owner":{"__isSmartRef__":true,"id":13619},"_Position":{"__isSmartRef__":true,"id":13662},"priorExtent":{"__isSmartRef__":true,"id":13663},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13664},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"13621":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13622},"derivationIds":[null],"id":"F0C6216A-CF27-4DDA-809C-E5367238B178","renderContextTable":{"__isSmartRef__":true,"id":13628},"eventHandler":{"__isSmartRef__":true,"id":13629},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":13630},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":13620},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13631},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"13622":{"_Position":{"__isSmartRef__":true,"id":13623},"renderContextTable":{"__isSmartRef__":true,"id":13624},"_Extent":{"__isSmartRef__":true,"id":13625},"_Padding":{"__isSmartRef__":true,"id":13626},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":13627},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13623":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13624":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13625":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13626":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13627":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13628":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13629":{"morph":{"__isSmartRef__":true,"id":13621},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13630":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13631":{"toggle":{"__isSmartRef__":true,"id":13632},"toggleExpansion":{"__isSmartRef__":true,"id":13635}},"13632":{"varMapping":{"__isSmartRef__":true,"id":13633},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":13634},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13633":{"this":{"__isSmartRef__":true,"id":13621}},"13634":{},"13635":{"varMapping":{"__isSmartRef__":true,"id":13636},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":13637},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13636":{"this":{"__isSmartRef__":true,"id":13621}},"13637":{},"13638":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13639},"derivationIds":[null],"id":"72FD92A3-9278-49AB-8EFA-D35AD09AAE6B","renderContextTable":{"__isSmartRef__":true,"id":13643},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":13644},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":13645},{"__isSmartRef__":true,"id":13647}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":13649},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":13620},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13650},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13639":{"_Position":{"__isSmartRef__":true,"id":13640},"renderContextTable":{"__isSmartRef__":true,"id":13641},"_Extent":{"__isSmartRef__":true,"id":13642},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13640":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13641":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13642":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13643":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"13644":{"morph":{"__isSmartRef__":true,"id":13638},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13645":{"style":{"__isSmartRef__":true,"id":13646},"chunkOwner":{"__isSmartRef__":true,"id":13638},"storedString":"_Position","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13646":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13647":{"style":{"__isSmartRef__":true,"id":13648},"chunkOwner":{"__isSmartRef__":true,"id":13638},"storedString":": Point","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13648":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13649":{"x":120,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13650":{"layoutText":{"__isSmartRef__":true,"id":13651}},"13651":{"varMapping":{"__isSmartRef__":true,"id":13652},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":13653},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13652":{"this":{"__isSmartRef__":true,"id":13638}},"13653":{},"13654":{"_Position":{"__isSmartRef__":true,"id":13655},"renderContextTable":{"__isSmartRef__":true,"id":13656},"_Extent":{"__isSmartRef__":true,"id":13657},"_Padding":{"__isSmartRef__":true,"id":13658},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13655":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13656":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13657":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13658":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13659":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13660":{"morph":{"__isSmartRef__":true,"id":13620},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13661":{"resizeWidth":true},"13662":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13663":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13664":{"updateExpanderColor":{"__isSmartRef__":true,"id":13665},"onMouseDown":{"__isSmartRef__":true,"id":13668},"isRoot":{"__isSmartRef__":true,"id":13675},"displayValue":{"__isSmartRef__":true,"id":13678},"update":{"__isSmartRef__":true,"id":13681}},"13665":{"varMapping":{"__isSmartRef__":true,"id":13666},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":13667},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13666":{"this":{"__isSmartRef__":true,"id":13620}},"13667":{},"13668":{"varMapping":{"__isSmartRef__":true,"id":13669},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":13674},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13669":{"this":{"__isSmartRef__":true,"id":13620},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13670}},"13670":{"$super":{"__isSmartRef__":true,"id":13671}},"13671":{"varMapping":{"__isSmartRef__":true,"id":13672},"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":13673},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13672":{"obj":{"__isSmartRef__":true,"id":13620},"name":"onMouseDown"},"13673":{},"13674":{},"13675":{"varMapping":{"__isSmartRef__":true,"id":13676},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":13677},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13676":{"this":{"__isSmartRef__":true,"id":13620}},"13677":{},"13678":{"varMapping":{"__isSmartRef__":true,"id":13679},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":13680},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13679":{"this":{"__isSmartRef__":true,"id":13620}},"13680":{},"13681":{"varMapping":{"__isSmartRef__":true,"id":13682},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":13683},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13682":{"this":{"__isSmartRef__":true,"id":13620}},"13683":{},"13684":{"_Position":{"__isSmartRef__":true,"id":13685},"renderContextTable":{"__isSmartRef__":true,"id":13686},"_Extent":{"__isSmartRef__":true,"id":13687},"_Padding":{"__isSmartRef__":true,"id":13688},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13685":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13686":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13687":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13688":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13689":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13690":{"morph":{"__isSmartRef__":true,"id":13619},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13691":{"layouter":{"__isSmartRef__":true,"id":13692},"resizeWidth":true},"13692":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":13619},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"13693":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13694":{"x":0,"y":860,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13695":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":13696}},"13696":{"varMapping":{"__isSmartRef__":true,"id":13697},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":13702},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13697":{"this":{"__isSmartRef__":true,"id":13619},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13698}},"13698":{"$super":{"__isSmartRef__":true,"id":13699}},"13699":{"varMapping":{"__isSmartRef__":true,"id":13700},"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":13701},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13700":{"obj":{"__isSmartRef__":true,"id":13619},"name":"getLayoutableSubmorphs"},"13701":{},"13702":{},"13703":{"submorphs":[{"__isSmartRef__":true,"id":13704}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13768},"derivationIds":[null],"id":"7EA4AD66-3C21-4BDD-A9CB-CEF24CD12E34","renderContextTable":{"__isSmartRef__":true,"id":13773},"eventHandler":{"__isSmartRef__":true,"id":13774},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13775},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":13777},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":13778},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13779},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"13704":{"submorphs":[{"__isSmartRef__":true,"id":13705},{"__isSmartRef__":true,"id":13722}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13738},"derivationIds":[null],"id":"56599F7C-799F-4BB2-9C5D-05D401FAF4ED","renderContextTable":{"__isSmartRef__":true,"id":13743},"eventHandler":{"__isSmartRef__":true,"id":13744},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13745},"grabbingEnabled":false,"draggingEnabled":false,"data":0,"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"_Rotation","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":13705},"text":{"__isSmartRef__":true,"id":13722},"owner":{"__isSmartRef__":true,"id":13703},"_Position":{"__isSmartRef__":true,"id":13746},"priorExtent":{"__isSmartRef__":true,"id":13747},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13748},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"13705":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13706},"derivationIds":[null],"id":"DDB6D2F3-0362-4FA4-88ED-DB6D992B4D98","renderContextTable":{"__isSmartRef__":true,"id":13712},"eventHandler":{"__isSmartRef__":true,"id":13713},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":13714},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":13704},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13715},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"13706":{"_Position":{"__isSmartRef__":true,"id":13707},"renderContextTable":{"__isSmartRef__":true,"id":13708},"_Extent":{"__isSmartRef__":true,"id":13709},"_Padding":{"__isSmartRef__":true,"id":13710},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":13711},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13707":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13708":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13709":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13710":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13711":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13712":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13713":{"morph":{"__isSmartRef__":true,"id":13705},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13714":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13715":{"toggle":{"__isSmartRef__":true,"id":13716},"toggleExpansion":{"__isSmartRef__":true,"id":13719}},"13716":{"varMapping":{"__isSmartRef__":true,"id":13717},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":13718},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13717":{"this":{"__isSmartRef__":true,"id":13705}},"13718":{},"13719":{"varMapping":{"__isSmartRef__":true,"id":13720},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":13721},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13720":{"this":{"__isSmartRef__":true,"id":13705}},"13721":{},"13722":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13723},"derivationIds":[null],"id":"2590F638-045D-41A8-8780-B23E1D886D36","renderContextTable":{"__isSmartRef__":true,"id":13727},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":13728},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":13729},{"__isSmartRef__":true,"id":13731}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":13733},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":13704},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13734},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13723":{"_Position":{"__isSmartRef__":true,"id":13724},"renderContextTable":{"__isSmartRef__":true,"id":13725},"_Extent":{"__isSmartRef__":true,"id":13726},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13724":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13725":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13726":{"x":78,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13727":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"13728":{"morph":{"__isSmartRef__":true,"id":13722},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13729":{"style":{"__isSmartRef__":true,"id":13730},"chunkOwner":{"__isSmartRef__":true,"id":13722},"storedString":"_Rotation","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13730":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13731":{"style":{"__isSmartRef__":true,"id":13732},"chunkOwner":{"__isSmartRef__":true,"id":13722},"storedString":": 0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13732":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13733":{"x":90,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13734":{"layoutText":{"__isSmartRef__":true,"id":13735}},"13735":{"varMapping":{"__isSmartRef__":true,"id":13736},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":13737},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13736":{"this":{"__isSmartRef__":true,"id":13722}},"13737":{},"13738":{"_Position":{"__isSmartRef__":true,"id":13739},"renderContextTable":{"__isSmartRef__":true,"id":13740},"_Extent":{"__isSmartRef__":true,"id":13741},"_Padding":{"__isSmartRef__":true,"id":13742},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13739":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13740":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13741":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13742":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13743":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13744":{"morph":{"__isSmartRef__":true,"id":13704},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13745":{"resizeWidth":true},"13746":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13747":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13748":{"updateExpanderColor":{"__isSmartRef__":true,"id":13749},"onMouseDown":{"__isSmartRef__":true,"id":13752},"isRoot":{"__isSmartRef__":true,"id":13759},"displayValue":{"__isSmartRef__":true,"id":13762},"update":{"__isSmartRef__":true,"id":13765}},"13749":{"varMapping":{"__isSmartRef__":true,"id":13750},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":13751},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13750":{"this":{"__isSmartRef__":true,"id":13704}},"13751":{},"13752":{"varMapping":{"__isSmartRef__":true,"id":13753},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":13758},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13753":{"this":{"__isSmartRef__":true,"id":13704},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13754}},"13754":{"$super":{"__isSmartRef__":true,"id":13755}},"13755":{"varMapping":{"__isSmartRef__":true,"id":13756},"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":13757},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13756":{"obj":{"__isSmartRef__":true,"id":13704},"name":"onMouseDown"},"13757":{},"13758":{},"13759":{"varMapping":{"__isSmartRef__":true,"id":13760},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":13761},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13760":{"this":{"__isSmartRef__":true,"id":13704}},"13761":{},"13762":{"varMapping":{"__isSmartRef__":true,"id":13763},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":13764},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13763":{"this":{"__isSmartRef__":true,"id":13704}},"13764":{},"13765":{"varMapping":{"__isSmartRef__":true,"id":13766},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":13767},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13766":{"this":{"__isSmartRef__":true,"id":13704}},"13767":{},"13768":{"_Position":{"__isSmartRef__":true,"id":13769},"renderContextTable":{"__isSmartRef__":true,"id":13770},"_Extent":{"__isSmartRef__":true,"id":13771},"_Padding":{"__isSmartRef__":true,"id":13772},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13769":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13770":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13771":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13772":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13773":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13774":{"morph":{"__isSmartRef__":true,"id":13703},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13775":{"layouter":{"__isSmartRef__":true,"id":13776},"resizeWidth":true},"13776":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":13703},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"13777":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13778":{"x":0,"y":840,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13779":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":13780}},"13780":{"varMapping":{"__isSmartRef__":true,"id":13781},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":13786},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13781":{"this":{"__isSmartRef__":true,"id":13703},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13782}},"13782":{"$super":{"__isSmartRef__":true,"id":13783}},"13783":{"varMapping":{"__isSmartRef__":true,"id":13784},"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":13785},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13784":{"obj":{"__isSmartRef__":true,"id":13703},"name":"getLayoutableSubmorphs"},"13785":{},"13786":{},"13787":{"submorphs":[{"__isSmartRef__":true,"id":13788}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13852},"derivationIds":[null],"id":"18649BEF-51C7-48A8-8A1C-AA85EE64E283","renderContextTable":{"__isSmartRef__":true,"id":13857},"eventHandler":{"__isSmartRef__":true,"id":13858},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13859},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":13861},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":13862},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13863},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"13788":{"submorphs":[{"__isSmartRef__":true,"id":13789},{"__isSmartRef__":true,"id":13806}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13822},"derivationIds":[null],"id":"D31A1C10-C270-439F-BE42-ECD91F100B8E","renderContextTable":{"__isSmartRef__":true,"id":13827},"eventHandler":{"__isSmartRef__":true,"id":13828},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13829},"grabbingEnabled":false,"draggingEnabled":false,"data":1,"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"_Scale","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":13789},"text":{"__isSmartRef__":true,"id":13806},"owner":{"__isSmartRef__":true,"id":13787},"_Position":{"__isSmartRef__":true,"id":13830},"priorExtent":{"__isSmartRef__":true,"id":13831},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13832},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"13789":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13790},"derivationIds":[null],"id":"B65B420E-1E83-4157-9511-8F38C2F0B295","renderContextTable":{"__isSmartRef__":true,"id":13796},"eventHandler":{"__isSmartRef__":true,"id":13797},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":13798},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":13788},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13799},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"13790":{"_Position":{"__isSmartRef__":true,"id":13791},"renderContextTable":{"__isSmartRef__":true,"id":13792},"_Extent":{"__isSmartRef__":true,"id":13793},"_Padding":{"__isSmartRef__":true,"id":13794},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":13795},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13791":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13792":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13793":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13794":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13795":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13796":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13797":{"morph":{"__isSmartRef__":true,"id":13789},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13798":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13799":{"toggle":{"__isSmartRef__":true,"id":13800},"toggleExpansion":{"__isSmartRef__":true,"id":13803}},"13800":{"varMapping":{"__isSmartRef__":true,"id":13801},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":13802},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13801":{"this":{"__isSmartRef__":true,"id":13789}},"13802":{},"13803":{"varMapping":{"__isSmartRef__":true,"id":13804},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":13805},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13804":{"this":{"__isSmartRef__":true,"id":13789}},"13805":{},"13806":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13807},"derivationIds":[null],"id":"AE0844AD-8C67-45BA-B976-80B34881C85E","renderContextTable":{"__isSmartRef__":true,"id":13811},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":13812},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":13813},{"__isSmartRef__":true,"id":13815}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":13817},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":13788},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13818},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13807":{"_Position":{"__isSmartRef__":true,"id":13808},"renderContextTable":{"__isSmartRef__":true,"id":13809},"_Extent":{"__isSmartRef__":true,"id":13810},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13808":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13809":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13810":{"x":63,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13811":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"13812":{"morph":{"__isSmartRef__":true,"id":13806},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13813":{"style":{"__isSmartRef__":true,"id":13814},"chunkOwner":{"__isSmartRef__":true,"id":13806},"storedString":"_Scale","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13814":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13815":{"style":{"__isSmartRef__":true,"id":13816},"chunkOwner":{"__isSmartRef__":true,"id":13806},"storedString":": 1","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13816":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13817":{"x":67.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13818":{"layoutText":{"__isSmartRef__":true,"id":13819}},"13819":{"varMapping":{"__isSmartRef__":true,"id":13820},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":13821},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13820":{"this":{"__isSmartRef__":true,"id":13806}},"13821":{},"13822":{"_Position":{"__isSmartRef__":true,"id":13823},"renderContextTable":{"__isSmartRef__":true,"id":13824},"_Extent":{"__isSmartRef__":true,"id":13825},"_Padding":{"__isSmartRef__":true,"id":13826},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13823":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13824":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13825":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13826":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13827":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13828":{"morph":{"__isSmartRef__":true,"id":13788},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13829":{"resizeWidth":true},"13830":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13831":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13832":{"updateExpanderColor":{"__isSmartRef__":true,"id":13833},"onMouseDown":{"__isSmartRef__":true,"id":13836},"isRoot":{"__isSmartRef__":true,"id":13843},"displayValue":{"__isSmartRef__":true,"id":13846},"update":{"__isSmartRef__":true,"id":13849}},"13833":{"varMapping":{"__isSmartRef__":true,"id":13834},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":13835},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13834":{"this":{"__isSmartRef__":true,"id":13788}},"13835":{},"13836":{"varMapping":{"__isSmartRef__":true,"id":13837},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":13842},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13837":{"this":{"__isSmartRef__":true,"id":13788},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13838}},"13838":{"$super":{"__isSmartRef__":true,"id":13839}},"13839":{"varMapping":{"__isSmartRef__":true,"id":13840},"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":13841},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13840":{"obj":{"__isSmartRef__":true,"id":13788},"name":"onMouseDown"},"13841":{},"13842":{},"13843":{"varMapping":{"__isSmartRef__":true,"id":13844},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":13845},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13844":{"this":{"__isSmartRef__":true,"id":13788}},"13845":{},"13846":{"varMapping":{"__isSmartRef__":true,"id":13847},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":13848},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13847":{"this":{"__isSmartRef__":true,"id":13788}},"13848":{},"13849":{"varMapping":{"__isSmartRef__":true,"id":13850},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":13851},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13850":{"this":{"__isSmartRef__":true,"id":13788}},"13851":{},"13852":{"_Position":{"__isSmartRef__":true,"id":13853},"renderContextTable":{"__isSmartRef__":true,"id":13854},"_Extent":{"__isSmartRef__":true,"id":13855},"_Padding":{"__isSmartRef__":true,"id":13856},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13853":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13854":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13855":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13856":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13857":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13858":{"morph":{"__isSmartRef__":true,"id":13787},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13859":{"layouter":{"__isSmartRef__":true,"id":13860},"resizeWidth":true},"13860":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":13787},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"13861":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13862":{"x":0,"y":820,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13863":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":13864}},"13864":{"varMapping":{"__isSmartRef__":true,"id":13865},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":13870},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13865":{"this":{"__isSmartRef__":true,"id":13787},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13866}},"13866":{"$super":{"__isSmartRef__":true,"id":13867}},"13867":{"varMapping":{"__isSmartRef__":true,"id":13868},"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":13869},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13868":{"obj":{"__isSmartRef__":true,"id":13787},"name":"getLayoutableSubmorphs"},"13869":{},"13870":{},"13871":{"submorphs":[{"__isSmartRef__":true,"id":13872}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13936},"derivationIds":[null],"id":"D0B69621-218F-45FC-A169-29749F0B7946","renderContextTable":{"__isSmartRef__":true,"id":13941},"eventHandler":{"__isSmartRef__":true,"id":13942},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13943},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":13945},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":13946},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13947},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"13872":{"submorphs":[{"__isSmartRef__":true,"id":13873},{"__isSmartRef__":true,"id":13890}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13906},"derivationIds":[null],"id":"392CD30A-5D29-4B35-948D-8BC63D65EA07","renderContextTable":{"__isSmartRef__":true,"id":13911},"eventHandler":{"__isSmartRef__":true,"id":13912},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13913},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":4385},"propertyList":["r","g","b","a","__SourceModuleName__"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"_TextColor","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":13873},"text":{"__isSmartRef__":true,"id":13890},"owner":{"__isSmartRef__":true,"id":13871},"_Position":{"__isSmartRef__":true,"id":13914},"priorExtent":{"__isSmartRef__":true,"id":13915},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13916},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"13873":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13874},"derivationIds":[null],"id":"1C8D1D21-1029-4B6C-B948-EBA26A03D173","renderContextTable":{"__isSmartRef__":true,"id":13880},"eventHandler":{"__isSmartRef__":true,"id":13881},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":13882},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":13872},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13883},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"13874":{"_Position":{"__isSmartRef__":true,"id":13875},"renderContextTable":{"__isSmartRef__":true,"id":13876},"_Extent":{"__isSmartRef__":true,"id":13877},"_Padding":{"__isSmartRef__":true,"id":13878},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":13879},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13875":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13876":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13877":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13878":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13879":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13880":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13881":{"morph":{"__isSmartRef__":true,"id":13873},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13882":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13883":{"toggle":{"__isSmartRef__":true,"id":13884},"toggleExpansion":{"__isSmartRef__":true,"id":13887}},"13884":{"varMapping":{"__isSmartRef__":true,"id":13885},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":13886},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13885":{"this":{"__isSmartRef__":true,"id":13873}},"13886":{},"13887":{"varMapping":{"__isSmartRef__":true,"id":13888},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":13889},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13888":{"this":{"__isSmartRef__":true,"id":13873}},"13889":{},"13890":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13891},"derivationIds":[null],"id":"57848CA9-3B4A-4C4D-979B-7603617E926F","renderContextTable":{"__isSmartRef__":true,"id":13895},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":13896},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":13897},{"__isSmartRef__":true,"id":13899}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":13901},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":13872},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13902},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13891":{"_Position":{"__isSmartRef__":true,"id":13892},"renderContextTable":{"__isSmartRef__":true,"id":13893},"_Extent":{"__isSmartRef__":true,"id":13894},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13892":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13893":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13894":{"x":108,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13895":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"13896":{"morph":{"__isSmartRef__":true,"id":13890},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13897":{"style":{"__isSmartRef__":true,"id":13898},"chunkOwner":{"__isSmartRef__":true,"id":13890},"storedString":"_TextColor","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13898":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13899":{"style":{"__isSmartRef__":true,"id":13900},"chunkOwner":{"__isSmartRef__":true,"id":13890},"storedString":": Color","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13900":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13901":{"x":127.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13902":{"layoutText":{"__isSmartRef__":true,"id":13903}},"13903":{"varMapping":{"__isSmartRef__":true,"id":13904},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":13905},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13904":{"this":{"__isSmartRef__":true,"id":13890}},"13905":{},"13906":{"_Position":{"__isSmartRef__":true,"id":13907},"renderContextTable":{"__isSmartRef__":true,"id":13908},"_Extent":{"__isSmartRef__":true,"id":13909},"_Padding":{"__isSmartRef__":true,"id":13910},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13907":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13908":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13909":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13910":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13911":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13912":{"morph":{"__isSmartRef__":true,"id":13872},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13913":{"resizeWidth":true},"13914":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13915":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13916":{"updateExpanderColor":{"__isSmartRef__":true,"id":13917},"onMouseDown":{"__isSmartRef__":true,"id":13920},"isRoot":{"__isSmartRef__":true,"id":13927},"displayValue":{"__isSmartRef__":true,"id":13930},"update":{"__isSmartRef__":true,"id":13933}},"13917":{"varMapping":{"__isSmartRef__":true,"id":13918},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":13919},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13918":{"this":{"__isSmartRef__":true,"id":13872}},"13919":{},"13920":{"varMapping":{"__isSmartRef__":true,"id":13921},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":13926},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13921":{"this":{"__isSmartRef__":true,"id":13872},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13922}},"13922":{"$super":{"__isSmartRef__":true,"id":13923}},"13923":{"varMapping":{"__isSmartRef__":true,"id":13924},"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":13925},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13924":{"obj":{"__isSmartRef__":true,"id":13872},"name":"onMouseDown"},"13925":{},"13926":{},"13927":{"varMapping":{"__isSmartRef__":true,"id":13928},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":13929},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13928":{"this":{"__isSmartRef__":true,"id":13872}},"13929":{},"13930":{"varMapping":{"__isSmartRef__":true,"id":13931},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":13932},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13931":{"this":{"__isSmartRef__":true,"id":13872}},"13932":{},"13933":{"varMapping":{"__isSmartRef__":true,"id":13934},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":13935},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13934":{"this":{"__isSmartRef__":true,"id":13872}},"13935":{},"13936":{"_Position":{"__isSmartRef__":true,"id":13937},"renderContextTable":{"__isSmartRef__":true,"id":13938},"_Extent":{"__isSmartRef__":true,"id":13939},"_Padding":{"__isSmartRef__":true,"id":13940},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13937":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13938":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13939":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13940":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13941":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13942":{"morph":{"__isSmartRef__":true,"id":13871},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13943":{"layouter":{"__isSmartRef__":true,"id":13944},"resizeWidth":true},"13944":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":13871},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"13945":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13946":{"x":0,"y":800,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13947":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":13948}},"13948":{"varMapping":{"__isSmartRef__":true,"id":13949},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":13954},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13949":{"this":{"__isSmartRef__":true,"id":13871},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13950}},"13950":{"$super":{"__isSmartRef__":true,"id":13951}},"13951":{"varMapping":{"__isSmartRef__":true,"id":13952},"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":13953},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13952":{"obj":{"__isSmartRef__":true,"id":13871},"name":"getLayoutableSubmorphs"},"13953":{},"13954":{},"13955":{"submorphs":[{"__isSmartRef__":true,"id":13956}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14020},"derivationIds":[null],"id":"1056E082-584C-4E28-B94D-E46FBF6C8B04","renderContextTable":{"__isSmartRef__":true,"id":14025},"eventHandler":{"__isSmartRef__":true,"id":14026},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":14027},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":14029},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":14030},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14031},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"13956":{"submorphs":[{"__isSmartRef__":true,"id":13957},{"__isSmartRef__":true,"id":13974}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13990},"derivationIds":[null],"id":"6CE418AF-D037-4E22-85A1-59828EDE99AA","renderContextTable":{"__isSmartRef__":true,"id":13995},"eventHandler":{"__isSmartRef__":true,"id":13996},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13997},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"_Visible","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":13957},"text":{"__isSmartRef__":true,"id":13974},"owner":{"__isSmartRef__":true,"id":13955},"_Position":{"__isSmartRef__":true,"id":13998},"priorExtent":{"__isSmartRef__":true,"id":13999},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14000},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"13957":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13958},"derivationIds":[null],"id":"642EAB3B-11D4-459C-9882-16DA42C8E658","renderContextTable":{"__isSmartRef__":true,"id":13964},"eventHandler":{"__isSmartRef__":true,"id":13965},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":13966},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":13956},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13967},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"13958":{"_Position":{"__isSmartRef__":true,"id":13959},"renderContextTable":{"__isSmartRef__":true,"id":13960},"_Extent":{"__isSmartRef__":true,"id":13961},"_Padding":{"__isSmartRef__":true,"id":13962},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":13963},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13959":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13960":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13961":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13962":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13963":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13964":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13965":{"morph":{"__isSmartRef__":true,"id":13957},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13966":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13967":{"toggle":{"__isSmartRef__":true,"id":13968},"toggleExpansion":{"__isSmartRef__":true,"id":13971}},"13968":{"varMapping":{"__isSmartRef__":true,"id":13969},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":13970},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13969":{"this":{"__isSmartRef__":true,"id":13957}},"13970":{},"13971":{"varMapping":{"__isSmartRef__":true,"id":13972},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":13973},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13972":{"this":{"__isSmartRef__":true,"id":13957}},"13973":{},"13974":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13975},"derivationIds":[null],"id":"5071A242-E02D-4B98-AAC8-A295DDDD8B1F","renderContextTable":{"__isSmartRef__":true,"id":13979},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":13980},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":13981},{"__isSmartRef__":true,"id":13983}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":13985},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":13956},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13986},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13975":{"_Position":{"__isSmartRef__":true,"id":13976},"renderContextTable":{"__isSmartRef__":true,"id":13977},"_Extent":{"__isSmartRef__":true,"id":13978},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13976":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13977":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13978":{"x":84,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13979":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"13980":{"morph":{"__isSmartRef__":true,"id":13974},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13981":{"style":{"__isSmartRef__":true,"id":13982},"chunkOwner":{"__isSmartRef__":true,"id":13974},"storedString":"_Visible","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13982":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13983":{"style":{"__isSmartRef__":true,"id":13984},"chunkOwner":{"__isSmartRef__":true,"id":13974},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13984":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13985":{"x":105,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13986":{"layoutText":{"__isSmartRef__":true,"id":13987}},"13987":{"varMapping":{"__isSmartRef__":true,"id":13988},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":13989},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13988":{"this":{"__isSmartRef__":true,"id":13974}},"13989":{},"13990":{"_Position":{"__isSmartRef__":true,"id":13991},"renderContextTable":{"__isSmartRef__":true,"id":13992},"_Extent":{"__isSmartRef__":true,"id":13993},"_Padding":{"__isSmartRef__":true,"id":13994},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"13991":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13992":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"13993":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13994":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13995":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"13996":{"morph":{"__isSmartRef__":true,"id":13956},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13997":{"resizeWidth":true},"13998":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13999":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14000":{"updateExpanderColor":{"__isSmartRef__":true,"id":14001},"onMouseDown":{"__isSmartRef__":true,"id":14004},"isRoot":{"__isSmartRef__":true,"id":14011},"displayValue":{"__isSmartRef__":true,"id":14014},"update":{"__isSmartRef__":true,"id":14017}},"14001":{"varMapping":{"__isSmartRef__":true,"id":14002},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":14003},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14002":{"this":{"__isSmartRef__":true,"id":13956}},"14003":{},"14004":{"varMapping":{"__isSmartRef__":true,"id":14005},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":14010},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14005":{"this":{"__isSmartRef__":true,"id":13956},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14006}},"14006":{"$super":{"__isSmartRef__":true,"id":14007}},"14007":{"varMapping":{"__isSmartRef__":true,"id":14008},"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":14009},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14008":{"obj":{"__isSmartRef__":true,"id":13956},"name":"onMouseDown"},"14009":{},"14010":{},"14011":{"varMapping":{"__isSmartRef__":true,"id":14012},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":14013},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14012":{"this":{"__isSmartRef__":true,"id":13956}},"14013":{},"14014":{"varMapping":{"__isSmartRef__":true,"id":14015},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":14016},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14015":{"this":{"__isSmartRef__":true,"id":13956}},"14016":{},"14017":{"varMapping":{"__isSmartRef__":true,"id":14018},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":14019},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14018":{"this":{"__isSmartRef__":true,"id":13956}},"14019":{},"14020":{"_Position":{"__isSmartRef__":true,"id":14021},"renderContextTable":{"__isSmartRef__":true,"id":14022},"_Extent":{"__isSmartRef__":true,"id":14023},"_Padding":{"__isSmartRef__":true,"id":14024},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14021":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14022":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14023":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14024":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14025":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14026":{"morph":{"__isSmartRef__":true,"id":13955},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14027":{"layouter":{"__isSmartRef__":true,"id":14028},"resizeWidth":true},"14028":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":13955},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"14029":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14030":{"x":0,"y":780,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14031":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":14032}},"14032":{"varMapping":{"__isSmartRef__":true,"id":14033},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":14038},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14033":{"this":{"__isSmartRef__":true,"id":13955},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14034}},"14034":{"$super":{"__isSmartRef__":true,"id":14035}},"14035":{"varMapping":{"__isSmartRef__":true,"id":14036},"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":14037},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14036":{"obj":{"__isSmartRef__":true,"id":13955},"name":"getLayoutableSubmorphs"},"14037":{},"14038":{},"14039":{"submorphs":[{"__isSmartRef__":true,"id":14040}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14104},"derivationIds":[null],"id":"0DCD32F8-C045-4E6D-AAF3-AE56AE43686C","renderContextTable":{"__isSmartRef__":true,"id":14109},"eventHandler":{"__isSmartRef__":true,"id":14110},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":14111},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":14113},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":14114},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14115},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"14040":{"submorphs":[{"__isSmartRef__":true,"id":14041},{"__isSmartRef__":true,"id":14058}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14074},"derivationIds":[null],"id":"06A69F95-3BE3-4F99-BA66-7120088A0DB7","renderContextTable":{"__isSmartRef__":true,"id":14079},"eventHandler":{"__isSmartRef__":true,"id":14080},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":14081},"grabbingEnabled":false,"draggingEnabled":false,"data":"pre-wrap","propertyList":["0","1","2","3","4","5","6","7"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"_WhiteSpaceHandling","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":14041},"text":{"__isSmartRef__":true,"id":14058},"owner":{"__isSmartRef__":true,"id":14039},"_Position":{"__isSmartRef__":true,"id":14082},"priorExtent":{"__isSmartRef__":true,"id":14083},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14084},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"14041":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14042},"derivationIds":[null],"id":"20801DA6-3C98-4146-9FC7-DB1B3CF27A5D","renderContextTable":{"__isSmartRef__":true,"id":14048},"eventHandler":{"__isSmartRef__":true,"id":14049},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":14050},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":14040},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14051},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"14042":{"_Position":{"__isSmartRef__":true,"id":14043},"renderContextTable":{"__isSmartRef__":true,"id":14044},"_Extent":{"__isSmartRef__":true,"id":14045},"_Padding":{"__isSmartRef__":true,"id":14046},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":14047},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14043":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14044":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14045":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14046":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14047":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14048":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14049":{"morph":{"__isSmartRef__":true,"id":14041},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14050":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14051":{"toggle":{"__isSmartRef__":true,"id":14052},"toggleExpansion":{"__isSmartRef__":true,"id":14055}},"14052":{"varMapping":{"__isSmartRef__":true,"id":14053},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":14054},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14053":{"this":{"__isSmartRef__":true,"id":14041}},"14054":{},"14055":{"varMapping":{"__isSmartRef__":true,"id":14056},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":14057},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14056":{"this":{"__isSmartRef__":true,"id":14041}},"14057":{},"14058":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14059},"derivationIds":[null],"id":"AA8AFCCB-AC7D-4CBF-AB8A-3068A9591FFA","renderContextTable":{"__isSmartRef__":true,"id":14063},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":14064},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":14065},{"__isSmartRef__":true,"id":14067}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":14069},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":14040},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14070},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14059":{"_Position":{"__isSmartRef__":true,"id":14060},"renderContextTable":{"__isSmartRef__":true,"id":14061},"_Extent":{"__isSmartRef__":true,"id":14062},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14060":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14061":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14062":{"x":192,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14063":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"14064":{"morph":{"__isSmartRef__":true,"id":14058},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14065":{"style":{"__isSmartRef__":true,"id":14066},"chunkOwner":{"__isSmartRef__":true,"id":14058},"storedString":"_WhiteSpaceHandling","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14066":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14067":{"style":{"__isSmartRef__":true,"id":14068},"chunkOwner":{"__isSmartRef__":true,"id":14058},"storedString":": pre-wrap","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14068":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14069":{"x":217.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14070":{"layoutText":{"__isSmartRef__":true,"id":14071}},"14071":{"varMapping":{"__isSmartRef__":true,"id":14072},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":14073},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14072":{"this":{"__isSmartRef__":true,"id":14058}},"14073":{},"14074":{"_Position":{"__isSmartRef__":true,"id":14075},"renderContextTable":{"__isSmartRef__":true,"id":14076},"_Extent":{"__isSmartRef__":true,"id":14077},"_Padding":{"__isSmartRef__":true,"id":14078},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14075":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14076":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14077":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14078":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14079":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14080":{"morph":{"__isSmartRef__":true,"id":14040},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14081":{"resizeWidth":true},"14082":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14083":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14084":{"updateExpanderColor":{"__isSmartRef__":true,"id":14085},"onMouseDown":{"__isSmartRef__":true,"id":14088},"isRoot":{"__isSmartRef__":true,"id":14095},"displayValue":{"__isSmartRef__":true,"id":14098},"update":{"__isSmartRef__":true,"id":14101}},"14085":{"varMapping":{"__isSmartRef__":true,"id":14086},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":14087},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14086":{"this":{"__isSmartRef__":true,"id":14040}},"14087":{},"14088":{"varMapping":{"__isSmartRef__":true,"id":14089},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":14094},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14089":{"this":{"__isSmartRef__":true,"id":14040},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14090}},"14090":{"$super":{"__isSmartRef__":true,"id":14091}},"14091":{"varMapping":{"__isSmartRef__":true,"id":14092},"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":14093},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14092":{"obj":{"__isSmartRef__":true,"id":14040},"name":"onMouseDown"},"14093":{},"14094":{},"14095":{"varMapping":{"__isSmartRef__":true,"id":14096},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":14097},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14096":{"this":{"__isSmartRef__":true,"id":14040}},"14097":{},"14098":{"varMapping":{"__isSmartRef__":true,"id":14099},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":14100},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14099":{"this":{"__isSmartRef__":true,"id":14040}},"14100":{},"14101":{"varMapping":{"__isSmartRef__":true,"id":14102},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":14103},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14102":{"this":{"__isSmartRef__":true,"id":14040}},"14103":{},"14104":{"_Position":{"__isSmartRef__":true,"id":14105},"renderContextTable":{"__isSmartRef__":true,"id":14106},"_Extent":{"__isSmartRef__":true,"id":14107},"_Padding":{"__isSmartRef__":true,"id":14108},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14105":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14106":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14107":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14108":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14109":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14110":{"morph":{"__isSmartRef__":true,"id":14039},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14111":{"layouter":{"__isSmartRef__":true,"id":14112},"resizeWidth":true},"14112":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":14039},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"14113":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14114":{"x":0,"y":760,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14115":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":14116}},"14116":{"varMapping":{"__isSmartRef__":true,"id":14117},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":14122},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14117":{"this":{"__isSmartRef__":true,"id":14039},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14118}},"14118":{"$super":{"__isSmartRef__":true,"id":14119}},"14119":{"varMapping":{"__isSmartRef__":true,"id":14120},"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":14121},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14120":{"obj":{"__isSmartRef__":true,"id":14039},"name":"getLayoutableSubmorphs"},"14121":{},"14122":{},"14123":{"submorphs":[{"__isSmartRef__":true,"id":14124}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14188},"derivationIds":[null],"id":"89D76445-468B-4088-89EA-EA443D168E28","renderContextTable":{"__isSmartRef__":true,"id":14193},"eventHandler":{"__isSmartRef__":true,"id":14194},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":14195},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":14197},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":14198},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14199},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"14124":{"submorphs":[{"__isSmartRef__":true,"id":14125},{"__isSmartRef__":true,"id":14142}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14158},"derivationIds":[null],"id":"DA36C9A0-C0F4-432F-9DED-DB099D09381A","renderContextTable":{"__isSmartRef__":true,"id":14163},"eventHandler":{"__isSmartRef__":true,"id":14164},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":14165},"grabbingEnabled":false,"draggingEnabled":false,"data":"Global.lively.morphic.TextCore","propertyList":["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"__SourceModuleName__","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":14125},"text":{"__isSmartRef__":true,"id":14142},"owner":{"__isSmartRef__":true,"id":14123},"_Position":{"__isSmartRef__":true,"id":14166},"priorExtent":{"__isSmartRef__":true,"id":14167},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14168},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"14125":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14126},"derivationIds":[null],"id":"F2117454-1B9F-432C-9254-E058D3E624D1","renderContextTable":{"__isSmartRef__":true,"id":14132},"eventHandler":{"__isSmartRef__":true,"id":14133},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":14134},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":14124},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14135},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"14126":{"_Position":{"__isSmartRef__":true,"id":14127},"renderContextTable":{"__isSmartRef__":true,"id":14128},"_Extent":{"__isSmartRef__":true,"id":14129},"_Padding":{"__isSmartRef__":true,"id":14130},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":14131},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14127":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14128":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14129":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14130":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14131":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14132":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14133":{"morph":{"__isSmartRef__":true,"id":14125},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14134":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14135":{"toggle":{"__isSmartRef__":true,"id":14136},"toggleExpansion":{"__isSmartRef__":true,"id":14139}},"14136":{"varMapping":{"__isSmartRef__":true,"id":14137},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":14138},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14137":{"this":{"__isSmartRef__":true,"id":14125}},"14138":{},"14139":{"varMapping":{"__isSmartRef__":true,"id":14140},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":14141},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14140":{"this":{"__isSmartRef__":true,"id":14125}},"14141":{},"14142":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14143},"derivationIds":[null],"id":"96546765-F3DF-4C99-805E-338B6A8B3A1F","renderContextTable":{"__isSmartRef__":true,"id":14147},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":14148},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":14149},{"__isSmartRef__":true,"id":14151}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":14153},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":14124},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14154},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14143":{"_Position":{"__isSmartRef__":true,"id":14144},"renderContextTable":{"__isSmartRef__":true,"id":14145},"_Extent":{"__isSmartRef__":true,"id":14146},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14144":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14145":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14146":{"x":337,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14147":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"14148":{"morph":{"__isSmartRef__":true,"id":14142},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14149":{"style":{"__isSmartRef__":true,"id":14150},"chunkOwner":{"__isSmartRef__":true,"id":14142},"storedString":"__SourceModuleName__","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14150":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14151":{"style":{"__isSmartRef__":true,"id":14152},"chunkOwner":{"__isSmartRef__":true,"id":14142},"storedString":": Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14152":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14153":{"x":390,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14154":{"layoutText":{"__isSmartRef__":true,"id":14155}},"14155":{"varMapping":{"__isSmartRef__":true,"id":14156},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":14157},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14156":{"this":{"__isSmartRef__":true,"id":14142}},"14157":{},"14158":{"_Position":{"__isSmartRef__":true,"id":14159},"renderContextTable":{"__isSmartRef__":true,"id":14160},"_Extent":{"__isSmartRef__":true,"id":14161},"_Padding":{"__isSmartRef__":true,"id":14162},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14159":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14160":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14161":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14162":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14163":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14164":{"morph":{"__isSmartRef__":true,"id":14124},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14165":{"resizeWidth":true},"14166":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14167":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14168":{"updateExpanderColor":{"__isSmartRef__":true,"id":14169},"onMouseDown":{"__isSmartRef__":true,"id":14172},"isRoot":{"__isSmartRef__":true,"id":14179},"displayValue":{"__isSmartRef__":true,"id":14182},"update":{"__isSmartRef__":true,"id":14185}},"14169":{"varMapping":{"__isSmartRef__":true,"id":14170},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":14171},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14170":{"this":{"__isSmartRef__":true,"id":14124}},"14171":{},"14172":{"varMapping":{"__isSmartRef__":true,"id":14173},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":14178},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14173":{"this":{"__isSmartRef__":true,"id":14124},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14174}},"14174":{"$super":{"__isSmartRef__":true,"id":14175}},"14175":{"varMapping":{"__isSmartRef__":true,"id":14176},"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":14177},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14176":{"obj":{"__isSmartRef__":true,"id":14124},"name":"onMouseDown"},"14177":{},"14178":{},"14179":{"varMapping":{"__isSmartRef__":true,"id":14180},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":14181},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14180":{"this":{"__isSmartRef__":true,"id":14124}},"14181":{},"14182":{"varMapping":{"__isSmartRef__":true,"id":14183},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":14184},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14183":{"this":{"__isSmartRef__":true,"id":14124}},"14184":{},"14185":{"varMapping":{"__isSmartRef__":true,"id":14186},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":14187},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14186":{"this":{"__isSmartRef__":true,"id":14124}},"14187":{},"14188":{"_Position":{"__isSmartRef__":true,"id":14189},"renderContextTable":{"__isSmartRef__":true,"id":14190},"_Extent":{"__isSmartRef__":true,"id":14191},"_Padding":{"__isSmartRef__":true,"id":14192},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14189":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14190":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14191":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14192":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14193":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14194":{"morph":{"__isSmartRef__":true,"id":14123},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14195":{"layouter":{"__isSmartRef__":true,"id":14196},"resizeWidth":true},"14196":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":14123},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"14197":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14198":{"x":0,"y":740,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14199":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":14200}},"14200":{"varMapping":{"__isSmartRef__":true,"id":14201},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":14206},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14201":{"this":{"__isSmartRef__":true,"id":14123},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14202}},"14202":{"$super":{"__isSmartRef__":true,"id":14203}},"14203":{"varMapping":{"__isSmartRef__":true,"id":14204},"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":14205},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14204":{"obj":{"__isSmartRef__":true,"id":14123},"name":"getLayoutableSubmorphs"},"14205":{},"14206":{},"14207":{"submorphs":[{"__isSmartRef__":true,"id":14208}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14272},"derivationIds":[null],"id":"D940F70A-6157-42AD-A852-AEC6E08A1012","renderContextTable":{"__isSmartRef__":true,"id":14277},"eventHandler":{"__isSmartRef__":true,"id":14278},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":14279},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":14281},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":14282},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14283},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"14208":{"submorphs":[{"__isSmartRef__":true,"id":14209},{"__isSmartRef__":true,"id":14226}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14242},"derivationIds":[null],"id":"FDB95D35-C980-4BC8-B2E4-6A78A9859031","renderContextTable":{"__isSmartRef__":true,"id":14247},"eventHandler":{"__isSmartRef__":true,"id":14248},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":14249},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"_isRendered","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":14209},"text":{"__isSmartRef__":true,"id":14226},"owner":{"__isSmartRef__":true,"id":14207},"_Position":{"__isSmartRef__":true,"id":14250},"priorExtent":{"__isSmartRef__":true,"id":14251},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14252},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"14209":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14210},"derivationIds":[null],"id":"6813EFA8-4E94-461E-B2A7-8070D3FDA216","renderContextTable":{"__isSmartRef__":true,"id":14216},"eventHandler":{"__isSmartRef__":true,"id":14217},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":14218},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":14208},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14219},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"14210":{"_Position":{"__isSmartRef__":true,"id":14211},"renderContextTable":{"__isSmartRef__":true,"id":14212},"_Extent":{"__isSmartRef__":true,"id":14213},"_Padding":{"__isSmartRef__":true,"id":14214},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":14215},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14211":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14212":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14213":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14214":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14215":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14216":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14217":{"morph":{"__isSmartRef__":true,"id":14209},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14218":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14219":{"toggle":{"__isSmartRef__":true,"id":14220},"toggleExpansion":{"__isSmartRef__":true,"id":14223}},"14220":{"varMapping":{"__isSmartRef__":true,"id":14221},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":14222},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14221":{"this":{"__isSmartRef__":true,"id":14209}},"14222":{},"14223":{"varMapping":{"__isSmartRef__":true,"id":14224},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":14225},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14224":{"this":{"__isSmartRef__":true,"id":14209}},"14225":{},"14226":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14227},"derivationIds":[null],"id":"A4DAADA8-A61F-4F07-9802-772BF83329A6","renderContextTable":{"__isSmartRef__":true,"id":14231},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":14232},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":14233},{"__isSmartRef__":true,"id":14235}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":14237},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":14208},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14238},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14227":{"_Position":{"__isSmartRef__":true,"id":14228},"renderContextTable":{"__isSmartRef__":true,"id":14229},"_Extent":{"__isSmartRef__":true,"id":14230},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14228":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14229":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14230":{"x":110,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14231":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"14232":{"morph":{"__isSmartRef__":true,"id":14226},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14233":{"style":{"__isSmartRef__":true,"id":14234},"chunkOwner":{"__isSmartRef__":true,"id":14226},"storedString":"_isRendered","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14234":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14235":{"style":{"__isSmartRef__":true,"id":14236},"chunkOwner":{"__isSmartRef__":true,"id":14226},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14236":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14237":{"x":127.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14238":{"layoutText":{"__isSmartRef__":true,"id":14239}},"14239":{"varMapping":{"__isSmartRef__":true,"id":14240},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":14241},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14240":{"this":{"__isSmartRef__":true,"id":14226}},"14241":{},"14242":{"_Position":{"__isSmartRef__":true,"id":14243},"renderContextTable":{"__isSmartRef__":true,"id":14244},"_Extent":{"__isSmartRef__":true,"id":14245},"_Padding":{"__isSmartRef__":true,"id":14246},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14243":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14244":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14245":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14246":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14247":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14248":{"morph":{"__isSmartRef__":true,"id":14208},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14249":{"resizeWidth":true},"14250":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14251":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14252":{"updateExpanderColor":{"__isSmartRef__":true,"id":14253},"onMouseDown":{"__isSmartRef__":true,"id":14256},"isRoot":{"__isSmartRef__":true,"id":14263},"displayValue":{"__isSmartRef__":true,"id":14266},"update":{"__isSmartRef__":true,"id":14269}},"14253":{"varMapping":{"__isSmartRef__":true,"id":14254},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":14255},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14254":{"this":{"__isSmartRef__":true,"id":14208}},"14255":{},"14256":{"varMapping":{"__isSmartRef__":true,"id":14257},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":14262},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14257":{"this":{"__isSmartRef__":true,"id":14208},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14258}},"14258":{"$super":{"__isSmartRef__":true,"id":14259}},"14259":{"varMapping":{"__isSmartRef__":true,"id":14260},"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":14261},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14260":{"obj":{"__isSmartRef__":true,"id":14208},"name":"onMouseDown"},"14261":{},"14262":{},"14263":{"varMapping":{"__isSmartRef__":true,"id":14264},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":14265},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14264":{"this":{"__isSmartRef__":true,"id":14208}},"14265":{},"14266":{"varMapping":{"__isSmartRef__":true,"id":14267},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":14268},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14267":{"this":{"__isSmartRef__":true,"id":14208}},"14268":{},"14269":{"varMapping":{"__isSmartRef__":true,"id":14270},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":14271},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14270":{"this":{"__isSmartRef__":true,"id":14208}},"14271":{},"14272":{"_Position":{"__isSmartRef__":true,"id":14273},"renderContextTable":{"__isSmartRef__":true,"id":14274},"_Extent":{"__isSmartRef__":true,"id":14275},"_Padding":{"__isSmartRef__":true,"id":14276},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14273":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14274":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14275":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14276":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14277":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14278":{"morph":{"__isSmartRef__":true,"id":14207},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14279":{"layouter":{"__isSmartRef__":true,"id":14280},"resizeWidth":true},"14280":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":14207},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"14281":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14282":{"x":0,"y":720,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14283":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":14284}},"14284":{"varMapping":{"__isSmartRef__":true,"id":14285},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":14290},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14285":{"this":{"__isSmartRef__":true,"id":14207},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14286}},"14286":{"$super":{"__isSmartRef__":true,"id":14287}},"14287":{"varMapping":{"__isSmartRef__":true,"id":14288},"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":14289},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14288":{"obj":{"__isSmartRef__":true,"id":14207},"name":"getLayoutableSubmorphs"},"14289":{},"14290":{},"14291":{"submorphs":[{"__isSmartRef__":true,"id":14292}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14357},"derivationIds":[null],"id":"C0B7278C-08AC-4701-812A-5447FFB97349","renderContextTable":{"__isSmartRef__":true,"id":14362},"eventHandler":{"__isSmartRef__":true,"id":14363},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":14364},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":14366},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":14367},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14368},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"14292":{"submorphs":[{"__isSmartRef__":true,"id":14293},{"__isSmartRef__":true,"id":14310}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14326},"derivationIds":[null],"id":"B1B1000A-C2F5-4472-9C24-E3F9D3464B11","renderContextTable":{"__isSmartRef__":true,"id":14331},"eventHandler":{"__isSmartRef__":true,"id":14332},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":14333},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":14334},"propertyList":["parentNode","textNode","morphNode","shapeNode"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"_renderContext","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":14293},"text":{"__isSmartRef__":true,"id":14310},"owner":{"__isSmartRef__":true,"id":14291},"_Position":{"__isSmartRef__":true,"id":14335},"priorExtent":{"__isSmartRef__":true,"id":14336},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14337},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"14293":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14294},"derivationIds":[null],"id":"9EE95BEC-5454-4393-B88E-E05B1733C59F","renderContextTable":{"__isSmartRef__":true,"id":14300},"eventHandler":{"__isSmartRef__":true,"id":14301},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":14302},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":14292},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14303},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"14294":{"_Position":{"__isSmartRef__":true,"id":14295},"renderContextTable":{"__isSmartRef__":true,"id":14296},"_Extent":{"__isSmartRef__":true,"id":14297},"_Padding":{"__isSmartRef__":true,"id":14298},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":14299},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14295":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14296":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14297":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14298":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14299":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14300":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14301":{"morph":{"__isSmartRef__":true,"id":14293},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14302":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14303":{"toggle":{"__isSmartRef__":true,"id":14304},"toggleExpansion":{"__isSmartRef__":true,"id":14307}},"14304":{"varMapping":{"__isSmartRef__":true,"id":14305},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":14306},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14305":{"this":{"__isSmartRef__":true,"id":14293}},"14306":{},"14307":{"varMapping":{"__isSmartRef__":true,"id":14308},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":14309},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14308":{"this":{"__isSmartRef__":true,"id":14293}},"14309":{},"14310":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14311},"derivationIds":[null],"id":"1DED665A-824A-4E89-990C-285CAB6057C0","renderContextTable":{"__isSmartRef__":true,"id":14315},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":14316},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":14317},{"__isSmartRef__":true,"id":14319}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":14321},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":14292},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14322},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14311":{"_Position":{"__isSmartRef__":true,"id":14312},"renderContextTable":{"__isSmartRef__":true,"id":14313},"_Extent":{"__isSmartRef__":true,"id":14314},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14312":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14313":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14314":{"x":189,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14315":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"14316":{"morph":{"__isSmartRef__":true,"id":14310},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14317":{"style":{"__isSmartRef__":true,"id":14318},"chunkOwner":{"__isSmartRef__":true,"id":14310},"storedString":"_renderContext","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14318":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14319":{"style":{"__isSmartRef__":true,"id":14320},"chunkOwner":{"__isSmartRef__":true,"id":14310},"storedString":": RenderContext","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14320":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14321":{"x":217.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14322":{"layoutText":{"__isSmartRef__":true,"id":14323}},"14323":{"varMapping":{"__isSmartRef__":true,"id":14324},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":14325},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14324":{"this":{"__isSmartRef__":true,"id":14310}},"14325":{},"14326":{"_Position":{"__isSmartRef__":true,"id":14327},"renderContextTable":{"__isSmartRef__":true,"id":14328},"_Extent":{"__isSmartRef__":true,"id":14329},"_Padding":{"__isSmartRef__":true,"id":14330},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14327":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14328":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14329":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14330":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14331":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14332":{"morph":{"__isSmartRef__":true,"id":14292},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14333":{"resizeWidth":true},"14334":{"__LivelyClassName__":"lively.morphic.HTML.RenderContext","__SourceModuleName__":"Global.lively.morphic.HTML"},"14335":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14336":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14337":{"updateExpanderColor":{"__isSmartRef__":true,"id":14338},"onMouseDown":{"__isSmartRef__":true,"id":14341},"isRoot":{"__isSmartRef__":true,"id":14348},"displayValue":{"__isSmartRef__":true,"id":14351},"update":{"__isSmartRef__":true,"id":14354}},"14338":{"varMapping":{"__isSmartRef__":true,"id":14339},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":14340},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14339":{"this":{"__isSmartRef__":true,"id":14292}},"14340":{},"14341":{"varMapping":{"__isSmartRef__":true,"id":14342},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":14347},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14342":{"this":{"__isSmartRef__":true,"id":14292},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14343}},"14343":{"$super":{"__isSmartRef__":true,"id":14344}},"14344":{"varMapping":{"__isSmartRef__":true,"id":14345},"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":14346},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14345":{"obj":{"__isSmartRef__":true,"id":14292},"name":"onMouseDown"},"14346":{},"14347":{},"14348":{"varMapping":{"__isSmartRef__":true,"id":14349},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":14350},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14349":{"this":{"__isSmartRef__":true,"id":14292}},"14350":{},"14351":{"varMapping":{"__isSmartRef__":true,"id":14352},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":14353},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14352":{"this":{"__isSmartRef__":true,"id":14292}},"14353":{},"14354":{"varMapping":{"__isSmartRef__":true,"id":14355},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":14356},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14355":{"this":{"__isSmartRef__":true,"id":14292}},"14356":{},"14357":{"_Position":{"__isSmartRef__":true,"id":14358},"renderContextTable":{"__isSmartRef__":true,"id":14359},"_Extent":{"__isSmartRef__":true,"id":14360},"_Padding":{"__isSmartRef__":true,"id":14361},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14358":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14359":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14360":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14361":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14362":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14363":{"morph":{"__isSmartRef__":true,"id":14291},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14364":{"layouter":{"__isSmartRef__":true,"id":14365},"resizeWidth":true},"14365":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":14291},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"14366":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14367":{"x":0,"y":700,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14368":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":14369}},"14369":{"varMapping":{"__isSmartRef__":true,"id":14370},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":14375},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14370":{"this":{"__isSmartRef__":true,"id":14291},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14371}},"14371":{"$super":{"__isSmartRef__":true,"id":14372}},"14372":{"varMapping":{"__isSmartRef__":true,"id":14373},"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":14374},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14373":{"obj":{"__isSmartRef__":true,"id":14291},"name":"getLayoutableSubmorphs"},"14374":{},"14375":{},"14376":{"submorphs":[{"__isSmartRef__":true,"id":14377}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14441},"derivationIds":[null],"id":"008FEC9D-E220-46BF-AD15-A767FFD4DC22","renderContextTable":{"__isSmartRef__":true,"id":14446},"eventHandler":{"__isSmartRef__":true,"id":14447},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":14448},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":14450},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":14451},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14452},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"14377":{"submorphs":[{"__isSmartRef__":true,"id":14378},{"__isSmartRef__":true,"id":14395}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14411},"derivationIds":[null],"id":"C19A6206-0195-45E2-98E4-40B64766EE18","renderContextTable":{"__isSmartRef__":true,"id":14416},"eventHandler":{"__isSmartRef__":true,"id":14417},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":14418},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"allowsInput","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":14378},"text":{"__isSmartRef__":true,"id":14395},"owner":{"__isSmartRef__":true,"id":14376},"_Position":{"__isSmartRef__":true,"id":14419},"priorExtent":{"__isSmartRef__":true,"id":14420},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14421},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"14378":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14379},"derivationIds":[null],"id":"F8B0FAA3-D948-4017-A4C7-AB4CBB24FDA6","renderContextTable":{"__isSmartRef__":true,"id":14385},"eventHandler":{"__isSmartRef__":true,"id":14386},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":14387},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":14377},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14388},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"14379":{"_Position":{"__isSmartRef__":true,"id":14380},"renderContextTable":{"__isSmartRef__":true,"id":14381},"_Extent":{"__isSmartRef__":true,"id":14382},"_Padding":{"__isSmartRef__":true,"id":14383},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":14384},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14380":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14381":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14382":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14383":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14384":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14385":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14386":{"morph":{"__isSmartRef__":true,"id":14378},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14387":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14388":{"toggle":{"__isSmartRef__":true,"id":14389},"toggleExpansion":{"__isSmartRef__":true,"id":14392}},"14389":{"varMapping":{"__isSmartRef__":true,"id":14390},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":14391},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14390":{"this":{"__isSmartRef__":true,"id":14378}},"14391":{},"14392":{"varMapping":{"__isSmartRef__":true,"id":14393},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":14394},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14393":{"this":{"__isSmartRef__":true,"id":14378}},"14394":{},"14395":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14396},"derivationIds":[null],"id":"FC9E3FF7-B642-4535-89EE-F9506385F25A","renderContextTable":{"__isSmartRef__":true,"id":14400},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":14401},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":14402},{"__isSmartRef__":true,"id":14404}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":14406},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":14377},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14407},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14396":{"_Position":{"__isSmartRef__":true,"id":14397},"renderContextTable":{"__isSmartRef__":true,"id":14398},"_Extent":{"__isSmartRef__":true,"id":14399},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14397":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14398":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14399":{"x":102,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14400":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"14401":{"morph":{"__isSmartRef__":true,"id":14395},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14402":{"style":{"__isSmartRef__":true,"id":14403},"chunkOwner":{"__isSmartRef__":true,"id":14395},"storedString":"allowsInput","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14403":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14404":{"style":{"__isSmartRef__":true,"id":14405},"chunkOwner":{"__isSmartRef__":true,"id":14395},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14405":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14406":{"x":127.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14407":{"layoutText":{"__isSmartRef__":true,"id":14408}},"14408":{"varMapping":{"__isSmartRef__":true,"id":14409},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":14410},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14409":{"this":{"__isSmartRef__":true,"id":14395}},"14410":{},"14411":{"_Position":{"__isSmartRef__":true,"id":14412},"renderContextTable":{"__isSmartRef__":true,"id":14413},"_Extent":{"__isSmartRef__":true,"id":14414},"_Padding":{"__isSmartRef__":true,"id":14415},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14412":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14413":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14414":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14415":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14416":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14417":{"morph":{"__isSmartRef__":true,"id":14377},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14418":{"resizeWidth":true},"14419":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14420":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14421":{"updateExpanderColor":{"__isSmartRef__":true,"id":14422},"onMouseDown":{"__isSmartRef__":true,"id":14425},"isRoot":{"__isSmartRef__":true,"id":14432},"displayValue":{"__isSmartRef__":true,"id":14435},"update":{"__isSmartRef__":true,"id":14438}},"14422":{"varMapping":{"__isSmartRef__":true,"id":14423},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":14424},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14423":{"this":{"__isSmartRef__":true,"id":14377}},"14424":{},"14425":{"varMapping":{"__isSmartRef__":true,"id":14426},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":14431},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14426":{"this":{"__isSmartRef__":true,"id":14377},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14427}},"14427":{"$super":{"__isSmartRef__":true,"id":14428}},"14428":{"varMapping":{"__isSmartRef__":true,"id":14429},"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":14430},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14429":{"obj":{"__isSmartRef__":true,"id":14377},"name":"onMouseDown"},"14430":{},"14431":{},"14432":{"varMapping":{"__isSmartRef__":true,"id":14433},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":14434},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14433":{"this":{"__isSmartRef__":true,"id":14377}},"14434":{},"14435":{"varMapping":{"__isSmartRef__":true,"id":14436},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":14437},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14436":{"this":{"__isSmartRef__":true,"id":14377}},"14437":{},"14438":{"varMapping":{"__isSmartRef__":true,"id":14439},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":14440},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14439":{"this":{"__isSmartRef__":true,"id":14377}},"14440":{},"14441":{"_Position":{"__isSmartRef__":true,"id":14442},"renderContextTable":{"__isSmartRef__":true,"id":14443},"_Extent":{"__isSmartRef__":true,"id":14444},"_Padding":{"__isSmartRef__":true,"id":14445},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14442":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14443":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14444":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14445":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14446":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14447":{"morph":{"__isSmartRef__":true,"id":14376},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14448":{"layouter":{"__isSmartRef__":true,"id":14449},"resizeWidth":true},"14449":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":14376},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"14450":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14451":{"x":0,"y":680,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14452":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":14453}},"14453":{"varMapping":{"__isSmartRef__":true,"id":14454},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":14459},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14454":{"this":{"__isSmartRef__":true,"id":14376},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14455}},"14455":{"$super":{"__isSmartRef__":true,"id":14456}},"14456":{"varMapping":{"__isSmartRef__":true,"id":14457},"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":14458},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14457":{"obj":{"__isSmartRef__":true,"id":14376},"name":"getLayoutableSubmorphs"},"14458":{},"14459":{},"14460":{"submorphs":[{"__isSmartRef__":true,"id":14461}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14525},"derivationIds":[null],"id":"F80D86B4-521F-449D-8181-981C1776116F","renderContextTable":{"__isSmartRef__":true,"id":14530},"eventHandler":{"__isSmartRef__":true,"id":14531},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":14532},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":14534},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":14535},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14536},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"14461":{"submorphs":[{"__isSmartRef__":true,"id":14462},{"__isSmartRef__":true,"id":14479}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14495},"derivationIds":[null],"id":"E37DC714-3F88-4539-97A7-E7D1C659C353","renderContextTable":{"__isSmartRef__":true,"id":14500},"eventHandler":{"__isSmartRef__":true,"id":14501},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":14502},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"attributeConnections","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":14462},"text":{"__isSmartRef__":true,"id":14479},"owner":{"__isSmartRef__":true,"id":14460},"_Position":{"__isSmartRef__":true,"id":14503},"priorExtent":{"__isSmartRef__":true,"id":14504},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14505},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"14462":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14463},"derivationIds":[null],"id":"BD502B71-29C6-4FC0-9EBF-7677C4CE8EA1","renderContextTable":{"__isSmartRef__":true,"id":14469},"eventHandler":{"__isSmartRef__":true,"id":14470},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":14471},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":14461},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14472},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"14463":{"_Position":{"__isSmartRef__":true,"id":14464},"renderContextTable":{"__isSmartRef__":true,"id":14465},"_Extent":{"__isSmartRef__":true,"id":14466},"_Padding":{"__isSmartRef__":true,"id":14467},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":14468},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14464":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14465":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14466":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14467":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14468":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14469":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14470":{"morph":{"__isSmartRef__":true,"id":14462},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14471":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14472":{"toggle":{"__isSmartRef__":true,"id":14473},"toggleExpansion":{"__isSmartRef__":true,"id":14476}},"14473":{"varMapping":{"__isSmartRef__":true,"id":14474},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":14475},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14474":{"this":{"__isSmartRef__":true,"id":14462}},"14475":{},"14476":{"varMapping":{"__isSmartRef__":true,"id":14477},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":14478},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14477":{"this":{"__isSmartRef__":true,"id":14462}},"14478":{},"14479":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14480},"derivationIds":[null],"id":"E7DF8446-FF40-41F3-977D-802A8DE5FA54","renderContextTable":{"__isSmartRef__":true,"id":14484},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":14485},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":14486},{"__isSmartRef__":true,"id":14488}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":14490},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":14461},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14491},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14480":{"_Position":{"__isSmartRef__":true,"id":14481},"renderContextTable":{"__isSmartRef__":true,"id":14482},"_Extent":{"__isSmartRef__":true,"id":14483},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14481":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14482":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14483":{"x":143,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14484":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"14485":{"morph":{"__isSmartRef__":true,"id":14479},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14486":{"style":{"__isSmartRef__":true,"id":14487},"chunkOwner":{"__isSmartRef__":true,"id":14479},"storedString":"attributeConnections","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14487":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14488":{"style":{"__isSmartRef__":true,"id":14489},"chunkOwner":{"__isSmartRef__":true,"id":14479},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14489":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14490":{"x":180,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14491":{"layoutText":{"__isSmartRef__":true,"id":14492}},"14492":{"varMapping":{"__isSmartRef__":true,"id":14493},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":14494},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14493":{"this":{"__isSmartRef__":true,"id":14479}},"14494":{},"14495":{"_Position":{"__isSmartRef__":true,"id":14496},"renderContextTable":{"__isSmartRef__":true,"id":14497},"_Extent":{"__isSmartRef__":true,"id":14498},"_Padding":{"__isSmartRef__":true,"id":14499},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14496":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14497":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14498":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14499":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14500":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14501":{"morph":{"__isSmartRef__":true,"id":14461},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14502":{"resizeWidth":true},"14503":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14504":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14505":{"updateExpanderColor":{"__isSmartRef__":true,"id":14506},"onMouseDown":{"__isSmartRef__":true,"id":14509},"isRoot":{"__isSmartRef__":true,"id":14516},"displayValue":{"__isSmartRef__":true,"id":14519},"update":{"__isSmartRef__":true,"id":14522}},"14506":{"varMapping":{"__isSmartRef__":true,"id":14507},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":14508},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14507":{"this":{"__isSmartRef__":true,"id":14461}},"14508":{},"14509":{"varMapping":{"__isSmartRef__":true,"id":14510},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":14515},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14510":{"this":{"__isSmartRef__":true,"id":14461},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14511}},"14511":{"$super":{"__isSmartRef__":true,"id":14512}},"14512":{"varMapping":{"__isSmartRef__":true,"id":14513},"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":14514},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14513":{"obj":{"__isSmartRef__":true,"id":14461},"name":"onMouseDown"},"14514":{},"14515":{},"14516":{"varMapping":{"__isSmartRef__":true,"id":14517},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":14518},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14517":{"this":{"__isSmartRef__":true,"id":14461}},"14518":{},"14519":{"varMapping":{"__isSmartRef__":true,"id":14520},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":14521},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14520":{"this":{"__isSmartRef__":true,"id":14461}},"14521":{},"14522":{"varMapping":{"__isSmartRef__":true,"id":14523},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":14524},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14523":{"this":{"__isSmartRef__":true,"id":14461}},"14524":{},"14525":{"_Position":{"__isSmartRef__":true,"id":14526},"renderContextTable":{"__isSmartRef__":true,"id":14527},"_Extent":{"__isSmartRef__":true,"id":14528},"_Padding":{"__isSmartRef__":true,"id":14529},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14526":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14527":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14528":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14529":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14530":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14531":{"morph":{"__isSmartRef__":true,"id":14460},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14532":{"layouter":{"__isSmartRef__":true,"id":14533},"resizeWidth":true},"14533":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":14460},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"14534":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14535":{"x":0,"y":660,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14536":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":14537}},"14537":{"varMapping":{"__isSmartRef__":true,"id":14538},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":14543},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14538":{"this":{"__isSmartRef__":true,"id":14460},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14539}},"14539":{"$super":{"__isSmartRef__":true,"id":14540}},"14540":{"varMapping":{"__isSmartRef__":true,"id":14541},"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":14542},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14541":{"obj":{"__isSmartRef__":true,"id":14460},"name":"getLayoutableSubmorphs"},"14542":{},"14543":{},"14544":{"submorphs":[{"__isSmartRef__":true,"id":14545}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14609},"derivationIds":[null],"id":"FEA445D7-50A4-4193-97D9-A6521CA9AC8A","renderContextTable":{"__isSmartRef__":true,"id":14614},"eventHandler":{"__isSmartRef__":true,"id":14615},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":14616},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":14618},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":14619},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14620},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"14545":{"submorphs":[{"__isSmartRef__":true,"id":14546},{"__isSmartRef__":true,"id":14563}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14579},"derivationIds":[null],"id":"40E44D21-EA43-48F0-9F8E-D2F028E69816","renderContextTable":{"__isSmartRef__":true,"id":14584},"eventHandler":{"__isSmartRef__":true,"id":14585},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":14586},"grabbingEnabled":false,"draggingEnabled":false,"data":"another very long sentence, with a question mark, too, so you can remember","propertyList":["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59","60","61","62","63","64","65","66","67","68","69","70","71","72","73"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"cachedTextString","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":14546},"text":{"__isSmartRef__":true,"id":14563},"owner":{"__isSmartRef__":true,"id":14544},"_Position":{"__isSmartRef__":true,"id":14587},"priorExtent":{"__isSmartRef__":true,"id":14588},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14589},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"14546":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14547},"derivationIds":[null],"id":"9D1F5757-F875-4B3D-B53E-14B8AF30DDC6","renderContextTable":{"__isSmartRef__":true,"id":14553},"eventHandler":{"__isSmartRef__":true,"id":14554},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":14555},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":14545},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14556},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"14547":{"_Position":{"__isSmartRef__":true,"id":14548},"renderContextTable":{"__isSmartRef__":true,"id":14549},"_Extent":{"__isSmartRef__":true,"id":14550},"_Padding":{"__isSmartRef__":true,"id":14551},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":14552},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14548":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14549":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14550":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14551":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14552":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14553":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14554":{"morph":{"__isSmartRef__":true,"id":14546},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14555":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14556":{"toggle":{"__isSmartRef__":true,"id":14557},"toggleExpansion":{"__isSmartRef__":true,"id":14560}},"14557":{"varMapping":{"__isSmartRef__":true,"id":14558},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":14559},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14558":{"this":{"__isSmartRef__":true,"id":14546}},"14559":{},"14560":{"varMapping":{"__isSmartRef__":true,"id":14561},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":14562},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14561":{"this":{"__isSmartRef__":true,"id":14546}},"14562":{},"14563":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14564},"derivationIds":[null],"id":"FB745261-827C-48E1-8EAE-31A1492DF930","renderContextTable":{"__isSmartRef__":true,"id":14568},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":14569},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":14570},{"__isSmartRef__":true,"id":14572}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":14574},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":14545},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14575},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14564":{"_Position":{"__isSmartRef__":true,"id":14565},"renderContextTable":{"__isSmartRef__":true,"id":14566},"_Extent":{"__isSmartRef__":true,"id":14567},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14565":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14566":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14567":{"x":560,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14568":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"14569":{"morph":{"__isSmartRef__":true,"id":14563},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14570":{"style":{"__isSmartRef__":true,"id":14571},"chunkOwner":{"__isSmartRef__":true,"id":14563},"storedString":"cachedTextString","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14571":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14572":{"style":{"__isSmartRef__":true,"id":14573},"chunkOwner":{"__isSmartRef__":true,"id":14563},"storedString":": another very long sentence, with a question mark, too, so you can remember","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14573":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14574":{"x":690,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14575":{"layoutText":{"__isSmartRef__":true,"id":14576}},"14576":{"varMapping":{"__isSmartRef__":true,"id":14577},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":14578},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14577":{"this":{"__isSmartRef__":true,"id":14563}},"14578":{},"14579":{"_Position":{"__isSmartRef__":true,"id":14580},"renderContextTable":{"__isSmartRef__":true,"id":14581},"_Extent":{"__isSmartRef__":true,"id":14582},"_Padding":{"__isSmartRef__":true,"id":14583},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14580":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14581":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14582":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14583":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14584":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14585":{"morph":{"__isSmartRef__":true,"id":14545},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14586":{"resizeWidth":true},"14587":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14588":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14589":{"updateExpanderColor":{"__isSmartRef__":true,"id":14590},"onMouseDown":{"__isSmartRef__":true,"id":14593},"isRoot":{"__isSmartRef__":true,"id":14600},"displayValue":{"__isSmartRef__":true,"id":14603},"update":{"__isSmartRef__":true,"id":14606}},"14590":{"varMapping":{"__isSmartRef__":true,"id":14591},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":14592},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14591":{"this":{"__isSmartRef__":true,"id":14545}},"14592":{},"14593":{"varMapping":{"__isSmartRef__":true,"id":14594},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":14599},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14594":{"this":{"__isSmartRef__":true,"id":14545},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14595}},"14595":{"$super":{"__isSmartRef__":true,"id":14596}},"14596":{"varMapping":{"__isSmartRef__":true,"id":14597},"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":14598},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14597":{"obj":{"__isSmartRef__":true,"id":14545},"name":"onMouseDown"},"14598":{},"14599":{},"14600":{"varMapping":{"__isSmartRef__":true,"id":14601},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":14602},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14601":{"this":{"__isSmartRef__":true,"id":14545}},"14602":{},"14603":{"varMapping":{"__isSmartRef__":true,"id":14604},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":14605},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14604":{"this":{"__isSmartRef__":true,"id":14545}},"14605":{},"14606":{"varMapping":{"__isSmartRef__":true,"id":14607},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":14608},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14607":{"this":{"__isSmartRef__":true,"id":14545}},"14608":{},"14609":{"_Position":{"__isSmartRef__":true,"id":14610},"renderContextTable":{"__isSmartRef__":true,"id":14611},"_Extent":{"__isSmartRef__":true,"id":14612},"_Padding":{"__isSmartRef__":true,"id":14613},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14610":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14611":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14612":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14613":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14614":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14615":{"morph":{"__isSmartRef__":true,"id":14544},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14616":{"layouter":{"__isSmartRef__":true,"id":14617},"resizeWidth":true},"14617":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":14544},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"14618":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14619":{"x":0,"y":640,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14620":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":14621}},"14621":{"varMapping":{"__isSmartRef__":true,"id":14622},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":14627},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14622":{"this":{"__isSmartRef__":true,"id":14544},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14623}},"14623":{"$super":{"__isSmartRef__":true,"id":14624}},"14624":{"varMapping":{"__isSmartRef__":true,"id":14625},"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":14626},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14625":{"obj":{"__isSmartRef__":true,"id":14544},"name":"getLayoutableSubmorphs"},"14626":{},"14627":{},"14628":{"submorphs":[{"__isSmartRef__":true,"id":14629}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14693},"derivationIds":[null],"id":"96028B68-9519-48C1-9444-F8E389C10302","renderContextTable":{"__isSmartRef__":true,"id":14698},"eventHandler":{"__isSmartRef__":true,"id":14699},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":14700},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":14702},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":14703},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14704},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"14629":{"submorphs":[{"__isSmartRef__":true,"id":14630},{"__isSmartRef__":true,"id":14647}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14663},"derivationIds":[null],"id":"193C0F6A-7BE5-45BB-99F2-5FE2607AB68A","renderContextTable":{"__isSmartRef__":true,"id":14668},"eventHandler":{"__isSmartRef__":true,"id":14669},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":14670},"grabbingEnabled":false,"draggingEnabled":false,"data":"s","propertyList":["0"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"charsReplaced","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":14630},"text":{"__isSmartRef__":true,"id":14647},"owner":{"__isSmartRef__":true,"id":14628},"_Position":{"__isSmartRef__":true,"id":14671},"priorExtent":{"__isSmartRef__":true,"id":14672},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14673},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"14630":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14631},"derivationIds":[null],"id":"89C7A64D-2245-450A-A196-8D3822986868","renderContextTable":{"__isSmartRef__":true,"id":14637},"eventHandler":{"__isSmartRef__":true,"id":14638},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":14639},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":14629},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14640},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"14631":{"_Position":{"__isSmartRef__":true,"id":14632},"renderContextTable":{"__isSmartRef__":true,"id":14633},"_Extent":{"__isSmartRef__":true,"id":14634},"_Padding":{"__isSmartRef__":true,"id":14635},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":14636},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14632":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14633":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14634":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14635":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14636":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14637":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14638":{"morph":{"__isSmartRef__":true,"id":14630},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14639":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14640":{"toggle":{"__isSmartRef__":true,"id":14641},"toggleExpansion":{"__isSmartRef__":true,"id":14644}},"14641":{"varMapping":{"__isSmartRef__":true,"id":14642},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":14643},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14642":{"this":{"__isSmartRef__":true,"id":14630}},"14643":{},"14644":{"varMapping":{"__isSmartRef__":true,"id":14645},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":14646},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14645":{"this":{"__isSmartRef__":true,"id":14630}},"14646":{},"14647":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14648},"derivationIds":[null],"id":"4D9EEE77-990E-4AEE-87E6-F5AA493B51AD","renderContextTable":{"__isSmartRef__":true,"id":14652},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":14653},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":14654},{"__isSmartRef__":true,"id":14656}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":14658},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":14629},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14659},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14648":{"_Position":{"__isSmartRef__":true,"id":14649},"renderContextTable":{"__isSmartRef__":true,"id":14650},"_Extent":{"__isSmartRef__":true,"id":14651},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14649":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14650":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14651":{"x":109,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14652":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"14653":{"morph":{"__isSmartRef__":true,"id":14647},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14654":{"style":{"__isSmartRef__":true,"id":14655},"chunkOwner":{"__isSmartRef__":true,"id":14647},"storedString":"charsReplaced","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14655":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14656":{"style":{"__isSmartRef__":true,"id":14657},"chunkOwner":{"__isSmartRef__":true,"id":14647},"storedString":": s","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14657":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14658":{"x":120,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14659":{"layoutText":{"__isSmartRef__":true,"id":14660}},"14660":{"varMapping":{"__isSmartRef__":true,"id":14661},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":14662},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14661":{"this":{"__isSmartRef__":true,"id":14647}},"14662":{},"14663":{"_Position":{"__isSmartRef__":true,"id":14664},"renderContextTable":{"__isSmartRef__":true,"id":14665},"_Extent":{"__isSmartRef__":true,"id":14666},"_Padding":{"__isSmartRef__":true,"id":14667},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14664":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14665":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14666":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14667":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14668":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14669":{"morph":{"__isSmartRef__":true,"id":14629},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14670":{"resizeWidth":true},"14671":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14672":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14673":{"updateExpanderColor":{"__isSmartRef__":true,"id":14674},"onMouseDown":{"__isSmartRef__":true,"id":14677},"isRoot":{"__isSmartRef__":true,"id":14684},"displayValue":{"__isSmartRef__":true,"id":14687},"update":{"__isSmartRef__":true,"id":14690}},"14674":{"varMapping":{"__isSmartRef__":true,"id":14675},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":14676},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14675":{"this":{"__isSmartRef__":true,"id":14629}},"14676":{},"14677":{"varMapping":{"__isSmartRef__":true,"id":14678},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":14683},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14678":{"this":{"__isSmartRef__":true,"id":14629},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14679}},"14679":{"$super":{"__isSmartRef__":true,"id":14680}},"14680":{"varMapping":{"__isSmartRef__":true,"id":14681},"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":14682},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14681":{"obj":{"__isSmartRef__":true,"id":14629},"name":"onMouseDown"},"14682":{},"14683":{},"14684":{"varMapping":{"__isSmartRef__":true,"id":14685},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":14686},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14685":{"this":{"__isSmartRef__":true,"id":14629}},"14686":{},"14687":{"varMapping":{"__isSmartRef__":true,"id":14688},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":14689},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14688":{"this":{"__isSmartRef__":true,"id":14629}},"14689":{},"14690":{"varMapping":{"__isSmartRef__":true,"id":14691},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":14692},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14691":{"this":{"__isSmartRef__":true,"id":14629}},"14692":{},"14693":{"_Position":{"__isSmartRef__":true,"id":14694},"renderContextTable":{"__isSmartRef__":true,"id":14695},"_Extent":{"__isSmartRef__":true,"id":14696},"_Padding":{"__isSmartRef__":true,"id":14697},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14694":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14695":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14696":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14697":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14698":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14699":{"morph":{"__isSmartRef__":true,"id":14628},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14700":{"layouter":{"__isSmartRef__":true,"id":14701},"resizeWidth":true},"14701":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":14628},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"14702":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14703":{"x":0,"y":620,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14704":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":14705}},"14705":{"varMapping":{"__isSmartRef__":true,"id":14706},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":14711},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14706":{"this":{"__isSmartRef__":true,"id":14628},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14707}},"14707":{"$super":{"__isSmartRef__":true,"id":14708}},"14708":{"varMapping":{"__isSmartRef__":true,"id":14709},"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":14710},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14709":{"obj":{"__isSmartRef__":true,"id":14628},"name":"getLayoutableSubmorphs"},"14710":{},"14711":{},"14712":{"submorphs":[{"__isSmartRef__":true,"id":14713}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14777},"derivationIds":[null],"id":"04E73DAC-BA66-443F-9127-A843274C8DB0","renderContextTable":{"__isSmartRef__":true,"id":14782},"eventHandler":{"__isSmartRef__":true,"id":14783},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":14784},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":14786},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":14787},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14788},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"14713":{"submorphs":[{"__isSmartRef__":true,"id":14714},{"__isSmartRef__":true,"id":14731}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14747},"derivationIds":[null],"id":"827DEC21-B31D-4825-B11F-2C8533E542F9","renderContextTable":{"__isSmartRef__":true,"id":14752},"eventHandler":{"__isSmartRef__":true,"id":14753},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":14754},"grabbingEnabled":false,"draggingEnabled":false,"data":"sss","propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"charsTyped","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":14714},"text":{"__isSmartRef__":true,"id":14731},"owner":{"__isSmartRef__":true,"id":14712},"_Position":{"__isSmartRef__":true,"id":14755},"priorExtent":{"__isSmartRef__":true,"id":14756},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14757},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"14714":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14715},"derivationIds":[null],"id":"0F5DE01F-13F6-4397-AAD1-1AC24AED8F69","renderContextTable":{"__isSmartRef__":true,"id":14721},"eventHandler":{"__isSmartRef__":true,"id":14722},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":14723},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":14713},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14724},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"14715":{"_Position":{"__isSmartRef__":true,"id":14716},"renderContextTable":{"__isSmartRef__":true,"id":14717},"_Extent":{"__isSmartRef__":true,"id":14718},"_Padding":{"__isSmartRef__":true,"id":14719},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":14720},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14716":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14717":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14718":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14719":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14720":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14721":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14722":{"morph":{"__isSmartRef__":true,"id":14714},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14723":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14724":{"toggle":{"__isSmartRef__":true,"id":14725},"toggleExpansion":{"__isSmartRef__":true,"id":14728}},"14725":{"varMapping":{"__isSmartRef__":true,"id":14726},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":14727},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14726":{"this":{"__isSmartRef__":true,"id":14714}},"14727":{},"14728":{"varMapping":{"__isSmartRef__":true,"id":14729},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":14730},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14729":{"this":{"__isSmartRef__":true,"id":14714}},"14730":{},"14731":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14732},"derivationIds":[null],"id":"49CA3441-A017-4F64-85F0-4D779F977F31","renderContextTable":{"__isSmartRef__":true,"id":14736},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":14737},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":14738},{"__isSmartRef__":true,"id":14740}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":14742},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":14713},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14743},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14732":{"_Position":{"__isSmartRef__":true,"id":14733},"renderContextTable":{"__isSmartRef__":true,"id":14734},"_Extent":{"__isSmartRef__":true,"id":14735},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14733":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14734":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14735":{"x":112.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14736":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"14737":{"morph":{"__isSmartRef__":true,"id":14731},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14738":{"style":{"__isSmartRef__":true,"id":14739},"chunkOwner":{"__isSmartRef__":true,"id":14731},"storedString":"charsTyped","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14739":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14740":{"style":{"__isSmartRef__":true,"id":14741},"chunkOwner":{"__isSmartRef__":true,"id":14731},"storedString":": sss","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14741":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14742":{"x":105,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14743":{"layoutText":{"__isSmartRef__":true,"id":14744}},"14744":{"varMapping":{"__isSmartRef__":true,"id":14745},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":14746},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14745":{"this":{"__isSmartRef__":true,"id":14731}},"14746":{},"14747":{"_Position":{"__isSmartRef__":true,"id":14748},"renderContextTable":{"__isSmartRef__":true,"id":14749},"_Extent":{"__isSmartRef__":true,"id":14750},"_Padding":{"__isSmartRef__":true,"id":14751},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14748":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14749":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14750":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14751":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14752":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14753":{"morph":{"__isSmartRef__":true,"id":14713},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14754":{"resizeWidth":true},"14755":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14756":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14757":{"updateExpanderColor":{"__isSmartRef__":true,"id":14758},"onMouseDown":{"__isSmartRef__":true,"id":14761},"isRoot":{"__isSmartRef__":true,"id":14768},"displayValue":{"__isSmartRef__":true,"id":14771},"update":{"__isSmartRef__":true,"id":14774}},"14758":{"varMapping":{"__isSmartRef__":true,"id":14759},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":14760},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14759":{"this":{"__isSmartRef__":true,"id":14713}},"14760":{},"14761":{"varMapping":{"__isSmartRef__":true,"id":14762},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":14767},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14762":{"this":{"__isSmartRef__":true,"id":14713},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14763}},"14763":{"$super":{"__isSmartRef__":true,"id":14764}},"14764":{"varMapping":{"__isSmartRef__":true,"id":14765},"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":14766},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14765":{"obj":{"__isSmartRef__":true,"id":14713},"name":"onMouseDown"},"14766":{},"14767":{},"14768":{"varMapping":{"__isSmartRef__":true,"id":14769},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":14770},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14769":{"this":{"__isSmartRef__":true,"id":14713}},"14770":{},"14771":{"varMapping":{"__isSmartRef__":true,"id":14772},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":14773},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14772":{"this":{"__isSmartRef__":true,"id":14713}},"14773":{},"14774":{"varMapping":{"__isSmartRef__":true,"id":14775},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":14776},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14775":{"this":{"__isSmartRef__":true,"id":14713}},"14776":{},"14777":{"_Position":{"__isSmartRef__":true,"id":14778},"renderContextTable":{"__isSmartRef__":true,"id":14779},"_Extent":{"__isSmartRef__":true,"id":14780},"_Padding":{"__isSmartRef__":true,"id":14781},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14778":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14779":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14780":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14781":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14782":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14783":{"morph":{"__isSmartRef__":true,"id":14712},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14784":{"layouter":{"__isSmartRef__":true,"id":14785},"resizeWidth":true},"14785":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":14712},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"14786":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14787":{"x":0,"y":600,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14788":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":14789}},"14789":{"varMapping":{"__isSmartRef__":true,"id":14790},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":14795},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14790":{"this":{"__isSmartRef__":true,"id":14712},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14791}},"14791":{"$super":{"__isSmartRef__":true,"id":14792}},"14792":{"varMapping":{"__isSmartRef__":true,"id":14793},"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":14794},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14793":{"obj":{"__isSmartRef__":true,"id":14712},"name":"getLayoutableSubmorphs"},"14794":{},"14795":{},"14796":{"submorphs":[{"__isSmartRef__":true,"id":14797}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14861},"derivationIds":[null],"id":"B977D141-AD33-4F2D-8CBC-A876DFFC7A19","renderContextTable":{"__isSmartRef__":true,"id":14866},"eventHandler":{"__isSmartRef__":true,"id":14867},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":14868},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":14870},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":14871},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14872},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"14797":{"submorphs":[{"__isSmartRef__":true,"id":14798},{"__isSmartRef__":true,"id":14815}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14831},"derivationIds":[null],"id":"1D051E17-DA75-40CC-9866-F13C7B5D78DD","renderContextTable":{"__isSmartRef__":true,"id":14836},"eventHandler":{"__isSmartRef__":true,"id":14837},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":14838},"grabbingEnabled":false,"draggingEnabled":false,"data":[355,"22ECB8AE-0B8B-48BE-B3F3-49A4E466081E","3BE478F2-0096-46B5-86B2-6E684B964099","33197E27-2287-4038-ADB6-8821407CA6BB","5C8F4C86-D4D2-434E-A10B-935F98CB2048","65CB19B8-1C21-4964-BE75-112332487E61","A818083A-17F7-468B-80DE-E52DBE4B9739","AE3F7F20-1847-4DB2-B69F-F98A6E3F5B52","2DAD8790-4DA3-43AD-96BD-2C9446C6307E","3578245B-D8E8-430D-8222-FC95BF5A320E","5CEFD686-A401-42A9-9B18-AF536AF6AC31","8DB3E8AD-339C-4FCE-BADE-8EA3929B88D6","3B9E57D4-B753-47E1-9887-6B4709C71CB5","002EECC7-F9ED-4055-BD71-209AE18F76DE","61149D09-440D-4F62-B80A-F248D258826C","B3DA19B7-D650-484E-B624-F4F1F536EF82"],"propertyList":["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"derivationIds","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":14798},"text":{"__isSmartRef__":true,"id":14815},"owner":{"__isSmartRef__":true,"id":14796},"_Position":{"__isSmartRef__":true,"id":14839},"priorExtent":{"__isSmartRef__":true,"id":14840},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14841},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"14798":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14799},"derivationIds":[null],"id":"4AECD9A7-54FC-48E4-9FD1-84242DF6774E","renderContextTable":{"__isSmartRef__":true,"id":14805},"eventHandler":{"__isSmartRef__":true,"id":14806},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":14807},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":14797},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14808},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"14799":{"_Position":{"__isSmartRef__":true,"id":14800},"renderContextTable":{"__isSmartRef__":true,"id":14801},"_Extent":{"__isSmartRef__":true,"id":14802},"_Padding":{"__isSmartRef__":true,"id":14803},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":14804},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14800":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14801":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14802":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14803":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14804":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14805":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14806":{"morph":{"__isSmartRef__":true,"id":14798},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14807":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14808":{"toggle":{"__isSmartRef__":true,"id":14809},"toggleExpansion":{"__isSmartRef__":true,"id":14812}},"14809":{"varMapping":{"__isSmartRef__":true,"id":14810},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":14811},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14810":{"this":{"__isSmartRef__":true,"id":14798}},"14811":{},"14812":{"varMapping":{"__isSmartRef__":true,"id":14813},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":14814},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14813":{"this":{"__isSmartRef__":true,"id":14798}},"14814":{},"14815":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14816},"derivationIds":[null],"id":"59B024D1-A94A-4595-A91B-6642216DF619","renderContextTable":{"__isSmartRef__":true,"id":14820},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":14821},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":14822},{"__isSmartRef__":true,"id":14824}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":14826},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":14797},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14827},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14816":{"_Position":{"__isSmartRef__":true,"id":14817},"renderContextTable":{"__isSmartRef__":true,"id":14818},"_Extent":{"__isSmartRef__":true,"id":14819},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14817":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14818":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14819":{"x":107,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14820":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"14821":{"morph":{"__isSmartRef__":true,"id":14815},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14822":{"style":{"__isSmartRef__":true,"id":14823},"chunkOwner":{"__isSmartRef__":true,"id":14815},"storedString":"derivationIds","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14823":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14824":{"style":{"__isSmartRef__":true,"id":14825},"chunkOwner":{"__isSmartRef__":true,"id":14815},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14825":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14826":{"x":150,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14827":{"layoutText":{"__isSmartRef__":true,"id":14828}},"14828":{"varMapping":{"__isSmartRef__":true,"id":14829},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":14830},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14829":{"this":{"__isSmartRef__":true,"id":14815}},"14830":{},"14831":{"_Position":{"__isSmartRef__":true,"id":14832},"renderContextTable":{"__isSmartRef__":true,"id":14833},"_Extent":{"__isSmartRef__":true,"id":14834},"_Padding":{"__isSmartRef__":true,"id":14835},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14832":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14833":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14834":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14835":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14836":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14837":{"morph":{"__isSmartRef__":true,"id":14797},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14838":{"resizeWidth":true},"14839":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14840":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14841":{"updateExpanderColor":{"__isSmartRef__":true,"id":14842},"onMouseDown":{"__isSmartRef__":true,"id":14845},"isRoot":{"__isSmartRef__":true,"id":14852},"displayValue":{"__isSmartRef__":true,"id":14855},"update":{"__isSmartRef__":true,"id":14858}},"14842":{"varMapping":{"__isSmartRef__":true,"id":14843},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":14844},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14843":{"this":{"__isSmartRef__":true,"id":14797}},"14844":{},"14845":{"varMapping":{"__isSmartRef__":true,"id":14846},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":14851},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14846":{"this":{"__isSmartRef__":true,"id":14797},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14847}},"14847":{"$super":{"__isSmartRef__":true,"id":14848}},"14848":{"varMapping":{"__isSmartRef__":true,"id":14849},"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":14850},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14849":{"obj":{"__isSmartRef__":true,"id":14797},"name":"onMouseDown"},"14850":{},"14851":{},"14852":{"varMapping":{"__isSmartRef__":true,"id":14853},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":14854},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14853":{"this":{"__isSmartRef__":true,"id":14797}},"14854":{},"14855":{"varMapping":{"__isSmartRef__":true,"id":14856},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":14857},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14856":{"this":{"__isSmartRef__":true,"id":14797}},"14857":{},"14858":{"varMapping":{"__isSmartRef__":true,"id":14859},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":14860},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14859":{"this":{"__isSmartRef__":true,"id":14797}},"14860":{},"14861":{"_Position":{"__isSmartRef__":true,"id":14862},"renderContextTable":{"__isSmartRef__":true,"id":14863},"_Extent":{"__isSmartRef__":true,"id":14864},"_Padding":{"__isSmartRef__":true,"id":14865},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14862":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14863":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14864":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14865":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14866":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14867":{"morph":{"__isSmartRef__":true,"id":14796},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14868":{"layouter":{"__isSmartRef__":true,"id":14869},"resizeWidth":true},"14869":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":14796},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"14870":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14871":{"x":0,"y":580,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14872":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":14873}},"14873":{"varMapping":{"__isSmartRef__":true,"id":14874},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":14879},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14874":{"this":{"__isSmartRef__":true,"id":14796},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14875}},"14875":{"$super":{"__isSmartRef__":true,"id":14876}},"14876":{"varMapping":{"__isSmartRef__":true,"id":14877},"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":14878},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14877":{"obj":{"__isSmartRef__":true,"id":14796},"name":"getLayoutableSubmorphs"},"14878":{},"14879":{},"14880":{"submorphs":[{"__isSmartRef__":true,"id":14881}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14945},"derivationIds":[null],"id":"5FFB75A9-B4B6-44AD-BACD-583D9B93A0EC","renderContextTable":{"__isSmartRef__":true,"id":14950},"eventHandler":{"__isSmartRef__":true,"id":14951},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":14952},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":14954},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":14955},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14956},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"14881":{"submorphs":[{"__isSmartRef__":true,"id":14882},{"__isSmartRef__":true,"id":14899}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14915},"derivationIds":[null],"id":"282A79A8-4EA3-4DCE-A0B5-7C3F1A746028","renderContextTable":{"__isSmartRef__":true,"id":14920},"eventHandler":{"__isSmartRef__":true,"id":14921},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":14922},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":4386},"propertyList":["x","y","__SourceModuleName__"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"distanceToDragEvent","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":14882},"text":{"__isSmartRef__":true,"id":14899},"owner":{"__isSmartRef__":true,"id":14880},"_Position":{"__isSmartRef__":true,"id":14923},"priorExtent":{"__isSmartRef__":true,"id":14924},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14925},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"14882":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14883},"derivationIds":[null],"id":"3E5DA1EC-A2EC-4C12-85AA-C49A3C26E6EC","renderContextTable":{"__isSmartRef__":true,"id":14889},"eventHandler":{"__isSmartRef__":true,"id":14890},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":14891},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":14881},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14892},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"14883":{"_Position":{"__isSmartRef__":true,"id":14884},"renderContextTable":{"__isSmartRef__":true,"id":14885},"_Extent":{"__isSmartRef__":true,"id":14886},"_Padding":{"__isSmartRef__":true,"id":14887},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":14888},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14884":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14885":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14886":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14887":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14888":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14889":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14890":{"morph":{"__isSmartRef__":true,"id":14882},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14891":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14892":{"toggle":{"__isSmartRef__":true,"id":14893},"toggleExpansion":{"__isSmartRef__":true,"id":14896}},"14893":{"varMapping":{"__isSmartRef__":true,"id":14894},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":14895},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14894":{"this":{"__isSmartRef__":true,"id":14882}},"14895":{},"14896":{"varMapping":{"__isSmartRef__":true,"id":14897},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":14898},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14897":{"this":{"__isSmartRef__":true,"id":14882}},"14898":{},"14899":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14900},"derivationIds":[null],"id":"4731CEFA-5903-40FA-A24D-76D18D122931","renderContextTable":{"__isSmartRef__":true,"id":14904},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":14905},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":14906},{"__isSmartRef__":true,"id":14908}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":14910},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":14881},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14911},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14900":{"_Position":{"__isSmartRef__":true,"id":14901},"renderContextTable":{"__isSmartRef__":true,"id":14902},"_Extent":{"__isSmartRef__":true,"id":14903},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14901":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14902":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14903":{"x":168,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14904":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"14905":{"morph":{"__isSmartRef__":true,"id":14899},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14906":{"style":{"__isSmartRef__":true,"id":14907},"chunkOwner":{"__isSmartRef__":true,"id":14899},"storedString":"distanceToDragEvent","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14907":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14908":{"style":{"__isSmartRef__":true,"id":14909},"chunkOwner":{"__isSmartRef__":true,"id":14899},"storedString":": Point","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14909":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14910":{"x":195,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14911":{"layoutText":{"__isSmartRef__":true,"id":14912}},"14912":{"varMapping":{"__isSmartRef__":true,"id":14913},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":14914},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14913":{"this":{"__isSmartRef__":true,"id":14899}},"14914":{},"14915":{"_Position":{"__isSmartRef__":true,"id":14916},"renderContextTable":{"__isSmartRef__":true,"id":14917},"_Extent":{"__isSmartRef__":true,"id":14918},"_Padding":{"__isSmartRef__":true,"id":14919},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14916":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14917":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14918":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14919":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14920":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14921":{"morph":{"__isSmartRef__":true,"id":14881},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14922":{"resizeWidth":true},"14923":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14924":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14925":{"updateExpanderColor":{"__isSmartRef__":true,"id":14926},"onMouseDown":{"__isSmartRef__":true,"id":14929},"isRoot":{"__isSmartRef__":true,"id":14936},"displayValue":{"__isSmartRef__":true,"id":14939},"update":{"__isSmartRef__":true,"id":14942}},"14926":{"varMapping":{"__isSmartRef__":true,"id":14927},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":14928},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14927":{"this":{"__isSmartRef__":true,"id":14881}},"14928":{},"14929":{"varMapping":{"__isSmartRef__":true,"id":14930},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":14935},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14930":{"this":{"__isSmartRef__":true,"id":14881},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14931}},"14931":{"$super":{"__isSmartRef__":true,"id":14932}},"14932":{"varMapping":{"__isSmartRef__":true,"id":14933},"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":14934},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14933":{"obj":{"__isSmartRef__":true,"id":14881},"name":"onMouseDown"},"14934":{},"14935":{},"14936":{"varMapping":{"__isSmartRef__":true,"id":14937},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":14938},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14937":{"this":{"__isSmartRef__":true,"id":14881}},"14938":{},"14939":{"varMapping":{"__isSmartRef__":true,"id":14940},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":14941},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14940":{"this":{"__isSmartRef__":true,"id":14881}},"14941":{},"14942":{"varMapping":{"__isSmartRef__":true,"id":14943},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":14944},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14943":{"this":{"__isSmartRef__":true,"id":14881}},"14944":{},"14945":{"_Position":{"__isSmartRef__":true,"id":14946},"renderContextTable":{"__isSmartRef__":true,"id":14947},"_Extent":{"__isSmartRef__":true,"id":14948},"_Padding":{"__isSmartRef__":true,"id":14949},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14946":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14947":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14948":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14949":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14950":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14951":{"morph":{"__isSmartRef__":true,"id":14880},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14952":{"layouter":{"__isSmartRef__":true,"id":14953},"resizeWidth":true},"14953":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":14880},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"14954":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14955":{"x":0,"y":560,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14956":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":14957}},"14957":{"varMapping":{"__isSmartRef__":true,"id":14958},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":14963},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14958":{"this":{"__isSmartRef__":true,"id":14880},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14959}},"14959":{"$super":{"__isSmartRef__":true,"id":14960}},"14960":{"varMapping":{"__isSmartRef__":true,"id":14961},"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":14962},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14961":{"obj":{"__isSmartRef__":true,"id":14880},"name":"getLayoutableSubmorphs"},"14962":{},"14963":{},"14964":{"submorphs":[{"__isSmartRef__":true,"id":14965}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15029},"derivationIds":[null],"id":"2B32F32E-629B-46B7-B6D4-ED69D2D9F9EB","renderContextTable":{"__isSmartRef__":true,"id":15034},"eventHandler":{"__isSmartRef__":true,"id":15035},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":15036},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":15038},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":15039},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15040},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"14965":{"submorphs":[{"__isSmartRef__":true,"id":14966},{"__isSmartRef__":true,"id":14983}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14999},"derivationIds":[null],"id":"98D0CAA5-1ECF-4E1C-BFB9-06BFA95BDCE9","renderContextTable":{"__isSmartRef__":true,"id":15004},"eventHandler":{"__isSmartRef__":true,"id":15005},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":15006},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"doNotCopyProperties","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":14966},"text":{"__isSmartRef__":true,"id":14983},"owner":{"__isSmartRef__":true,"id":14964},"_Position":{"__isSmartRef__":true,"id":15007},"priorExtent":{"__isSmartRef__":true,"id":15008},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15009},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"14966":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14967},"derivationIds":[null],"id":"420780BF-01DC-41A0-88C7-4DF5FCA033DB","renderContextTable":{"__isSmartRef__":true,"id":14973},"eventHandler":{"__isSmartRef__":true,"id":14974},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":14975},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":14965},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14976},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"14967":{"_Position":{"__isSmartRef__":true,"id":14968},"renderContextTable":{"__isSmartRef__":true,"id":14969},"_Extent":{"__isSmartRef__":true,"id":14970},"_Padding":{"__isSmartRef__":true,"id":14971},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":14972},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14968":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14969":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14970":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14971":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14972":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14973":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"14974":{"morph":{"__isSmartRef__":true,"id":14966},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14975":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14976":{"toggle":{"__isSmartRef__":true,"id":14977},"toggleExpansion":{"__isSmartRef__":true,"id":14980}},"14977":{"varMapping":{"__isSmartRef__":true,"id":14978},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":14979},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14978":{"this":{"__isSmartRef__":true,"id":14966}},"14979":{},"14980":{"varMapping":{"__isSmartRef__":true,"id":14981},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":14982},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14981":{"this":{"__isSmartRef__":true,"id":14966}},"14982":{},"14983":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14984},"derivationIds":[null],"id":"903F6534-6DE6-4361-96B3-7993C5F3B3E5","renderContextTable":{"__isSmartRef__":true,"id":14988},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":14989},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":14990},{"__isSmartRef__":true,"id":14992}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":14994},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":14965},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14995},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14984":{"_Position":{"__isSmartRef__":true,"id":14985},"renderContextTable":{"__isSmartRef__":true,"id":14986},"_Extent":{"__isSmartRef__":true,"id":14987},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"14985":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14986":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"14987":{"x":147,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14988":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"14989":{"morph":{"__isSmartRef__":true,"id":14983},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14990":{"style":{"__isSmartRef__":true,"id":14991},"chunkOwner":{"__isSmartRef__":true,"id":14983},"storedString":"doNotCopyProperties","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14991":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14992":{"style":{"__isSmartRef__":true,"id":14993},"chunkOwner":{"__isSmartRef__":true,"id":14983},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14993":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14994":{"x":172.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"14995":{"layoutText":{"__isSmartRef__":true,"id":14996}},"14996":{"varMapping":{"__isSmartRef__":true,"id":14997},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":14998},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14997":{"this":{"__isSmartRef__":true,"id":14983}},"14998":{},"14999":{"_Position":{"__isSmartRef__":true,"id":15000},"renderContextTable":{"__isSmartRef__":true,"id":15001},"_Extent":{"__isSmartRef__":true,"id":15002},"_Padding":{"__isSmartRef__":true,"id":15003},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15000":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15001":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15002":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15003":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15004":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15005":{"morph":{"__isSmartRef__":true,"id":14965},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15006":{"resizeWidth":true},"15007":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15008":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15009":{"updateExpanderColor":{"__isSmartRef__":true,"id":15010},"onMouseDown":{"__isSmartRef__":true,"id":15013},"isRoot":{"__isSmartRef__":true,"id":15020},"displayValue":{"__isSmartRef__":true,"id":15023},"update":{"__isSmartRef__":true,"id":15026}},"15010":{"varMapping":{"__isSmartRef__":true,"id":15011},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":15012},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15011":{"this":{"__isSmartRef__":true,"id":14965}},"15012":{},"15013":{"varMapping":{"__isSmartRef__":true,"id":15014},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":15019},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15014":{"this":{"__isSmartRef__":true,"id":14965},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15015}},"15015":{"$super":{"__isSmartRef__":true,"id":15016}},"15016":{"varMapping":{"__isSmartRef__":true,"id":15017},"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":15018},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15017":{"obj":{"__isSmartRef__":true,"id":14965},"name":"onMouseDown"},"15018":{},"15019":{},"15020":{"varMapping":{"__isSmartRef__":true,"id":15021},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":15022},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15021":{"this":{"__isSmartRef__":true,"id":14965}},"15022":{},"15023":{"varMapping":{"__isSmartRef__":true,"id":15024},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":15025},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15024":{"this":{"__isSmartRef__":true,"id":14965}},"15025":{},"15026":{"varMapping":{"__isSmartRef__":true,"id":15027},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":15028},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15027":{"this":{"__isSmartRef__":true,"id":14965}},"15028":{},"15029":{"_Position":{"__isSmartRef__":true,"id":15030},"renderContextTable":{"__isSmartRef__":true,"id":15031},"_Extent":{"__isSmartRef__":true,"id":15032},"_Padding":{"__isSmartRef__":true,"id":15033},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15030":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15031":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15032":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15033":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15034":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15035":{"morph":{"__isSmartRef__":true,"id":14964},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15036":{"layouter":{"__isSmartRef__":true,"id":15037},"resizeWidth":true},"15037":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":14964},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"15038":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15039":{"x":0,"y":540,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15040":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":15041}},"15041":{"varMapping":{"__isSmartRef__":true,"id":15042},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":15047},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15042":{"this":{"__isSmartRef__":true,"id":14964},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15043}},"15043":{"$super":{"__isSmartRef__":true,"id":15044}},"15044":{"varMapping":{"__isSmartRef__":true,"id":15045},"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":15046},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15045":{"obj":{"__isSmartRef__":true,"id":14964},"name":"getLayoutableSubmorphs"},"15046":{},"15047":{},"15048":{"submorphs":[{"__isSmartRef__":true,"id":15049}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15113},"derivationIds":[null],"id":"FA5700EA-82B1-4ABF-B965-0A5172CCB3FC","renderContextTable":{"__isSmartRef__":true,"id":15118},"eventHandler":{"__isSmartRef__":true,"id":15119},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":15120},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":15122},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":15123},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15124},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"15049":{"submorphs":[{"__isSmartRef__":true,"id":15050},{"__isSmartRef__":true,"id":15067}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15083},"derivationIds":[null],"id":"9DE344E7-6C79-48A5-AB92-851B993FBA38","renderContextTable":{"__isSmartRef__":true,"id":15088},"eventHandler":{"__isSmartRef__":true,"id":15089},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":15090},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"doNotSerialize","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":15050},"text":{"__isSmartRef__":true,"id":15067},"owner":{"__isSmartRef__":true,"id":15048},"_Position":{"__isSmartRef__":true,"id":15091},"priorExtent":{"__isSmartRef__":true,"id":15092},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15093},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"15050":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15051},"derivationIds":[null],"id":"0569FF2A-E919-42D7-B6F7-05264F2A2269","renderContextTable":{"__isSmartRef__":true,"id":15057},"eventHandler":{"__isSmartRef__":true,"id":15058},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":15059},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":15049},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15060},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"15051":{"_Position":{"__isSmartRef__":true,"id":15052},"renderContextTable":{"__isSmartRef__":true,"id":15053},"_Extent":{"__isSmartRef__":true,"id":15054},"_Padding":{"__isSmartRef__":true,"id":15055},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":15056},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15052":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15053":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15054":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15055":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15056":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15057":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15058":{"morph":{"__isSmartRef__":true,"id":15050},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15059":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15060":{"toggle":{"__isSmartRef__":true,"id":15061},"toggleExpansion":{"__isSmartRef__":true,"id":15064}},"15061":{"varMapping":{"__isSmartRef__":true,"id":15062},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":15063},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15062":{"this":{"__isSmartRef__":true,"id":15050}},"15063":{},"15064":{"varMapping":{"__isSmartRef__":true,"id":15065},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":15066},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15065":{"this":{"__isSmartRef__":true,"id":15050}},"15066":{},"15067":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15068},"derivationIds":[null],"id":"8196C2EB-907C-4E92-BFA1-02CAC53494F7","renderContextTable":{"__isSmartRef__":true,"id":15072},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":15073},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":15074},{"__isSmartRef__":true,"id":15076}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":15078},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":15049},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15079},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15068":{"_Position":{"__isSmartRef__":true,"id":15069},"renderContextTable":{"__isSmartRef__":true,"id":15070},"_Extent":{"__isSmartRef__":true,"id":15071},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15069":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15070":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15071":{"x":108,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15072":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"15073":{"morph":{"__isSmartRef__":true,"id":15067},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15074":{"style":{"__isSmartRef__":true,"id":15075},"chunkOwner":{"__isSmartRef__":true,"id":15067},"storedString":"doNotSerialize","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15075":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15076":{"style":{"__isSmartRef__":true,"id":15077},"chunkOwner":{"__isSmartRef__":true,"id":15067},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15077":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15078":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15079":{"layoutText":{"__isSmartRef__":true,"id":15080}},"15080":{"varMapping":{"__isSmartRef__":true,"id":15081},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":15082},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15081":{"this":{"__isSmartRef__":true,"id":15067}},"15082":{},"15083":{"_Position":{"__isSmartRef__":true,"id":15084},"renderContextTable":{"__isSmartRef__":true,"id":15085},"_Extent":{"__isSmartRef__":true,"id":15086},"_Padding":{"__isSmartRef__":true,"id":15087},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15084":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15085":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15086":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15087":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15088":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15089":{"morph":{"__isSmartRef__":true,"id":15049},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15090":{"resizeWidth":true},"15091":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15092":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15093":{"updateExpanderColor":{"__isSmartRef__":true,"id":15094},"onMouseDown":{"__isSmartRef__":true,"id":15097},"isRoot":{"__isSmartRef__":true,"id":15104},"displayValue":{"__isSmartRef__":true,"id":15107},"update":{"__isSmartRef__":true,"id":15110}},"15094":{"varMapping":{"__isSmartRef__":true,"id":15095},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":15096},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15095":{"this":{"__isSmartRef__":true,"id":15049}},"15096":{},"15097":{"varMapping":{"__isSmartRef__":true,"id":15098},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":15103},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15098":{"this":{"__isSmartRef__":true,"id":15049},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15099}},"15099":{"$super":{"__isSmartRef__":true,"id":15100}},"15100":{"varMapping":{"__isSmartRef__":true,"id":15101},"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":15102},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15101":{"obj":{"__isSmartRef__":true,"id":15049},"name":"onMouseDown"},"15102":{},"15103":{},"15104":{"varMapping":{"__isSmartRef__":true,"id":15105},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":15106},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15105":{"this":{"__isSmartRef__":true,"id":15049}},"15106":{},"15107":{"varMapping":{"__isSmartRef__":true,"id":15108},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":15109},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15108":{"this":{"__isSmartRef__":true,"id":15049}},"15109":{},"15110":{"varMapping":{"__isSmartRef__":true,"id":15111},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":15112},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15111":{"this":{"__isSmartRef__":true,"id":15049}},"15112":{},"15113":{"_Position":{"__isSmartRef__":true,"id":15114},"renderContextTable":{"__isSmartRef__":true,"id":15115},"_Extent":{"__isSmartRef__":true,"id":15116},"_Padding":{"__isSmartRef__":true,"id":15117},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15114":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15115":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15116":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15117":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15118":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15119":{"morph":{"__isSmartRef__":true,"id":15048},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15120":{"layouter":{"__isSmartRef__":true,"id":15121},"resizeWidth":true},"15121":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":15048},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"15122":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15123":{"x":0,"y":520,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15124":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":15125}},"15125":{"varMapping":{"__isSmartRef__":true,"id":15126},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":15131},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15126":{"this":{"__isSmartRef__":true,"id":15048},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15127}},"15127":{"$super":{"__isSmartRef__":true,"id":15128}},"15128":{"varMapping":{"__isSmartRef__":true,"id":15129},"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":15130},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15129":{"obj":{"__isSmartRef__":true,"id":15048},"name":"getLayoutableSubmorphs"},"15130":{},"15131":{},"15132":{"submorphs":[{"__isSmartRef__":true,"id":15133}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15197},"derivationIds":[null],"id":"F6A064DE-BD4C-4770-894E-A7F899C188AC","renderContextTable":{"__isSmartRef__":true,"id":15202},"eventHandler":{"__isSmartRef__":true,"id":15203},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":15204},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":15206},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":15207},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15208},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"15133":{"submorphs":[{"__isSmartRef__":true,"id":15134},{"__isSmartRef__":true,"id":15151}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15167},"derivationIds":[null],"id":"B18744F7-EB4D-4757-9B99-B05272204D67","renderContextTable":{"__isSmartRef__":true,"id":15172},"eventHandler":{"__isSmartRef__":true,"id":15173},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":15174},"grabbingEnabled":false,"draggingEnabled":false,"data":false,"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"droppingEnabled","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":15134},"text":{"__isSmartRef__":true,"id":15151},"owner":{"__isSmartRef__":true,"id":15132},"_Position":{"__isSmartRef__":true,"id":15175},"priorExtent":{"__isSmartRef__":true,"id":15176},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15177},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"15134":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15135},"derivationIds":[null],"id":"137B84B8-871C-40E0-B102-6458B0034FC9","renderContextTable":{"__isSmartRef__":true,"id":15141},"eventHandler":{"__isSmartRef__":true,"id":15142},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":15143},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":15133},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15144},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"15135":{"_Position":{"__isSmartRef__":true,"id":15136},"renderContextTable":{"__isSmartRef__":true,"id":15137},"_Extent":{"__isSmartRef__":true,"id":15138},"_Padding":{"__isSmartRef__":true,"id":15139},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":15140},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15136":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15137":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15138":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15139":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15140":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15141":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15142":{"morph":{"__isSmartRef__":true,"id":15134},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15143":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15144":{"toggle":{"__isSmartRef__":true,"id":15145},"toggleExpansion":{"__isSmartRef__":true,"id":15148}},"15145":{"varMapping":{"__isSmartRef__":true,"id":15146},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":15147},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15146":{"this":{"__isSmartRef__":true,"id":15134}},"15147":{},"15148":{"varMapping":{"__isSmartRef__":true,"id":15149},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":15150},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15149":{"this":{"__isSmartRef__":true,"id":15134}},"15150":{},"15151":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15152},"derivationIds":[null],"id":"9C085C3E-AE7B-4711-A6AF-362D26F76CBC","renderContextTable":{"__isSmartRef__":true,"id":15156},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":15157},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":15158},{"__isSmartRef__":true,"id":15160}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":15162},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":15133},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15163},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15152":{"_Position":{"__isSmartRef__":true,"id":15153},"renderContextTable":{"__isSmartRef__":true,"id":15154},"_Extent":{"__isSmartRef__":true,"id":15155},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15153":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15154":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15155":{"x":140,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15156":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"15157":{"morph":{"__isSmartRef__":true,"id":15151},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15158":{"style":{"__isSmartRef__":true,"id":15159},"chunkOwner":{"__isSmartRef__":true,"id":15151},"storedString":"droppingEnabled","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15159":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15160":{"style":{"__isSmartRef__":true,"id":15161},"chunkOwner":{"__isSmartRef__":true,"id":15151},"storedString":": false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15161":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15162":{"x":165,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15163":{"layoutText":{"__isSmartRef__":true,"id":15164}},"15164":{"varMapping":{"__isSmartRef__":true,"id":15165},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":15166},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15165":{"this":{"__isSmartRef__":true,"id":15151}},"15166":{},"15167":{"_Position":{"__isSmartRef__":true,"id":15168},"renderContextTable":{"__isSmartRef__":true,"id":15169},"_Extent":{"__isSmartRef__":true,"id":15170},"_Padding":{"__isSmartRef__":true,"id":15171},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15168":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15169":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15170":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15171":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15172":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15173":{"morph":{"__isSmartRef__":true,"id":15133},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15174":{"resizeWidth":true},"15175":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15176":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15177":{"updateExpanderColor":{"__isSmartRef__":true,"id":15178},"onMouseDown":{"__isSmartRef__":true,"id":15181},"isRoot":{"__isSmartRef__":true,"id":15188},"displayValue":{"__isSmartRef__":true,"id":15191},"update":{"__isSmartRef__":true,"id":15194}},"15178":{"varMapping":{"__isSmartRef__":true,"id":15179},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":15180},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15179":{"this":{"__isSmartRef__":true,"id":15133}},"15180":{},"15181":{"varMapping":{"__isSmartRef__":true,"id":15182},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":15187},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15182":{"this":{"__isSmartRef__":true,"id":15133},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15183}},"15183":{"$super":{"__isSmartRef__":true,"id":15184}},"15184":{"varMapping":{"__isSmartRef__":true,"id":15185},"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":15186},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15185":{"obj":{"__isSmartRef__":true,"id":15133},"name":"onMouseDown"},"15186":{},"15187":{},"15188":{"varMapping":{"__isSmartRef__":true,"id":15189},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":15190},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15189":{"this":{"__isSmartRef__":true,"id":15133}},"15190":{},"15191":{"varMapping":{"__isSmartRef__":true,"id":15192},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":15193},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15192":{"this":{"__isSmartRef__":true,"id":15133}},"15193":{},"15194":{"varMapping":{"__isSmartRef__":true,"id":15195},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":15196},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15195":{"this":{"__isSmartRef__":true,"id":15133}},"15196":{},"15197":{"_Position":{"__isSmartRef__":true,"id":15198},"renderContextTable":{"__isSmartRef__":true,"id":15199},"_Extent":{"__isSmartRef__":true,"id":15200},"_Padding":{"__isSmartRef__":true,"id":15201},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15198":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15199":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15200":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15201":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15202":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15203":{"morph":{"__isSmartRef__":true,"id":15132},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15204":{"layouter":{"__isSmartRef__":true,"id":15205},"resizeWidth":true},"15205":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":15132},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"15206":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15207":{"x":0,"y":500,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15208":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":15209}},"15209":{"varMapping":{"__isSmartRef__":true,"id":15210},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":15215},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15210":{"this":{"__isSmartRef__":true,"id":15132},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15211}},"15211":{"$super":{"__isSmartRef__":true,"id":15212}},"15212":{"varMapping":{"__isSmartRef__":true,"id":15213},"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":15214},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15213":{"obj":{"__isSmartRef__":true,"id":15132},"name":"getLayoutableSubmorphs"},"15214":{},"15215":{},"15216":{"submorphs":[{"__isSmartRef__":true,"id":15217}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15281},"derivationIds":[null],"id":"69EA9718-0719-434C-AA9C-D9ABD205280D","renderContextTable":{"__isSmartRef__":true,"id":15286},"eventHandler":{"__isSmartRef__":true,"id":15287},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":15288},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":15290},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":15291},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15292},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"15217":{"submorphs":[{"__isSmartRef__":true,"id":15218},{"__isSmartRef__":true,"id":15235}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15251},"derivationIds":[null],"id":"93FA1C54-4C42-4878-91A7-3092A46665AF","renderContextTable":{"__isSmartRef__":true,"id":15256},"eventHandler":{"__isSmartRef__":true,"id":15257},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":15258},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1350},"propertyList":["morph","__SourceModuleName__","dispatchTable"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"eventHandler","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":15218},"text":{"__isSmartRef__":true,"id":15235},"owner":{"__isSmartRef__":true,"id":15216},"_Position":{"__isSmartRef__":true,"id":15259},"priorExtent":{"__isSmartRef__":true,"id":15260},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15261},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"15218":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15219},"derivationIds":[null],"id":"BEFEF7D7-1987-4B3D-A457-6C55553246E5","renderContextTable":{"__isSmartRef__":true,"id":15225},"eventHandler":{"__isSmartRef__":true,"id":15226},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":15227},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":15217},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15228},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"15219":{"_Position":{"__isSmartRef__":true,"id":15220},"renderContextTable":{"__isSmartRef__":true,"id":15221},"_Extent":{"__isSmartRef__":true,"id":15222},"_Padding":{"__isSmartRef__":true,"id":15223},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":15224},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15220":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15221":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15222":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15223":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15224":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15225":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15226":{"morph":{"__isSmartRef__":true,"id":15218},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15227":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15228":{"toggle":{"__isSmartRef__":true,"id":15229},"toggleExpansion":{"__isSmartRef__":true,"id":15232}},"15229":{"varMapping":{"__isSmartRef__":true,"id":15230},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":15231},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15230":{"this":{"__isSmartRef__":true,"id":15218}},"15231":{},"15232":{"varMapping":{"__isSmartRef__":true,"id":15233},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":15234},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15233":{"this":{"__isSmartRef__":true,"id":15218}},"15234":{},"15235":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15236},"derivationIds":[null],"id":"35AB5C3D-DDAB-4B84-AF4C-FF554E65DAEA","renderContextTable":{"__isSmartRef__":true,"id":15240},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":15241},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":15242},{"__isSmartRef__":true,"id":15244}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":15246},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":15217},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15247},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15236":{"_Position":{"__isSmartRef__":true,"id":15237},"renderContextTable":{"__isSmartRef__":true,"id":15238},"_Extent":{"__isSmartRef__":true,"id":15239},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15237":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15238":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15239":{"x":167,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15240":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"15241":{"morph":{"__isSmartRef__":true,"id":15235},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15242":{"style":{"__isSmartRef__":true,"id":15243},"chunkOwner":{"__isSmartRef__":true,"id":15235},"storedString":"eventHandler","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15243":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15244":{"style":{"__isSmartRef__":true,"id":15245},"chunkOwner":{"__isSmartRef__":true,"id":15235},"storedString":": EventHandler","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15245":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15246":{"x":195,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15247":{"layoutText":{"__isSmartRef__":true,"id":15248}},"15248":{"varMapping":{"__isSmartRef__":true,"id":15249},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":15250},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15249":{"this":{"__isSmartRef__":true,"id":15235}},"15250":{},"15251":{"_Position":{"__isSmartRef__":true,"id":15252},"renderContextTable":{"__isSmartRef__":true,"id":15253},"_Extent":{"__isSmartRef__":true,"id":15254},"_Padding":{"__isSmartRef__":true,"id":15255},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15252":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15253":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15254":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15255":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15256":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15257":{"morph":{"__isSmartRef__":true,"id":15217},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15258":{"resizeWidth":true},"15259":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15260":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15261":{"updateExpanderColor":{"__isSmartRef__":true,"id":15262},"onMouseDown":{"__isSmartRef__":true,"id":15265},"isRoot":{"__isSmartRef__":true,"id":15272},"displayValue":{"__isSmartRef__":true,"id":15275},"update":{"__isSmartRef__":true,"id":15278}},"15262":{"varMapping":{"__isSmartRef__":true,"id":15263},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":15264},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15263":{"this":{"__isSmartRef__":true,"id":15217}},"15264":{},"15265":{"varMapping":{"__isSmartRef__":true,"id":15266},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":15271},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15266":{"this":{"__isSmartRef__":true,"id":15217},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15267}},"15267":{"$super":{"__isSmartRef__":true,"id":15268}},"15268":{"varMapping":{"__isSmartRef__":true,"id":15269},"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":15270},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15269":{"obj":{"__isSmartRef__":true,"id":15217},"name":"onMouseDown"},"15270":{},"15271":{},"15272":{"varMapping":{"__isSmartRef__":true,"id":15273},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":15274},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15273":{"this":{"__isSmartRef__":true,"id":15217}},"15274":{},"15275":{"varMapping":{"__isSmartRef__":true,"id":15276},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":15277},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15276":{"this":{"__isSmartRef__":true,"id":15217}},"15277":{},"15278":{"varMapping":{"__isSmartRef__":true,"id":15279},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":15280},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15279":{"this":{"__isSmartRef__":true,"id":15217}},"15280":{},"15281":{"_Position":{"__isSmartRef__":true,"id":15282},"renderContextTable":{"__isSmartRef__":true,"id":15283},"_Extent":{"__isSmartRef__":true,"id":15284},"_Padding":{"__isSmartRef__":true,"id":15285},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15282":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15283":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15284":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15285":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15286":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15287":{"morph":{"__isSmartRef__":true,"id":15216},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15288":{"layouter":{"__isSmartRef__":true,"id":15289},"resizeWidth":true},"15289":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":15216},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"15290":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15291":{"x":0,"y":480,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15292":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":15293}},"15293":{"varMapping":{"__isSmartRef__":true,"id":15294},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":15299},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15294":{"this":{"__isSmartRef__":true,"id":15216},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15295}},"15295":{"$super":{"__isSmartRef__":true,"id":15296}},"15296":{"varMapping":{"__isSmartRef__":true,"id":15297},"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":15298},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15297":{"obj":{"__isSmartRef__":true,"id":15216},"name":"getLayoutableSubmorphs"},"15298":{},"15299":{},"15300":{"submorphs":[{"__isSmartRef__":true,"id":15301}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15365},"derivationIds":[null],"id":"A9295815-21F5-4FB2-BA76-0BF3246150CE","renderContextTable":{"__isSmartRef__":true,"id":15370},"eventHandler":{"__isSmartRef__":true,"id":15371},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":15372},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":15374},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":15375},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15376},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"15301":{"submorphs":[{"__isSmartRef__":true,"id":15302},{"__isSmartRef__":true,"id":15319}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15335},"derivationIds":[null],"id":"BCB7431C-D397-4D4A-B4D6-ADA74D13E921","renderContextTable":{"__isSmartRef__":true,"id":15340},"eventHandler":{"__isSmartRef__":true,"id":15341},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":15342},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"eventsAreIgnored","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":15302},"text":{"__isSmartRef__":true,"id":15319},"owner":{"__isSmartRef__":true,"id":15300},"_Position":{"__isSmartRef__":true,"id":15343},"priorExtent":{"__isSmartRef__":true,"id":15344},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15345},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"15302":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15303},"derivationIds":[null],"id":"C866F2CB-E7CF-411C-82ED-B022D582F71F","renderContextTable":{"__isSmartRef__":true,"id":15309},"eventHandler":{"__isSmartRef__":true,"id":15310},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":15311},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":15301},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15312},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"15303":{"_Position":{"__isSmartRef__":true,"id":15304},"renderContextTable":{"__isSmartRef__":true,"id":15305},"_Extent":{"__isSmartRef__":true,"id":15306},"_Padding":{"__isSmartRef__":true,"id":15307},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":15308},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15304":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15305":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15306":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15307":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15308":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15309":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15310":{"morph":{"__isSmartRef__":true,"id":15302},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15311":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15312":{"toggle":{"__isSmartRef__":true,"id":15313},"toggleExpansion":{"__isSmartRef__":true,"id":15316}},"15313":{"varMapping":{"__isSmartRef__":true,"id":15314},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":15315},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15314":{"this":{"__isSmartRef__":true,"id":15302}},"15315":{},"15316":{"varMapping":{"__isSmartRef__":true,"id":15317},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":15318},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15317":{"this":{"__isSmartRef__":true,"id":15302}},"15318":{},"15319":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15320},"derivationIds":[null],"id":"E3465036-7501-4B01-B08B-5C02B63BCE8F","renderContextTable":{"__isSmartRef__":true,"id":15324},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":15325},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":15326},{"__isSmartRef__":true,"id":15328}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":15330},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":15301},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15331},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15320":{"_Position":{"__isSmartRef__":true,"id":15321},"renderContextTable":{"__isSmartRef__":true,"id":15322},"_Extent":{"__isSmartRef__":true,"id":15323},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15321":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15322":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15323":{"x":137,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15324":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"15325":{"morph":{"__isSmartRef__":true,"id":15319},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15326":{"style":{"__isSmartRef__":true,"id":15327},"chunkOwner":{"__isSmartRef__":true,"id":15319},"storedString":"eventsAreIgnored","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15327":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15328":{"style":{"__isSmartRef__":true,"id":15329},"chunkOwner":{"__isSmartRef__":true,"id":15319},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15329":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15330":{"x":165,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15331":{"layoutText":{"__isSmartRef__":true,"id":15332}},"15332":{"varMapping":{"__isSmartRef__":true,"id":15333},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":15334},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15333":{"this":{"__isSmartRef__":true,"id":15319}},"15334":{},"15335":{"_Position":{"__isSmartRef__":true,"id":15336},"renderContextTable":{"__isSmartRef__":true,"id":15337},"_Extent":{"__isSmartRef__":true,"id":15338},"_Padding":{"__isSmartRef__":true,"id":15339},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15336":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15337":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15338":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15339":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15340":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15341":{"morph":{"__isSmartRef__":true,"id":15301},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15342":{"resizeWidth":true},"15343":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15344":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15345":{"updateExpanderColor":{"__isSmartRef__":true,"id":15346},"onMouseDown":{"__isSmartRef__":true,"id":15349},"isRoot":{"__isSmartRef__":true,"id":15356},"displayValue":{"__isSmartRef__":true,"id":15359},"update":{"__isSmartRef__":true,"id":15362}},"15346":{"varMapping":{"__isSmartRef__":true,"id":15347},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":15348},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15347":{"this":{"__isSmartRef__":true,"id":15301}},"15348":{},"15349":{"varMapping":{"__isSmartRef__":true,"id":15350},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":15355},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15350":{"this":{"__isSmartRef__":true,"id":15301},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15351}},"15351":{"$super":{"__isSmartRef__":true,"id":15352}},"15352":{"varMapping":{"__isSmartRef__":true,"id":15353},"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":15354},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15353":{"obj":{"__isSmartRef__":true,"id":15301},"name":"onMouseDown"},"15354":{},"15355":{},"15356":{"varMapping":{"__isSmartRef__":true,"id":15357},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":15358},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15357":{"this":{"__isSmartRef__":true,"id":15301}},"15358":{},"15359":{"varMapping":{"__isSmartRef__":true,"id":15360},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":15361},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15360":{"this":{"__isSmartRef__":true,"id":15301}},"15361":{},"15362":{"varMapping":{"__isSmartRef__":true,"id":15363},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":15364},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15363":{"this":{"__isSmartRef__":true,"id":15301}},"15364":{},"15365":{"_Position":{"__isSmartRef__":true,"id":15366},"renderContextTable":{"__isSmartRef__":true,"id":15367},"_Extent":{"__isSmartRef__":true,"id":15368},"_Padding":{"__isSmartRef__":true,"id":15369},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15366":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15367":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15368":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15369":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15370":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15371":{"morph":{"__isSmartRef__":true,"id":15300},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15372":{"layouter":{"__isSmartRef__":true,"id":15373},"resizeWidth":true},"15373":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":15300},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"15374":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15375":{"x":0,"y":460,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15376":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":15377}},"15377":{"varMapping":{"__isSmartRef__":true,"id":15378},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":15383},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15378":{"this":{"__isSmartRef__":true,"id":15300},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15379}},"15379":{"$super":{"__isSmartRef__":true,"id":15380}},"15380":{"varMapping":{"__isSmartRef__":true,"id":15381},"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":15382},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15381":{"obj":{"__isSmartRef__":true,"id":15300},"name":"getLayoutableSubmorphs"},"15382":{},"15383":{},"15384":{"submorphs":[{"__isSmartRef__":true,"id":15385}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15449},"derivationIds":[null],"id":"22885D66-523C-4BDF-8882-44ABD16FD508","renderContextTable":{"__isSmartRef__":true,"id":15454},"eventHandler":{"__isSmartRef__":true,"id":15455},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":15456},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":15458},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":15459},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15460},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"15385":{"submorphs":[{"__isSmartRef__":true,"id":15386},{"__isSmartRef__":true,"id":15403}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15419},"derivationIds":[null],"id":"10B1339A-C1C4-46AC-B7F1-1320CB0CFE4F","renderContextTable":{"__isSmartRef__":true,"id":15424},"eventHandler":{"__isSmartRef__":true,"id":15425},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":15426},"grabbingEnabled":false,"draggingEnabled":false,"data":false,"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"fixedHeight","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":15386},"text":{"__isSmartRef__":true,"id":15403},"owner":{"__isSmartRef__":true,"id":15384},"_Position":{"__isSmartRef__":true,"id":15427},"priorExtent":{"__isSmartRef__":true,"id":15428},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15429},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"15386":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15387},"derivationIds":[null],"id":"29B6F3A2-73AB-482E-87CE-70D030B8C494","renderContextTable":{"__isSmartRef__":true,"id":15393},"eventHandler":{"__isSmartRef__":true,"id":15394},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":15395},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":15385},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15396},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"15387":{"_Position":{"__isSmartRef__":true,"id":15388},"renderContextTable":{"__isSmartRef__":true,"id":15389},"_Extent":{"__isSmartRef__":true,"id":15390},"_Padding":{"__isSmartRef__":true,"id":15391},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":15392},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15388":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15389":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15390":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15391":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15392":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15393":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15394":{"morph":{"__isSmartRef__":true,"id":15386},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15395":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15396":{"toggle":{"__isSmartRef__":true,"id":15397},"toggleExpansion":{"__isSmartRef__":true,"id":15400}},"15397":{"varMapping":{"__isSmartRef__":true,"id":15398},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":15399},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15398":{"this":{"__isSmartRef__":true,"id":15386}},"15399":{},"15400":{"varMapping":{"__isSmartRef__":true,"id":15401},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":15402},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15401":{"this":{"__isSmartRef__":true,"id":15386}},"15402":{},"15403":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15404},"derivationIds":[null],"id":"A0B6C080-A9A3-402F-A96F-B60716F04028","renderContextTable":{"__isSmartRef__":true,"id":15408},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":15409},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":15410},{"__isSmartRef__":true,"id":15412}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":15414},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":15385},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15415},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15404":{"_Position":{"__isSmartRef__":true,"id":15405},"renderContextTable":{"__isSmartRef__":true,"id":15406},"_Extent":{"__isSmartRef__":true,"id":15407},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15405":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15406":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15407":{"x":108,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15408":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"15409":{"morph":{"__isSmartRef__":true,"id":15403},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15410":{"style":{"__isSmartRef__":true,"id":15411},"chunkOwner":{"__isSmartRef__":true,"id":15403},"storedString":"fixedHeight","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15411":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15412":{"style":{"__isSmartRef__":true,"id":15413},"chunkOwner":{"__isSmartRef__":true,"id":15403},"storedString":": false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15413":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15414":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15415":{"layoutText":{"__isSmartRef__":true,"id":15416}},"15416":{"varMapping":{"__isSmartRef__":true,"id":15417},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":15418},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15417":{"this":{"__isSmartRef__":true,"id":15403}},"15418":{},"15419":{"_Position":{"__isSmartRef__":true,"id":15420},"renderContextTable":{"__isSmartRef__":true,"id":15421},"_Extent":{"__isSmartRef__":true,"id":15422},"_Padding":{"__isSmartRef__":true,"id":15423},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15420":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15421":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15422":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15423":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15424":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15425":{"morph":{"__isSmartRef__":true,"id":15385},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15426":{"resizeWidth":true},"15427":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15428":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15429":{"updateExpanderColor":{"__isSmartRef__":true,"id":15430},"onMouseDown":{"__isSmartRef__":true,"id":15433},"isRoot":{"__isSmartRef__":true,"id":15440},"displayValue":{"__isSmartRef__":true,"id":15443},"update":{"__isSmartRef__":true,"id":15446}},"15430":{"varMapping":{"__isSmartRef__":true,"id":15431},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":15432},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15431":{"this":{"__isSmartRef__":true,"id":15385}},"15432":{},"15433":{"varMapping":{"__isSmartRef__":true,"id":15434},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":15439},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15434":{"this":{"__isSmartRef__":true,"id":15385},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15435}},"15435":{"$super":{"__isSmartRef__":true,"id":15436}},"15436":{"varMapping":{"__isSmartRef__":true,"id":15437},"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":15438},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15437":{"obj":{"__isSmartRef__":true,"id":15385},"name":"onMouseDown"},"15438":{},"15439":{},"15440":{"varMapping":{"__isSmartRef__":true,"id":15441},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":15442},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15441":{"this":{"__isSmartRef__":true,"id":15385}},"15442":{},"15443":{"varMapping":{"__isSmartRef__":true,"id":15444},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":15445},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15444":{"this":{"__isSmartRef__":true,"id":15385}},"15445":{},"15446":{"varMapping":{"__isSmartRef__":true,"id":15447},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":15448},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15447":{"this":{"__isSmartRef__":true,"id":15385}},"15448":{},"15449":{"_Position":{"__isSmartRef__":true,"id":15450},"renderContextTable":{"__isSmartRef__":true,"id":15451},"_Extent":{"__isSmartRef__":true,"id":15452},"_Padding":{"__isSmartRef__":true,"id":15453},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15450":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15451":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15452":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15453":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15454":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15455":{"morph":{"__isSmartRef__":true,"id":15384},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15456":{"layouter":{"__isSmartRef__":true,"id":15457},"resizeWidth":true},"15457":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":15384},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"15458":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15459":{"x":0,"y":440,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15460":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":15461}},"15461":{"varMapping":{"__isSmartRef__":true,"id":15462},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":15467},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15462":{"this":{"__isSmartRef__":true,"id":15384},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15463}},"15463":{"$super":{"__isSmartRef__":true,"id":15464}},"15464":{"varMapping":{"__isSmartRef__":true,"id":15465},"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":15466},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15465":{"obj":{"__isSmartRef__":true,"id":15384},"name":"getLayoutableSubmorphs"},"15466":{},"15467":{},"15468":{"submorphs":[{"__isSmartRef__":true,"id":15469}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15533},"derivationIds":[null],"id":"E3C1E622-EC90-45A4-8C08-C55F08B2410D","renderContextTable":{"__isSmartRef__":true,"id":15538},"eventHandler":{"__isSmartRef__":true,"id":15539},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":15540},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":15542},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":15543},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15544},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"15469":{"submorphs":[{"__isSmartRef__":true,"id":15470},{"__isSmartRef__":true,"id":15487}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15503},"derivationIds":[null],"id":"E372F377-E525-4B39-9013-89FE265D1A0B","renderContextTable":{"__isSmartRef__":true,"id":15508},"eventHandler":{"__isSmartRef__":true,"id":15509},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":15510},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"fixedWidth","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":15470},"text":{"__isSmartRef__":true,"id":15487},"owner":{"__isSmartRef__":true,"id":15468},"_Position":{"__isSmartRef__":true,"id":15511},"priorExtent":{"__isSmartRef__":true,"id":15512},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15513},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"15470":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15471},"derivationIds":[null],"id":"B2114C49-8CCB-4262-8B7F-8233784E8CF9","renderContextTable":{"__isSmartRef__":true,"id":15477},"eventHandler":{"__isSmartRef__":true,"id":15478},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":15479},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":15469},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15480},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"15471":{"_Position":{"__isSmartRef__":true,"id":15472},"renderContextTable":{"__isSmartRef__":true,"id":15473},"_Extent":{"__isSmartRef__":true,"id":15474},"_Padding":{"__isSmartRef__":true,"id":15475},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":15476},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15472":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15473":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15474":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15475":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15476":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15477":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15478":{"morph":{"__isSmartRef__":true,"id":15470},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15479":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15480":{"toggle":{"__isSmartRef__":true,"id":15481},"toggleExpansion":{"__isSmartRef__":true,"id":15484}},"15481":{"varMapping":{"__isSmartRef__":true,"id":15482},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":15483},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15482":{"this":{"__isSmartRef__":true,"id":15470}},"15483":{},"15484":{"varMapping":{"__isSmartRef__":true,"id":15485},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":15486},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15485":{"this":{"__isSmartRef__":true,"id":15470}},"15486":{},"15487":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15488},"derivationIds":[null],"id":"3D3AD16D-6B32-437F-BADD-511B599CA992","renderContextTable":{"__isSmartRef__":true,"id":15492},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":15493},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":15494},{"__isSmartRef__":true,"id":15496}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":15498},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":15469},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15499},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15488":{"_Position":{"__isSmartRef__":true,"id":15489},"renderContextTable":{"__isSmartRef__":true,"id":15490},"_Extent":{"__isSmartRef__":true,"id":15491},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15489":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15490":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15491":{"x":99,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15492":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"15493":{"morph":{"__isSmartRef__":true,"id":15487},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15494":{"style":{"__isSmartRef__":true,"id":15495},"chunkOwner":{"__isSmartRef__":true,"id":15487},"storedString":"fixedWidth","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15495":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15496":{"style":{"__isSmartRef__":true,"id":15497},"chunkOwner":{"__isSmartRef__":true,"id":15487},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15497":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15498":{"x":120,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15499":{"layoutText":{"__isSmartRef__":true,"id":15500}},"15500":{"varMapping":{"__isSmartRef__":true,"id":15501},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":15502},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15501":{"this":{"__isSmartRef__":true,"id":15487}},"15502":{},"15503":{"_Position":{"__isSmartRef__":true,"id":15504},"renderContextTable":{"__isSmartRef__":true,"id":15505},"_Extent":{"__isSmartRef__":true,"id":15506},"_Padding":{"__isSmartRef__":true,"id":15507},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15504":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15505":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15506":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15507":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15508":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15509":{"morph":{"__isSmartRef__":true,"id":15469},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15510":{"resizeWidth":true},"15511":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15512":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15513":{"updateExpanderColor":{"__isSmartRef__":true,"id":15514},"onMouseDown":{"__isSmartRef__":true,"id":15517},"isRoot":{"__isSmartRef__":true,"id":15524},"displayValue":{"__isSmartRef__":true,"id":15527},"update":{"__isSmartRef__":true,"id":15530}},"15514":{"varMapping":{"__isSmartRef__":true,"id":15515},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":15516},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15515":{"this":{"__isSmartRef__":true,"id":15469}},"15516":{},"15517":{"varMapping":{"__isSmartRef__":true,"id":15518},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":15523},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15518":{"this":{"__isSmartRef__":true,"id":15469},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15519}},"15519":{"$super":{"__isSmartRef__":true,"id":15520}},"15520":{"varMapping":{"__isSmartRef__":true,"id":15521},"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":15522},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15521":{"obj":{"__isSmartRef__":true,"id":15469},"name":"onMouseDown"},"15522":{},"15523":{},"15524":{"varMapping":{"__isSmartRef__":true,"id":15525},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":15526},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15525":{"this":{"__isSmartRef__":true,"id":15469}},"15526":{},"15527":{"varMapping":{"__isSmartRef__":true,"id":15528},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":15529},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15528":{"this":{"__isSmartRef__":true,"id":15469}},"15529":{},"15530":{"varMapping":{"__isSmartRef__":true,"id":15531},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":15532},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15531":{"this":{"__isSmartRef__":true,"id":15469}},"15532":{},"15533":{"_Position":{"__isSmartRef__":true,"id":15534},"renderContextTable":{"__isSmartRef__":true,"id":15535},"_Extent":{"__isSmartRef__":true,"id":15536},"_Padding":{"__isSmartRef__":true,"id":15537},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15534":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15535":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15536":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15537":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15538":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15539":{"morph":{"__isSmartRef__":true,"id":15468},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15540":{"layouter":{"__isSmartRef__":true,"id":15541},"resizeWidth":true},"15541":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":15468},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"15542":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15543":{"x":0,"y":420,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15544":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":15545}},"15545":{"varMapping":{"__isSmartRef__":true,"id":15546},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":15551},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15546":{"this":{"__isSmartRef__":true,"id":15468},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15547}},"15547":{"$super":{"__isSmartRef__":true,"id":15548}},"15548":{"varMapping":{"__isSmartRef__":true,"id":15549},"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":15550},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15549":{"obj":{"__isSmartRef__":true,"id":15468},"name":"getLayoutableSubmorphs"},"15550":{},"15551":{},"15552":{"submorphs":[{"__isSmartRef__":true,"id":15553}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15617},"derivationIds":[null],"id":"27B3D310-46C5-4149-997B-67F866107C1E","renderContextTable":{"__isSmartRef__":true,"id":15622},"eventHandler":{"__isSmartRef__":true,"id":15623},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":15624},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":15626},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":15627},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15628},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"15553":{"submorphs":[{"__isSmartRef__":true,"id":15554},{"__isSmartRef__":true,"id":15571}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15587},"derivationIds":[null],"id":"5BF6FE54-E8FF-4245-A829-00C49A132FA5","renderContextTable":{"__isSmartRef__":true,"id":15592},"eventHandler":{"__isSmartRef__":true,"id":15593},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":15594},"grabbingEnabled":false,"draggingEnabled":false,"data":false,"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"grabbingEnabled","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":15554},"text":{"__isSmartRef__":true,"id":15571},"owner":{"__isSmartRef__":true,"id":15552},"_Position":{"__isSmartRef__":true,"id":15595},"priorExtent":{"__isSmartRef__":true,"id":15596},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15597},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"15554":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15555},"derivationIds":[null],"id":"5AC288AA-D075-421B-857E-D805FB361DF6","renderContextTable":{"__isSmartRef__":true,"id":15561},"eventHandler":{"__isSmartRef__":true,"id":15562},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":15563},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":15553},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15564},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"15555":{"_Position":{"__isSmartRef__":true,"id":15556},"renderContextTable":{"__isSmartRef__":true,"id":15557},"_Extent":{"__isSmartRef__":true,"id":15558},"_Padding":{"__isSmartRef__":true,"id":15559},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":15560},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15556":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15557":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15558":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15559":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15560":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15561":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15562":{"morph":{"__isSmartRef__":true,"id":15554},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15563":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15564":{"toggle":{"__isSmartRef__":true,"id":15565},"toggleExpansion":{"__isSmartRef__":true,"id":15568}},"15565":{"varMapping":{"__isSmartRef__":true,"id":15566},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":15567},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15566":{"this":{"__isSmartRef__":true,"id":15554}},"15567":{},"15568":{"varMapping":{"__isSmartRef__":true,"id":15569},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":15570},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15569":{"this":{"__isSmartRef__":true,"id":15554}},"15570":{},"15571":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15572},"derivationIds":[null],"id":"FD7DB350-8428-4B47-86C1-8ED09EA0B3BA","renderContextTable":{"__isSmartRef__":true,"id":15576},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":15577},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":15578},{"__isSmartRef__":true,"id":15580}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":15582},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":15553},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15583},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15572":{"_Position":{"__isSmartRef__":true,"id":15573},"renderContextTable":{"__isSmartRef__":true,"id":15574},"_Extent":{"__isSmartRef__":true,"id":15575},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15573":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15574":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15575":{"x":140,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15576":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"15577":{"morph":{"__isSmartRef__":true,"id":15571},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15578":{"style":{"__isSmartRef__":true,"id":15579},"chunkOwner":{"__isSmartRef__":true,"id":15571},"storedString":"grabbingEnabled","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15579":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15580":{"style":{"__isSmartRef__":true,"id":15581},"chunkOwner":{"__isSmartRef__":true,"id":15571},"storedString":": false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15581":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15582":{"x":165,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15583":{"layoutText":{"__isSmartRef__":true,"id":15584}},"15584":{"varMapping":{"__isSmartRef__":true,"id":15585},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":15586},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15585":{"this":{"__isSmartRef__":true,"id":15571}},"15586":{},"15587":{"_Position":{"__isSmartRef__":true,"id":15588},"renderContextTable":{"__isSmartRef__":true,"id":15589},"_Extent":{"__isSmartRef__":true,"id":15590},"_Padding":{"__isSmartRef__":true,"id":15591},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15588":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15589":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15590":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15591":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15592":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15593":{"morph":{"__isSmartRef__":true,"id":15553},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15594":{"resizeWidth":true},"15595":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15596":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15597":{"updateExpanderColor":{"__isSmartRef__":true,"id":15598},"onMouseDown":{"__isSmartRef__":true,"id":15601},"isRoot":{"__isSmartRef__":true,"id":15608},"displayValue":{"__isSmartRef__":true,"id":15611},"update":{"__isSmartRef__":true,"id":15614}},"15598":{"varMapping":{"__isSmartRef__":true,"id":15599},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":15600},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15599":{"this":{"__isSmartRef__":true,"id":15553}},"15600":{},"15601":{"varMapping":{"__isSmartRef__":true,"id":15602},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":15607},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15602":{"this":{"__isSmartRef__":true,"id":15553},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15603}},"15603":{"$super":{"__isSmartRef__":true,"id":15604}},"15604":{"varMapping":{"__isSmartRef__":true,"id":15605},"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":15606},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15605":{"obj":{"__isSmartRef__":true,"id":15553},"name":"onMouseDown"},"15606":{},"15607":{},"15608":{"varMapping":{"__isSmartRef__":true,"id":15609},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":15610},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15609":{"this":{"__isSmartRef__":true,"id":15553}},"15610":{},"15611":{"varMapping":{"__isSmartRef__":true,"id":15612},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":15613},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15612":{"this":{"__isSmartRef__":true,"id":15553}},"15613":{},"15614":{"varMapping":{"__isSmartRef__":true,"id":15615},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":15616},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15615":{"this":{"__isSmartRef__":true,"id":15553}},"15616":{},"15617":{"_Position":{"__isSmartRef__":true,"id":15618},"renderContextTable":{"__isSmartRef__":true,"id":15619},"_Extent":{"__isSmartRef__":true,"id":15620},"_Padding":{"__isSmartRef__":true,"id":15621},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15618":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15619":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15620":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15621":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15622":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15623":{"morph":{"__isSmartRef__":true,"id":15552},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15624":{"layouter":{"__isSmartRef__":true,"id":15625},"resizeWidth":true},"15625":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":15552},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"15626":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15627":{"x":0,"y":400,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15628":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":15629}},"15629":{"varMapping":{"__isSmartRef__":true,"id":15630},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":15635},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15630":{"this":{"__isSmartRef__":true,"id":15552},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15631}},"15631":{"$super":{"__isSmartRef__":true,"id":15632}},"15632":{"varMapping":{"__isSmartRef__":true,"id":15633},"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":15634},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15633":{"obj":{"__isSmartRef__":true,"id":15552},"name":"getLayoutableSubmorphs"},"15634":{},"15635":{},"15636":{"submorphs":[{"__isSmartRef__":true,"id":15637}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15701},"derivationIds":[null],"id":"8D4C3A96-0986-4F0B-AF00-CE724A7B31A0","renderContextTable":{"__isSmartRef__":true,"id":15706},"eventHandler":{"__isSmartRef__":true,"id":15707},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":15708},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":15710},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":15711},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15712},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"15637":{"submorphs":[{"__isSmartRef__":true,"id":15638},{"__isSmartRef__":true,"id":15655}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15671},"derivationIds":[null],"id":"CBE9001F-992D-4808-9162-876520235890","renderContextTable":{"__isSmartRef__":true,"id":15676},"eventHandler":{"__isSmartRef__":true,"id":15677},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":15678},"grabbingEnabled":false,"draggingEnabled":false,"data":false,"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"halosEnabled","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":15638},"text":{"__isSmartRef__":true,"id":15655},"owner":{"__isSmartRef__":true,"id":15636},"_Position":{"__isSmartRef__":true,"id":15679},"priorExtent":{"__isSmartRef__":true,"id":15680},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15681},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"15638":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15639},"derivationIds":[null],"id":"11D7CC00-35EB-4E76-8758-06D4C3E326C1","renderContextTable":{"__isSmartRef__":true,"id":15645},"eventHandler":{"__isSmartRef__":true,"id":15646},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":15647},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":15637},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15648},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"15639":{"_Position":{"__isSmartRef__":true,"id":15640},"renderContextTable":{"__isSmartRef__":true,"id":15641},"_Extent":{"__isSmartRef__":true,"id":15642},"_Padding":{"__isSmartRef__":true,"id":15643},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":15644},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15640":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15641":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15642":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15643":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15644":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15645":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15646":{"morph":{"__isSmartRef__":true,"id":15638},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15647":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15648":{"toggle":{"__isSmartRef__":true,"id":15649},"toggleExpansion":{"__isSmartRef__":true,"id":15652}},"15649":{"varMapping":{"__isSmartRef__":true,"id":15650},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":15651},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15650":{"this":{"__isSmartRef__":true,"id":15638}},"15651":{},"15652":{"varMapping":{"__isSmartRef__":true,"id":15653},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":15654},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15653":{"this":{"__isSmartRef__":true,"id":15638}},"15654":{},"15655":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15656},"derivationIds":[null],"id":"838223F7-3E4C-4B63-B627-26E519819E3B","renderContextTable":{"__isSmartRef__":true,"id":15660},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":15661},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":15662},{"__isSmartRef__":true,"id":15664}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":15666},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":15637},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15667},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15656":{"_Position":{"__isSmartRef__":true,"id":15657},"renderContextTable":{"__isSmartRef__":true,"id":15658},"_Extent":{"__isSmartRef__":true,"id":15659},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15657":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15658":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15659":{"x":122,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15660":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"15661":{"morph":{"__isSmartRef__":true,"id":15655},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15662":{"style":{"__isSmartRef__":true,"id":15663},"chunkOwner":{"__isSmartRef__":true,"id":15655},"storedString":"halosEnabled","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15663":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15664":{"style":{"__isSmartRef__":true,"id":15665},"chunkOwner":{"__isSmartRef__":true,"id":15655},"storedString":": false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15665":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15666":{"x":142.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15667":{"layoutText":{"__isSmartRef__":true,"id":15668}},"15668":{"varMapping":{"__isSmartRef__":true,"id":15669},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":15670},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15669":{"this":{"__isSmartRef__":true,"id":15655}},"15670":{},"15671":{"_Position":{"__isSmartRef__":true,"id":15672},"renderContextTable":{"__isSmartRef__":true,"id":15673},"_Extent":{"__isSmartRef__":true,"id":15674},"_Padding":{"__isSmartRef__":true,"id":15675},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15672":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15673":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15674":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15675":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15676":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15677":{"morph":{"__isSmartRef__":true,"id":15637},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15678":{"resizeWidth":true},"15679":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15680":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15681":{"updateExpanderColor":{"__isSmartRef__":true,"id":15682},"onMouseDown":{"__isSmartRef__":true,"id":15685},"isRoot":{"__isSmartRef__":true,"id":15692},"displayValue":{"__isSmartRef__":true,"id":15695},"update":{"__isSmartRef__":true,"id":15698}},"15682":{"varMapping":{"__isSmartRef__":true,"id":15683},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":15684},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15683":{"this":{"__isSmartRef__":true,"id":15637}},"15684":{},"15685":{"varMapping":{"__isSmartRef__":true,"id":15686},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":15691},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15686":{"this":{"__isSmartRef__":true,"id":15637},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15687}},"15687":{"$super":{"__isSmartRef__":true,"id":15688}},"15688":{"varMapping":{"__isSmartRef__":true,"id":15689},"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":15690},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15689":{"obj":{"__isSmartRef__":true,"id":15637},"name":"onMouseDown"},"15690":{},"15691":{},"15692":{"varMapping":{"__isSmartRef__":true,"id":15693},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":15694},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15693":{"this":{"__isSmartRef__":true,"id":15637}},"15694":{},"15695":{"varMapping":{"__isSmartRef__":true,"id":15696},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":15697},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15696":{"this":{"__isSmartRef__":true,"id":15637}},"15697":{},"15698":{"varMapping":{"__isSmartRef__":true,"id":15699},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":15700},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15699":{"this":{"__isSmartRef__":true,"id":15637}},"15700":{},"15701":{"_Position":{"__isSmartRef__":true,"id":15702},"renderContextTable":{"__isSmartRef__":true,"id":15703},"_Extent":{"__isSmartRef__":true,"id":15704},"_Padding":{"__isSmartRef__":true,"id":15705},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15702":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15703":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15704":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15705":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15706":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15707":{"morph":{"__isSmartRef__":true,"id":15636},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15708":{"layouter":{"__isSmartRef__":true,"id":15709},"resizeWidth":true},"15709":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":15636},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"15710":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15711":{"x":0,"y":380,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15712":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":15713}},"15713":{"varMapping":{"__isSmartRef__":true,"id":15714},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":15719},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15714":{"this":{"__isSmartRef__":true,"id":15636},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15715}},"15715":{"$super":{"__isSmartRef__":true,"id":15716}},"15716":{"varMapping":{"__isSmartRef__":true,"id":15717},"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":15718},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15717":{"obj":{"__isSmartRef__":true,"id":15636},"name":"getLayoutableSubmorphs"},"15718":{},"15719":{},"15720":{"submorphs":[{"__isSmartRef__":true,"id":15721}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15785},"derivationIds":[null],"id":"39C86F1C-B9B5-42A0-A51F-B62E945DCE2A","renderContextTable":{"__isSmartRef__":true,"id":15790},"eventHandler":{"__isSmartRef__":true,"id":15791},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":15792},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":15794},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":15795},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15796},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"15721":{"submorphs":[{"__isSmartRef__":true,"id":15722},{"__isSmartRef__":true,"id":15739}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15755},"derivationIds":[null],"id":"9B08134A-5549-4460-A896-C7C620ADCDEE","renderContextTable":{"__isSmartRef__":true,"id":15760},"eventHandler":{"__isSmartRef__":true,"id":15761},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":15762},"grabbingEnabled":false,"draggingEnabled":false,"data":"D3B3476A-2E08-4014-93C0-DC4FF638683E","propertyList":["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"id","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":15722},"text":{"__isSmartRef__":true,"id":15739},"owner":{"__isSmartRef__":true,"id":15720},"_Position":{"__isSmartRef__":true,"id":15763},"priorExtent":{"__isSmartRef__":true,"id":15764},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15765},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"15722":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15723},"derivationIds":[null],"id":"E1AAA966-2D99-4860-A144-B7378E887EE6","renderContextTable":{"__isSmartRef__":true,"id":15729},"eventHandler":{"__isSmartRef__":true,"id":15730},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":15731},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":15721},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15732},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"15723":{"_Position":{"__isSmartRef__":true,"id":15724},"renderContextTable":{"__isSmartRef__":true,"id":15725},"_Extent":{"__isSmartRef__":true,"id":15726},"_Padding":{"__isSmartRef__":true,"id":15727},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":15728},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15724":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15725":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15726":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15727":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15728":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15729":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15730":{"morph":{"__isSmartRef__":true,"id":15722},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15731":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15732":{"toggle":{"__isSmartRef__":true,"id":15733},"toggleExpansion":{"__isSmartRef__":true,"id":15736}},"15733":{"varMapping":{"__isSmartRef__":true,"id":15734},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":15735},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15734":{"this":{"__isSmartRef__":true,"id":15722}},"15735":{},"15736":{"varMapping":{"__isSmartRef__":true,"id":15737},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":15738},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15737":{"this":{"__isSmartRef__":true,"id":15722}},"15738":{},"15739":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15740},"derivationIds":[null],"id":"F2373742-5A63-4BD7-806C-2430BDDD2EDF","renderContextTable":{"__isSmartRef__":true,"id":15744},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":15745},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":15746},{"__isSmartRef__":true,"id":15748}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":15750},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":15721},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15751},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15740":{"_Position":{"__isSmartRef__":true,"id":15741},"renderContextTable":{"__isSmartRef__":true,"id":15742},"_Extent":{"__isSmartRef__":true,"id":15743},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15741":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15742":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15743":{"x":284,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15744":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"15745":{"morph":{"__isSmartRef__":true,"id":15739},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15746":{"style":{"__isSmartRef__":true,"id":15747},"chunkOwner":{"__isSmartRef__":true,"id":15739},"storedString":"id","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15747":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15748":{"style":{"__isSmartRef__":true,"id":15749},"chunkOwner":{"__isSmartRef__":true,"id":15739},"storedString":": D3B3476A-2E08-4014-93C0-DC4FF638683E","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15749":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15750":{"x":300,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15751":{"layoutText":{"__isSmartRef__":true,"id":15752}},"15752":{"varMapping":{"__isSmartRef__":true,"id":15753},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":15754},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15753":{"this":{"__isSmartRef__":true,"id":15739}},"15754":{},"15755":{"_Position":{"__isSmartRef__":true,"id":15756},"renderContextTable":{"__isSmartRef__":true,"id":15757},"_Extent":{"__isSmartRef__":true,"id":15758},"_Padding":{"__isSmartRef__":true,"id":15759},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15756":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15757":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15758":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15759":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15760":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15761":{"morph":{"__isSmartRef__":true,"id":15721},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15762":{"resizeWidth":true},"15763":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15764":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15765":{"updateExpanderColor":{"__isSmartRef__":true,"id":15766},"onMouseDown":{"__isSmartRef__":true,"id":15769},"isRoot":{"__isSmartRef__":true,"id":15776},"displayValue":{"__isSmartRef__":true,"id":15779},"update":{"__isSmartRef__":true,"id":15782}},"15766":{"varMapping":{"__isSmartRef__":true,"id":15767},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":15768},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15767":{"this":{"__isSmartRef__":true,"id":15721}},"15768":{},"15769":{"varMapping":{"__isSmartRef__":true,"id":15770},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":15775},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15770":{"this":{"__isSmartRef__":true,"id":15721},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15771}},"15771":{"$super":{"__isSmartRef__":true,"id":15772}},"15772":{"varMapping":{"__isSmartRef__":true,"id":15773},"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":15774},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15773":{"obj":{"__isSmartRef__":true,"id":15721},"name":"onMouseDown"},"15774":{},"15775":{},"15776":{"varMapping":{"__isSmartRef__":true,"id":15777},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":15778},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15777":{"this":{"__isSmartRef__":true,"id":15721}},"15778":{},"15779":{"varMapping":{"__isSmartRef__":true,"id":15780},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":15781},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15780":{"this":{"__isSmartRef__":true,"id":15721}},"15781":{},"15782":{"varMapping":{"__isSmartRef__":true,"id":15783},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":15784},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15783":{"this":{"__isSmartRef__":true,"id":15721}},"15784":{},"15785":{"_Position":{"__isSmartRef__":true,"id":15786},"renderContextTable":{"__isSmartRef__":true,"id":15787},"_Extent":{"__isSmartRef__":true,"id":15788},"_Padding":{"__isSmartRef__":true,"id":15789},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15786":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15787":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15788":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15789":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15790":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15791":{"morph":{"__isSmartRef__":true,"id":15720},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15792":{"layouter":{"__isSmartRef__":true,"id":15793},"resizeWidth":true},"15793":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":15720},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"15794":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15795":{"x":0,"y":360,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15796":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":15797}},"15797":{"varMapping":{"__isSmartRef__":true,"id":15798},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":15803},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15798":{"this":{"__isSmartRef__":true,"id":15720},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15799}},"15799":{"$super":{"__isSmartRef__":true,"id":15800}},"15800":{"varMapping":{"__isSmartRef__":true,"id":15801},"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":15802},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15801":{"obj":{"__isSmartRef__":true,"id":15720},"name":"getLayoutableSubmorphs"},"15802":{},"15803":{},"15804":{"submorphs":[{"__isSmartRef__":true,"id":15805}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15869},"derivationIds":[null],"id":"014D1BDC-83E4-4EEF-8CD2-1AEB1D5B4573","renderContextTable":{"__isSmartRef__":true,"id":15874},"eventHandler":{"__isSmartRef__":true,"id":15875},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":15876},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":15878},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":15879},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15880},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"15805":{"submorphs":[{"__isSmartRef__":true,"id":15806},{"__isSmartRef__":true,"id":15823}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15839},"derivationIds":[null],"id":"5AC8C80F-DF48-46BB-ACA8-5050A6294B17","renderContextTable":{"__isSmartRef__":true,"id":15844},"eventHandler":{"__isSmartRef__":true,"id":15845},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":15846},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"isCopyMorphRef","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":15806},"text":{"__isSmartRef__":true,"id":15823},"owner":{"__isSmartRef__":true,"id":15804},"_Position":{"__isSmartRef__":true,"id":15847},"priorExtent":{"__isSmartRef__":true,"id":15848},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15849},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"15806":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15807},"derivationIds":[null],"id":"9C05D15F-B7F0-4B9E-8B25-855E0AF0CFB0","renderContextTable":{"__isSmartRef__":true,"id":15813},"eventHandler":{"__isSmartRef__":true,"id":15814},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":15815},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":15805},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15816},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"15807":{"_Position":{"__isSmartRef__":true,"id":15808},"renderContextTable":{"__isSmartRef__":true,"id":15809},"_Extent":{"__isSmartRef__":true,"id":15810},"_Padding":{"__isSmartRef__":true,"id":15811},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":15812},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15808":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15809":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15810":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15811":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15812":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15813":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15814":{"morph":{"__isSmartRef__":true,"id":15806},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15815":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15816":{"toggle":{"__isSmartRef__":true,"id":15817},"toggleExpansion":{"__isSmartRef__":true,"id":15820}},"15817":{"varMapping":{"__isSmartRef__":true,"id":15818},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":15819},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15818":{"this":{"__isSmartRef__":true,"id":15806}},"15819":{},"15820":{"varMapping":{"__isSmartRef__":true,"id":15821},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":15822},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15821":{"this":{"__isSmartRef__":true,"id":15806}},"15822":{},"15823":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15824},"derivationIds":[null],"id":"5E7DB24B-3AF8-4E5F-ADA5-B9F080815F51","renderContextTable":{"__isSmartRef__":true,"id":15828},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":15829},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":15830},{"__isSmartRef__":true,"id":15832}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":15834},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":15805},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15835},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15824":{"_Position":{"__isSmartRef__":true,"id":15825},"renderContextTable":{"__isSmartRef__":true,"id":15826},"_Extent":{"__isSmartRef__":true,"id":15827},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15825":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15826":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15827":{"x":133,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15828":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"15829":{"morph":{"__isSmartRef__":true,"id":15823},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15830":{"style":{"__isSmartRef__":true,"id":15831},"chunkOwner":{"__isSmartRef__":true,"id":15823},"storedString":"isCopyMorphRef","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15831":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15832":{"style":{"__isSmartRef__":true,"id":15833},"chunkOwner":{"__isSmartRef__":true,"id":15823},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15833":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15834":{"x":150,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15835":{"layoutText":{"__isSmartRef__":true,"id":15836}},"15836":{"varMapping":{"__isSmartRef__":true,"id":15837},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":15838},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15837":{"this":{"__isSmartRef__":true,"id":15823}},"15838":{},"15839":{"_Position":{"__isSmartRef__":true,"id":15840},"renderContextTable":{"__isSmartRef__":true,"id":15841},"_Extent":{"__isSmartRef__":true,"id":15842},"_Padding":{"__isSmartRef__":true,"id":15843},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15840":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15841":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15842":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15843":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15844":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15845":{"morph":{"__isSmartRef__":true,"id":15805},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15846":{"resizeWidth":true},"15847":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15848":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15849":{"updateExpanderColor":{"__isSmartRef__":true,"id":15850},"onMouseDown":{"__isSmartRef__":true,"id":15853},"isRoot":{"__isSmartRef__":true,"id":15860},"displayValue":{"__isSmartRef__":true,"id":15863},"update":{"__isSmartRef__":true,"id":15866}},"15850":{"varMapping":{"__isSmartRef__":true,"id":15851},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":15852},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15851":{"this":{"__isSmartRef__":true,"id":15805}},"15852":{},"15853":{"varMapping":{"__isSmartRef__":true,"id":15854},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":15859},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15854":{"this":{"__isSmartRef__":true,"id":15805},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15855}},"15855":{"$super":{"__isSmartRef__":true,"id":15856}},"15856":{"varMapping":{"__isSmartRef__":true,"id":15857},"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":15858},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15857":{"obj":{"__isSmartRef__":true,"id":15805},"name":"onMouseDown"},"15858":{},"15859":{},"15860":{"varMapping":{"__isSmartRef__":true,"id":15861},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":15862},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15861":{"this":{"__isSmartRef__":true,"id":15805}},"15862":{},"15863":{"varMapping":{"__isSmartRef__":true,"id":15864},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":15865},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15864":{"this":{"__isSmartRef__":true,"id":15805}},"15865":{},"15866":{"varMapping":{"__isSmartRef__":true,"id":15867},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":15868},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15867":{"this":{"__isSmartRef__":true,"id":15805}},"15868":{},"15869":{"_Position":{"__isSmartRef__":true,"id":15870},"renderContextTable":{"__isSmartRef__":true,"id":15871},"_Extent":{"__isSmartRef__":true,"id":15872},"_Padding":{"__isSmartRef__":true,"id":15873},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15870":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15871":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15872":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15873":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15874":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15875":{"morph":{"__isSmartRef__":true,"id":15804},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15876":{"layouter":{"__isSmartRef__":true,"id":15877},"resizeWidth":true},"15877":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":15804},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"15878":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15879":{"x":0,"y":340,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15880":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":15881}},"15881":{"varMapping":{"__isSmartRef__":true,"id":15882},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":15887},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15882":{"this":{"__isSmartRef__":true,"id":15804},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15883}},"15883":{"$super":{"__isSmartRef__":true,"id":15884}},"15884":{"varMapping":{"__isSmartRef__":true,"id":15885},"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":15886},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15885":{"obj":{"__isSmartRef__":true,"id":15804},"name":"getLayoutableSubmorphs"},"15886":{},"15887":{},"15888":{"submorphs":[{"__isSmartRef__":true,"id":15889}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15953},"derivationIds":[null],"id":"475EAA22-17FA-476A-A243-AB439E40C2C5","renderContextTable":{"__isSmartRef__":true,"id":15958},"eventHandler":{"__isSmartRef__":true,"id":15959},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":15960},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":15962},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":15963},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15964},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"15889":{"submorphs":[{"__isSmartRef__":true,"id":15890},{"__isSmartRef__":true,"id":15907}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15923},"derivationIds":[null],"id":"2C5D26B7-601B-4ECF-A7ED-6A7FCEAE3D47","renderContextTable":{"__isSmartRef__":true,"id":15928},"eventHandler":{"__isSmartRef__":true,"id":15929},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":15930},"grabbingEnabled":false,"draggingEnabled":false,"data":6,"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"lastFindLoc","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":15890},"text":{"__isSmartRef__":true,"id":15907},"owner":{"__isSmartRef__":true,"id":15888},"_Position":{"__isSmartRef__":true,"id":15931},"priorExtent":{"__isSmartRef__":true,"id":15932},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15933},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"15890":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15891},"derivationIds":[null],"id":"60343B79-1D0D-41FA-9886-AD3F428A3D2F","renderContextTable":{"__isSmartRef__":true,"id":15897},"eventHandler":{"__isSmartRef__":true,"id":15898},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":15899},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":15889},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15900},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"15891":{"_Position":{"__isSmartRef__":true,"id":15892},"renderContextTable":{"__isSmartRef__":true,"id":15893},"_Extent":{"__isSmartRef__":true,"id":15894},"_Padding":{"__isSmartRef__":true,"id":15895},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":15896},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15892":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15893":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15894":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15895":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15896":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15897":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15898":{"morph":{"__isSmartRef__":true,"id":15890},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15899":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15900":{"toggle":{"__isSmartRef__":true,"id":15901},"toggleExpansion":{"__isSmartRef__":true,"id":15904}},"15901":{"varMapping":{"__isSmartRef__":true,"id":15902},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":15903},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15902":{"this":{"__isSmartRef__":true,"id":15890}},"15903":{},"15904":{"varMapping":{"__isSmartRef__":true,"id":15905},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":15906},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15905":{"this":{"__isSmartRef__":true,"id":15890}},"15906":{},"15907":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15908},"derivationIds":[null],"id":"A8E85E17-7921-4F7E-A0A3-46D283C4C739","renderContextTable":{"__isSmartRef__":true,"id":15912},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":15913},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":15914},{"__isSmartRef__":true,"id":15916}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":15918},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":15889},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15919},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15908":{"_Position":{"__isSmartRef__":true,"id":15909},"renderContextTable":{"__isSmartRef__":true,"id":15910},"_Extent":{"__isSmartRef__":true,"id":15911},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15909":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15910":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15911":{"x":90,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15912":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"15913":{"morph":{"__isSmartRef__":true,"id":15907},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15914":{"style":{"__isSmartRef__":true,"id":15915},"chunkOwner":{"__isSmartRef__":true,"id":15907},"storedString":"lastFindLoc","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15915":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15916":{"style":{"__isSmartRef__":true,"id":15917},"chunkOwner":{"__isSmartRef__":true,"id":15907},"storedString":": 6","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15917":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15918":{"x":105,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15919":{"layoutText":{"__isSmartRef__":true,"id":15920}},"15920":{"varMapping":{"__isSmartRef__":true,"id":15921},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":15922},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15921":{"this":{"__isSmartRef__":true,"id":15907}},"15922":{},"15923":{"_Position":{"__isSmartRef__":true,"id":15924},"renderContextTable":{"__isSmartRef__":true,"id":15925},"_Extent":{"__isSmartRef__":true,"id":15926},"_Padding":{"__isSmartRef__":true,"id":15927},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15924":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15925":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15926":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15927":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15928":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15929":{"morph":{"__isSmartRef__":true,"id":15889},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15930":{"resizeWidth":true},"15931":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15932":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15933":{"updateExpanderColor":{"__isSmartRef__":true,"id":15934},"onMouseDown":{"__isSmartRef__":true,"id":15937},"isRoot":{"__isSmartRef__":true,"id":15944},"displayValue":{"__isSmartRef__":true,"id":15947},"update":{"__isSmartRef__":true,"id":15950}},"15934":{"varMapping":{"__isSmartRef__":true,"id":15935},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":15936},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15935":{"this":{"__isSmartRef__":true,"id":15889}},"15936":{},"15937":{"varMapping":{"__isSmartRef__":true,"id":15938},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":15943},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15938":{"this":{"__isSmartRef__":true,"id":15889},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15939}},"15939":{"$super":{"__isSmartRef__":true,"id":15940}},"15940":{"varMapping":{"__isSmartRef__":true,"id":15941},"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":15942},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15941":{"obj":{"__isSmartRef__":true,"id":15889},"name":"onMouseDown"},"15942":{},"15943":{},"15944":{"varMapping":{"__isSmartRef__":true,"id":15945},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":15946},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15945":{"this":{"__isSmartRef__":true,"id":15889}},"15946":{},"15947":{"varMapping":{"__isSmartRef__":true,"id":15948},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":15949},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15948":{"this":{"__isSmartRef__":true,"id":15889}},"15949":{},"15950":{"varMapping":{"__isSmartRef__":true,"id":15951},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":15952},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15951":{"this":{"__isSmartRef__":true,"id":15889}},"15952":{},"15953":{"_Position":{"__isSmartRef__":true,"id":15954},"renderContextTable":{"__isSmartRef__":true,"id":15955},"_Extent":{"__isSmartRef__":true,"id":15956},"_Padding":{"__isSmartRef__":true,"id":15957},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15954":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15955":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15956":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15957":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15958":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15959":{"morph":{"__isSmartRef__":true,"id":15888},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15960":{"layouter":{"__isSmartRef__":true,"id":15961},"resizeWidth":true},"15961":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":15888},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"15962":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15963":{"x":0,"y":320,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15964":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":15965}},"15965":{"varMapping":{"__isSmartRef__":true,"id":15966},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":15971},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15966":{"this":{"__isSmartRef__":true,"id":15888},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15967}},"15967":{"$super":{"__isSmartRef__":true,"id":15968}},"15968":{"varMapping":{"__isSmartRef__":true,"id":15969},"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":15970},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15969":{"obj":{"__isSmartRef__":true,"id":15888},"name":"getLayoutableSubmorphs"},"15970":{},"15971":{},"15972":{"submorphs":[{"__isSmartRef__":true,"id":15973}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16037},"derivationIds":[null],"id":"FD445C4F-5556-48CE-A9FF-C030515BD852","renderContextTable":{"__isSmartRef__":true,"id":16042},"eventHandler":{"__isSmartRef__":true,"id":16043},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16044},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":16046},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":16047},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16048},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"15973":{"submorphs":[{"__isSmartRef__":true,"id":15974},{"__isSmartRef__":true,"id":15991}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16007},"derivationIds":[null],"id":"D44D2193-DE7B-4070-BDEF-E80BDA448653","renderContextTable":{"__isSmartRef__":true,"id":16012},"eventHandler":{"__isSmartRef__":true,"id":16013},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16014},"grabbingEnabled":false,"draggingEnabled":false,"data":1,"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"morphRefId","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":15974},"text":{"__isSmartRef__":true,"id":15991},"owner":{"__isSmartRef__":true,"id":15972},"_Position":{"__isSmartRef__":true,"id":16015},"priorExtent":{"__isSmartRef__":true,"id":16016},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16017},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"15974":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15975},"derivationIds":[null],"id":"9DBEC965-2877-465B-B3D1-9E4F8DD516A8","renderContextTable":{"__isSmartRef__":true,"id":15981},"eventHandler":{"__isSmartRef__":true,"id":15982},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":15983},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":15973},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15984},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"15975":{"_Position":{"__isSmartRef__":true,"id":15976},"renderContextTable":{"__isSmartRef__":true,"id":15977},"_Extent":{"__isSmartRef__":true,"id":15978},"_Padding":{"__isSmartRef__":true,"id":15979},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":15980},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15976":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15977":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15978":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15979":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15980":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15981":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"15982":{"morph":{"__isSmartRef__":true,"id":15974},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15983":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15984":{"toggle":{"__isSmartRef__":true,"id":15985},"toggleExpansion":{"__isSmartRef__":true,"id":15988}},"15985":{"varMapping":{"__isSmartRef__":true,"id":15986},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":15987},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15986":{"this":{"__isSmartRef__":true,"id":15974}},"15987":{},"15988":{"varMapping":{"__isSmartRef__":true,"id":15989},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":15990},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15989":{"this":{"__isSmartRef__":true,"id":15974}},"15990":{},"15991":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15992},"derivationIds":[null],"id":"A9E2F5D1-6962-4E97-9872-3942CA5ACC48","renderContextTable":{"__isSmartRef__":true,"id":15996},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":15997},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":15998},{"__isSmartRef__":true,"id":16000}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":16002},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":15973},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16003},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15992":{"_Position":{"__isSmartRef__":true,"id":15993},"renderContextTable":{"__isSmartRef__":true,"id":15994},"_Extent":{"__isSmartRef__":true,"id":15995},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"15993":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15994":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"15995":{"x":88,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"15996":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"15997":{"morph":{"__isSmartRef__":true,"id":15991},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15998":{"style":{"__isSmartRef__":true,"id":15999},"chunkOwner":{"__isSmartRef__":true,"id":15991},"storedString":"morphRefId","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15999":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16000":{"style":{"__isSmartRef__":true,"id":16001},"chunkOwner":{"__isSmartRef__":true,"id":15991},"storedString":": 1","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16001":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16002":{"x":97.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16003":{"layoutText":{"__isSmartRef__":true,"id":16004}},"16004":{"varMapping":{"__isSmartRef__":true,"id":16005},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":16006},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16005":{"this":{"__isSmartRef__":true,"id":15991}},"16006":{},"16007":{"_Position":{"__isSmartRef__":true,"id":16008},"renderContextTable":{"__isSmartRef__":true,"id":16009},"_Extent":{"__isSmartRef__":true,"id":16010},"_Padding":{"__isSmartRef__":true,"id":16011},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16008":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16009":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16010":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16011":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16012":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16013":{"morph":{"__isSmartRef__":true,"id":15973},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16014":{"resizeWidth":true},"16015":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16016":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16017":{"updateExpanderColor":{"__isSmartRef__":true,"id":16018},"onMouseDown":{"__isSmartRef__":true,"id":16021},"isRoot":{"__isSmartRef__":true,"id":16028},"displayValue":{"__isSmartRef__":true,"id":16031},"update":{"__isSmartRef__":true,"id":16034}},"16018":{"varMapping":{"__isSmartRef__":true,"id":16019},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":16020},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16019":{"this":{"__isSmartRef__":true,"id":15973}},"16020":{},"16021":{"varMapping":{"__isSmartRef__":true,"id":16022},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":16027},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16022":{"this":{"__isSmartRef__":true,"id":15973},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16023}},"16023":{"$super":{"__isSmartRef__":true,"id":16024}},"16024":{"varMapping":{"__isSmartRef__":true,"id":16025},"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":16026},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16025":{"obj":{"__isSmartRef__":true,"id":15973},"name":"onMouseDown"},"16026":{},"16027":{},"16028":{"varMapping":{"__isSmartRef__":true,"id":16029},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":16030},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16029":{"this":{"__isSmartRef__":true,"id":15973}},"16030":{},"16031":{"varMapping":{"__isSmartRef__":true,"id":16032},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":16033},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16032":{"this":{"__isSmartRef__":true,"id":15973}},"16033":{},"16034":{"varMapping":{"__isSmartRef__":true,"id":16035},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":16036},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16035":{"this":{"__isSmartRef__":true,"id":15973}},"16036":{},"16037":{"_Position":{"__isSmartRef__":true,"id":16038},"renderContextTable":{"__isSmartRef__":true,"id":16039},"_Extent":{"__isSmartRef__":true,"id":16040},"_Padding":{"__isSmartRef__":true,"id":16041},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16038":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16039":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16040":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16041":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16042":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16043":{"morph":{"__isSmartRef__":true,"id":15972},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16044":{"layouter":{"__isSmartRef__":true,"id":16045},"resizeWidth":true},"16045":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":15972},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"16046":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16047":{"x":0,"y":300,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16048":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":16049}},"16049":{"varMapping":{"__isSmartRef__":true,"id":16050},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":16055},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16050":{"this":{"__isSmartRef__":true,"id":15972},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16051}},"16051":{"$super":{"__isSmartRef__":true,"id":16052}},"16052":{"varMapping":{"__isSmartRef__":true,"id":16053},"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":16054},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16053":{"obj":{"__isSmartRef__":true,"id":15972},"name":"getLayoutableSubmorphs"},"16054":{},"16055":{},"16056":{"submorphs":[{"__isSmartRef__":true,"id":16057}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16121},"derivationIds":[null],"id":"58533358-10D6-47A0-8C3C-8C09D315112E","renderContextTable":{"__isSmartRef__":true,"id":16126},"eventHandler":{"__isSmartRef__":true,"id":16127},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16128},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":16130},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":16131},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16132},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"16057":{"submorphs":[{"__isSmartRef__":true,"id":16058},{"__isSmartRef__":true,"id":16075}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16091},"derivationIds":[null],"id":"9BC9DE3A-4079-4A08-ADE5-803C54A9BAB7","renderContextTable":{"__isSmartRef__":true,"id":16096},"eventHandler":{"__isSmartRef__":true,"id":16097},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16098},"grabbingEnabled":false,"draggingEnabled":false,"data":"MenuPosition","propertyList":["0","1","2","3","4","5","6","7","8","9","10","11"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"name","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":16058},"text":{"__isSmartRef__":true,"id":16075},"owner":{"__isSmartRef__":true,"id":16056},"_Position":{"__isSmartRef__":true,"id":16099},"priorExtent":{"__isSmartRef__":true,"id":16100},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16101},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"16058":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":16059},"derivationIds":[null],"id":"B6121EBD-755A-4B55-8C58-55F5B4F9771D","renderContextTable":{"__isSmartRef__":true,"id":16065},"eventHandler":{"__isSmartRef__":true,"id":16066},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":16067},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":16057},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16068},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"16059":{"_Position":{"__isSmartRef__":true,"id":16060},"renderContextTable":{"__isSmartRef__":true,"id":16061},"_Extent":{"__isSmartRef__":true,"id":16062},"_Padding":{"__isSmartRef__":true,"id":16063},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":16064},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16060":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16061":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16062":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16063":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16064":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16065":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16066":{"morph":{"__isSmartRef__":true,"id":16058},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16067":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16068":{"toggle":{"__isSmartRef__":true,"id":16069},"toggleExpansion":{"__isSmartRef__":true,"id":16072}},"16069":{"varMapping":{"__isSmartRef__":true,"id":16070},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":16071},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16070":{"this":{"__isSmartRef__":true,"id":16058}},"16071":{},"16072":{"varMapping":{"__isSmartRef__":true,"id":16073},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":16074},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16073":{"this":{"__isSmartRef__":true,"id":16058}},"16074":{},"16075":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":16076},"derivationIds":[null],"id":"B4DD9283-99D4-440E-86FA-26FFB8563D78","renderContextTable":{"__isSmartRef__":true,"id":16080},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":16081},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":16082},{"__isSmartRef__":true,"id":16084}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":16086},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":16057},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16087},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16076":{"_Position":{"__isSmartRef__":true,"id":16077},"renderContextTable":{"__isSmartRef__":true,"id":16078},"_Extent":{"__isSmartRef__":true,"id":16079},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16077":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16078":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16079":{"x":126,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16080":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"16081":{"morph":{"__isSmartRef__":true,"id":16075},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16082":{"style":{"__isSmartRef__":true,"id":16083},"chunkOwner":{"__isSmartRef__":true,"id":16075},"storedString":"name","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16083":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16084":{"style":{"__isSmartRef__":true,"id":16085},"chunkOwner":{"__isSmartRef__":true,"id":16075},"storedString":": MenuPosition","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16085":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16086":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16087":{"layoutText":{"__isSmartRef__":true,"id":16088}},"16088":{"varMapping":{"__isSmartRef__":true,"id":16089},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":16090},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16089":{"this":{"__isSmartRef__":true,"id":16075}},"16090":{},"16091":{"_Position":{"__isSmartRef__":true,"id":16092},"renderContextTable":{"__isSmartRef__":true,"id":16093},"_Extent":{"__isSmartRef__":true,"id":16094},"_Padding":{"__isSmartRef__":true,"id":16095},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16092":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16093":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16094":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16095":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16096":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16097":{"morph":{"__isSmartRef__":true,"id":16057},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16098":{"resizeWidth":true},"16099":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16100":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16101":{"updateExpanderColor":{"__isSmartRef__":true,"id":16102},"onMouseDown":{"__isSmartRef__":true,"id":16105},"isRoot":{"__isSmartRef__":true,"id":16112},"displayValue":{"__isSmartRef__":true,"id":16115},"update":{"__isSmartRef__":true,"id":16118}},"16102":{"varMapping":{"__isSmartRef__":true,"id":16103},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":16104},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16103":{"this":{"__isSmartRef__":true,"id":16057}},"16104":{},"16105":{"varMapping":{"__isSmartRef__":true,"id":16106},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":16111},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16106":{"this":{"__isSmartRef__":true,"id":16057},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16107}},"16107":{"$super":{"__isSmartRef__":true,"id":16108}},"16108":{"varMapping":{"__isSmartRef__":true,"id":16109},"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":16110},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16109":{"obj":{"__isSmartRef__":true,"id":16057},"name":"onMouseDown"},"16110":{},"16111":{},"16112":{"varMapping":{"__isSmartRef__":true,"id":16113},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":16114},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16113":{"this":{"__isSmartRef__":true,"id":16057}},"16114":{},"16115":{"varMapping":{"__isSmartRef__":true,"id":16116},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":16117},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16116":{"this":{"__isSmartRef__":true,"id":16057}},"16117":{},"16118":{"varMapping":{"__isSmartRef__":true,"id":16119},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":16120},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16119":{"this":{"__isSmartRef__":true,"id":16057}},"16120":{},"16121":{"_Position":{"__isSmartRef__":true,"id":16122},"renderContextTable":{"__isSmartRef__":true,"id":16123},"_Extent":{"__isSmartRef__":true,"id":16124},"_Padding":{"__isSmartRef__":true,"id":16125},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16122":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16123":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16124":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16125":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16126":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16127":{"morph":{"__isSmartRef__":true,"id":16056},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16128":{"layouter":{"__isSmartRef__":true,"id":16129},"resizeWidth":true},"16129":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":16056},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"16130":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16131":{"x":0,"y":280,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16132":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":16133}},"16133":{"varMapping":{"__isSmartRef__":true,"id":16134},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":16139},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16134":{"this":{"__isSmartRef__":true,"id":16056},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16135}},"16135":{"$super":{"__isSmartRef__":true,"id":16136}},"16136":{"varMapping":{"__isSmartRef__":true,"id":16137},"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":16138},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16137":{"obj":{"__isSmartRef__":true,"id":16056},"name":"getLayoutableSubmorphs"},"16138":{},"16139":{},"16140":{"submorphs":[{"__isSmartRef__":true,"id":16141}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16205},"derivationIds":[null],"id":"343EF370-862D-41B5-AC50-CC2A32BE0E99","renderContextTable":{"__isSmartRef__":true,"id":16210},"eventHandler":{"__isSmartRef__":true,"id":16211},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16212},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":16214},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":16215},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16216},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"16141":{"submorphs":[{"__isSmartRef__":true,"id":16142},{"__isSmartRef__":true,"id":16159}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16175},"derivationIds":[null],"id":"53F422EB-4985-4135-8CAE-23D4421C704F","renderContextTable":{"__isSmartRef__":true,"id":16180},"eventHandler":{"__isSmartRef__":true,"id":16181},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16182},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1352},"propertyList":["submorphs","scripts","id","shape","droppingEnabled","halosEnabled","registeredForMouseEvents","_Position","showsHalos","name","partsBinMetaInfo","__SourceModuleName__","renderContextTable","eventHandler","attributeConnections","doNotSerialize","doNotCopyProperties","derivationIds","owner","priorExtent","isBeingDragged","distanceToDragEvent","prevScroll","lastTimeClickedOnIpad","layout","isLockOwner","_ClipMode","_renderContext","_isRendered","halos","_Rotation","_Scale"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"owner","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":16142},"text":{"__isSmartRef__":true,"id":16159},"owner":{"__isSmartRef__":true,"id":16140},"_Position":{"__isSmartRef__":true,"id":16183},"priorExtent":{"__isSmartRef__":true,"id":16184},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16185},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"16142":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":16143},"derivationIds":[null],"id":"D8EA5712-162C-4BAD-9846-D23E479B3A94","renderContextTable":{"__isSmartRef__":true,"id":16149},"eventHandler":{"__isSmartRef__":true,"id":16150},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":16151},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":16141},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16152},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"16143":{"_Position":{"__isSmartRef__":true,"id":16144},"renderContextTable":{"__isSmartRef__":true,"id":16145},"_Extent":{"__isSmartRef__":true,"id":16146},"_Padding":{"__isSmartRef__":true,"id":16147},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":16148},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16144":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16145":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16146":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16147":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16148":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16149":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16150":{"morph":{"__isSmartRef__":true,"id":16142},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16151":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16152":{"toggle":{"__isSmartRef__":true,"id":16153},"toggleExpansion":{"__isSmartRef__":true,"id":16156}},"16153":{"varMapping":{"__isSmartRef__":true,"id":16154},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":16155},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16154":{"this":{"__isSmartRef__":true,"id":16142}},"16155":{},"16156":{"varMapping":{"__isSmartRef__":true,"id":16157},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":16158},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16157":{"this":{"__isSmartRef__":true,"id":16142}},"16158":{},"16159":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":16160},"derivationIds":[null],"id":"064CE746-69B2-4389-B83F-CDE0E21F9F51","renderContextTable":{"__isSmartRef__":true,"id":16164},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":16165},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":16166},{"__isSmartRef__":true,"id":16168}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":16170},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":16141},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16171},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16160":{"_Position":{"__isSmartRef__":true,"id":16161},"renderContextTable":{"__isSmartRef__":true,"id":16162},"_Extent":{"__isSmartRef__":true,"id":16163},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16161":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16162":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16163":{"x":91,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16164":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"16165":{"morph":{"__isSmartRef__":true,"id":16159},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16166":{"style":{"__isSmartRef__":true,"id":16167},"chunkOwner":{"__isSmartRef__":true,"id":16159},"storedString":"owner","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16167":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16168":{"style":{"__isSmartRef__":true,"id":16169},"chunkOwner":{"__isSmartRef__":true,"id":16159},"storedString":": Header","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16169":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16170":{"x":97.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16171":{"layoutText":{"__isSmartRef__":true,"id":16172}},"16172":{"varMapping":{"__isSmartRef__":true,"id":16173},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":16174},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16173":{"this":{"__isSmartRef__":true,"id":16159}},"16174":{},"16175":{"_Position":{"__isSmartRef__":true,"id":16176},"renderContextTable":{"__isSmartRef__":true,"id":16177},"_Extent":{"__isSmartRef__":true,"id":16178},"_Padding":{"__isSmartRef__":true,"id":16179},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16176":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16177":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16178":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16179":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16180":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16181":{"morph":{"__isSmartRef__":true,"id":16141},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16182":{"resizeWidth":true},"16183":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16184":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16185":{"updateExpanderColor":{"__isSmartRef__":true,"id":16186},"onMouseDown":{"__isSmartRef__":true,"id":16189},"isRoot":{"__isSmartRef__":true,"id":16196},"displayValue":{"__isSmartRef__":true,"id":16199},"update":{"__isSmartRef__":true,"id":16202}},"16186":{"varMapping":{"__isSmartRef__":true,"id":16187},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":16188},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16187":{"this":{"__isSmartRef__":true,"id":16141}},"16188":{},"16189":{"varMapping":{"__isSmartRef__":true,"id":16190},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":16195},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16190":{"this":{"__isSmartRef__":true,"id":16141},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16191}},"16191":{"$super":{"__isSmartRef__":true,"id":16192}},"16192":{"varMapping":{"__isSmartRef__":true,"id":16193},"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":16194},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16193":{"obj":{"__isSmartRef__":true,"id":16141},"name":"onMouseDown"},"16194":{},"16195":{},"16196":{"varMapping":{"__isSmartRef__":true,"id":16197},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":16198},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16197":{"this":{"__isSmartRef__":true,"id":16141}},"16198":{},"16199":{"varMapping":{"__isSmartRef__":true,"id":16200},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":16201},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16200":{"this":{"__isSmartRef__":true,"id":16141}},"16201":{},"16202":{"varMapping":{"__isSmartRef__":true,"id":16203},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":16204},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16203":{"this":{"__isSmartRef__":true,"id":16141}},"16204":{},"16205":{"_Position":{"__isSmartRef__":true,"id":16206},"renderContextTable":{"__isSmartRef__":true,"id":16207},"_Extent":{"__isSmartRef__":true,"id":16208},"_Padding":{"__isSmartRef__":true,"id":16209},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16206":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16207":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16208":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16209":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16210":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16211":{"morph":{"__isSmartRef__":true,"id":16140},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16212":{"layouter":{"__isSmartRef__":true,"id":16213},"resizeWidth":true},"16213":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":16140},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"16214":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16215":{"x":0,"y":260,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16216":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":16217}},"16217":{"varMapping":{"__isSmartRef__":true,"id":16218},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":16223},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16218":{"this":{"__isSmartRef__":true,"id":16140},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16219}},"16219":{"$super":{"__isSmartRef__":true,"id":16220}},"16220":{"varMapping":{"__isSmartRef__":true,"id":16221},"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":16222},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16221":{"obj":{"__isSmartRef__":true,"id":16140},"name":"getLayoutableSubmorphs"},"16222":{},"16223":{},"16224":{"submorphs":[{"__isSmartRef__":true,"id":16225}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16289},"derivationIds":[null],"id":"4FF27057-5D1F-4834-AA64-AE22B902CDE0","renderContextTable":{"__isSmartRef__":true,"id":16294},"eventHandler":{"__isSmartRef__":true,"id":16295},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16296},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":16298},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":16299},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16300},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"16225":{"submorphs":[{"__isSmartRef__":true,"id":16226},{"__isSmartRef__":true,"id":16243}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16259},"derivationIds":[null],"id":"F0A9F315-6EC4-4294-8CBC-75EADF19E1B4","renderContextTable":{"__isSmartRef__":true,"id":16264},"eventHandler":{"__isSmartRef__":true,"id":16265},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16266},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1345},"propertyList":["partsSpaceName","__SourceModuleName__","migrationLevel","comment","partName"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"partsBinMetaInfo","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":16226},"text":{"__isSmartRef__":true,"id":16243},"owner":{"__isSmartRef__":true,"id":16224},"_Position":{"__isSmartRef__":true,"id":16267},"priorExtent":{"__isSmartRef__":true,"id":16268},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16269},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"16226":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":16227},"derivationIds":[null],"id":"A663446B-9E5D-4740-A4F6-5BCC6A543A19","renderContextTable":{"__isSmartRef__":true,"id":16233},"eventHandler":{"__isSmartRef__":true,"id":16234},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":16235},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":16225},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16236},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"16227":{"_Position":{"__isSmartRef__":true,"id":16228},"renderContextTable":{"__isSmartRef__":true,"id":16229},"_Extent":{"__isSmartRef__":true,"id":16230},"_Padding":{"__isSmartRef__":true,"id":16231},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":16232},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16228":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16229":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16230":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16231":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16232":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16233":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16234":{"morph":{"__isSmartRef__":true,"id":16226},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16235":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16236":{"toggle":{"__isSmartRef__":true,"id":16237},"toggleExpansion":{"__isSmartRef__":true,"id":16240}},"16237":{"varMapping":{"__isSmartRef__":true,"id":16238},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":16239},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16238":{"this":{"__isSmartRef__":true,"id":16226}},"16239":{},"16240":{"varMapping":{"__isSmartRef__":true,"id":16241},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":16242},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16241":{"this":{"__isSmartRef__":true,"id":16226}},"16242":{},"16243":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":16244},"derivationIds":[null],"id":"80564699-8BF5-4AF7-829B-8452AF9ACCA1","renderContextTable":{"__isSmartRef__":true,"id":16248},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":16249},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":16250},{"__isSmartRef__":true,"id":16252}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":16254},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":16225},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16255},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16244":{"_Position":{"__isSmartRef__":true,"id":16245},"renderContextTable":{"__isSmartRef__":true,"id":16246},"_Extent":{"__isSmartRef__":true,"id":16247},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16245":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16246":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16247":{"x":213,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16248":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"16249":{"morph":{"__isSmartRef__":true,"id":16243},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16250":{"style":{"__isSmartRef__":true,"id":16251},"chunkOwner":{"__isSmartRef__":true,"id":16243},"storedString":"partsBinMetaInfo","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16251":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16252":{"style":{"__isSmartRef__":true,"id":16253},"chunkOwner":{"__isSmartRef__":true,"id":16243},"storedString":": PartsBinMetaInfo","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16253":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16254":{"x":255,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16255":{"layoutText":{"__isSmartRef__":true,"id":16256}},"16256":{"varMapping":{"__isSmartRef__":true,"id":16257},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":16258},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16257":{"this":{"__isSmartRef__":true,"id":16243}},"16258":{},"16259":{"_Position":{"__isSmartRef__":true,"id":16260},"renderContextTable":{"__isSmartRef__":true,"id":16261},"_Extent":{"__isSmartRef__":true,"id":16262},"_Padding":{"__isSmartRef__":true,"id":16263},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16260":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16261":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16262":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16263":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16264":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16265":{"morph":{"__isSmartRef__":true,"id":16225},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16266":{"resizeWidth":true},"16267":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16268":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16269":{"updateExpanderColor":{"__isSmartRef__":true,"id":16270},"onMouseDown":{"__isSmartRef__":true,"id":16273},"isRoot":{"__isSmartRef__":true,"id":16280},"displayValue":{"__isSmartRef__":true,"id":16283},"update":{"__isSmartRef__":true,"id":16286}},"16270":{"varMapping":{"__isSmartRef__":true,"id":16271},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":16272},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16271":{"this":{"__isSmartRef__":true,"id":16225}},"16272":{},"16273":{"varMapping":{"__isSmartRef__":true,"id":16274},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":16279},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16274":{"this":{"__isSmartRef__":true,"id":16225},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16275}},"16275":{"$super":{"__isSmartRef__":true,"id":16276}},"16276":{"varMapping":{"__isSmartRef__":true,"id":16277},"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":16278},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16277":{"obj":{"__isSmartRef__":true,"id":16225},"name":"onMouseDown"},"16278":{},"16279":{},"16280":{"varMapping":{"__isSmartRef__":true,"id":16281},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":16282},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16281":{"this":{"__isSmartRef__":true,"id":16225}},"16282":{},"16283":{"varMapping":{"__isSmartRef__":true,"id":16284},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":16285},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16284":{"this":{"__isSmartRef__":true,"id":16225}},"16285":{},"16286":{"varMapping":{"__isSmartRef__":true,"id":16287},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":16288},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16287":{"this":{"__isSmartRef__":true,"id":16225}},"16288":{},"16289":{"_Position":{"__isSmartRef__":true,"id":16290},"renderContextTable":{"__isSmartRef__":true,"id":16291},"_Extent":{"__isSmartRef__":true,"id":16292},"_Padding":{"__isSmartRef__":true,"id":16293},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16290":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16291":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16292":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16293":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16294":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16295":{"morph":{"__isSmartRef__":true,"id":16224},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16296":{"layouter":{"__isSmartRef__":true,"id":16297},"resizeWidth":true},"16297":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":16224},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"16298":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16299":{"x":0,"y":240,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16300":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":16301}},"16301":{"varMapping":{"__isSmartRef__":true,"id":16302},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":16307},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16302":{"this":{"__isSmartRef__":true,"id":16224},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16303}},"16303":{"$super":{"__isSmartRef__":true,"id":16304}},"16304":{"varMapping":{"__isSmartRef__":true,"id":16305},"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":16306},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16305":{"obj":{"__isSmartRef__":true,"id":16224},"name":"getLayoutableSubmorphs"},"16306":{},"16307":{},"16308":{"submorphs":[{"__isSmartRef__":true,"id":16309}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16373},"derivationIds":[null],"id":"A9D526D0-887F-49E5-AAAE-EE619F0454E7","renderContextTable":{"__isSmartRef__":true,"id":16378},"eventHandler":{"__isSmartRef__":true,"id":16379},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16380},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":16382},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":16383},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16384},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"16309":{"submorphs":[{"__isSmartRef__":true,"id":16310},{"__isSmartRef__":true,"id":16327}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16343},"derivationIds":[null],"id":"BAE08012-5378-43F0-A291-B0C626D342DE","renderContextTable":{"__isSmartRef__":true,"id":16348},"eventHandler":{"__isSmartRef__":true,"id":16349},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16350},"grabbingEnabled":false,"draggingEnabled":false,"data":[0,0],"propertyList":["0","1"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"prevScroll","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":16310},"text":{"__isSmartRef__":true,"id":16327},"owner":{"__isSmartRef__":true,"id":16308},"_Position":{"__isSmartRef__":true,"id":16351},"priorExtent":{"__isSmartRef__":true,"id":16352},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16353},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"16310":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":16311},"derivationIds":[null],"id":"1814158B-4242-41EC-8868-8BA5F2143E1E","renderContextTable":{"__isSmartRef__":true,"id":16317},"eventHandler":{"__isSmartRef__":true,"id":16318},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":16319},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":16309},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16320},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"16311":{"_Position":{"__isSmartRef__":true,"id":16312},"renderContextTable":{"__isSmartRef__":true,"id":16313},"_Extent":{"__isSmartRef__":true,"id":16314},"_Padding":{"__isSmartRef__":true,"id":16315},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":16316},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16312":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16313":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16314":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16315":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16316":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16317":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16318":{"morph":{"__isSmartRef__":true,"id":16310},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16319":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16320":{"toggle":{"__isSmartRef__":true,"id":16321},"toggleExpansion":{"__isSmartRef__":true,"id":16324}},"16321":{"varMapping":{"__isSmartRef__":true,"id":16322},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":16323},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16322":{"this":{"__isSmartRef__":true,"id":16310}},"16323":{},"16324":{"varMapping":{"__isSmartRef__":true,"id":16325},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":16326},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16325":{"this":{"__isSmartRef__":true,"id":16310}},"16326":{},"16327":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":16328},"derivationIds":[null],"id":"27BBF0EC-5C06-4BCD-B72F-8A6235AEFEBF","renderContextTable":{"__isSmartRef__":true,"id":16332},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":16333},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":16334},{"__isSmartRef__":true,"id":16336}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":16338},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":16309},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16339},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16328":{"_Position":{"__isSmartRef__":true,"id":16329},"renderContextTable":{"__isSmartRef__":true,"id":16330},"_Extent":{"__isSmartRef__":true,"id":16331},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16329":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16330":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16331":{"x":92,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16332":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"16333":{"morph":{"__isSmartRef__":true,"id":16327},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16334":{"style":{"__isSmartRef__":true,"id":16335},"chunkOwner":{"__isSmartRef__":true,"id":16327},"storedString":"prevScroll","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16335":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16336":{"style":{"__isSmartRef__":true,"id":16337},"chunkOwner":{"__isSmartRef__":true,"id":16327},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16337":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16338":{"x":127.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16339":{"layoutText":{"__isSmartRef__":true,"id":16340}},"16340":{"varMapping":{"__isSmartRef__":true,"id":16341},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":16342},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16341":{"this":{"__isSmartRef__":true,"id":16327}},"16342":{},"16343":{"_Position":{"__isSmartRef__":true,"id":16344},"renderContextTable":{"__isSmartRef__":true,"id":16345},"_Extent":{"__isSmartRef__":true,"id":16346},"_Padding":{"__isSmartRef__":true,"id":16347},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16344":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16345":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16346":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16347":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16348":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16349":{"morph":{"__isSmartRef__":true,"id":16309},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16350":{"resizeWidth":true},"16351":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16352":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16353":{"updateExpanderColor":{"__isSmartRef__":true,"id":16354},"onMouseDown":{"__isSmartRef__":true,"id":16357},"isRoot":{"__isSmartRef__":true,"id":16364},"displayValue":{"__isSmartRef__":true,"id":16367},"update":{"__isSmartRef__":true,"id":16370}},"16354":{"varMapping":{"__isSmartRef__":true,"id":16355},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":16356},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16355":{"this":{"__isSmartRef__":true,"id":16309}},"16356":{},"16357":{"varMapping":{"__isSmartRef__":true,"id":16358},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":16363},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16358":{"this":{"__isSmartRef__":true,"id":16309},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16359}},"16359":{"$super":{"__isSmartRef__":true,"id":16360}},"16360":{"varMapping":{"__isSmartRef__":true,"id":16361},"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":16362},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16361":{"obj":{"__isSmartRef__":true,"id":16309},"name":"onMouseDown"},"16362":{},"16363":{},"16364":{"varMapping":{"__isSmartRef__":true,"id":16365},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":16366},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16365":{"this":{"__isSmartRef__":true,"id":16309}},"16366":{},"16367":{"varMapping":{"__isSmartRef__":true,"id":16368},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":16369},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16368":{"this":{"__isSmartRef__":true,"id":16309}},"16369":{},"16370":{"varMapping":{"__isSmartRef__":true,"id":16371},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":16372},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16371":{"this":{"__isSmartRef__":true,"id":16309}},"16372":{},"16373":{"_Position":{"__isSmartRef__":true,"id":16374},"renderContextTable":{"__isSmartRef__":true,"id":16375},"_Extent":{"__isSmartRef__":true,"id":16376},"_Padding":{"__isSmartRef__":true,"id":16377},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16374":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16375":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16376":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16377":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16378":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16379":{"morph":{"__isSmartRef__":true,"id":16308},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16380":{"layouter":{"__isSmartRef__":true,"id":16381},"resizeWidth":true},"16381":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":16308},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"16382":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16383":{"x":0,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16384":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":16385}},"16385":{"varMapping":{"__isSmartRef__":true,"id":16386},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":16391},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16386":{"this":{"__isSmartRef__":true,"id":16308},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16387}},"16387":{"$super":{"__isSmartRef__":true,"id":16388}},"16388":{"varMapping":{"__isSmartRef__":true,"id":16389},"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":16390},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16389":{"obj":{"__isSmartRef__":true,"id":16308},"name":"getLayoutableSubmorphs"},"16390":{},"16391":{},"16392":{"submorphs":[{"__isSmartRef__":true,"id":16393}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16457},"derivationIds":[null],"id":"F21A4235-81AD-4FB3-B10D-B8B0217DF69F","renderContextTable":{"__isSmartRef__":true,"id":16462},"eventHandler":{"__isSmartRef__":true,"id":16463},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16464},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":16466},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":16467},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16468},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"16393":{"submorphs":[{"__isSmartRef__":true,"id":16394},{"__isSmartRef__":true,"id":16411}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16427},"derivationIds":[null],"id":"EC74F9C8-5373-4EAD-A74A-5C2ED77BACDD","renderContextTable":{"__isSmartRef__":true,"id":16432},"eventHandler":{"__isSmartRef__":true,"id":16433},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16434},"grabbingEnabled":false,"draggingEnabled":false,"data":[6,6],"propertyList":["0","1"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"previousSelection","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":16394},"text":{"__isSmartRef__":true,"id":16411},"owner":{"__isSmartRef__":true,"id":16392},"_Position":{"__isSmartRef__":true,"id":16435},"priorExtent":{"__isSmartRef__":true,"id":16436},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16437},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"16394":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":16395},"derivationIds":[null],"id":"92F9BCE4-D82B-401E-968B-AA30A0B74F5C","renderContextTable":{"__isSmartRef__":true,"id":16401},"eventHandler":{"__isSmartRef__":true,"id":16402},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":16403},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":16393},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16404},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"16395":{"_Position":{"__isSmartRef__":true,"id":16396},"renderContextTable":{"__isSmartRef__":true,"id":16397},"_Extent":{"__isSmartRef__":true,"id":16398},"_Padding":{"__isSmartRef__":true,"id":16399},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":16400},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16396":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16397":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16398":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16399":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16400":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16401":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16402":{"morph":{"__isSmartRef__":true,"id":16394},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16403":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16404":{"toggle":{"__isSmartRef__":true,"id":16405},"toggleExpansion":{"__isSmartRef__":true,"id":16408}},"16405":{"varMapping":{"__isSmartRef__":true,"id":16406},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":16407},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16406":{"this":{"__isSmartRef__":true,"id":16394}},"16407":{},"16408":{"varMapping":{"__isSmartRef__":true,"id":16409},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":16410},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16409":{"this":{"__isSmartRef__":true,"id":16394}},"16410":{},"16411":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":16412},"derivationIds":[null],"id":"3D2B9D9F-D12C-4A88-A5D3-A18FF5E64C39","renderContextTable":{"__isSmartRef__":true,"id":16416},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":16417},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":16418},{"__isSmartRef__":true,"id":16420}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":16422},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":16393},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16423},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16412":{"_Position":{"__isSmartRef__":true,"id":16413},"renderContextTable":{"__isSmartRef__":true,"id":16414},"_Extent":{"__isSmartRef__":true,"id":16415},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16413":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16414":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16415":{"x":137,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16416":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"16417":{"morph":{"__isSmartRef__":true,"id":16411},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16418":{"style":{"__isSmartRef__":true,"id":16419},"chunkOwner":{"__isSmartRef__":true,"id":16411},"storedString":"previousSelection","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16419":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16420":{"style":{"__isSmartRef__":true,"id":16421},"chunkOwner":{"__isSmartRef__":true,"id":16411},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16421":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16422":{"x":180,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16423":{"layoutText":{"__isSmartRef__":true,"id":16424}},"16424":{"varMapping":{"__isSmartRef__":true,"id":16425},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":16426},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16425":{"this":{"__isSmartRef__":true,"id":16411}},"16426":{},"16427":{"_Position":{"__isSmartRef__":true,"id":16428},"renderContextTable":{"__isSmartRef__":true,"id":16429},"_Extent":{"__isSmartRef__":true,"id":16430},"_Padding":{"__isSmartRef__":true,"id":16431},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16428":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16429":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16430":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16431":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16432":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16433":{"morph":{"__isSmartRef__":true,"id":16393},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16434":{"resizeWidth":true},"16435":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16436":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16437":{"updateExpanderColor":{"__isSmartRef__":true,"id":16438},"onMouseDown":{"__isSmartRef__":true,"id":16441},"isRoot":{"__isSmartRef__":true,"id":16448},"displayValue":{"__isSmartRef__":true,"id":16451},"update":{"__isSmartRef__":true,"id":16454}},"16438":{"varMapping":{"__isSmartRef__":true,"id":16439},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":16440},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16439":{"this":{"__isSmartRef__":true,"id":16393}},"16440":{},"16441":{"varMapping":{"__isSmartRef__":true,"id":16442},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":16447},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16442":{"this":{"__isSmartRef__":true,"id":16393},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16443}},"16443":{"$super":{"__isSmartRef__":true,"id":16444}},"16444":{"varMapping":{"__isSmartRef__":true,"id":16445},"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":16446},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16445":{"obj":{"__isSmartRef__":true,"id":16393},"name":"onMouseDown"},"16446":{},"16447":{},"16448":{"varMapping":{"__isSmartRef__":true,"id":16449},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":16450},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16449":{"this":{"__isSmartRef__":true,"id":16393}},"16450":{},"16451":{"varMapping":{"__isSmartRef__":true,"id":16452},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":16453},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16452":{"this":{"__isSmartRef__":true,"id":16393}},"16453":{},"16454":{"varMapping":{"__isSmartRef__":true,"id":16455},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":16456},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16455":{"this":{"__isSmartRef__":true,"id":16393}},"16456":{},"16457":{"_Position":{"__isSmartRef__":true,"id":16458},"renderContextTable":{"__isSmartRef__":true,"id":16459},"_Extent":{"__isSmartRef__":true,"id":16460},"_Padding":{"__isSmartRef__":true,"id":16461},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16458":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16459":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16460":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16461":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16462":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16463":{"morph":{"__isSmartRef__":true,"id":16392},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16464":{"layouter":{"__isSmartRef__":true,"id":16465},"resizeWidth":true},"16465":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":16392},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"16466":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16467":{"x":0,"y":200,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16468":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":16469}},"16469":{"varMapping":{"__isSmartRef__":true,"id":16470},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":16475},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16470":{"this":{"__isSmartRef__":true,"id":16392},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16471}},"16471":{"$super":{"__isSmartRef__":true,"id":16472}},"16472":{"varMapping":{"__isSmartRef__":true,"id":16473},"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":16474},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16473":{"obj":{"__isSmartRef__":true,"id":16392},"name":"getLayoutableSubmorphs"},"16474":{},"16475":{},"16476":{"submorphs":[{"__isSmartRef__":true,"id":16477},{"__isSmartRef__":true,"id":16571}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16731},"derivationIds":[null],"id":"02A0BD96-2FA1-478F-9EFE-D65807B8BB9F","renderContextTable":{"__isSmartRef__":true,"id":16736},"eventHandler":{"__isSmartRef__":true,"id":16737},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16738},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":16740},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":16741},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16742},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"16477":{"submorphs":[{"__isSmartRef__":true,"id":16478},{"__isSmartRef__":true,"id":16494}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16510},"derivationIds":[null],"id":"8104C8C8-6163-488A-89A6-3EBA5F8D98DC","renderContextTable":{"__isSmartRef__":true,"id":16515},"eventHandler":{"__isSmartRef__":true,"id":16516},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16517},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1348},"propertyList":["x","y"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"priorExtent","children":[{"__isSmartRef__":true,"id":16518},{"__isSmartRef__":true,"id":16573}],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":16478},"text":{"__isSmartRef__":true,"id":16494},"owner":{"__isSmartRef__":true,"id":16476},"_Position":{"__isSmartRef__":true,"id":16709},"priorExtent":{"__isSmartRef__":true,"id":16710},"childrenWrapper":{"__isSmartRef__":true,"id":16571},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16711},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"16478":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":16479},"derivationIds":[null],"id":"A7FF222E-861F-4365-81E0-1C4190601AC1","renderContextTable":{"__isSmartRef__":true,"id":16484},"eventHandler":{"__isSmartRef__":true,"id":16485},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":16486},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":16477},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16487},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"16479":{"_Position":{"__isSmartRef__":true,"id":16480},"renderContextTable":{"__isSmartRef__":true,"id":16481},"_Extent":{"__isSmartRef__":true,"id":16482},"_Padding":{"__isSmartRef__":true,"id":16483},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":12857},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16480":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16481":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16482":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16483":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16484":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16485":{"morph":{"__isSmartRef__":true,"id":16478},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16486":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16487":{"toggle":{"__isSmartRef__":true,"id":16488},"toggleExpansion":{"__isSmartRef__":true,"id":16491}},"16488":{"varMapping":{"__isSmartRef__":true,"id":16489},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":16490},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16489":{"this":{"__isSmartRef__":true,"id":16478}},"16490":{},"16491":{"varMapping":{"__isSmartRef__":true,"id":16492},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":16493},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16492":{"this":{"__isSmartRef__":true,"id":16478}},"16493":{},"16494":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":16495},"derivationIds":[null],"id":"DC3DC3D0-30B7-4AE9-BD5B-F87A16CC31CE","renderContextTable":{"__isSmartRef__":true,"id":16499},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":16500},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":16501},{"__isSmartRef__":true,"id":16503}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":16505},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":16477},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16506},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16495":{"_Position":{"__isSmartRef__":true,"id":16496},"renderContextTable":{"__isSmartRef__":true,"id":16497},"_Extent":{"__isSmartRef__":true,"id":16498},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16496":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16497":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16498":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16499":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"16500":{"morph":{"__isSmartRef__":true,"id":16494},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16501":{"style":{"__isSmartRef__":true,"id":16502},"chunkOwner":{"__isSmartRef__":true,"id":16494},"storedString":"priorExtent","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16502":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16503":{"style":{"__isSmartRef__":true,"id":16504},"chunkOwner":{"__isSmartRef__":true,"id":16494},"storedString":": Point","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16504":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16505":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16506":{"layoutText":{"__isSmartRef__":true,"id":16507}},"16507":{"varMapping":{"__isSmartRef__":true,"id":16508},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":16509},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16508":{"this":{"__isSmartRef__":true,"id":16494}},"16509":{},"16510":{"_Position":{"__isSmartRef__":true,"id":16511},"renderContextTable":{"__isSmartRef__":true,"id":16512},"_Extent":{"__isSmartRef__":true,"id":16513},"_Padding":{"__isSmartRef__":true,"id":16514},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16511":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16512":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16513":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16514":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16515":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16516":{"morph":{"__isSmartRef__":true,"id":16477},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16517":{"resizeWidth":true},"16518":{"submorphs":[{"__isSmartRef__":true,"id":16519},{"__isSmartRef__":true,"id":16536}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16552},"derivationIds":[null],"id":"BF8D71E2-A1E5-4011-91B7-25F2FF850FDD","renderContextTable":{"__isSmartRef__":true,"id":16557},"eventHandler":{"__isSmartRef__":true,"id":16558},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16559},"grabbingEnabled":false,"draggingEnabled":false,"data":187,"propertyList":[],"level":4,"treeView":{"__isSmartRef__":true,"id":10189},"label":"x","children":[],"parent":{"__isSmartRef__":true,"id":16477},"expander":{"__isSmartRef__":true,"id":16519},"text":{"__isSmartRef__":true,"id":16536},"owner":{"__isSmartRef__":true,"id":16560},"_Position":{"__isSmartRef__":true,"id":16687},"priorExtent":{"__isSmartRef__":true,"id":16688},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16689},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"16519":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":16520},"derivationIds":[null],"id":"7ECBBC2D-F5A3-462D-817C-B181CF645731","renderContextTable":{"__isSmartRef__":true,"id":16526},"eventHandler":{"__isSmartRef__":true,"id":16527},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":16528},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":16518},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16529},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"16520":{"_Position":{"__isSmartRef__":true,"id":16521},"renderContextTable":{"__isSmartRef__":true,"id":16522},"_Extent":{"__isSmartRef__":true,"id":16523},"_Padding":{"__isSmartRef__":true,"id":16524},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":16525},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16521":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16522":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16523":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16524":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16525":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16526":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16527":{"morph":{"__isSmartRef__":true,"id":16519},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16528":{"x":48,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16529":{"toggle":{"__isSmartRef__":true,"id":16530},"toggleExpansion":{"__isSmartRef__":true,"id":16533}},"16530":{"varMapping":{"__isSmartRef__":true,"id":16531},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":16532},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16531":{"this":{"__isSmartRef__":true,"id":16519}},"16532":{},"16533":{"varMapping":{"__isSmartRef__":true,"id":16534},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":16535},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16534":{"this":{"__isSmartRef__":true,"id":16519}},"16535":{},"16536":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":16537},"derivationIds":[null],"id":"2D1FC6BB-7464-4FDC-B373-BCAF4B2142C1","renderContextTable":{"__isSmartRef__":true,"id":16541},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":16542},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":16543},{"__isSmartRef__":true,"id":16545}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":16547},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":16518},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16548},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16537":{"_Position":{"__isSmartRef__":true,"id":16538},"renderContextTable":{"__isSmartRef__":true,"id":16539},"_Extent":{"__isSmartRef__":true,"id":16540},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16538":{"x":58,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16539":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16540":{"x":44,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16541":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"16542":{"morph":{"__isSmartRef__":true,"id":16536},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16543":{"style":{"__isSmartRef__":true,"id":16544},"chunkOwner":{"__isSmartRef__":true,"id":16536},"storedString":"x","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16544":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16545":{"style":{"__isSmartRef__":true,"id":16546},"chunkOwner":{"__isSmartRef__":true,"id":16536},"storedString":": 187","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16546":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16547":{"x":45,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16548":{"layoutText":{"__isSmartRef__":true,"id":16549}},"16549":{"varMapping":{"__isSmartRef__":true,"id":16550},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":16551},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16550":{"this":{"__isSmartRef__":true,"id":16536}},"16551":{},"16552":{"_Position":{"__isSmartRef__":true,"id":16553},"renderContextTable":{"__isSmartRef__":true,"id":16554},"_Extent":{"__isSmartRef__":true,"id":16555},"_Padding":{"__isSmartRef__":true,"id":16556},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16553":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16554":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16555":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16556":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16557":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16558":{"morph":{"__isSmartRef__":true,"id":16518},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16559":{"resizeWidth":true},"16560":{"submorphs":[{"__isSmartRef__":true,"id":16518}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16561},"derivationIds":[null],"id":"18D0169F-F92C-4B83-ADED-3DE038F2FA7B","renderContextTable":{"__isSmartRef__":true,"id":16566},"eventHandler":{"__isSmartRef__":true,"id":16567},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16568},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":16570},"owner":{"__isSmartRef__":true,"id":16571},"_Position":{"__isSmartRef__":true,"id":16678},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16679},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"16561":{"_Position":{"__isSmartRef__":true,"id":16562},"renderContextTable":{"__isSmartRef__":true,"id":16563},"_Extent":{"__isSmartRef__":true,"id":16564},"_Padding":{"__isSmartRef__":true,"id":16565},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16562":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16563":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16564":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16565":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16566":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16567":{"morph":{"__isSmartRef__":true,"id":16560},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16568":{"layouter":{"__isSmartRef__":true,"id":16569},"resizeWidth":true},"16569":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":16560},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"16570":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16571":{"submorphs":[{"__isSmartRef__":true,"id":16560},{"__isSmartRef__":true,"id":16572}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16656},"derivationIds":[null],"id":"35504894-10CC-483D-9503-F99892FA06F1","renderContextTable":{"__isSmartRef__":true,"id":16661},"eventHandler":{"__isSmartRef__":true,"id":16662},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16663},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":16665},"owner":{"__isSmartRef__":true,"id":16476},"_Position":{"__isSmartRef__":true,"id":16666},"_Visible":false,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16667},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"16572":{"submorphs":[{"__isSmartRef__":true,"id":16573}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16637},"derivationIds":[null],"id":"2BBBD041-4068-4512-BB2F-DE5F76117451","renderContextTable":{"__isSmartRef__":true,"id":16642},"eventHandler":{"__isSmartRef__":true,"id":16643},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16644},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":16646},"owner":{"__isSmartRef__":true,"id":16571},"_Position":{"__isSmartRef__":true,"id":16647},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16648},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"16573":{"submorphs":[{"__isSmartRef__":true,"id":16574},{"__isSmartRef__":true,"id":16591}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16607},"derivationIds":[null],"id":"84EC0783-BEA2-4AB0-AA92-E83E7236ECC2","renderContextTable":{"__isSmartRef__":true,"id":16612},"eventHandler":{"__isSmartRef__":true,"id":16613},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16614},"grabbingEnabled":false,"draggingEnabled":false,"data":92,"propertyList":[],"level":4,"treeView":{"__isSmartRef__":true,"id":10189},"label":"y","children":[],"parent":{"__isSmartRef__":true,"id":16477},"expander":{"__isSmartRef__":true,"id":16574},"text":{"__isSmartRef__":true,"id":16591},"owner":{"__isSmartRef__":true,"id":16572},"_Position":{"__isSmartRef__":true,"id":16615},"priorExtent":{"__isSmartRef__":true,"id":16616},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16617},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"16574":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":16575},"derivationIds":[null],"id":"9188AD8F-9EC8-4576-B9FB-BDB6F1CBA8B7","renderContextTable":{"__isSmartRef__":true,"id":16581},"eventHandler":{"__isSmartRef__":true,"id":16582},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":16583},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":16573},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16584},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"16575":{"_Position":{"__isSmartRef__":true,"id":16576},"renderContextTable":{"__isSmartRef__":true,"id":16577},"_Extent":{"__isSmartRef__":true,"id":16578},"_Padding":{"__isSmartRef__":true,"id":16579},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":16580},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16576":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16577":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16578":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16579":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16580":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16581":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16582":{"morph":{"__isSmartRef__":true,"id":16574},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16583":{"x":48,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16584":{"toggle":{"__isSmartRef__":true,"id":16585},"toggleExpansion":{"__isSmartRef__":true,"id":16588}},"16585":{"varMapping":{"__isSmartRef__":true,"id":16586},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":16587},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16586":{"this":{"__isSmartRef__":true,"id":16574}},"16587":{},"16588":{"varMapping":{"__isSmartRef__":true,"id":16589},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":16590},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16589":{"this":{"__isSmartRef__":true,"id":16574}},"16590":{},"16591":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":16592},"derivationIds":[null],"id":"E087B364-6A2B-4647-AC21-4E0FBE92A228","renderContextTable":{"__isSmartRef__":true,"id":16596},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":16597},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":16598},{"__isSmartRef__":true,"id":16600}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":16602},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":16573},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16603},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16592":{"_Position":{"__isSmartRef__":true,"id":16593},"renderContextTable":{"__isSmartRef__":true,"id":16594},"_Extent":{"__isSmartRef__":true,"id":16595},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16593":{"x":58,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16594":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16595":{"x":37.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16596":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"16597":{"morph":{"__isSmartRef__":true,"id":16591},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16598":{"style":{"__isSmartRef__":true,"id":16599},"chunkOwner":{"__isSmartRef__":true,"id":16591},"storedString":"y","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16599":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16600":{"style":{"__isSmartRef__":true,"id":16601},"chunkOwner":{"__isSmartRef__":true,"id":16591},"storedString":": 92","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16601":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16602":{"x":37,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16603":{"layoutText":{"__isSmartRef__":true,"id":16604}},"16604":{"varMapping":{"__isSmartRef__":true,"id":16605},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":16606},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16605":{"this":{"__isSmartRef__":true,"id":16591}},"16606":{},"16607":{"_Position":{"__isSmartRef__":true,"id":16608},"renderContextTable":{"__isSmartRef__":true,"id":16609},"_Extent":{"__isSmartRef__":true,"id":16610},"_Padding":{"__isSmartRef__":true,"id":16611},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16608":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16609":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16610":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16611":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16612":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16613":{"morph":{"__isSmartRef__":true,"id":16573},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16614":{"resizeWidth":true},"16615":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16616":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16617":{"updateExpanderColor":{"__isSmartRef__":true,"id":16618},"onMouseDown":{"__isSmartRef__":true,"id":16621},"isRoot":{"__isSmartRef__":true,"id":16628},"displayValue":{"__isSmartRef__":true,"id":16631},"update":{"__isSmartRef__":true,"id":16634}},"16618":{"varMapping":{"__isSmartRef__":true,"id":16619},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":16620},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16619":{"this":{"__isSmartRef__":true,"id":16573}},"16620":{},"16621":{"varMapping":{"__isSmartRef__":true,"id":16622},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":16627},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16622":{"this":{"__isSmartRef__":true,"id":16573},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16623}},"16623":{"$super":{"__isSmartRef__":true,"id":16624}},"16624":{"varMapping":{"__isSmartRef__":true,"id":16625},"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":16626},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16625":{"obj":{"__isSmartRef__":true,"id":16573},"name":"onMouseDown"},"16626":{},"16627":{},"16628":{"varMapping":{"__isSmartRef__":true,"id":16629},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":16630},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16629":{"this":{"__isSmartRef__":true,"id":16573}},"16630":{},"16631":{"varMapping":{"__isSmartRef__":true,"id":16632},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":16633},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16632":{"this":{"__isSmartRef__":true,"id":16573}},"16633":{},"16634":{"varMapping":{"__isSmartRef__":true,"id":16635},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":16636},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16635":{"this":{"__isSmartRef__":true,"id":16573}},"16636":{},"16637":{"_Position":{"__isSmartRef__":true,"id":16638},"renderContextTable":{"__isSmartRef__":true,"id":16639},"_Extent":{"__isSmartRef__":true,"id":16640},"_Padding":{"__isSmartRef__":true,"id":16641},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16638":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16639":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16640":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16641":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16642":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16643":{"morph":{"__isSmartRef__":true,"id":16572},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16644":{"layouter":{"__isSmartRef__":true,"id":16645},"resizeWidth":true},"16645":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":16572},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"16646":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16647":{"x":0,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16648":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":16649}},"16649":{"varMapping":{"__isSmartRef__":true,"id":16650},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":16655},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16650":{"this":{"__isSmartRef__":true,"id":16572},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16651}},"16651":{"$super":{"__isSmartRef__":true,"id":16652}},"16652":{"varMapping":{"__isSmartRef__":true,"id":16653},"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":16654},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16653":{"obj":{"__isSmartRef__":true,"id":16572},"name":"getLayoutableSubmorphs"},"16654":{},"16655":{},"16656":{"_Position":{"__isSmartRef__":true,"id":16657},"renderContextTable":{"__isSmartRef__":true,"id":16658},"_Extent":{"__isSmartRef__":true,"id":16659},"_Padding":{"__isSmartRef__":true,"id":16660},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16657":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16658":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16659":{"x":100,"y":40,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16660":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16661":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16662":{"morph":{"__isSmartRef__":true,"id":16571},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16663":{"layouter":{"__isSmartRef__":true,"id":16664},"resizeWidth":true},"16664":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":16571},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"16665":{"x":100,"y":40,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16666":{"x":0,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16667":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":16668},"addTreeNodesForProperties":{"__isSmartRef__":true,"id":16675}},"16668":{"varMapping":{"__isSmartRef__":true,"id":16669},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":16674},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16669":{"this":{"__isSmartRef__":true,"id":16571},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16670}},"16670":{"$super":{"__isSmartRef__":true,"id":16671}},"16671":{"varMapping":{"__isSmartRef__":true,"id":16672},"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":16673},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16672":{"obj":{"__isSmartRef__":true,"id":16571},"name":"getLayoutableSubmorphs"},"16673":{},"16674":{},"16675":{"varMapping":{"__isSmartRef__":true,"id":16676},"source":"function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n }","funcProperties":{"__isSmartRef__":true,"id":16677},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16676":{"this":{"__isSmartRef__":true,"id":16571}},"16677":{},"16678":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16679":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":16680}},"16680":{"varMapping":{"__isSmartRef__":true,"id":16681},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":16686},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16681":{"this":{"__isSmartRef__":true,"id":16560},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16682}},"16682":{"$super":{"__isSmartRef__":true,"id":16683}},"16683":{"varMapping":{"__isSmartRef__":true,"id":16684},"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":16685},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16684":{"obj":{"__isSmartRef__":true,"id":16560},"name":"getLayoutableSubmorphs"},"16685":{},"16686":{},"16687":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16688":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16689":{"updateExpanderColor":{"__isSmartRef__":true,"id":16690},"onMouseDown":{"__isSmartRef__":true,"id":16693},"isRoot":{"__isSmartRef__":true,"id":16700},"displayValue":{"__isSmartRef__":true,"id":16703},"update":{"__isSmartRef__":true,"id":16706}},"16690":{"varMapping":{"__isSmartRef__":true,"id":16691},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":16692},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16691":{"this":{"__isSmartRef__":true,"id":16518}},"16692":{},"16693":{"varMapping":{"__isSmartRef__":true,"id":16694},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":16699},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16694":{"this":{"__isSmartRef__":true,"id":16518},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16695}},"16695":{"$super":{"__isSmartRef__":true,"id":16696}},"16696":{"varMapping":{"__isSmartRef__":true,"id":16697},"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":16698},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16697":{"obj":{"__isSmartRef__":true,"id":16518},"name":"onMouseDown"},"16698":{},"16699":{},"16700":{"varMapping":{"__isSmartRef__":true,"id":16701},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":16702},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16701":{"this":{"__isSmartRef__":true,"id":16518}},"16702":{},"16703":{"varMapping":{"__isSmartRef__":true,"id":16704},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":16705},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16704":{"this":{"__isSmartRef__":true,"id":16518}},"16705":{},"16706":{"varMapping":{"__isSmartRef__":true,"id":16707},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":16708},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16707":{"this":{"__isSmartRef__":true,"id":16518}},"16708":{},"16709":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16710":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16711":{"updateExpanderColor":{"__isSmartRef__":true,"id":16712},"onMouseDown":{"__isSmartRef__":true,"id":16715},"isRoot":{"__isSmartRef__":true,"id":16722},"displayValue":{"__isSmartRef__":true,"id":16725},"update":{"__isSmartRef__":true,"id":16728}},"16712":{"varMapping":{"__isSmartRef__":true,"id":16713},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":16714},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16713":{"this":{"__isSmartRef__":true,"id":16477}},"16714":{},"16715":{"varMapping":{"__isSmartRef__":true,"id":16716},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":16721},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16716":{"this":{"__isSmartRef__":true,"id":16477},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16717}},"16717":{"$super":{"__isSmartRef__":true,"id":16718}},"16718":{"varMapping":{"__isSmartRef__":true,"id":16719},"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":16720},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16719":{"obj":{"__isSmartRef__":true,"id":16477},"name":"onMouseDown"},"16720":{},"16721":{},"16722":{"varMapping":{"__isSmartRef__":true,"id":16723},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":16724},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16723":{"this":{"__isSmartRef__":true,"id":16477}},"16724":{},"16725":{"varMapping":{"__isSmartRef__":true,"id":16726},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":16727},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16726":{"this":{"__isSmartRef__":true,"id":16477}},"16727":{},"16728":{"varMapping":{"__isSmartRef__":true,"id":16729},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":16730},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16729":{"this":{"__isSmartRef__":true,"id":16477}},"16730":{},"16731":{"_Position":{"__isSmartRef__":true,"id":16732},"renderContextTable":{"__isSmartRef__":true,"id":16733},"_Extent":{"__isSmartRef__":true,"id":16734},"_Padding":{"__isSmartRef__":true,"id":16735},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16732":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16733":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16734":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16735":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16736":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16737":{"morph":{"__isSmartRef__":true,"id":16476},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16738":{"layouter":{"__isSmartRef__":true,"id":16739},"resizeWidth":true},"16739":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":16476},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"16740":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16741":{"x":0,"y":180,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16742":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":16743}},"16743":{"varMapping":{"__isSmartRef__":true,"id":16744},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":16749},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16744":{"this":{"__isSmartRef__":true,"id":16476},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16745}},"16745":{"$super":{"__isSmartRef__":true,"id":16746}},"16746":{"varMapping":{"__isSmartRef__":true,"id":16747},"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":16748},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16747":{"obj":{"__isSmartRef__":true,"id":16476},"name":"getLayoutableSubmorphs"},"16748":{},"16749":{},"16750":{"submorphs":[{"__isSmartRef__":true,"id":16751}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16815},"derivationIds":[null],"id":"5A390270-580E-45B4-BBD4-E79426963A44","renderContextTable":{"__isSmartRef__":true,"id":16820},"eventHandler":{"__isSmartRef__":true,"id":16821},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16822},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":16824},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":16825},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16826},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"16751":{"submorphs":[{"__isSmartRef__":true,"id":16752},{"__isSmartRef__":true,"id":16769}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16785},"derivationIds":[null],"id":"D61EC18E-B852-46D5-A056-56E71A33C82D","renderContextTable":{"__isSmartRef__":true,"id":16790},"eventHandler":{"__isSmartRef__":true,"id":16791},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16792},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"registeredForMouseEvents","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":16752},"text":{"__isSmartRef__":true,"id":16769},"owner":{"__isSmartRef__":true,"id":16750},"_Position":{"__isSmartRef__":true,"id":16793},"priorExtent":{"__isSmartRef__":true,"id":16794},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16795},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"16752":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":16753},"derivationIds":[null],"id":"C0F6D8C6-EDFE-400B-BFC7-04EBB9269368","renderContextTable":{"__isSmartRef__":true,"id":16759},"eventHandler":{"__isSmartRef__":true,"id":16760},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":16761},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":16751},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16762},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"16753":{"_Position":{"__isSmartRef__":true,"id":16754},"renderContextTable":{"__isSmartRef__":true,"id":16755},"_Extent":{"__isSmartRef__":true,"id":16756},"_Padding":{"__isSmartRef__":true,"id":16757},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":16758},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16754":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16755":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16756":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16757":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16758":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16759":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16760":{"morph":{"__isSmartRef__":true,"id":16752},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16761":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16762":{"toggle":{"__isSmartRef__":true,"id":16763},"toggleExpansion":{"__isSmartRef__":true,"id":16766}},"16763":{"varMapping":{"__isSmartRef__":true,"id":16764},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":16765},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16764":{"this":{"__isSmartRef__":true,"id":16752}},"16765":{},"16766":{"varMapping":{"__isSmartRef__":true,"id":16767},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":16768},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16767":{"this":{"__isSmartRef__":true,"id":16752}},"16768":{},"16769":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":16770},"derivationIds":[null],"id":"B44FCEAF-46FD-48A1-834B-648659970620","renderContextTable":{"__isSmartRef__":true,"id":16774},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":16775},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":16776},{"__isSmartRef__":true,"id":16778}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":16780},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":16751},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16781},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16770":{"_Position":{"__isSmartRef__":true,"id":16771},"renderContextTable":{"__isSmartRef__":true,"id":16772},"_Extent":{"__isSmartRef__":true,"id":16773},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16771":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16772":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16773":{"x":192,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16774":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"16775":{"morph":{"__isSmartRef__":true,"id":16769},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16776":{"style":{"__isSmartRef__":true,"id":16777},"chunkOwner":{"__isSmartRef__":true,"id":16769},"storedString":"registeredForMouseEvents","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16777":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16778":{"style":{"__isSmartRef__":true,"id":16779},"chunkOwner":{"__isSmartRef__":true,"id":16769},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16779":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16780":{"x":225,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16781":{"layoutText":{"__isSmartRef__":true,"id":16782}},"16782":{"varMapping":{"__isSmartRef__":true,"id":16783},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":16784},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16783":{"this":{"__isSmartRef__":true,"id":16769}},"16784":{},"16785":{"_Position":{"__isSmartRef__":true,"id":16786},"renderContextTable":{"__isSmartRef__":true,"id":16787},"_Extent":{"__isSmartRef__":true,"id":16788},"_Padding":{"__isSmartRef__":true,"id":16789},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16786":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16787":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16788":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16789":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16790":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16791":{"morph":{"__isSmartRef__":true,"id":16751},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16792":{"resizeWidth":true},"16793":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16794":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16795":{"updateExpanderColor":{"__isSmartRef__":true,"id":16796},"onMouseDown":{"__isSmartRef__":true,"id":16799},"isRoot":{"__isSmartRef__":true,"id":16806},"displayValue":{"__isSmartRef__":true,"id":16809},"update":{"__isSmartRef__":true,"id":16812}},"16796":{"varMapping":{"__isSmartRef__":true,"id":16797},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":16798},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16797":{"this":{"__isSmartRef__":true,"id":16751}},"16798":{},"16799":{"varMapping":{"__isSmartRef__":true,"id":16800},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":16805},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16800":{"this":{"__isSmartRef__":true,"id":16751},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16801}},"16801":{"$super":{"__isSmartRef__":true,"id":16802}},"16802":{"varMapping":{"__isSmartRef__":true,"id":16803},"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":16804},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16803":{"obj":{"__isSmartRef__":true,"id":16751},"name":"onMouseDown"},"16804":{},"16805":{},"16806":{"varMapping":{"__isSmartRef__":true,"id":16807},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":16808},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16807":{"this":{"__isSmartRef__":true,"id":16751}},"16808":{},"16809":{"varMapping":{"__isSmartRef__":true,"id":16810},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":16811},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16810":{"this":{"__isSmartRef__":true,"id":16751}},"16811":{},"16812":{"varMapping":{"__isSmartRef__":true,"id":16813},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":16814},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16813":{"this":{"__isSmartRef__":true,"id":16751}},"16814":{},"16815":{"_Position":{"__isSmartRef__":true,"id":16816},"renderContextTable":{"__isSmartRef__":true,"id":16817},"_Extent":{"__isSmartRef__":true,"id":16818},"_Padding":{"__isSmartRef__":true,"id":16819},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16816":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16817":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16818":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16819":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16820":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16821":{"morph":{"__isSmartRef__":true,"id":16750},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16822":{"layouter":{"__isSmartRef__":true,"id":16823},"resizeWidth":true},"16823":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":16750},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"16824":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16825":{"x":0,"y":160,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16826":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":16827}},"16827":{"varMapping":{"__isSmartRef__":true,"id":16828},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":16833},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16828":{"this":{"__isSmartRef__":true,"id":16750},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16829}},"16829":{"$super":{"__isSmartRef__":true,"id":16830}},"16830":{"varMapping":{"__isSmartRef__":true,"id":16831},"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":16832},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16831":{"obj":{"__isSmartRef__":true,"id":16750},"name":"getLayoutableSubmorphs"},"16832":{},"16833":{},"16834":{"submorphs":[{"__isSmartRef__":true,"id":16835}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16899},"derivationIds":[null],"id":"D95FDBB1-B515-42BF-875F-9ABA85266F51","renderContextTable":{"__isSmartRef__":true,"id":16904},"eventHandler":{"__isSmartRef__":true,"id":16905},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16906},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":16908},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":16909},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16910},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"16835":{"submorphs":[{"__isSmartRef__":true,"id":16836},{"__isSmartRef__":true,"id":16853}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16869},"derivationIds":[null],"id":"76A37405-D2C5-4012-8DD4-567A7F19035D","renderContextTable":{"__isSmartRef__":true,"id":16874},"eventHandler":{"__isSmartRef__":true,"id":16875},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16876},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1349},"propertyList":["replaceRenderContext","init","append","remove","onRenderFinished","triggerEvent","setTransform","setPosition","setRotation","setExtent","setScale","setVisible","adjustOrigin","setPivotPoint","setClipMode","showsVerticalScrollBar","showsHorizontalScrollBar","getScrollBarExtent","setHandStyle","setPointerEvents","setToolTip","focus","blur","setFocusable","updateText","setTextExtent","setMaxTextWidth","setMaxTextHeight","setMinTextWidth","setMinTextHeight","getTextExtent","getTextString","ignoreTextEvents","unignoreTextEvents","enableTextEvents","setFontFamily","setFontSize","setTextColor","setPadding","setAlign","setVerticalAlign","setDisplay","setWhiteSpaceHandling","focusMorph","setInputAllowed"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"renderContextTable","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":16836},"text":{"__isSmartRef__":true,"id":16853},"owner":{"__isSmartRef__":true,"id":16834},"_Position":{"__isSmartRef__":true,"id":16877},"priorExtent":{"__isSmartRef__":true,"id":16878},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16879},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"16836":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":16837},"derivationIds":[null],"id":"EDEEE09B-6589-4F14-929F-1460F3A00536","renderContextTable":{"__isSmartRef__":true,"id":16843},"eventHandler":{"__isSmartRef__":true,"id":16844},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":16845},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":16835},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16846},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"16837":{"_Position":{"__isSmartRef__":true,"id":16838},"renderContextTable":{"__isSmartRef__":true,"id":16839},"_Extent":{"__isSmartRef__":true,"id":16840},"_Padding":{"__isSmartRef__":true,"id":16841},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":16842},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16838":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16839":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16840":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16841":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16842":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16843":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16844":{"morph":{"__isSmartRef__":true,"id":16836},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16845":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16846":{"toggle":{"__isSmartRef__":true,"id":16847},"toggleExpansion":{"__isSmartRef__":true,"id":16850}},"16847":{"varMapping":{"__isSmartRef__":true,"id":16848},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":16849},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16848":{"this":{"__isSmartRef__":true,"id":16836}},"16849":{},"16850":{"varMapping":{"__isSmartRef__":true,"id":16851},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":16852},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16851":{"this":{"__isSmartRef__":true,"id":16836}},"16852":{},"16853":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":16854},"derivationIds":[null],"id":"65CF235B-8712-4FE2-9077-4C36827B4006","renderContextTable":{"__isSmartRef__":true,"id":16858},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":16859},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":16860},{"__isSmartRef__":true,"id":16862}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":16864},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":16835},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16865},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16854":{"_Position":{"__isSmartRef__":true,"id":16855},"renderContextTable":{"__isSmartRef__":true,"id":16856},"_Extent":{"__isSmartRef__":true,"id":16857},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16855":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16856":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16857":{"x":148,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16858":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"16859":{"morph":{"__isSmartRef__":true,"id":16853},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16860":{"style":{"__isSmartRef__":true,"id":16861},"chunkOwner":{"__isSmartRef__":true,"id":16853},"storedString":"renderContextTable","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16861":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16862":{"style":{"__isSmartRef__":true,"id":16863},"chunkOwner":{"__isSmartRef__":true,"id":16853},"storedString":": {...}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16863":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16864":{"x":187.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16865":{"layoutText":{"__isSmartRef__":true,"id":16866}},"16866":{"varMapping":{"__isSmartRef__":true,"id":16867},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":16868},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16867":{"this":{"__isSmartRef__":true,"id":16853}},"16868":{},"16869":{"_Position":{"__isSmartRef__":true,"id":16870},"renderContextTable":{"__isSmartRef__":true,"id":16871},"_Extent":{"__isSmartRef__":true,"id":16872},"_Padding":{"__isSmartRef__":true,"id":16873},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16870":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16871":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16872":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16873":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16874":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16875":{"morph":{"__isSmartRef__":true,"id":16835},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16876":{"resizeWidth":true},"16877":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16878":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16879":{"updateExpanderColor":{"__isSmartRef__":true,"id":16880},"onMouseDown":{"__isSmartRef__":true,"id":16883},"isRoot":{"__isSmartRef__":true,"id":16890},"displayValue":{"__isSmartRef__":true,"id":16893},"update":{"__isSmartRef__":true,"id":16896}},"16880":{"varMapping":{"__isSmartRef__":true,"id":16881},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":16882},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16881":{"this":{"__isSmartRef__":true,"id":16835}},"16882":{},"16883":{"varMapping":{"__isSmartRef__":true,"id":16884},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":16889},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16884":{"this":{"__isSmartRef__":true,"id":16835},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16885}},"16885":{"$super":{"__isSmartRef__":true,"id":16886}},"16886":{"varMapping":{"__isSmartRef__":true,"id":16887},"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":16888},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16887":{"obj":{"__isSmartRef__":true,"id":16835},"name":"onMouseDown"},"16888":{},"16889":{},"16890":{"varMapping":{"__isSmartRef__":true,"id":16891},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":16892},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16891":{"this":{"__isSmartRef__":true,"id":16835}},"16892":{},"16893":{"varMapping":{"__isSmartRef__":true,"id":16894},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":16895},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16894":{"this":{"__isSmartRef__":true,"id":16835}},"16895":{},"16896":{"varMapping":{"__isSmartRef__":true,"id":16897},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":16898},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16897":{"this":{"__isSmartRef__":true,"id":16835}},"16898":{},"16899":{"_Position":{"__isSmartRef__":true,"id":16900},"renderContextTable":{"__isSmartRef__":true,"id":16901},"_Extent":{"__isSmartRef__":true,"id":16902},"_Padding":{"__isSmartRef__":true,"id":16903},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16900":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16901":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16902":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16903":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16904":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16905":{"morph":{"__isSmartRef__":true,"id":16834},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16906":{"layouter":{"__isSmartRef__":true,"id":16907},"resizeWidth":true},"16907":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":16834},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"16908":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16909":{"x":0,"y":140,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16910":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":16911}},"16911":{"varMapping":{"__isSmartRef__":true,"id":16912},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":16917},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16912":{"this":{"__isSmartRef__":true,"id":16834},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16913}},"16913":{"$super":{"__isSmartRef__":true,"id":16914}},"16914":{"varMapping":{"__isSmartRef__":true,"id":16915},"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":16916},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16915":{"obj":{"__isSmartRef__":true,"id":16834},"name":"getLayoutableSubmorphs"},"16916":{},"16917":{},"16918":{"submorphs":[{"__isSmartRef__":true,"id":16919}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16983},"derivationIds":[null],"id":"6BA61586-5AD7-42F6-8E94-89E06E593FAE","renderContextTable":{"__isSmartRef__":true,"id":16988},"eventHandler":{"__isSmartRef__":true,"id":16989},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16990},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":16992},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":16993},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16994},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"16919":{"submorphs":[{"__isSmartRef__":true,"id":16920},{"__isSmartRef__":true,"id":16937}],"scripts":[],"shape":{"__isSmartRef__":true,"id":16953},"derivationIds":[null],"id":"3691B3D8-EE23-4A20-8F63-A46F6BBAD100","renderContextTable":{"__isSmartRef__":true,"id":16958},"eventHandler":{"__isSmartRef__":true,"id":16959},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":16960},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"scripts","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":16920},"text":{"__isSmartRef__":true,"id":16937},"owner":{"__isSmartRef__":true,"id":16918},"_Position":{"__isSmartRef__":true,"id":16961},"priorExtent":{"__isSmartRef__":true,"id":16962},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16963},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"16920":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":16921},"derivationIds":[null],"id":"355874C1-C05D-40BF-8DD6-8039603D5305","renderContextTable":{"__isSmartRef__":true,"id":16927},"eventHandler":{"__isSmartRef__":true,"id":16928},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":16929},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":16919},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16930},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"16921":{"_Position":{"__isSmartRef__":true,"id":16922},"renderContextTable":{"__isSmartRef__":true,"id":16923},"_Extent":{"__isSmartRef__":true,"id":16924},"_Padding":{"__isSmartRef__":true,"id":16925},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":16926},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16922":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16923":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16924":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16925":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16926":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16927":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16928":{"morph":{"__isSmartRef__":true,"id":16920},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16929":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16930":{"toggle":{"__isSmartRef__":true,"id":16931},"toggleExpansion":{"__isSmartRef__":true,"id":16934}},"16931":{"varMapping":{"__isSmartRef__":true,"id":16932},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":16933},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16932":{"this":{"__isSmartRef__":true,"id":16920}},"16933":{},"16934":{"varMapping":{"__isSmartRef__":true,"id":16935},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":16936},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16935":{"this":{"__isSmartRef__":true,"id":16920}},"16936":{},"16937":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":16938},"derivationIds":[null],"id":"F7488157-F205-464C-8FCB-CB94ABCD58EE","renderContextTable":{"__isSmartRef__":true,"id":16942},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":16943},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":16944},{"__isSmartRef__":true,"id":16946}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":16948},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":16919},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16949},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16938":{"_Position":{"__isSmartRef__":true,"id":16939},"renderContextTable":{"__isSmartRef__":true,"id":16940},"_Extent":{"__isSmartRef__":true,"id":16941},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16939":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16940":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16941":{"x":63,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16942":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"16943":{"morph":{"__isSmartRef__":true,"id":16937},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16944":{"style":{"__isSmartRef__":true,"id":16945},"chunkOwner":{"__isSmartRef__":true,"id":16937},"storedString":"scripts","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16945":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16946":{"style":{"__isSmartRef__":true,"id":16947},"chunkOwner":{"__isSmartRef__":true,"id":16937},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16947":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16948":{"x":82.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16949":{"layoutText":{"__isSmartRef__":true,"id":16950}},"16950":{"varMapping":{"__isSmartRef__":true,"id":16951},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":16952},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16951":{"this":{"__isSmartRef__":true,"id":16937}},"16952":{},"16953":{"_Position":{"__isSmartRef__":true,"id":16954},"renderContextTable":{"__isSmartRef__":true,"id":16955},"_Extent":{"__isSmartRef__":true,"id":16956},"_Padding":{"__isSmartRef__":true,"id":16957},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16954":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16955":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16956":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16957":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16958":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16959":{"morph":{"__isSmartRef__":true,"id":16919},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16960":{"resizeWidth":true},"16961":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16962":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16963":{"updateExpanderColor":{"__isSmartRef__":true,"id":16964},"onMouseDown":{"__isSmartRef__":true,"id":16967},"isRoot":{"__isSmartRef__":true,"id":16974},"displayValue":{"__isSmartRef__":true,"id":16977},"update":{"__isSmartRef__":true,"id":16980}},"16964":{"varMapping":{"__isSmartRef__":true,"id":16965},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":16966},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16965":{"this":{"__isSmartRef__":true,"id":16919}},"16966":{},"16967":{"varMapping":{"__isSmartRef__":true,"id":16968},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":16973},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16968":{"this":{"__isSmartRef__":true,"id":16919},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16969}},"16969":{"$super":{"__isSmartRef__":true,"id":16970}},"16970":{"varMapping":{"__isSmartRef__":true,"id":16971},"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":16972},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16971":{"obj":{"__isSmartRef__":true,"id":16919},"name":"onMouseDown"},"16972":{},"16973":{},"16974":{"varMapping":{"__isSmartRef__":true,"id":16975},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":16976},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16975":{"this":{"__isSmartRef__":true,"id":16919}},"16976":{},"16977":{"varMapping":{"__isSmartRef__":true,"id":16978},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":16979},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16978":{"this":{"__isSmartRef__":true,"id":16919}},"16979":{},"16980":{"varMapping":{"__isSmartRef__":true,"id":16981},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":16982},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16981":{"this":{"__isSmartRef__":true,"id":16919}},"16982":{},"16983":{"_Position":{"__isSmartRef__":true,"id":16984},"renderContextTable":{"__isSmartRef__":true,"id":16985},"_Extent":{"__isSmartRef__":true,"id":16986},"_Padding":{"__isSmartRef__":true,"id":16987},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"16984":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16985":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"16986":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16987":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16988":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"16989":{"morph":{"__isSmartRef__":true,"id":16918},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"16990":{"layouter":{"__isSmartRef__":true,"id":16991},"resizeWidth":true},"16991":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":16918},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"16992":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16993":{"x":0,"y":120,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"16994":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":16995}},"16995":{"varMapping":{"__isSmartRef__":true,"id":16996},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":17001},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16996":{"this":{"__isSmartRef__":true,"id":16918},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":16997}},"16997":{"$super":{"__isSmartRef__":true,"id":16998}},"16998":{"varMapping":{"__isSmartRef__":true,"id":16999},"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":17000},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16999":{"obj":{"__isSmartRef__":true,"id":16918},"name":"getLayoutableSubmorphs"},"17000":{},"17001":{},"17002":{"submorphs":[{"__isSmartRef__":true,"id":17003}],"scripts":[],"shape":{"__isSmartRef__":true,"id":17067},"derivationIds":[null],"id":"1A327254-AA07-40BA-8657-18E79E4DE4D7","renderContextTable":{"__isSmartRef__":true,"id":17072},"eventHandler":{"__isSmartRef__":true,"id":17073},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":17074},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":17076},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":17077},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17078},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"17003":{"submorphs":[{"__isSmartRef__":true,"id":17004},{"__isSmartRef__":true,"id":17021}],"scripts":[],"shape":{"__isSmartRef__":true,"id":17037},"derivationIds":[null],"id":"58186486-0B4D-42B3-85BA-5DA65107A1AF","renderContextTable":{"__isSmartRef__":true,"id":17042},"eventHandler":{"__isSmartRef__":true,"id":17043},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":17044},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1338},"propertyList":["fill","__SourceModuleName__","_Position","_Extent","_BorderWidth","_BorderColor","renderContextTable","_ClipMode","_Padding","_Fill","_renderContext"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"shape","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":17004},"text":{"__isSmartRef__":true,"id":17021},"owner":{"__isSmartRef__":true,"id":17002},"_Position":{"__isSmartRef__":true,"id":17045},"priorExtent":{"__isSmartRef__":true,"id":17046},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17047},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"17004":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":17005},"derivationIds":[null],"id":"84B09306-48CB-4B56-B6EE-F1FCCB255447","renderContextTable":{"__isSmartRef__":true,"id":17011},"eventHandler":{"__isSmartRef__":true,"id":17012},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":17013},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":17003},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17014},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"17005":{"_Position":{"__isSmartRef__":true,"id":17006},"renderContextTable":{"__isSmartRef__":true,"id":17007},"_Extent":{"__isSmartRef__":true,"id":17008},"_Padding":{"__isSmartRef__":true,"id":17009},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":17010},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17006":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17007":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17008":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17009":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17010":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17011":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17012":{"morph":{"__isSmartRef__":true,"id":17004},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17013":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17014":{"toggle":{"__isSmartRef__":true,"id":17015},"toggleExpansion":{"__isSmartRef__":true,"id":17018}},"17015":{"varMapping":{"__isSmartRef__":true,"id":17016},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":17017},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17016":{"this":{"__isSmartRef__":true,"id":17004}},"17017":{},"17018":{"varMapping":{"__isSmartRef__":true,"id":17019},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":17020},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17019":{"this":{"__isSmartRef__":true,"id":17004}},"17020":{},"17021":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":17022},"derivationIds":[null],"id":"9BA6BD73-05A6-440F-840D-5AA9E504BEEB","renderContextTable":{"__isSmartRef__":true,"id":17026},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":17027},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":17028},{"__isSmartRef__":true,"id":17030}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":17032},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":17003},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17033},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17022":{"_Position":{"__isSmartRef__":true,"id":17023},"renderContextTable":{"__isSmartRef__":true,"id":17024},"_Extent":{"__isSmartRef__":true,"id":17025},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17023":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17024":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17025":{"x":109,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17026":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"17027":{"morph":{"__isSmartRef__":true,"id":17021},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17028":{"style":{"__isSmartRef__":true,"id":17029},"chunkOwner":{"__isSmartRef__":true,"id":17021},"storedString":"shape","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17029":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17030":{"style":{"__isSmartRef__":true,"id":17031},"chunkOwner":{"__isSmartRef__":true,"id":17021},"storedString":": Rectangle","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17031":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17032":{"x":120,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17033":{"layoutText":{"__isSmartRef__":true,"id":17034}},"17034":{"varMapping":{"__isSmartRef__":true,"id":17035},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":17036},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17035":{"this":{"__isSmartRef__":true,"id":17021}},"17036":{},"17037":{"_Position":{"__isSmartRef__":true,"id":17038},"renderContextTable":{"__isSmartRef__":true,"id":17039},"_Extent":{"__isSmartRef__":true,"id":17040},"_Padding":{"__isSmartRef__":true,"id":17041},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17038":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17039":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17040":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17041":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17042":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17043":{"morph":{"__isSmartRef__":true,"id":17003},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17044":{"resizeWidth":true},"17045":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17046":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17047":{"updateExpanderColor":{"__isSmartRef__":true,"id":17048},"onMouseDown":{"__isSmartRef__":true,"id":17051},"isRoot":{"__isSmartRef__":true,"id":17058},"displayValue":{"__isSmartRef__":true,"id":17061},"update":{"__isSmartRef__":true,"id":17064}},"17048":{"varMapping":{"__isSmartRef__":true,"id":17049},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":17050},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17049":{"this":{"__isSmartRef__":true,"id":17003}},"17050":{},"17051":{"varMapping":{"__isSmartRef__":true,"id":17052},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":17057},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17052":{"this":{"__isSmartRef__":true,"id":17003},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17053}},"17053":{"$super":{"__isSmartRef__":true,"id":17054}},"17054":{"varMapping":{"__isSmartRef__":true,"id":17055},"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":17056},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17055":{"obj":{"__isSmartRef__":true,"id":17003},"name":"onMouseDown"},"17056":{},"17057":{},"17058":{"varMapping":{"__isSmartRef__":true,"id":17059},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":17060},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17059":{"this":{"__isSmartRef__":true,"id":17003}},"17060":{},"17061":{"varMapping":{"__isSmartRef__":true,"id":17062},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":17063},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17062":{"this":{"__isSmartRef__":true,"id":17003}},"17063":{},"17064":{"varMapping":{"__isSmartRef__":true,"id":17065},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":17066},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17065":{"this":{"__isSmartRef__":true,"id":17003}},"17066":{},"17067":{"_Position":{"__isSmartRef__":true,"id":17068},"renderContextTable":{"__isSmartRef__":true,"id":17069},"_Extent":{"__isSmartRef__":true,"id":17070},"_Padding":{"__isSmartRef__":true,"id":17071},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17068":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17069":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17070":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17071":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17072":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17073":{"morph":{"__isSmartRef__":true,"id":17002},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17074":{"layouter":{"__isSmartRef__":true,"id":17075},"resizeWidth":true},"17075":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":17002},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"17076":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17077":{"x":0,"y":100,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17078":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":17079}},"17079":{"varMapping":{"__isSmartRef__":true,"id":17080},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":17085},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17080":{"this":{"__isSmartRef__":true,"id":17002},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17081}},"17081":{"$super":{"__isSmartRef__":true,"id":17082}},"17082":{"varMapping":{"__isSmartRef__":true,"id":17083},"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":17084},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17083":{"obj":{"__isSmartRef__":true,"id":17002},"name":"getLayoutableSubmorphs"},"17084":{},"17085":{},"17086":{"submorphs":[{"__isSmartRef__":true,"id":17087}],"scripts":[],"shape":{"__isSmartRef__":true,"id":17151},"derivationIds":[null],"id":"C452D311-97D3-4C3F-9F3E-A56278ECC8F9","renderContextTable":{"__isSmartRef__":true,"id":17156},"eventHandler":{"__isSmartRef__":true,"id":17157},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":17158},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":17160},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":17161},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17162},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"17087":{"submorphs":[{"__isSmartRef__":true,"id":17088},{"__isSmartRef__":true,"id":17105}],"scripts":[],"shape":{"__isSmartRef__":true,"id":17121},"derivationIds":[null],"id":"EE14CF21-3381-49A1-BE1B-40994F958EE3","renderContextTable":{"__isSmartRef__":true,"id":17126},"eventHandler":{"__isSmartRef__":true,"id":17127},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":17128},"grabbingEnabled":false,"draggingEnabled":false,"data":false,"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"showsHalos","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":17088},"text":{"__isSmartRef__":true,"id":17105},"owner":{"__isSmartRef__":true,"id":17086},"_Position":{"__isSmartRef__":true,"id":17129},"priorExtent":{"__isSmartRef__":true,"id":17130},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17131},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"17088":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":17089},"derivationIds":[null],"id":"0E96CAF3-7FAB-4F89-8637-098EFCA2D30F","renderContextTable":{"__isSmartRef__":true,"id":17095},"eventHandler":{"__isSmartRef__":true,"id":17096},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":17097},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":17087},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17098},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"17089":{"_Position":{"__isSmartRef__":true,"id":17090},"renderContextTable":{"__isSmartRef__":true,"id":17091},"_Extent":{"__isSmartRef__":true,"id":17092},"_Padding":{"__isSmartRef__":true,"id":17093},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":17094},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17090":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17091":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17092":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17093":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17094":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17095":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17096":{"morph":{"__isSmartRef__":true,"id":17088},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17097":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17098":{"toggle":{"__isSmartRef__":true,"id":17099},"toggleExpansion":{"__isSmartRef__":true,"id":17102}},"17099":{"varMapping":{"__isSmartRef__":true,"id":17100},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":17101},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17100":{"this":{"__isSmartRef__":true,"id":17088}},"17101":{},"17102":{"varMapping":{"__isSmartRef__":true,"id":17103},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":17104},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17103":{"this":{"__isSmartRef__":true,"id":17088}},"17104":{},"17105":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":17106},"derivationIds":[null],"id":"63A3A0B1-2B10-45F9-807E-86A7379C50F7","renderContextTable":{"__isSmartRef__":true,"id":17110},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":17111},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":17112},{"__isSmartRef__":true,"id":17114}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":17116},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":17087},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17117},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17106":{"_Position":{"__isSmartRef__":true,"id":17107},"renderContextTable":{"__isSmartRef__":true,"id":17108},"_Extent":{"__isSmartRef__":true,"id":17109},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17107":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17108":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17109":{"x":114,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17110":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"17111":{"morph":{"__isSmartRef__":true,"id":17105},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17112":{"style":{"__isSmartRef__":true,"id":17113},"chunkOwner":{"__isSmartRef__":true,"id":17105},"storedString":"showsHalos","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17113":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17114":{"style":{"__isSmartRef__":true,"id":17115},"chunkOwner":{"__isSmartRef__":true,"id":17105},"storedString":": false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17115":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17116":{"x":127.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17117":{"layoutText":{"__isSmartRef__":true,"id":17118}},"17118":{"varMapping":{"__isSmartRef__":true,"id":17119},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":17120},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17119":{"this":{"__isSmartRef__":true,"id":17105}},"17120":{},"17121":{"_Position":{"__isSmartRef__":true,"id":17122},"renderContextTable":{"__isSmartRef__":true,"id":17123},"_Extent":{"__isSmartRef__":true,"id":17124},"_Padding":{"__isSmartRef__":true,"id":17125},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17122":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17123":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17124":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17125":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17126":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17127":{"morph":{"__isSmartRef__":true,"id":17087},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17128":{"resizeWidth":true},"17129":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17130":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17131":{"updateExpanderColor":{"__isSmartRef__":true,"id":17132},"onMouseDown":{"__isSmartRef__":true,"id":17135},"isRoot":{"__isSmartRef__":true,"id":17142},"displayValue":{"__isSmartRef__":true,"id":17145},"update":{"__isSmartRef__":true,"id":17148}},"17132":{"varMapping":{"__isSmartRef__":true,"id":17133},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":17134},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17133":{"this":{"__isSmartRef__":true,"id":17087}},"17134":{},"17135":{"varMapping":{"__isSmartRef__":true,"id":17136},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":17141},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17136":{"this":{"__isSmartRef__":true,"id":17087},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17137}},"17137":{"$super":{"__isSmartRef__":true,"id":17138}},"17138":{"varMapping":{"__isSmartRef__":true,"id":17139},"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":17140},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17139":{"obj":{"__isSmartRef__":true,"id":17087},"name":"onMouseDown"},"17140":{},"17141":{},"17142":{"varMapping":{"__isSmartRef__":true,"id":17143},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":17144},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17143":{"this":{"__isSmartRef__":true,"id":17087}},"17144":{},"17145":{"varMapping":{"__isSmartRef__":true,"id":17146},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":17147},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17146":{"this":{"__isSmartRef__":true,"id":17087}},"17147":{},"17148":{"varMapping":{"__isSmartRef__":true,"id":17149},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":17150},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17149":{"this":{"__isSmartRef__":true,"id":17087}},"17150":{},"17151":{"_Position":{"__isSmartRef__":true,"id":17152},"renderContextTable":{"__isSmartRef__":true,"id":17153},"_Extent":{"__isSmartRef__":true,"id":17154},"_Padding":{"__isSmartRef__":true,"id":17155},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17152":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17153":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17154":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17155":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17156":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17157":{"morph":{"__isSmartRef__":true,"id":17086},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17158":{"layouter":{"__isSmartRef__":true,"id":17159},"resizeWidth":true},"17159":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":17086},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"17160":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17161":{"x":0,"y":80,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17162":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":17163}},"17163":{"varMapping":{"__isSmartRef__":true,"id":17164},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":17169},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17164":{"this":{"__isSmartRef__":true,"id":17086},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17165}},"17165":{"$super":{"__isSmartRef__":true,"id":17166}},"17166":{"varMapping":{"__isSmartRef__":true,"id":17167},"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":17168},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17167":{"obj":{"__isSmartRef__":true,"id":17086},"name":"getLayoutableSubmorphs"},"17168":{},"17169":{},"17170":{"submorphs":[{"__isSmartRef__":true,"id":17171}],"scripts":[],"shape":{"__isSmartRef__":true,"id":17235},"derivationIds":[null],"id":"D8938A00-377D-4EA0-B40B-96F1D262888B","renderContextTable":{"__isSmartRef__":true,"id":17240},"eventHandler":{"__isSmartRef__":true,"id":17241},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":17242},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":17244},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":17245},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17246},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"17171":{"submorphs":[{"__isSmartRef__":true,"id":17172},{"__isSmartRef__":true,"id":17189}],"scripts":[],"shape":{"__isSmartRef__":true,"id":17205},"derivationIds":[null],"id":"6FF0DC4D-0FB9-40B0-8D46-68BF6269EFF4","renderContextTable":{"__isSmartRef__":true,"id":17210},"eventHandler":{"__isSmartRef__":true,"id":17211},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":17212},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"submorphs","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":17172},"text":{"__isSmartRef__":true,"id":17189},"owner":{"__isSmartRef__":true,"id":17170},"_Position":{"__isSmartRef__":true,"id":17213},"priorExtent":{"__isSmartRef__":true,"id":17214},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17215},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"17172":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":17173},"derivationIds":[null],"id":"A70A506A-534C-4FD0-B439-5055938A08C0","renderContextTable":{"__isSmartRef__":true,"id":17179},"eventHandler":{"__isSmartRef__":true,"id":17180},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":17181},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":17171},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17182},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"17173":{"_Position":{"__isSmartRef__":true,"id":17174},"renderContextTable":{"__isSmartRef__":true,"id":17175},"_Extent":{"__isSmartRef__":true,"id":17176},"_Padding":{"__isSmartRef__":true,"id":17177},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":17178},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17174":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17175":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17176":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17177":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17178":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17179":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17180":{"morph":{"__isSmartRef__":true,"id":17172},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17181":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17182":{"toggle":{"__isSmartRef__":true,"id":17183},"toggleExpansion":{"__isSmartRef__":true,"id":17186}},"17183":{"varMapping":{"__isSmartRef__":true,"id":17184},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":17185},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17184":{"this":{"__isSmartRef__":true,"id":17172}},"17185":{},"17186":{"varMapping":{"__isSmartRef__":true,"id":17187},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":17188},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17187":{"this":{"__isSmartRef__":true,"id":17172}},"17188":{},"17189":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":17190},"derivationIds":[null],"id":"90B0FB57-DD3E-4FC7-B275-6134DD214CBD","renderContextTable":{"__isSmartRef__":true,"id":17194},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":17195},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":17196},{"__isSmartRef__":true,"id":17198}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":17200},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":17171},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17201},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17190":{"_Position":{"__isSmartRef__":true,"id":17191},"renderContextTable":{"__isSmartRef__":true,"id":17192},"_Extent":{"__isSmartRef__":true,"id":17193},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17191":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17192":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17193":{"x":88,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17194":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"17195":{"morph":{"__isSmartRef__":true,"id":17189},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17196":{"style":{"__isSmartRef__":true,"id":17197},"chunkOwner":{"__isSmartRef__":true,"id":17189},"storedString":"submorphs","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17197":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17198":{"style":{"__isSmartRef__":true,"id":17199},"chunkOwner":{"__isSmartRef__":true,"id":17189},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17199":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17200":{"x":97.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17201":{"layoutText":{"__isSmartRef__":true,"id":17202}},"17202":{"varMapping":{"__isSmartRef__":true,"id":17203},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":17204},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17203":{"this":{"__isSmartRef__":true,"id":17189}},"17204":{},"17205":{"_Position":{"__isSmartRef__":true,"id":17206},"renderContextTable":{"__isSmartRef__":true,"id":17207},"_Extent":{"__isSmartRef__":true,"id":17208},"_Padding":{"__isSmartRef__":true,"id":17209},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17206":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17207":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17208":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17209":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17210":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17211":{"morph":{"__isSmartRef__":true,"id":17171},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17212":{"resizeWidth":true},"17213":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17214":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17215":{"updateExpanderColor":{"__isSmartRef__":true,"id":17216},"onMouseDown":{"__isSmartRef__":true,"id":17219},"isRoot":{"__isSmartRef__":true,"id":17226},"displayValue":{"__isSmartRef__":true,"id":17229},"update":{"__isSmartRef__":true,"id":17232}},"17216":{"varMapping":{"__isSmartRef__":true,"id":17217},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":17218},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17217":{"this":{"__isSmartRef__":true,"id":17171}},"17218":{},"17219":{"varMapping":{"__isSmartRef__":true,"id":17220},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":17225},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17220":{"this":{"__isSmartRef__":true,"id":17171},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17221}},"17221":{"$super":{"__isSmartRef__":true,"id":17222}},"17222":{"varMapping":{"__isSmartRef__":true,"id":17223},"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":17224},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17223":{"obj":{"__isSmartRef__":true,"id":17171},"name":"onMouseDown"},"17224":{},"17225":{},"17226":{"varMapping":{"__isSmartRef__":true,"id":17227},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":17228},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17227":{"this":{"__isSmartRef__":true,"id":17171}},"17228":{},"17229":{"varMapping":{"__isSmartRef__":true,"id":17230},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":17231},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17230":{"this":{"__isSmartRef__":true,"id":17171}},"17231":{},"17232":{"varMapping":{"__isSmartRef__":true,"id":17233},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":17234},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17233":{"this":{"__isSmartRef__":true,"id":17171}},"17234":{},"17235":{"_Position":{"__isSmartRef__":true,"id":17236},"renderContextTable":{"__isSmartRef__":true,"id":17237},"_Extent":{"__isSmartRef__":true,"id":17238},"_Padding":{"__isSmartRef__":true,"id":17239},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17236":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17237":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17238":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17239":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17240":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17241":{"morph":{"__isSmartRef__":true,"id":17170},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17242":{"layouter":{"__isSmartRef__":true,"id":17243},"resizeWidth":true},"17243":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":17170},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"17244":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17245":{"x":0,"y":60,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17246":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":17247}},"17247":{"varMapping":{"__isSmartRef__":true,"id":17248},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":17253},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17248":{"this":{"__isSmartRef__":true,"id":17170},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17249}},"17249":{"$super":{"__isSmartRef__":true,"id":17250}},"17250":{"varMapping":{"__isSmartRef__":true,"id":17251},"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":17252},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17251":{"obj":{"__isSmartRef__":true,"id":17170},"name":"getLayoutableSubmorphs"},"17252":{},"17253":{},"17254":{"submorphs":[{"__isSmartRef__":true,"id":17255}],"scripts":[],"shape":{"__isSmartRef__":true,"id":17319},"derivationIds":[null],"id":"C8D29BC5-9E3B-4E61-9D20-0EFF2545557C","renderContextTable":{"__isSmartRef__":true,"id":17324},"eventHandler":{"__isSmartRef__":true,"id":17325},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":17326},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":17328},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":17329},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17330},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"17255":{"submorphs":[{"__isSmartRef__":true,"id":17256},{"__isSmartRef__":true,"id":17273}],"scripts":[],"shape":{"__isSmartRef__":true,"id":17289},"derivationIds":[null],"id":"C44F2744-A8E9-4590-9657-0B1C3547C5E6","renderContextTable":{"__isSmartRef__":true,"id":17294},"eventHandler":{"__isSmartRef__":true,"id":17295},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":17296},"grabbingEnabled":false,"draggingEnabled":false,"data":[{"__isSmartRef__":true,"id":1346}],"propertyList":["0"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"textChunks","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":17256},"text":{"__isSmartRef__":true,"id":17273},"owner":{"__isSmartRef__":true,"id":17254},"_Position":{"__isSmartRef__":true,"id":17297},"priorExtent":{"__isSmartRef__":true,"id":17298},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17299},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"17256":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":17257},"derivationIds":[null],"id":"F3FB549D-E252-49C4-BC5F-112769432E93","renderContextTable":{"__isSmartRef__":true,"id":17263},"eventHandler":{"__isSmartRef__":true,"id":17264},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":17265},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":17255},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17266},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"17257":{"_Position":{"__isSmartRef__":true,"id":17258},"renderContextTable":{"__isSmartRef__":true,"id":17259},"_Extent":{"__isSmartRef__":true,"id":17260},"_Padding":{"__isSmartRef__":true,"id":17261},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":17262},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17258":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17259":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17260":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17261":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17262":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17263":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17264":{"morph":{"__isSmartRef__":true,"id":17256},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17265":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17266":{"toggle":{"__isSmartRef__":true,"id":17267},"toggleExpansion":{"__isSmartRef__":true,"id":17270}},"17267":{"varMapping":{"__isSmartRef__":true,"id":17268},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":17269},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17268":{"this":{"__isSmartRef__":true,"id":17256}},"17269":{},"17270":{"varMapping":{"__isSmartRef__":true,"id":17271},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":17272},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17271":{"this":{"__isSmartRef__":true,"id":17256}},"17272":{},"17273":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":17274},"derivationIds":[null],"id":"07941232-11A0-4226-8BD8-9F6A85777CCD","renderContextTable":{"__isSmartRef__":true,"id":17278},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":17279},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":17280},{"__isSmartRef__":true,"id":17282}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":17284},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":17255},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17285},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17274":{"_Position":{"__isSmartRef__":true,"id":17275},"renderContextTable":{"__isSmartRef__":true,"id":17276},"_Extent":{"__isSmartRef__":true,"id":17277},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17275":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17276":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17277":{"x":127.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17278":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"17279":{"morph":{"__isSmartRef__":true,"id":17273},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17280":{"style":{"__isSmartRef__":true,"id":17281},"chunkOwner":{"__isSmartRef__":true,"id":17273},"storedString":"textChunks","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17281":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17282":{"style":{"__isSmartRef__":true,"id":17283},"chunkOwner":{"__isSmartRef__":true,"id":17273},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17283":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17284":{"x":127.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17285":{"layoutText":{"__isSmartRef__":true,"id":17286}},"17286":{"varMapping":{"__isSmartRef__":true,"id":17287},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":17288},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17287":{"this":{"__isSmartRef__":true,"id":17273}},"17288":{},"17289":{"_Position":{"__isSmartRef__":true,"id":17290},"renderContextTable":{"__isSmartRef__":true,"id":17291},"_Extent":{"__isSmartRef__":true,"id":17292},"_Padding":{"__isSmartRef__":true,"id":17293},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17290":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17291":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17292":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17293":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17294":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17295":{"morph":{"__isSmartRef__":true,"id":17255},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17296":{"resizeWidth":true},"17297":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17298":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17299":{"updateExpanderColor":{"__isSmartRef__":true,"id":17300},"onMouseDown":{"__isSmartRef__":true,"id":17303},"isRoot":{"__isSmartRef__":true,"id":17310},"displayValue":{"__isSmartRef__":true,"id":17313},"update":{"__isSmartRef__":true,"id":17316}},"17300":{"varMapping":{"__isSmartRef__":true,"id":17301},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":17302},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17301":{"this":{"__isSmartRef__":true,"id":17255}},"17302":{},"17303":{"varMapping":{"__isSmartRef__":true,"id":17304},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":17309},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17304":{"this":{"__isSmartRef__":true,"id":17255},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17305}},"17305":{"$super":{"__isSmartRef__":true,"id":17306}},"17306":{"varMapping":{"__isSmartRef__":true,"id":17307},"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":17308},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17307":{"obj":{"__isSmartRef__":true,"id":17255},"name":"onMouseDown"},"17308":{},"17309":{},"17310":{"varMapping":{"__isSmartRef__":true,"id":17311},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":17312},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17311":{"this":{"__isSmartRef__":true,"id":17255}},"17312":{},"17313":{"varMapping":{"__isSmartRef__":true,"id":17314},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":17315},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17314":{"this":{"__isSmartRef__":true,"id":17255}},"17315":{},"17316":{"varMapping":{"__isSmartRef__":true,"id":17317},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":17318},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17317":{"this":{"__isSmartRef__":true,"id":17255}},"17318":{},"17319":{"_Position":{"__isSmartRef__":true,"id":17320},"renderContextTable":{"__isSmartRef__":true,"id":17321},"_Extent":{"__isSmartRef__":true,"id":17322},"_Padding":{"__isSmartRef__":true,"id":17323},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17320":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17321":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17322":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17323":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17324":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17325":{"morph":{"__isSmartRef__":true,"id":17254},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17326":{"layouter":{"__isSmartRef__":true,"id":17327},"resizeWidth":true},"17327":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":17254},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"17328":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17329":{"x":0,"y":40,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17330":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":17331}},"17331":{"varMapping":{"__isSmartRef__":true,"id":17332},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":17337},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17332":{"this":{"__isSmartRef__":true,"id":17254},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17333}},"17333":{"$super":{"__isSmartRef__":true,"id":17334}},"17334":{"varMapping":{"__isSmartRef__":true,"id":17335},"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":17336},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17335":{"obj":{"__isSmartRef__":true,"id":17254},"name":"getLayoutableSubmorphs"},"17336":{},"17337":{},"17338":{"submorphs":[{"__isSmartRef__":true,"id":17339}],"scripts":[],"shape":{"__isSmartRef__":true,"id":17403},"derivationIds":[null],"id":"5B985FDB-DB72-400D-90B5-FE066A4D8CD6","renderContextTable":{"__isSmartRef__":true,"id":17408},"eventHandler":{"__isSmartRef__":true,"id":17409},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":17410},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":17412},"owner":{"__isSmartRef__":true,"id":12946},"_Position":{"__isSmartRef__":true,"id":17413},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17414},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"17339":{"submorphs":[{"__isSmartRef__":true,"id":17340},{"__isSmartRef__":true,"id":17357}],"scripts":[],"shape":{"__isSmartRef__":true,"id":17373},"derivationIds":[null],"id":"4B93C97A-6D9D-4D9D-A3C3-9710C0AE5473","renderContextTable":{"__isSmartRef__":true,"id":17378},"eventHandler":{"__isSmartRef__":true,"id":17379},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":17380},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1341},"propertyList":["r","g","b","a","__SourceModuleName__"],"level":3,"treeView":{"__isSmartRef__":true,"id":10189},"label":"textColor","children":[],"parent":{"__isSmartRef__":true,"id":12850},"expander":{"__isSmartRef__":true,"id":17340},"text":{"__isSmartRef__":true,"id":17357},"owner":{"__isSmartRef__":true,"id":17338},"_Position":{"__isSmartRef__":true,"id":17381},"priorExtent":{"__isSmartRef__":true,"id":17382},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17383},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"17340":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":17341},"derivationIds":[null],"id":"FA5F3139-9918-489E-A6F4-B8F8D452F101","renderContextTable":{"__isSmartRef__":true,"id":17347},"eventHandler":{"__isSmartRef__":true,"id":17348},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":17349},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":17339},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17350},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"17341":{"_Position":{"__isSmartRef__":true,"id":17342},"renderContextTable":{"__isSmartRef__":true,"id":17343},"_Extent":{"__isSmartRef__":true,"id":17344},"_Padding":{"__isSmartRef__":true,"id":17345},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":10199},"_Fill":{"__isSmartRef__":true,"id":17346},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17342":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17343":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17344":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17345":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17346":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17347":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17348":{"morph":{"__isSmartRef__":true,"id":17340},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17349":{"x":38,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17350":{"toggle":{"__isSmartRef__":true,"id":17351},"toggleExpansion":{"__isSmartRef__":true,"id":17354}},"17351":{"varMapping":{"__isSmartRef__":true,"id":17352},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":17353},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17352":{"this":{"__isSmartRef__":true,"id":17340}},"17353":{},"17354":{"varMapping":{"__isSmartRef__":true,"id":17355},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":17356},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17355":{"this":{"__isSmartRef__":true,"id":17340}},"17356":{},"17357":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":17358},"derivationIds":[null],"id":"6661E648-024F-4D2C-ADE0-5708DAC43027","renderContextTable":{"__isSmartRef__":true,"id":17362},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":17363},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":17364},{"__isSmartRef__":true,"id":17366}],"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":17368},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":17339},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17369},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17358":{"_Position":{"__isSmartRef__":true,"id":17359},"renderContextTable":{"__isSmartRef__":true,"id":17360},"_Extent":{"__isSmartRef__":true,"id":17361},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17359":{"x":48,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17360":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17361":{"x":98,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17362":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"17363":{"morph":{"__isSmartRef__":true,"id":17357},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17364":{"style":{"__isSmartRef__":true,"id":17365},"chunkOwner":{"__isSmartRef__":true,"id":17357},"storedString":"textColor","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17365":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17366":{"style":{"__isSmartRef__":true,"id":17367},"chunkOwner":{"__isSmartRef__":true,"id":17357},"storedString":": Color","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17367":{"color":{"__isSmartRef__":true,"id":10221},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17368":{"x":120,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17369":{"layoutText":{"__isSmartRef__":true,"id":17370}},"17370":{"varMapping":{"__isSmartRef__":true,"id":17371},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":17372},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17371":{"this":{"__isSmartRef__":true,"id":17357}},"17372":{},"17373":{"_Position":{"__isSmartRef__":true,"id":17374},"renderContextTable":{"__isSmartRef__":true,"id":17375},"_Extent":{"__isSmartRef__":true,"id":17376},"_Padding":{"__isSmartRef__":true,"id":17377},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17374":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17375":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17376":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17377":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17378":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17379":{"morph":{"__isSmartRef__":true,"id":17339},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17380":{"resizeWidth":true},"17381":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17382":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17383":{"updateExpanderColor":{"__isSmartRef__":true,"id":17384},"onMouseDown":{"__isSmartRef__":true,"id":17387},"isRoot":{"__isSmartRef__":true,"id":17394},"displayValue":{"__isSmartRef__":true,"id":17397},"update":{"__isSmartRef__":true,"id":17400}},"17384":{"varMapping":{"__isSmartRef__":true,"id":17385},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":17386},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17385":{"this":{"__isSmartRef__":true,"id":17339}},"17386":{},"17387":{"varMapping":{"__isSmartRef__":true,"id":17388},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":17393},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17388":{"this":{"__isSmartRef__":true,"id":17339},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17389}},"17389":{"$super":{"__isSmartRef__":true,"id":17390}},"17390":{"varMapping":{"__isSmartRef__":true,"id":17391},"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":17392},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17391":{"obj":{"__isSmartRef__":true,"id":17339},"name":"onMouseDown"},"17392":{},"17393":{},"17394":{"varMapping":{"__isSmartRef__":true,"id":17395},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":17396},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17395":{"this":{"__isSmartRef__":true,"id":17339}},"17396":{},"17397":{"varMapping":{"__isSmartRef__":true,"id":17398},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":17399},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17398":{"this":{"__isSmartRef__":true,"id":17339}},"17399":{},"17400":{"varMapping":{"__isSmartRef__":true,"id":17401},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":17402},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17401":{"this":{"__isSmartRef__":true,"id":17339}},"17402":{},"17403":{"_Position":{"__isSmartRef__":true,"id":17404},"renderContextTable":{"__isSmartRef__":true,"id":17405},"_Extent":{"__isSmartRef__":true,"id":17406},"_Padding":{"__isSmartRef__":true,"id":17407},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17404":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17405":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17406":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17407":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17408":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17409":{"morph":{"__isSmartRef__":true,"id":17338},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17410":{"layouter":{"__isSmartRef__":true,"id":17411},"resizeWidth":true},"17411":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":17338},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"17412":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17413":{"x":0,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17414":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":17415}},"17415":{"varMapping":{"__isSmartRef__":true,"id":17416},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":17421},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17416":{"this":{"__isSmartRef__":true,"id":17338},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17417}},"17417":{"$super":{"__isSmartRef__":true,"id":17418}},"17418":{"varMapping":{"__isSmartRef__":true,"id":17419},"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":17420},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17419":{"obj":{"__isSmartRef__":true,"id":17338},"name":"getLayoutableSubmorphs"},"17420":{},"17421":{},"17422":{"_Position":{"__isSmartRef__":true,"id":17423},"renderContextTable":{"__isSmartRef__":true,"id":17424},"_Extent":{"__isSmartRef__":true,"id":17425},"_Padding":{"__isSmartRef__":true,"id":17426},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17423":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17424":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17425":{"x":100,"y":1040,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17426":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17427":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17428":{"morph":{"__isSmartRef__":true,"id":12946},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17429":{"layouter":{"__isSmartRef__":true,"id":17430},"resizeWidth":true},"17430":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":12946},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"17431":{"x":100,"y":1040,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17432":{"submorphs":[{"__isSmartRef__":true,"id":12850},{"__isSmartRef__":true,"id":12946}],"scripts":[],"shape":{"__isSmartRef__":true,"id":17433},"derivationIds":[null],"id":"C29B1843-C796-435E-AD8C-FAE32E7C3D8A","renderContextTable":{"__isSmartRef__":true,"id":17438},"eventHandler":{"__isSmartRef__":true,"id":17439},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":17440},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":17442},"owner":{"__isSmartRef__":true,"id":17443},"_Position":{"__isSmartRef__":true,"id":17466},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17467},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"17433":{"_Position":{"__isSmartRef__":true,"id":17434},"renderContextTable":{"__isSmartRef__":true,"id":17435},"_Extent":{"__isSmartRef__":true,"id":17436},"_Padding":{"__isSmartRef__":true,"id":17437},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17434":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17435":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17436":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17437":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17438":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17439":{"morph":{"__isSmartRef__":true,"id":17432},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17440":{"layouter":{"__isSmartRef__":true,"id":17441},"resizeWidth":true},"17441":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":17432},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"17442":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17443":{"submorphs":[{"__isSmartRef__":true,"id":17432}],"scripts":[],"shape":{"__isSmartRef__":true,"id":17444},"derivationIds":[null],"id":"EDDB6922-9F70-4C28-AA53-81B55FDC69BF","renderContextTable":{"__isSmartRef__":true,"id":17449},"eventHandler":{"__isSmartRef__":true,"id":17450},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":17451},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":17453},"owner":{"__isSmartRef__":true,"id":12808},"_Position":{"__isSmartRef__":true,"id":17454},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17455},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"17444":{"_Position":{"__isSmartRef__":true,"id":17445},"renderContextTable":{"__isSmartRef__":true,"id":17446},"_Extent":{"__isSmartRef__":true,"id":17447},"_Padding":{"__isSmartRef__":true,"id":17448},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17445":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17446":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17447":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17448":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17449":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17450":{"morph":{"__isSmartRef__":true,"id":17443},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17451":{"layouter":{"__isSmartRef__":true,"id":17452},"resizeWidth":true},"17452":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":17443},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"17453":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17454":{"x":0,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17455":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":17456},"addTreeNodesForProperties":{"__isSmartRef__":true,"id":17463}},"17456":{"varMapping":{"__isSmartRef__":true,"id":17457},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":17462},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17457":{"this":{"__isSmartRef__":true,"id":17443},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17458}},"17458":{"$super":{"__isSmartRef__":true,"id":17459}},"17459":{"varMapping":{"__isSmartRef__":true,"id":17460},"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":17461},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17460":{"obj":{"__isSmartRef__":true,"id":17443},"name":"getLayoutableSubmorphs"},"17461":{},"17462":{},"17463":{"varMapping":{"__isSmartRef__":true,"id":17464},"source":"function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n }","funcProperties":{"__isSmartRef__":true,"id":17465},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17464":{"this":{"__isSmartRef__":true,"id":17443}},"17465":{},"17466":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17467":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":17468}},"17468":{"varMapping":{"__isSmartRef__":true,"id":17469},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":17474},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17469":{"this":{"__isSmartRef__":true,"id":17432},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17470}},"17470":{"$super":{"__isSmartRef__":true,"id":17471}},"17471":{"varMapping":{"__isSmartRef__":true,"id":17472},"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":17473},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17472":{"obj":{"__isSmartRef__":true,"id":17432},"name":"getLayoutableSubmorphs"},"17473":{},"17474":{},"17475":{"x":0,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17476":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":17477},"addTreeNodesForProperties":{"__isSmartRef__":true,"id":17484}},"17477":{"varMapping":{"__isSmartRef__":true,"id":17478},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":17483},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17478":{"this":{"__isSmartRef__":true,"id":12946},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17479}},"17479":{"$super":{"__isSmartRef__":true,"id":17480}},"17480":{"varMapping":{"__isSmartRef__":true,"id":17481},"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":17482},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17481":{"obj":{"__isSmartRef__":true,"id":12946},"name":"getLayoutableSubmorphs"},"17482":{},"17483":{},"17484":{"varMapping":{"__isSmartRef__":true,"id":17485},"source":"function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n }","funcProperties":{"__isSmartRef__":true,"id":17486},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17485":{"this":{"__isSmartRef__":true,"id":12946}},"17486":{},"17487":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17488":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":17489}},"17489":{"varMapping":{"__isSmartRef__":true,"id":17490},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":17495},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17490":{"this":{"__isSmartRef__":true,"id":12935},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17491}},"17491":{"$super":{"__isSmartRef__":true,"id":17492}},"17492":{"varMapping":{"__isSmartRef__":true,"id":17493},"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":17494},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17493":{"obj":{"__isSmartRef__":true,"id":12935},"name":"getLayoutableSubmorphs"},"17494":{},"17495":{},"17496":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17497":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17498":{"updateExpanderColor":{"__isSmartRef__":true,"id":17499},"onMouseDown":{"__isSmartRef__":true,"id":17502},"isRoot":{"__isSmartRef__":true,"id":17509},"displayValue":{"__isSmartRef__":true,"id":17512},"update":{"__isSmartRef__":true,"id":17515}},"17499":{"varMapping":{"__isSmartRef__":true,"id":17500},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":17501},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17500":{"this":{"__isSmartRef__":true,"id":12893}},"17501":{},"17502":{"varMapping":{"__isSmartRef__":true,"id":17503},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":17508},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17503":{"this":{"__isSmartRef__":true,"id":12893},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17504}},"17504":{"$super":{"__isSmartRef__":true,"id":17505}},"17505":{"varMapping":{"__isSmartRef__":true,"id":17506},"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":17507},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17506":{"obj":{"__isSmartRef__":true,"id":12893},"name":"onMouseDown"},"17507":{},"17508":{},"17509":{"varMapping":{"__isSmartRef__":true,"id":17510},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":17511},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17510":{"this":{"__isSmartRef__":true,"id":12893}},"17511":{},"17512":{"varMapping":{"__isSmartRef__":true,"id":17513},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":17514},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17513":{"this":{"__isSmartRef__":true,"id":12893}},"17514":{},"17515":{"varMapping":{"__isSmartRef__":true,"id":17516},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":17517},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17516":{"this":{"__isSmartRef__":true,"id":12893}},"17517":{},"17518":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17519":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17520":{"updateExpanderColor":{"__isSmartRef__":true,"id":17521},"onMouseDown":{"__isSmartRef__":true,"id":17524},"isRoot":{"__isSmartRef__":true,"id":17531},"displayValue":{"__isSmartRef__":true,"id":17534},"update":{"__isSmartRef__":true,"id":17537}},"17521":{"varMapping":{"__isSmartRef__":true,"id":17522},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":17523},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17522":{"this":{"__isSmartRef__":true,"id":12850}},"17523":{},"17524":{"varMapping":{"__isSmartRef__":true,"id":17525},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":17530},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17525":{"this":{"__isSmartRef__":true,"id":12850},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17526}},"17526":{"$super":{"__isSmartRef__":true,"id":17527}},"17527":{"varMapping":{"__isSmartRef__":true,"id":17528},"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":17529},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17528":{"obj":{"__isSmartRef__":true,"id":12850},"name":"onMouseDown"},"17529":{},"17530":{},"17531":{"varMapping":{"__isSmartRef__":true,"id":17532},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":17533},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17532":{"this":{"__isSmartRef__":true,"id":12850}},"17533":{},"17534":{"varMapping":{"__isSmartRef__":true,"id":17535},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":17536},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17535":{"this":{"__isSmartRef__":true,"id":12850}},"17536":{},"17537":{"varMapping":{"__isSmartRef__":true,"id":17538},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":17539},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17538":{"this":{"__isSmartRef__":true,"id":12850}},"17539":{},"17540":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17541":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17542":{"updateExpanderColor":{"__isSmartRef__":true,"id":17543},"onMouseDown":{"__isSmartRef__":true,"id":17546},"isRoot":{"__isSmartRef__":true,"id":17553},"displayValue":{"__isSmartRef__":true,"id":17556},"update":{"__isSmartRef__":true,"id":17559}},"17543":{"varMapping":{"__isSmartRef__":true,"id":17544},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":17545},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17544":{"this":{"__isSmartRef__":true,"id":12809}},"17545":{},"17546":{"varMapping":{"__isSmartRef__":true,"id":17547},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":17552},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17547":{"this":{"__isSmartRef__":true,"id":12809},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17548}},"17548":{"$super":{"__isSmartRef__":true,"id":17549}},"17549":{"varMapping":{"__isSmartRef__":true,"id":17550},"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":17551},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17550":{"obj":{"__isSmartRef__":true,"id":12809},"name":"onMouseDown"},"17551":{},"17552":{},"17553":{"varMapping":{"__isSmartRef__":true,"id":17554},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":17555},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17554":{"this":{"__isSmartRef__":true,"id":12809}},"17555":{},"17556":{"varMapping":{"__isSmartRef__":true,"id":17557},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":17558},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17557":{"this":{"__isSmartRef__":true,"id":12809}},"17558":{},"17559":{"varMapping":{"__isSmartRef__":true,"id":17560},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":17561},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17560":{"this":{"__isSmartRef__":true,"id":12809}},"17561":{},"17562":{"_Position":{"__isSmartRef__":true,"id":17563},"renderContextTable":{"__isSmartRef__":true,"id":17564},"_Extent":{"__isSmartRef__":true,"id":17565},"_Padding":{"__isSmartRef__":true,"id":17566},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17563":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17564":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17565":{"x":100,"y":40,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17566":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17567":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17568":{"morph":{"__isSmartRef__":true,"id":12808},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17569":{"layouter":{"__isSmartRef__":true,"id":17570},"resizeWidth":true},"17570":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":12808},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"17571":{"x":100,"y":40,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17572":{"x":0,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17573":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":17574}},"17574":{"varMapping":{"__isSmartRef__":true,"id":17575},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":17580},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17575":{"this":{"__isSmartRef__":true,"id":12808},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17576}},"17576":{"$super":{"__isSmartRef__":true,"id":17577}},"17577":{"varMapping":{"__isSmartRef__":true,"id":17578},"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":17579},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17578":{"obj":{"__isSmartRef__":true,"id":12808},"name":"getLayoutableSubmorphs"},"17579":{},"17580":{},"17581":{"_Position":{"__isSmartRef__":true,"id":17582},"renderContextTable":{"__isSmartRef__":true,"id":17583},"_Extent":{"__isSmartRef__":true,"id":17584},"_Padding":{"__isSmartRef__":true,"id":17585},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17582":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17583":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17584":{"x":100,"y":660,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17585":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17586":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17587":{"morph":{"__isSmartRef__":true,"id":10287},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17588":{"layouter":{"__isSmartRef__":true,"id":17589},"resizeWidth":true},"17589":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":10287},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"17590":{"x":100,"y":660,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17591":{"x":0,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17592":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":17593},"addTreeNodesForProperties":{"__isSmartRef__":true,"id":17600}},"17593":{"varMapping":{"__isSmartRef__":true,"id":17594},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":17599},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17594":{"this":{"__isSmartRef__":true,"id":10287},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17595}},"17595":{"$super":{"__isSmartRef__":true,"id":17596}},"17596":{"varMapping":{"__isSmartRef__":true,"id":17597},"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":17598},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17597":{"obj":{"__isSmartRef__":true,"id":10287},"name":"getLayoutableSubmorphs"},"17598":{},"17599":{},"17600":{"varMapping":{"__isSmartRef__":true,"id":17601},"source":"function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n }","funcProperties":{"__isSmartRef__":true,"id":17602},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17601":{"this":{"__isSmartRef__":true,"id":10287}},"17602":{},"17603":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17604":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":17605}},"17605":{"varMapping":{"__isSmartRef__":true,"id":17606},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":17611},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17606":{"this":{"__isSmartRef__":true,"id":10276},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17607}},"17607":{"$super":{"__isSmartRef__":true,"id":17608}},"17608":{"varMapping":{"__isSmartRef__":true,"id":17609},"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":17610},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17609":{"obj":{"__isSmartRef__":true,"id":10276},"name":"getLayoutableSubmorphs"},"17610":{},"17611":{},"17612":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17613":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17614":{"updateExpanderColor":{"__isSmartRef__":true,"id":17615},"onMouseDown":{"__isSmartRef__":true,"id":17618},"isRoot":{"__isSmartRef__":true,"id":17625},"displayValue":{"__isSmartRef__":true,"id":17628},"update":{"__isSmartRef__":true,"id":17631}},"17615":{"varMapping":{"__isSmartRef__":true,"id":17616},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":17617},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17616":{"this":{"__isSmartRef__":true,"id":10235}},"17617":{},"17618":{"varMapping":{"__isSmartRef__":true,"id":17619},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":17624},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17619":{"this":{"__isSmartRef__":true,"id":10235},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17620}},"17620":{"$super":{"__isSmartRef__":true,"id":17621}},"17621":{"varMapping":{"__isSmartRef__":true,"id":17622},"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":17623},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17622":{"obj":{"__isSmartRef__":true,"id":10235},"name":"onMouseDown"},"17623":{},"17624":{},"17625":{"varMapping":{"__isSmartRef__":true,"id":17626},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":17627},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17626":{"this":{"__isSmartRef__":true,"id":10235}},"17627":{},"17628":{"varMapping":{"__isSmartRef__":true,"id":17629},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":17630},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17629":{"this":{"__isSmartRef__":true,"id":10235}},"17630":{},"17631":{"varMapping":{"__isSmartRef__":true,"id":17632},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":17633},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17632":{"this":{"__isSmartRef__":true,"id":10235}},"17633":{},"17634":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17635":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17636":{"updateExpanderColor":{"__isSmartRef__":true,"id":17637},"onMouseDown":{"__isSmartRef__":true,"id":17640},"isRoot":{"__isSmartRef__":true,"id":17647},"displayValue":{"__isSmartRef__":true,"id":17650},"update":{"__isSmartRef__":true,"id":17653}},"17637":{"varMapping":{"__isSmartRef__":true,"id":17638},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":17639},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17638":{"this":{"__isSmartRef__":true,"id":10192}},"17639":{},"17640":{"varMapping":{"__isSmartRef__":true,"id":17641},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":17646},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17641":{"this":{"__isSmartRef__":true,"id":10192},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17642}},"17642":{"$super":{"__isSmartRef__":true,"id":17643}},"17643":{"varMapping":{"__isSmartRef__":true,"id":17644},"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":17645},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17644":{"obj":{"__isSmartRef__":true,"id":10192},"name":"onMouseDown"},"17645":{},"17646":{},"17647":{"varMapping":{"__isSmartRef__":true,"id":17648},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":17649},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17648":{"this":{"__isSmartRef__":true,"id":10192}},"17649":{},"17650":{"varMapping":{"__isSmartRef__":true,"id":17651},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":17652},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17651":{"this":{"__isSmartRef__":true,"id":10192}},"17652":{},"17653":{"varMapping":{"__isSmartRef__":true,"id":17654},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":17655},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17654":{"this":{"__isSmartRef__":true,"id":10192}},"17655":{},"17656":{"_Position":{"__isSmartRef__":true,"id":17657},"renderContextTable":{"__isSmartRef__":true,"id":17658},"_Extent":{"__isSmartRef__":true,"id":17659},"_Padding":{"__isSmartRef__":true,"id":17660},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17657":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17658":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17659":{"x":100,"y":680,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17660":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17661":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17662":{"morph":{"__isSmartRef__":true,"id":10191},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17663":{"layouter":{"__isSmartRef__":true,"id":17664},"resizeWidth":true},"17664":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":10191},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"17665":{"x":100,"y":1720,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17666":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":17667}},"17667":{"varMapping":{"__isSmartRef__":true,"id":17668},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":17673},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17668":{"this":{"__isSmartRef__":true,"id":10191},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17669}},"17669":{"$super":{"__isSmartRef__":true,"id":17670}},"17670":{"varMapping":{"__isSmartRef__":true,"id":17671},"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":17672},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17671":{"obj":{"__isSmartRef__":true,"id":10191},"name":"getLayoutableSubmorphs"},"17672":{},"17673":{},"17674":{"_Position":{"__isSmartRef__":true,"id":17675},"renderContextTable":{"__isSmartRef__":true,"id":17676},"_Extent":{"__isSmartRef__":true,"id":17677},"_Padding":{"__isSmartRef__":true,"id":17678},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17675":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17676":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17677":{"x":478.8398611920343,"y":280.4698859496224,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17678":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17679":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17680":{"morph":{"__isSmartRef__":true,"id":10190},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17681":{"x":10,"y":10,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17682":{"resizeWidth":true,"resizeHeight":true},"17683":{"x":270.8398611920343,"y":263.4698859496224,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17684":{"setClipModeHTML":{"__isSmartRef__":true,"id":17685}},"17685":{"varMapping":{"__isSmartRef__":true,"id":17686},"source":"function setClipModeHTML(ctx, modeString) {\n $super(ctx, modeString);\n ctx.morphNode.style['overflow-x'] = 'hidden';\n }","funcProperties":{"__isSmartRef__":true,"id":17691},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17686":{"this":{"__isSmartRef__":true,"id":10190},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17687}},"17687":{"$super":{"__isSmartRef__":true,"id":17688}},"17688":{"varMapping":{"__isSmartRef__":true,"id":17689},"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":17690},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17689":{"obj":{"__isSmartRef__":true,"id":10190},"name":"setClipModeHTML"},"17690":{},"17691":{},"17692":{"target":{"__isSmartRef__":true,"id":10189},"selector":"update","args":[],"stopped":false,"tickTime":500,"currentTimeout":12999,"__LivelyClassName__":"lively.morphic.TargetScript","__SourceModuleName__":"Global.lively.morphic.Core"},"17693":{"position":{"__isSmartRef__":true,"id":17694},"_Extent":{"__isSmartRef__":true,"id":17695},"_BorderWidth":1.9240000000000002,"_BorderColor":{"__isSmartRef__":true,"id":17696},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":17697},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":17698},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"17694":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17695":{"x":498.8398611920343,"y":300.4698859496224,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17696":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"17697":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17698":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"17699":{"x":10,"y":10,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17700":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A tree view morph. You can visualize a graph of object data with it (for example).","migrationLevel":4,"partName":"TreeView","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"17701":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17702":{"morph":{"__isSmartRef__":true,"id":10189},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"17703":{"x":290.8398611920343,"y":283.4698859496224,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17704":{"layouter":{"__isSmartRef__":true,"id":17705},"resizeWidth":true,"resizeHeight":true,"moveVertical":false,"moveHorizontal":false,"adjustForNewBounds":true},"17705":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":10,"spacing":15,"container":{"__isSmartRef__":true,"id":10189},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.VerticalLayout"},"17706":{"x":164.35052570087606,"y":-15.96995493992489,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17707":{"border":{"__isSmartRef__":true,"id":10199},"contractedExpander":{"__isSmartRef__":true,"id":12857},"expandedExpander":{"__isSmartRef__":true,"id":6759},"focusedText":{"__isSmartRef__":true,"id":12873},"emphasizedText":{"__isSmartRef__":true,"id":10221}},"17708":{"size":10},"17709":{"wrapperExtent":{"__isSmartRef__":true,"id":17710},"expanderExtent":{"__isSmartRef__":true,"id":17711},"expanderOffset":{"__isSmartRef__":true,"id":17712},"textOffset":{"__isSmartRef__":true,"id":17713},"levelIndent":10,"maxTextWidth":500},"17710":{"x":0,"y":0,"width":100,"height":18,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17711":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17712":{"x":8,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17713":{"x":18,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17714":{"renderTree":{"__isSmartRef__":true,"id":17715},"createTreeNode":{"__isSmartRef__":true,"id":17719},"createTreeWrapper":{"__isSmartRef__":true,"id":17723},"reset":{"__isSmartRef__":true,"id":17727},"createTreeNodeMorph":{"__isSmartRef__":true,"id":17731},"createExpanderButton":{"__isSmartRef__":true,"id":17735},"createPropertyText":{"__isSmartRef__":true,"id":17739},"createScrollClip":{"__isSmartRef__":true,"id":17743},"resetDefaults":{"__isSmartRef__":true,"id":17747},"addScriptsToTreeNode":{"__isSmartRef__":true,"id":17751},"addScriptsToExpander":{"__isSmartRef__":true,"id":17754},"getDisplayStringFor":{"__isSmartRef__":true,"id":17757},"update":{"__isSmartRef__":true,"id":17761},"addScriptsToText":{"__isSmartRef__":true,"id":17765},"toggleAll":{"__isSmartRef__":true,"id":17769}},"17715":{"varMapping":{"__isSmartRef__":true,"id":17716},"source":"function renderTree(data) {\n this.rootNode = this.createTreeNode('Properties', data);\n this.addMorph(this.rootNode);\n     \n var wrapper = this.createTreeWrapper(this.rootNode);\n var scroll = this.createScrollClip(wrapper);\n\n this.addMorph(scroll);\n\n this.startStepping(500/*ms*/, 'update'); \n}","funcProperties":{"__isSmartRef__":true,"id":17717},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"17716":{"this":{"__isSmartRef__":true,"id":10189}},"17717":{"timestamp":{"__isSmartRef__":true,"id":17718},"user":"lauritz","tags":[]},"17718":{"isSerializedDate":true,"string":"Fri Jan 27 2012 02:23:33 GMT+0100 (CET)"},"17719":{"varMapping":{"__isSmartRef__":true,"id":17720},"source":"function createTreeNode(label, data, level, parent) {\n level = level || 0;\n\n // create morph / layout\n var treeNode = this.createTreeNodeMorph(data, level);\n\n // add scripts\n this.addScriptsToTreeNode(treeNode);\n\n // initialization\n treeNode.data = data;\n treeNode.propertyList = [].pushAll(Properties.own(treeNode.data));\n treeNode.level = level;\n treeNode.treeView = this;\n treeNode.label = label;\n treeNode.children = [];\n treeNode.parent = (parent ? parent : null);\n\n var expander = this.createExpanderButton(treeNode);\n treeNode.addMorph(expander);\n\n var text = this.createPropertyText(treeNode);\n treeNode.addMorph(text);\n\n\n return treeNode;\n}","funcProperties":{"__isSmartRef__":true,"id":17721},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"17720":{"this":{"__isSmartRef__":true,"id":10189}},"17721":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":17722}},"17722":{"isSerializedDate":true,"string":"Mon Sep 26 2011 23:43:34 GMT+0200 (CEST)"},"17723":{"varMapping":{"__isSmartRef__":true,"id":17724},"source":"function createTreeWrapper(node) {\n\n var rectangleMorph = new lively.morphic.Shapes.Rectangle(this.sizes.wrapperExtent);\n var wrapper = new lively.morphic.Morph(rectangleMorph);\n\n wrapper.addScript(function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n });\n\n var layouter = new lively.morphic.Layout.JournalLayout(wrapper);\n var superBasicLayout = layouter.basicLayout;\n layouter.basicLayout = function(container, submorphs) {\n submorphs.sortBy = function() { return this };\n superBasicLayout.bind(layouter)(container, submorphs);\n delete submorphs.sortBy;\n };\n layouter.borderSize = 0;\n layouter.spacing = 0;\n wrapper.setLayouter(layouter);\n wrapper.layout.resizeWidth = true;\n\n if (node)\n wrapper.addMorph(node);\n\n return wrapper;\n}","funcProperties":{"__isSmartRef__":true,"id":17725},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"17724":{"this":{"__isSmartRef__":true,"id":10189}},"17725":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":17726}},"17726":{"isSerializedDate":true,"string":"Tue Sep 20 2011 17:05:52 GMT+0200 (CEST)"},"17727":{"varMapping":{"__isSmartRef__":true,"id":17728},"source":"function reset() {\n this.removeAllMorphs();\n this.resetDefaults();\n this.rootNode = null; \n this.stopStepping();\n}","funcProperties":{"__isSmartRef__":true,"id":17729},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"17728":{"this":{"__isSmartRef__":true,"id":10189}},"17729":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":17730}},"17730":{"isSerializedDate":true,"string":"Sat Oct 15 2011 00:41:57 GMT+0200 (CEST)"},"17731":{"varMapping":{"__isSmartRef__":true,"id":17732},"source":"function createTreeNodeMorph(data, level) {\n var treeNodeExtent = new lively.morphic.Shapes.Rectangle(pt(100, 20).extentAsRectangle());\n var treeNode = new lively.morphic.Morph(treeNodeExtent);\n\n treeNode.layout = {\n layouter: undefined,\n resizeWidth: true\n }\n treeNode.disableGrabbing();\n treeNode.disableDragging();\n\n return treeNode; \n}","funcProperties":{"__isSmartRef__":true,"id":17733},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"17732":{"this":{"__isSmartRef__":true,"id":10189}},"17733":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":17734}},"17734":{"isSerializedDate":true,"string":"Tue Oct 25 2011 19:24:35 GMT+0200 (CEST)"},"17735":{"varMapping":{"__isSmartRef__":true,"id":17736},"source":"function createExpanderButton(treeNode) {\n\n var expanderPositionX = this.sizes.expanderOffset.x + this.sizes.levelIndent * treeNode.level;\n var expanderPosition = pt(expanderPositionX, this.sizes.expanderOffset.y);\n var expander = new lively.morphic.Box(expanderPosition.extent(this.sizes.expanderExtent));\n\n // layout\n expander.setBorderWidth(1);\n expander.setBorderColor(this.colors.border);\n expander.disableGrabbing();\n expander.disableDragging();\n treeNode.expander = expander;\n\n // add scripts\n this.addScriptsToExpander(expander);\n\n // initialization\n expander.isExpanded = false;\n treeNode.updateExpanderColor();\n\n return expander;\n}","funcProperties":{"__isSmartRef__":true,"id":17737},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"17736":{"this":{"__isSmartRef__":true,"id":10189}},"17737":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":17738}},"17738":{"isSerializedDate":true,"string":"Mon Sep 26 2011 23:32:58 GMT+0200 (CEST)"},"17739":{"varMapping":{"__isSmartRef__":true,"id":17740},"source":"function createPropertyText(treeNode) {\n \n var textPosition = pt(this.sizes.textOffset.x + this.sizes.levelIndent * treeNode.level, this.sizes.textOffset.y);\n\n var textMorph = new lively.morphic.Text(textPosition.extent(pt(0, 0)), \"\");  \n this.addScriptsToText(textMorph);\n textMorph.layoutText(this.fonts);\n\n treeNode.text = textMorph;\n treeNode.displayValue();\n\n return textMorph;\n}","funcProperties":{"__isSmartRef__":true,"id":17741},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"17740":{"this":{"__isSmartRef__":true,"id":10189}},"17741":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":17742}},"17742":{"isSerializedDate":true,"string":"Mon Sep 26 2011 23:18:07 GMT+0200 (CEST)"},"17743":{"varMapping":{"__isSmartRef__":true,"id":17744},"source":"function createScrollClip(wrapper) {\n var scroll = new lively.morphic.Clip(this.getExtent().extentAsRectangle());\n\n // layout\n scroll.layout = {\n resizeWidth: true,\n resizeHeight: true\n };\n scroll.disableGrabbing();\n scroll.disableDragging();\n scroll.setName('TreeViewScrollPane');\n\n scroll.addScript(function setClipModeHTML(ctx, modeString) {\n $super(ctx, modeString);\n ctx.morphNode.style['overflow-x'] = 'hidden';\n });\n\n scroll.addMorph(wrapper);\n return scroll;\n}","funcProperties":{"__isSmartRef__":true,"id":17745},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"17744":{"this":{"__isSmartRef__":true,"id":10189}},"17745":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":17746}},"17746":{"isSerializedDate":true,"string":"Mon Sep 19 2011 19:54:00 GMT+0200 (CEST)"},"17747":{"varMapping":{"__isSmartRef__":true,"id":17748},"source":"function resetDefaults() {\n this.colors = {\n border : Color.rgb(145,145,145),\n contractedExpander : Color.rgb(145,145,145),\n expandedExpander : Color.white,\n focusedText : Color.rgb(243,243,243),\n emphasizedText : Color.rgb(145,145,145)\n };\n this.fonts = {\n size : 10\n };\n this.sizes = {\n wrapperExtent : pt(100, 18).extentAsRectangle(),\n expanderExtent : pt(8, 8),\n expanderOffset : pt(8, 5),\n textOffset : pt(18, 0),\n levelIndent : 10,\n maxTextWidth : 500\n }\n}","funcProperties":{"__isSmartRef__":true,"id":17749},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"17748":{"this":{"__isSmartRef__":true,"id":10189}},"17749":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":17750}},"17750":{"isSerializedDate":true,"string":"Wed Sep 21 2011 19:38:04 GMT+0200 (CEST)"},"17751":{"varMapping":{"__isSmartRef__":true,"id":17752},"source":"function addScriptsToTreeNode(treeNode) {\n\n treeNode.addScript(function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n });\n\n treeNode.addScript(function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n });\n\n treeNode.addScript(function isRoot() {\n return (this.parent === null || this.parent === undefined);\n });\n\n treeNode.addScript(function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n });\n \n treeNode.addScript(function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n });\n\n}","funcProperties":{"__isSmartRef__":true,"id":17753},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"17752":{"this":{"__isSmartRef__":true,"id":10189}},"17753":{},"17754":{"varMapping":{"__isSmartRef__":true,"id":17755},"source":"function addScriptsToExpander(expander) {\n\n expander.addScript(function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n });\n\n expander.addScript(function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n });\n\n}","funcProperties":{"__isSmartRef__":true,"id":17756},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"17755":{"this":{"__isSmartRef__":true,"id":10189}},"17756":{},"17757":{"varMapping":{"__isSmartRef__":true,"id":17758},"source":"function getDisplayStringFor(treeNode) {\n var typeInfo = '';\n if (treeNode.data && treeNode.data.name) {\n typeInfo = treeNode.data.name;\n } else {\n typeInfo = (Objects.isMutableType(treeNode.data) ? \n Objects.shortPrintStringOf(treeNode.data) : treeNode.data);\n }\n return treeNode.label + \": \" + typeInfo;\n}","funcProperties":{"__isSmartRef__":true,"id":17759},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"17758":{"this":{"__isSmartRef__":true,"id":10189}},"17759":{"timestamp":{"__isSmartRef__":true,"id":17760},"user":"lauritz","tags":[]},"17760":{"isSerializedDate":true,"string":"Fri Jan 27 2012 02:35:06 GMT+0100 (CET)"},"17761":{"varMapping":{"__isSmartRef__":true,"id":17762},"source":"function update() {\n this.rootNode.update();\n}","funcProperties":{"__isSmartRef__":true,"id":17763},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"17762":{"this":{"__isSmartRef__":true,"id":10189}},"17763":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":17764}},"17764":{"isSerializedDate":true,"string":"Sat Oct 15 2011 00:42:27 GMT+0200 (CEST)"},"17765":{"varMapping":{"__isSmartRef__":true,"id":17766},"source":"function addScriptsToText(textMorph) {\n\n textMorph.addScript(function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n });\n\n}","funcProperties":{"__isSmartRef__":true,"id":17767},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"17766":{"this":{"__isSmartRef__":true,"id":10189}},"17767":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":17768}},"17768":{"isSerializedDate":true,"string":"Mon Sep 26 2011 23:16:48 GMT+0200 (CEST)"},"17769":{"varMapping":{"__isSmartRef__":true,"id":17770},"source":"function toggleAll() {\n\n if (!this.rootNode) return;\n\n try {\n JSON.stringify(this.rootNode.data);\n } catch (e) {\n // probably a circular structure\n return;\n }\n\n var toggleChildren = function (node) {\n\n if (!node.children) return;\n\n (function() {\n node.children.forEach(function (each) {\n each.expander.toggleExpansion();\n toggleChildren(each);\n });\n }).bind(this).delay(0); // asynchronous\n }\n\n toggleChildren(this.rootNode);\n \n}","funcProperties":{"__isSmartRef__":true,"id":17771},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"17770":{"this":{"__isSmartRef__":true,"id":10189}},"17771":{"timestamp":{"__isSmartRef__":true,"id":17772},"user":"lauritz","tags":[]},"17772":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:58:11 GMT+0100 (CET)"},"17773":{"position":{"__isSmartRef__":true,"id":17774},"_Extent":{"__isSmartRef__":true,"id":17775},"_BorderWidth":1.4500000000000002,"_BorderColor":{"__isSmartRef__":true,"id":17776},"_Fill":{"__isSmartRef__":true,"id":17777},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":17778},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":17779},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"17774":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17775":{"x":518.8398611920343,"y":416.4718889536274,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17776":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"17777":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17778":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17779":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"17780":{"x":0,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17781":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":4,"partName":"ExplorerPane","changes":[{"__isSmartRef__":true,"id":17782}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"17782":{"date":{"__isSmartRef__":true,"id":17783},"author":"lauritz","message":"Disabled grabbing and dragging on other submorphs as well..."},"17783":{"isSerializedDate":true,"string":"Tue Oct 25 2011 20:21:08 GMT+0200 (CEST)"},"17784":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17785":{"morph":{"__isSmartRef__":true,"id":10188},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"17786":{"submorphs":[{"__isSmartRef__":true,"id":10188},{"__isSmartRef__":true,"id":17787},{"__isSmartRef__":true,"id":17824}],"scripts":[],"shape":{"__isSmartRef__":true,"id":17973},"id":"6FA071E2-DDD7-4478-8244-7320A49FD2C9","renderContextTable":{"__isSmartRef__":true,"id":17977},"eventHandler":{"__isSmartRef__":true,"id":17978},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":17979},"LK2":true,"_Position":{"__isSmartRef__":true,"id":17980},"priorExtent":{"__isSmartRef__":true,"id":17981},"targetMorph":{"__isSmartRef__":true,"id":10188},"titleBar":{"__isSmartRef__":true,"id":17824},"contentOffset":{"__isSmartRef__":true,"id":17982},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":17983},"name":"Explorer1","prevDragPos":{"__isSmartRef__":true,"id":18028},"isBeingDragged":false,"highlighted":true,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","explorer":{"__isSmartRef__":true,"id":10188},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isCopyMorphRef":true,"morphRefId":1,"prevScroll":[0,0],"minExtent":{"__isSmartRef__":true,"id":18029},"derivationIds":[369,"5976C77B-5C20-4DC4-BDA1-A2269E9FEC17","8A4661CC-271E-4CA9-9B42-C428E5DCCB01","B002D7D6-4167-4D6A-8981-E569CE5EE4CC","21A298C5-87D3-4C5F-8FB6-34DB19723B44","A077835E-1096-40C4-92FB-6830D29FC989","32525E7F-A548-4001-86AE-BBDE7D2BAD17"],"_Rotation":0,"_Scale":1.0141055623885957,"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":18030},"__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"17787":{"submorphs":[],"scripts":[],"id":"02438F6E-892B-48BD-9490-41C758FEBF00","shape":{"__isSmartRef__":true,"id":17788},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":17795},"showsHalos":false,"name":"ResizeCorner3","partsBinMetaInfo":{"__isSmartRef__":true,"id":17796},"__SourceModuleName__":"Global.lively.morphic.Core","__layered_draggingEnabled__":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":17797},"originalTargetExtent":null,"renderContextTable":{"__isSmartRef__":true,"id":17798},"eventHandler":{"__isSmartRef__":true,"id":17799},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":17786},"priorExtent":{"__isSmartRef__":true,"id":17800},"distanceToDragEvent":{"__isSmartRef__":true,"id":17801},"derivationIds":[373,"EE44AF79-9BA3-4128-9A82-23CA02A35CBA","2DF62558-574F-4341-A678-C082E7B62474","0B40BDFA-37E3-4097-9157-BE8CCF94B0A1","3600D2AA-3070-493B-839E-BF41427E5A08","B8F4C02B-011E-483E-A3AB-BE57DC9B1FBE","4C05283E-F381-40A9-9AEF-6D6D233F85FF"],"_Rotation":0,"_Scale":1,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17802},"__LivelyClassName__":"lively.morphic.Box"},"17788":{"position":{"__isSmartRef__":true,"id":17789},"_Extent":{"__isSmartRef__":true,"id":17790},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":17791},"_Fill":{"__isSmartRef__":true,"id":17792},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":17793},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":17794},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"17789":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17790":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17791":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"17792":{"r":0.258,"g":0.258,"b":0.258,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17793":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17794":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"17795":{"x":508.4967289451413,"y":426.92138184230294,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17796":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"17797":{"x":239,"y":138,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17798":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17799":{"morph":{"__isSmartRef__":true,"id":17787},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"17800":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17801":{"x":33.337083585580785,"y":-5.721794364406264,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17802":{"onDrag":{"__isSmartRef__":true,"id":17803},"onDragEnd":{"__isSmartRef__":true,"id":17810},"onDragStart":{"__isSmartRef__":true,"id":17817}},"17803":{"varMapping":{"__isSmartRef__":true,"id":17804},"source":"function onDrag(evt) {\n\t// alert(\"onDrag\")\n\t\tvar moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n\t\tif (evt.isShiftDown()) {\n\t\t\tvar maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t\t\tmoveDelta = pt(maxDelta, maxDelta);\n\t\t}\n\t\tthis.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n\t\tthis.align(this.bounds().bottomRight(), this.owner.getExtent())\n}","funcProperties":{"__isSmartRef__":true,"id":17809},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"17804":{"this":{"__isSmartRef__":true,"id":17787},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17805}},"17805":{"$super":{"__isSmartRef__":true,"id":17806}},"17806":{"varMapping":{"__isSmartRef__":true,"id":17807},"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":17808},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"17807":{"obj":{"__isSmartRef__":true,"id":17787},"name":"onDrag"},"17808":{},"17809":{},"17810":{"varMapping":{"__isSmartRef__":true,"id":17811},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":17816},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"17811":{"this":{"__isSmartRef__":true,"id":17787},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17812}},"17812":{"$super":{"__isSmartRef__":true,"id":17813}},"17813":{"varMapping":{"__isSmartRef__":true,"id":17814},"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":17815},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"17814":{"obj":{"__isSmartRef__":true,"id":17787},"name":"onDragEnd"},"17815":{},"17816":{},"17817":{"varMapping":{"__isSmartRef__":true,"id":17818},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":17823},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"17818":{"this":{"__isSmartRef__":true,"id":17787},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":17819}},"17819":{"$super":{"__isSmartRef__":true,"id":17820}},"17820":{"varMapping":{"__isSmartRef__":true,"id":17821},"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":17822},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"17821":{"obj":{"__isSmartRef__":true,"id":17787},"name":"onDragStart"},"17822":{},"17823":{},"17824":{"submorphs":[{"__isSmartRef__":true,"id":17825},{"__isSmartRef__":true,"id":17839},{"__isSmartRef__":true,"id":17886},{"__isSmartRef__":true,"id":17921}],"scripts":[],"shape":{"__isSmartRef__":true,"id":17957},"id":"9B696DA7-AFE0-4F5D-A8A5-1626E8FA630E","renderContextTable":{"__isSmartRef__":true,"id":17968},"eventHandler":{"__isSmartRef__":true,"id":17969},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":17970},"_Position":{"__isSmartRef__":true,"id":17971},"windowMorph":{"__isSmartRef__":true,"id":17786},"label":{"__isSmartRef__":true,"id":17825},"closeButton":{"__isSmartRef__":true,"id":17839},"menuButton":{"__isSmartRef__":true,"id":17886},"collapseButton":{"__isSmartRef__":true,"id":17921},"priorExtent":{"__isSmartRef__":true,"id":17972},"owner":{"__isSmartRef__":true,"id":17786},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"derivationIds":[374,"CFE848EF-BE01-4E69-BBD0-796826FDBA2C","27B1F973-A4A1-49ED-8194-15A2125092E5","1AAC1E25-BFD3-4949-82B7-CA49C7FE30CC","AAFC6ADC-565B-42D5-B95A-49BB4FAE6F07","AA057279-ADDD-4D59-9A0A-E86FD7D21BE6","8EADAC43-54B0-4FAC-AF1C-A0D8FDD9E3CA"],"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.TitleBar"},"17825":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":17826},"id":"D97F2B37-0A4A-4074-B366-DFA46AC6AF97","renderContextTable":{"__isSmartRef__":true,"id":17832},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":17833}],"eventHandler":{"__isSmartRef__":true,"id":17835},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":17836},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":17824},"priorExtent":{"__isSmartRef__":true,"id":17837},"_MaxTextWidth":459.4967289451413,"_MinTextWidth":459.4967289451413,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":17838},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[375,"73673BCB-A91C-4ECA-A36D-D85A24B4F4A3","2EE1A4B9-842D-4C63-ABEA-21DC74163CEE","3F973521-D5D9-4B44-BCF8-822B923644E8","F50BD739-1DA1-4EB3-9653-7B3145EA8817","A7AE88A1-BD5C-4F03-9E65-373F047B2C25","F8F2EE4C-88F2-4D50-ABC7-1F747DC646BB"],"__LivelyClassName__":"lively.morphic.Text"},"17826":{"_Position":{"__isSmartRef__":true,"id":17827},"renderContextTable":{"__isSmartRef__":true,"id":17828},"_Extent":{"__isSmartRef__":true,"id":17829},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":17830},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":17831},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"17827":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17828":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17829":{"x":459.4967289451413,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17830":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"17831":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"17832":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"17833":{"style":{"__isSmartRef__":true,"id":17834},"chunkOwner":{"__isSmartRef__":true,"id":17825},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Explorer","__LivelyClassName__":"lively.morphic.TextChunk"},"17834":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"17835":{"morph":{"__isSmartRef__":true,"id":17825},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"17836":{"resizeWidth":true},"17837":{"x":459.4967289451413,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17838":{"x":20,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17839":{"submorphs":[{"__isSmartRef__":true,"id":17840}],"scripts":[],"shape":{"__isSmartRef__":true,"id":17852},"id":"1B9D91B8-0D0F-48CA-8EDB-A2D4ECFF0948","renderContextTable":{"__isSmartRef__":true,"id":17868},"eventHandler":{"__isSmartRef__":true,"id":17869},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":17870},"priorExtent":{"__isSmartRef__":true,"id":17871},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":17858},"lighterFill":{"__isSmartRef__":true,"id":17872},"label":{"__isSmartRef__":true,"id":17840},"owner":{"__isSmartRef__":true,"id":17824},"layout":{"__isSmartRef__":true,"id":17881},"attributeConnections":[{"__isSmartRef__":true,"id":17882},{"__isSmartRef__":true,"id":17884}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[376,"C3AC01F3-7977-4D0A-A42C-700DE29F8F8E","A9533421-3987-49B1-B8FE-11D3B48B77B3","EC79C6DC-0809-4378-8061-032B4DD2D496","4DB70E9E-760D-401A-9BAD-25367B78CF72","1DC03620-BC8A-47EC-978A-2036FF929A8A","B048691C-3D91-4A6E-B21D-2AF0EB3E85C7"],"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.WindowControl"},"17840":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":17841},"id":"DDB11711-D309-4BC7-9036-A18EEC438576","renderContextTable":{"__isSmartRef__":true,"id":17846},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":17847}],"eventHandler":{"__isSmartRef__":true,"id":17849},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":17850},"priorExtent":{"__isSmartRef__":true,"id":17851},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":17839},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[377,"C621D837-4DB4-4C83-A8C9-1C995944A45D","BCB8C9A6-BD1A-49F5-8BDD-7C6C8BFB840C","9AA4F44C-9D66-4990-B0E2-2998FC750C65","E136552C-1013-430B-8229-122AA2720D75","D343D9D5-BB6B-471C-89FD-977D04A54C18","198CEAEE-A3BF-4CED-8D10-C86583D458D7"],"__LivelyClassName__":"lively.morphic.Text"},"17841":{"_Position":{"__isSmartRef__":true,"id":17842},"renderContextTable":{"__isSmartRef__":true,"id":17843},"_Extent":{"__isSmartRef__":true,"id":17844},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":17845},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":17831},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"17842":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17843":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17844":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17845":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"17846":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"17847":{"style":{"__isSmartRef__":true,"id":17848},"chunkOwner":{"__isSmartRef__":true,"id":17840},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk"},"17848":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"17849":{"morph":{"__isSmartRef__":true,"id":17840},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"17850":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17851":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17852":{"_Position":{"__isSmartRef__":true,"id":17853},"renderContextTable":{"__isSmartRef__":true,"id":17854},"_Extent":{"__isSmartRef__":true,"id":17855},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":17856},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":17857},"_Fill":{"__isSmartRef__":true,"id":17858},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"17853":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17854":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17855":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17856":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"17857":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"17858":{"stops":[{"__isSmartRef__":true,"id":17859},{"__isSmartRef__":true,"id":17861},{"__isSmartRef__":true,"id":17863},{"__isSmartRef__":true,"id":17865}],"vector":{"__isSmartRef__":true,"id":17867},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"17859":{"offset":0,"color":{"__isSmartRef__":true,"id":17860}},"17860":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"17861":{"offset":0.4,"color":{"__isSmartRef__":true,"id":17862}},"17862":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"17863":{"offset":0.6,"color":{"__isSmartRef__":true,"id":17864}},"17864":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"17865":{"offset":1,"color":{"__isSmartRef__":true,"id":17866}},"17866":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"17867":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"17868":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17869":{"morph":{"__isSmartRef__":true,"id":17839},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"17870":{"x":498.4967289451413,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17871":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17872":{"stops":[{"__isSmartRef__":true,"id":17873},{"__isSmartRef__":true,"id":17875},{"__isSmartRef__":true,"id":17877},{"__isSmartRef__":true,"id":17879}],"vector":{"__isSmartRef__":true,"id":17867},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"17873":{"offset":0,"color":{"__isSmartRef__":true,"id":17874}},"17874":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"17875":{"offset":0.4,"color":{"__isSmartRef__":true,"id":17876}},"17876":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"17877":{"offset":0.6,"color":{"__isSmartRef__":true,"id":17878}},"17878":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"17879":{"offset":1,"color":{"__isSmartRef__":true,"id":17880}},"17880":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"17881":{"moveHorizontal":true},"17882":{"sourceObj":{"__isSmartRef__":true,"id":17839},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":17786},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":17883},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"17883":{"source":{"__isSmartRef__":true,"id":17839},"target":{"__isSmartRef__":true,"id":17786}},"17884":{"sourceObj":{"__isSmartRef__":true,"id":17839},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":17786},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":17885},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"17885":{"source":{"__isSmartRef__":true,"id":17839},"target":{"__isSmartRef__":true,"id":17786}},"17886":{"submorphs":[{"__isSmartRef__":true,"id":17887}],"scripts":[],"shape":{"__isSmartRef__":true,"id":17899},"id":"B23F1541-E78E-4CC2-917D-3793902F5343","renderContextTable":{"__isSmartRef__":true,"id":17904},"eventHandler":{"__isSmartRef__":true,"id":17905},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":17906},"priorExtent":{"__isSmartRef__":true,"id":17907},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":17858},"lighterFill":{"__isSmartRef__":true,"id":17908},"label":{"__isSmartRef__":true,"id":17887},"owner":{"__isSmartRef__":true,"id":17824},"attributeConnections":[{"__isSmartRef__":true,"id":17917},{"__isSmartRef__":true,"id":17919}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","prevScroll":[0,0],"derivationIds":[378,"FF4FE4CA-DFFC-40C6-A1E8-32667E37F3EC","A8A6A338-D618-4672-AFA8-914FD7C2A19E","85D2A7A2-F0B5-45CD-BB83-E6F60E8B681C","535E0653-E19D-4F22-952A-34C8EDED44E9","977A1381-981C-4500-B887-78143DE21406","62DA4EDF-FBE4-4D01-834D-C3E763CF55DE"],"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.WindowControl"},"17887":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":17888},"id":"862FC68E-9589-464F-B2F6-EC8046A535B5","renderContextTable":{"__isSmartRef__":true,"id":17893},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":17894}],"eventHandler":{"__isSmartRef__":true,"id":17896},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":17897},"priorExtent":{"__isSmartRef__":true,"id":17898},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":17886},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"derivationIds":[379,"9C08820E-6B60-44C2-9150-BD546391671F","36F5662C-375A-4549-B94E-F150DCBCE3F8","030ACD5E-7567-45E7-928D-24821846DBD3","B1DB7B8C-99F5-44D9-8312-ADD58545154E","9037A2C8-C56D-4C9B-B2B6-FFEBD4CFC0B0","353D5A24-E404-457D-93C4-BC195B094724"],"__LivelyClassName__":"lively.morphic.Text"},"17888":{"_Position":{"__isSmartRef__":true,"id":17889},"renderContextTable":{"__isSmartRef__":true,"id":17890},"_Extent":{"__isSmartRef__":true,"id":17891},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":17892},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":17831},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"17889":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17890":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17891":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17892":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"17893":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"17894":{"style":{"__isSmartRef__":true,"id":17895},"chunkOwner":{"__isSmartRef__":true,"id":17887},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk"},"17895":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"17896":{"morph":{"__isSmartRef__":true,"id":17887},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"17897":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17898":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17899":{"_Position":{"__isSmartRef__":true,"id":17900},"renderContextTable":{"__isSmartRef__":true,"id":17901},"_Extent":{"__isSmartRef__":true,"id":17902},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":17903},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":17857},"_Fill":{"__isSmartRef__":true,"id":17858},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"17900":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17901":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17902":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17903":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"17904":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17905":{"morph":{"__isSmartRef__":true,"id":17886},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"17906":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17907":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17908":{"stops":[{"__isSmartRef__":true,"id":17909},{"__isSmartRef__":true,"id":17911},{"__isSmartRef__":true,"id":17913},{"__isSmartRef__":true,"id":17915}],"vector":{"__isSmartRef__":true,"id":17867},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"17909":{"offset":0,"color":{"__isSmartRef__":true,"id":17910}},"17910":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"17911":{"offset":0.4,"color":{"__isSmartRef__":true,"id":17912}},"17912":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"17913":{"offset":0.6,"color":{"__isSmartRef__":true,"id":17914}},"17914":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"17915":{"offset":1,"color":{"__isSmartRef__":true,"id":17916}},"17916":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"17917":{"sourceObj":{"__isSmartRef__":true,"id":17886},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":17786},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":17918},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"17918":{"source":{"__isSmartRef__":true,"id":17886},"target":{"__isSmartRef__":true,"id":17786}},"17919":{"sourceObj":{"__isSmartRef__":true,"id":17886},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":17786},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":17920},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"17920":{"source":{"__isSmartRef__":true,"id":17886},"target":{"__isSmartRef__":true,"id":17786}},"17921":{"submorphs":[{"__isSmartRef__":true,"id":17922}],"scripts":[],"shape":{"__isSmartRef__":true,"id":17934},"id":"D4905300-36E3-461B-820E-94CFFA24A3D4","renderContextTable":{"__isSmartRef__":true,"id":17939},"eventHandler":{"__isSmartRef__":true,"id":17940},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":17941},"priorExtent":{"__isSmartRef__":true,"id":17942},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":17858},"lighterFill":{"__isSmartRef__":true,"id":17943},"label":{"__isSmartRef__":true,"id":17922},"owner":{"__isSmartRef__":true,"id":17824},"layout":{"__isSmartRef__":true,"id":17952},"attributeConnections":[{"__isSmartRef__":true,"id":17953},{"__isSmartRef__":true,"id":17955}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[380,"B603C6F6-E6E9-4618-BF46-1521ADDE21FE","7D67707D-A36A-46C7-AF4E-DBA063259CD8","0CE8DB38-9500-4B3D-BA30-191E72ABDE7C","9C2B6C81-CB1C-4AD9-941A-5307CCDA74CC","27DE4ECD-BBB4-4CA2-9C13-DBE49DE7A744","B9D13F17-7AA4-44BC-AA55-FF1F6DB50D8C"],"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.WindowControl"},"17922":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":17923},"id":"0FECD8A0-A5D7-439D-BCCF-0378F7C88EA1","renderContextTable":{"__isSmartRef__":true,"id":17928},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":17929}],"eventHandler":{"__isSmartRef__":true,"id":17931},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":17932},"priorExtent":{"__isSmartRef__":true,"id":17933},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":17921},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[381,"B48F0AA9-A9AE-4316-865F-D969FFFD4C87","3CE2E949-41E5-4680-ADB0-8AF865F87CA7","C865C749-7005-416E-B5A2-0FB224AB308E","CAED6589-594E-438B-ADB7-264F9B9D92B0","A391E593-03B1-4FDA-B6B3-978336437357","40913CEC-D4ED-4CA1-97B2-858D96CDC1F3"],"__LivelyClassName__":"lively.morphic.Text"},"17923":{"_Position":{"__isSmartRef__":true,"id":17924},"renderContextTable":{"__isSmartRef__":true,"id":17925},"_Extent":{"__isSmartRef__":true,"id":17926},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":17927},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":17831},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"17924":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17925":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17926":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17927":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"17928":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"17929":{"style":{"__isSmartRef__":true,"id":17930},"chunkOwner":{"__isSmartRef__":true,"id":17922},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk"},"17930":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"17931":{"morph":{"__isSmartRef__":true,"id":17922},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"17932":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17933":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17934":{"_Position":{"__isSmartRef__":true,"id":17935},"renderContextTable":{"__isSmartRef__":true,"id":17936},"_Extent":{"__isSmartRef__":true,"id":17937},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":17938},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":17857},"_Fill":{"__isSmartRef__":true,"id":17858},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"17935":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17936":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17937":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17938":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"17939":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17940":{"morph":{"__isSmartRef__":true,"id":17921},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"17941":{"x":479.4967289451413,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17942":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17943":{"stops":[{"__isSmartRef__":true,"id":17944},{"__isSmartRef__":true,"id":17946},{"__isSmartRef__":true,"id":17948},{"__isSmartRef__":true,"id":17950}],"vector":{"__isSmartRef__":true,"id":17867},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"17944":{"offset":0,"color":{"__isSmartRef__":true,"id":17945}},"17945":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"17946":{"offset":0.4,"color":{"__isSmartRef__":true,"id":17947}},"17947":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"17948":{"offset":0.6,"color":{"__isSmartRef__":true,"id":17949}},"17949":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"17950":{"offset":1,"color":{"__isSmartRef__":true,"id":17951}},"17951":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"17952":{"moveHorizontal":true},"17953":{"sourceObj":{"__isSmartRef__":true,"id":17921},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":17786},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":17954},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"17954":{"source":{"__isSmartRef__":true,"id":17921},"target":{"__isSmartRef__":true,"id":17786}},"17955":{"sourceObj":{"__isSmartRef__":true,"id":17921},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":17786},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":17956},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"17956":{"source":{"__isSmartRef__":true,"id":17921},"target":{"__isSmartRef__":true,"id":17786}},"17957":{"_Position":{"__isSmartRef__":true,"id":17958},"renderContextTable":{"__isSmartRef__":true,"id":17959},"_Extent":{"__isSmartRef__":true,"id":17960},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":17961},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":17962},"_Fill":{"__isSmartRef__":true,"id":17963},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","_Opacity":1,"_BorderStyle":"solid","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"17958":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17959":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17960":{"x":518.4967289451413,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17961":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"17962":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"17963":{"stops":[{"__isSmartRef__":true,"id":17964},{"__isSmartRef__":true,"id":17966}],"vector":{"__isSmartRef__":true,"id":797},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"17964":{"offset":0,"color":{"__isSmartRef__":true,"id":17965}},"17965":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17966":{"offset":1,"color":{"__isSmartRef__":true,"id":17967}},"17967":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17968":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17969":{"morph":{"__isSmartRef__":true,"id":17824},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"17970":{"resizeWidth":true,"adjustForNewBounds":true},"17971":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17972":{"x":518.4967289451413,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17973":{"renderContextTable":{"__isSmartRef__":true,"id":17974},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":17975},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":17976},"__SourceModuleName__":"Global.lively.morphic.Shapes","_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"17974":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"17975":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"17976":{"x":518.4967289451413,"y":436.92138184230294,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17977":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"17978":{"morph":{"__isSmartRef__":true,"id":17786},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"17979":{"adjustForNewBounds":true},"17980":{"x":635.8877838765295,"y":187.07769545390755,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17981":{"x":518.4967289451413,"y":436.92138184230294,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"17982":{"x":0,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17983":{"partsSpaceName":"PartsBin/Tools","__SourceModuleName__":"Global.lively.PartsBin","comment":"Displays object properties and provides a workspace. The workspace's context is set to the last clicked element.","migrationLevel":4,"partName":"Explorer","changes":[{"__isSmartRef__":true,"id":17984},{"__isSmartRef__":true,"id":17986},{"__isSmartRef__":true,"id":17988},{"__isSmartRef__":true,"id":17990},{"__isSmartRef__":true,"id":17992},{"__isSmartRef__":true,"id":17994},{"__isSmartRef__":true,"id":17996},{"__isSmartRef__":true,"id":17998},{"__isSmartRef__":true,"id":18000},{"__isSmartRef__":true,"id":18002},{"__isSmartRef__":true,"id":18004},{"__isSmartRef__":true,"id":18006},{"__isSmartRef__":true,"id":18008},{"__isSmartRef__":true,"id":18010},{"__isSmartRef__":true,"id":18012},{"__isSmartRef__":true,"id":18014},{"__isSmartRef__":true,"id":18016},{"__isSmartRef__":true,"id":18018},{"__isSmartRef__":true,"id":18020},{"__isSmartRef__":true,"id":18022},{"__isSmartRef__":true,"id":18024},{"__isSmartRef__":true,"id":18026}],"revisionOnLoad":148785,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"17984":{"date":{"__isSmartRef__":true,"id":17985},"author":"lauritz","message":"","id":"41FC1B0F-23FC-4454-A424-F141A1C09663"},"17985":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:46:05 GMT+0100 (CET)"},"17986":{"date":{"__isSmartRef__":true,"id":17987},"author":"lauritz","message":"added >>expandAllNodes() which can expand complete trees, but not graphs.","id":"60178F3F-BA87-45A8-BD26-CF776AC017A7"},"17987":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:33:39 GMT+0100 (CET)"},"17988":{"date":{"__isSmartRef__":true,"id":17989},"author":"lauritz","message":"decreased width a bit","id":"837B2170-C0B8-4FA1-99D3-D6A1EB465519"},"17989":{"isSerializedDate":true,"string":"Sat Dec 03 2011 00:36:19 GMT+0100 (CET)"},"17990":{"date":{"__isSmartRef__":true,"id":17991},"author":"lauritz","message":"made expanding loop asynchronous","id":"5DFF88BC-08E6-43BD-B5B1-A9E8C93C7B19"},"17991":{"isSerializedDate":true,"string":"Wed Nov 30 2011 23:23:19 GMT+0100 (CET)"},"17992":{"date":{"__isSmartRef__":true,"id":17993},"author":"lauritz","message":"corrected toggling","id":"BFC57057-2596-42D0-89A1-811C34FCF5E1"},"17993":{"isSerializedDate":true,"string":"Tue Nov 22 2011 22:44:25 GMT+0100 (CET)"},"17994":{"date":{"__isSmartRef__":true,"id":17995},"author":"lauritz","message":"set a minimal extent","id":"D1DCDCB8-84EE-48D9-8AAE-3926E9D97D30"},"17995":{"isSerializedDate":true,"string":"Tue Nov 15 2011 23:39:16 GMT+0100 (CET)"},"17996":{"date":{"__isSmartRef__":true,"id":17997},"author":"lauritz","message":"convenience preset by default: tree is expanded, workspace says \"this\"","id":"D364A417-6014-4266-8DF3-CEA313F15793"},"17997":{"isSerializedDate":true,"string":"Tue Nov 15 2011 23:18:29 GMT+0100 (CET)"},"17998":{"date":{"__isSmartRef__":true,"id":17999},"author":"lauritz","message":"Disabled grabbing and dragging on other morphs as well."},"17999":{"isSerializedDate":true,"string":"Tue Oct 25 2011 20:23:10 GMT+0200 (CEST)"},"18000":{"date":{"__isSmartRef__":true,"id":18001},"author":"lauritz","message":"Disabled dragging and grabbing on tree nodes. Those should only be clickable."},"18001":{"isSerializedDate":true,"string":"Tue Oct 25 2011 19:25:14 GMT+0200 (CEST)"},"18002":{"date":{"__isSmartRef__":true,"id":18003},"author":"lauritz","message":"Fixed a bug by adding a condition to getClassNameOf. In case an object has no constructor."},"18003":{"isSerializedDate":true,"string":"Tue Oct 25 2011 22:37:11 GMT+0200 (CEST)"},"18004":{"date":{"__isSmartRef__":true,"id":18005},"author":"jenslincke","message":"reset scales","id":"5E64592A-C360-44DD-BDAE-AD956FBA7675"},"18005":{"isSerializedDate":true,"string":"Fri Oct 28 2011 16:11:21 GMT+0200 (CEST)"},"18006":{"date":{"__isSmartRef__":true,"id":18007},"author":"jenslincke","message":"bring resize corner to front","id":"765AA8A1-AA38-433A-B800-FFF743B3B9EF"},"18007":{"isSerializedDate":true,"string":"Thu Nov 03 2011 16:10:26 GMT+0100 (CET)"},"18008":{"date":{"__isSmartRef__":true,"id":18009},"author":"lauritz","message":"layout changes","id":"F09F5196-5203-405A-8EC3-1648A100FFF5"},"18009":{"isSerializedDate":true,"string":"Fri Nov 18 2011 23:54:38 GMT+0100 (CET)"},"18010":{"date":{"__isSmartRef__":true,"id":18011},"author":"lauritz","message":"corrected the order of array elements","id":"B41E19A0-DDED-40DC-BD23-6AB94F76D76D"},"18011":{"isSerializedDate":true,"string":"Tue Nov 22 2011 23:44:29 GMT+0100 (CET)"},"18012":{"date":{"__isSmartRef__":true,"id":18013},"author":"fbo","message":"fix Date bug","id":"64EDCB63-EB39-477E-A73D-E066101A8B21"},"18013":{"isSerializedDate":true,"string":"Sat Dec 03 2011 00:07:10 GMT+0100 (CET)"},"18014":{"date":{"__isSmartRef__":true,"id":18015},"author":"lauritz","message":"significantly reduced a performance problem regarding \"long\" string properties, doesnt freeze anymore.","id":"EA85DB22-3FD3-4D13-B769-763C4483C445"},"18015":{"isSerializedDate":true,"string":"Tue Dec 06 2011 00:55:19 GMT+0100 (CET)"},"18016":{"date":{"__isSmartRef__":true,"id":18017},"author":"lauritz","message":"clicking a node no longer resets the workspace content","id":"C8AE0678-08F5-4FFB-9662-77D7120DA285"},"18017":{"isSerializedDate":true,"string":"Tue Dec 13 2011 23:22:10 GMT+0100 (CET)"},"18018":{"date":{"__isSmartRef__":true,"id":18019},"author":"lauritz","message":"renamed >>#expandAllNodes to >>#toggleAll","id":"D9931ABA-396B-4C81-9C7E-7C2712405803"},"18019":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:41:44 GMT+0100 (CET)"},"18020":{"date":{"__isSmartRef__":true,"id":18021},"author":"lauritz","message":"asynchronous >>#toggleAll, because toggling is actually asynchronous and rendering as well...","id":"3B15F99C-CFD6-41FA-9778-D2BFBBD53B8D"},"18021":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:58:54 GMT+0100 (CET)"},"18022":{"date":{"__isSmartRef__":true,"id":18023},"author":"lauritz","message":"cleaned up how all typeof stuff","id":"98CD54B3-3527-4C4C-8577-A0B7476D8718"},"18023":{"isSerializedDate":true,"string":"Fri Jan 27 2012 02:31:53 GMT+0100 (CET)"},"18024":{"date":{"__isSmartRef__":true,"id":18025},"author":"lauritz","message":"","id":"183BD443-7A32-4E3B-8F6B-96473B0C4CB7"},"18025":{"isSerializedDate":true,"string":"Fri Jan 27 2012 02:35:42 GMT+0100 (CET)"},"18026":{"date":{"__isSmartRef__":true,"id":18027},"author":"jenslincke","message":"style tweak","id":"C366B53C-40DC-445D-B882-F5F147CD349F"},"18027":{"isSerializedDate":true,"string":"Mon Jan 30 2012 14:04:58 GMT+0100 (CET)"},"18028":{"x":706,"y":245,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18029":{"x":178,"y":269,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18030":{"explore":{"__isSmartRef__":true,"id":18031},"reset":{"__isSmartRef__":true,"id":18035},"inspect":{"__isSmartRef__":true,"id":18039},"toggleAll":{"__isSmartRef__":true,"id":18043}},"18031":{"varMapping":{"__isSmartRef__":true,"id":18032},"source":"function explore(object) {\n // please see this window's pane, \"ExplorerPane\"\n this.explorer.explore(object);\n}","funcProperties":{"__isSmartRef__":true,"id":18033},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"18032":{"this":{"__isSmartRef__":true,"id":17786}},"18033":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":18034}},"18034":{"isSerializedDate":true,"string":"Wed Sep 21 2011 19:25:04 GMT+0200 (CEST)"},"18035":{"varMapping":{"__isSmartRef__":true,"id":18036},"source":"function reset() {\n // please see this window's pane, \"ExplorerPane\"\n this.explorer.reset();\n}","funcProperties":{"__isSmartRef__":true,"id":18037},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"18036":{"this":{"__isSmartRef__":true,"id":17786}},"18037":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":18038}},"18038":{"isSerializedDate":true,"string":"Wed Sep 21 2011 19:25:04 GMT+0200 (CEST)"},"18039":{"varMapping":{"__isSmartRef__":true,"id":18040},"source":"function inspect(object) {\n // alias for explore\n this.explore(object);\n}","funcProperties":{"__isSmartRef__":true,"id":18041},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"18040":{"this":{"__isSmartRef__":true,"id":17786}},"18041":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":18042}},"18042":{"isSerializedDate":true,"string":"Tue Nov 15 2011 23:04:54 GMT+0100 (CET)"},"18043":{"varMapping":{"__isSmartRef__":true,"id":18044},"source":"function toggleAll() {\n this.explorer.toggleAll();\n}","funcProperties":{"__isSmartRef__":true,"id":18045},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"18044":{"this":{"__isSmartRef__":true,"id":17786}},"18045":{"timestamp":{"__isSmartRef__":true,"id":18046},"user":"lauritz","tags":[]},"18046":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:40:45 GMT+0100 (CET)"},"18047":{"x":310.8398611920343,"y":399.4718889536274,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18048":{"x":212.32023310549857,"y":-12.472093186624761,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18049":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true,"layouter":{"__isSmartRef__":true,"id":18050}},"18050":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":10,"spacing":15,"container":{"__isSmartRef__":true,"id":10188},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.VerticalLayout"},"18051":{"reset":{"__isSmartRef__":true,"id":18052},"moveFocusTo":{"__isSmartRef__":true,"id":18056},"explore":{"__isSmartRef__":true,"id":18060},"toggleAll":{"__isSmartRef__":true,"id":18064}},"18052":{"varMapping":{"__isSmartRef__":true,"id":18053},"source":"function reset() {\n this.workspace.reset();\n this.treeView.reset();\n this.focusedNode = null;\n}","funcProperties":{"__isSmartRef__":true,"id":18054},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"18053":{"this":{"__isSmartRef__":true,"id":10188}},"18054":{"timestamp":{"__isSmartRef__":true,"id":18055},"user":"lauritz","tags":[]},"18055":{"isSerializedDate":true,"string":"Wed Sep 21 2011 01:48:08 GMT+0200 (CEST)"},"18056":{"varMapping":{"__isSmartRef__":true,"id":18057},"source":"function moveFocusTo(focusedNode) {\n\n // set workspace context\n var previouslyFocusedNode = this.focusedNode;\n this.focusedNode = focusedNode;\n this.workspace.doitContext = this.focusedNode.data;\n\n // display focus\n if (previouslyFocusedNode && previouslyFocusedNode.setFill) \n previouslyFocusedNode.text.setFill(null);\n this.focusedNode.text.setFill(this.focusedNode.treeView.colors.focusedText);\n this.focusedNode.expander.toggle();\n}","funcProperties":{"__isSmartRef__":true,"id":18058},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"18057":{"this":{"__isSmartRef__":true,"id":10188}},"18058":{"timestamp":{"__isSmartRef__":true,"id":18059},"user":"lauritz","tags":[]},"18059":{"isSerializedDate":true,"string":"Tue Dec 13 2011 23:21:02 GMT+0100 (CET)"},"18060":{"varMapping":{"__isSmartRef__":true,"id":18061},"source":"function explore(object) {\n this.reset();\n this.treeView.renderTree(object);\n\n this.moveFocusTo(this.treeView.rootNode);\n this.workspace.setTextString(\"this\");\n}","funcProperties":{"__isSmartRef__":true,"id":18062},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"18061":{"this":{"__isSmartRef__":true,"id":10188}},"18062":{"timestamp":{"__isSmartRef__":true,"id":18063},"user":"lauritz","tags":[]},"18063":{"isSerializedDate":true,"string":"Tue Dec 13 2011 23:21:07 GMT+0100 (CET)"},"18064":{"varMapping":{"__isSmartRef__":true,"id":18065},"source":"function toggleAll() {\n this.treeView.toggleAll();\n}","funcProperties":{"__isSmartRef__":true,"id":18066},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"18065":{"this":{"__isSmartRef__":true,"id":10188}},"18066":{"timestamp":{"__isSmartRef__":true,"id":18067},"user":"lauritz","tags":[]},"18067":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:40:54 GMT+0100 (CET)"},"18068":{"x":164.35052570087606,"y":-17.252879506132672,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18069":{"reset":{"__isSmartRef__":true,"id":18070}},"18070":{"time":{"__isSmartRef__":true,"id":18071},"user":"lauritz"},"18071":{"isSerializedDate":true,"string":"Tue Nov 15 2011 23:03:51 GMT+0100 (CET)"},"18072":{"reset":{"__isSmartRef__":true,"id":18073}},"18073":{"varMapping":{"__isSmartRef__":true,"id":18074},"source":"function reset() {\n this.doitContext = null;\n this.setTextString(\"\");\n}","funcProperties":{"__isSmartRef__":true,"id":18075},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"18074":{"this":{"__isSmartRef__":true,"id":10173}},"18075":{},"18076":{"_layered_object":{"__isSmartRef__":true,"id":18077}},"18077":{"isText":true,"allowInput":true,"style":{"__isSmartRef__":true,"id":18078},"autoAdjustPadding":true,"suppressDropping":true,"draggingEnabled":true,"shortcutHandlers":[],"tab":" ","htmlDispatchTable":{"__isSmartRef__":true,"id":18080},"svgDispatchTable":{"__isSmartRef__":true,"id":18081},"canvasDispatchTable":{"__isSmartRef__":true,"id":18082},"accessibleInInactiveWindow":false,"connections":{"__isSmartRef__":true,"id":18083},"doNotSerialize":["charsTyped"],"_layer_object_id":8,"syntaxHighlightingCharLimit":4000,"_cachedScrollBarExtent":{"__isSmartRef__":true,"id":18086},"renderContextTable":{"__isSmartRef__":true,"id":10044},"textChunks":[{"__isSmartRef__":true,"id":18087}],"activeInstance":{"__isSmartRef__":true,"id":10173},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18078":{"borderWidth":1,"borderColor":{"__isSmartRef__":true,"id":778},"fill":{"__isSmartRef__":true,"id":18079},"fixedWidth":true,"fixedHeight":true,"enableGrabbing":false,"enableDropping":false,"allowInput":true,"clipMode":"visible","fontFamily":"Helvetica","fontSize":10,"padding":{"__isSmartRef__":true,"id":777}},"18079":{"r":0.9529411764705882,"g":0.9529411764705882,"b":0.9529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18080":{"updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"18081":{"renderText":"renderTextSVG","updateText":"updateTextSVG","setTextExtent":"setTextExtentSVG","getTextExtent":"getTextExtentSVG","setMaxTextWidth":"setMaxTextWidthSVG","setMaxTextHeight":"setMaxTextHeightSVG","getTextString":"getTextStringSVG","ignoreTextEvents":"ignoreTextEventsSVG"},"18082":{"updateText":"attributeChangedCANVAS"},"18083":{"textString":{"__isSmartRef__":true,"id":18084},"savedTextString":{"__isSmartRef__":true,"id":18085}},"18084":{},"18085":{},"18086":{"x":15,"y":15,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18087":{"style":{"__isSmartRef__":true,"id":18088},"chunkOwner":{"__isSmartRef__":true,"id":18089},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18088":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18089":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":18090},"derivationIds":[null],"id":"6F11A12D-8090-42F3-9149-E8DD1D944FC4","renderContextTable":{"__isSmartRef__":true,"id":18095},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":18096},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"textChunks":[{"__isSmartRef__":true,"id":18097}],"evalEnabled":false,"_HandStyle":"default","priorExtent":{"__isSmartRef__":true,"id":18099},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":18100},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18090":{"_Position":{"__isSmartRef__":true,"id":18091},"renderContextTable":{"__isSmartRef__":true,"id":18092},"_Extent":{"__isSmartRef__":true,"id":18093},"_Padding":{"__isSmartRef__":true,"id":18094},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"18091":{"x":0,"y":207,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18092":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"18093":{"x":248,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18094":{"x":3,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18095":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"18096":{"morph":{"__isSmartRef__":true,"id":18089},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"18097":{"style":{"__isSmartRef__":true,"id":18098},"chunkOwner":{"__isSmartRef__":true,"id":18089},"storedString":"[ ] Debug Methods","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18098":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18099":{"x":126,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18100":{"onMouseWheel":{"__isSmartRef__":true,"id":18101},"onSelectStart":{"__isSmartRef__":true,"id":18108},"deselect":{"__isSmartRef__":true,"id":18115}},"18101":{"varMapping":{"__isSmartRef__":true,"id":18102},"source":"function onMouseWheel(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":18107},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"18102":{"this":{"__isSmartRef__":true,"id":18089},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":18103}},"18103":{"$super":{"__isSmartRef__":true,"id":18104}},"18104":{"varMapping":{"__isSmartRef__":true,"id":18105},"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":18106},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"18105":{"obj":{"__isSmartRef__":true,"id":18089},"name":"onMouseWheel"},"18106":{},"18107":{},"18108":{"varMapping":{"__isSmartRef__":true,"id":18109},"source":"function onSelectStart(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":18114},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"18109":{"this":{"__isSmartRef__":true,"id":18089},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":18110}},"18110":{"$super":{"__isSmartRef__":true,"id":18111}},"18111":{"varMapping":{"__isSmartRef__":true,"id":18112},"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":18113},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"18112":{"obj":{"__isSmartRef__":true,"id":18089},"name":"onSelectStart"},"18113":{},"18114":{},"18115":{"varMapping":{"__isSmartRef__":true,"id":18116},"source":"function deselect(evt) {\n this.isSelected = false;\n this.applyStyle({fill: null, textColor: Color.black});\n }","funcProperties":{"__isSmartRef__":true,"id":18117},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"18116":{"this":{"__isSmartRef__":true,"id":18089}},"18117":{},"18118":{"namespaceIdentifier":"Global.lively.morphic.EventExperiments","createTime":{"__isSmartRef__":true,"id":18119},"wasDefined":true,"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/EventExperiments.js","privateRequirements":[{"__isSmartRef__":true,"id":18120},{"__isSmartRef__":true,"id":18122},{"__isSmartRef__":true,"id":18183}],"pendingRequirements":[],"callbacks":[],"dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":25215}],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"18119":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18120":{"namespaceIdentifier":"Global.cop.Layers","createTime":{"__isSmartRef__":true,"id":18121},"wasDefined":true,"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/cop/Layers.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18121":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18122":{"namespaceIdentifier":"Global.lively.LayerableMorphs","createTime":{"__isSmartRef__":true,"id":18123},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18120},{"__isSmartRef__":true,"id":18124}],"pendingRequirements":[],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/LayerableMorphs.js","dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":18118},{"__isSmartRef__":true,"id":25215}],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"18123":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18124":{"namespaceIdentifier":"Global.lively.morphic","createTime":{"__isSmartRef__":true,"id":18125},"Graphics":{"__isSmartRef__":true,"id":18126},"Shapes":{"__isSmartRef__":true,"id":18128},"Core":{"__isSmartRef__":true,"id":18130},"Styles":{"__isSmartRef__":true,"id":18134},"PathShapes":{"__isSmartRef__":true,"id":18138},"TextCore":{"__isSmartRef__":true,"id":18140},"CompatLayer":{"__isSmartRef__":true,"id":18142},"Compat":{"__isSmartRef__":true,"id":18144},"Rendering":{"__isSmartRef__":true,"id":18146},"HTML":{"__isSmartRef__":true,"id":18148},"SVG":{"__isSmartRef__":true,"id":18150},"Canvas":{"__isSmartRef__":true,"id":18152},"Events":{"__isSmartRef__":true,"id":18154},"EventSimulator":{"__isSmartRef__":true,"id":18156},"EventExperiments":{"__isSmartRef__":true,"id":18118},"Widgets":{"__isSmartRef__":true,"id":18157},"BindingsExtensionLayer":{"__isSmartRef__":true,"id":18161},"Serialization":{"__isSmartRef__":true,"id":18169},"Halos":{"__isSmartRef__":true,"id":18183},"MorphAddons":{"__isSmartRef__":true,"id":18185},"Layout":{"__isSmartRef__":true,"id":18187},"ObjectMigration":{"__isSmartRef__":true,"id":18189},"AdditionalMorphs":{"__isSmartRef__":true,"id":18191},"Grid":{"__isSmartRef__":true,"id":18193},"Connectors":{"__isSmartRef__":true,"id":18197},"ScriptingSupport":{"__isSmartRef__":true,"id":18199},"Complete":{"__isSmartRef__":true,"id":25213},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":25213},{"__isSmartRef__":true,"id":18142}],"pendingRequirements":[],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic.js","dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":18122},{"__isSmartRef__":true,"id":25233},{"__isSmartRef__":true,"id":25215}],"PathOriginHackLayer":{"__isSmartRef__":true,"id":25235},"VisualBindingsLayer":{"__isSmartRef__":true,"id":25241},"_isLoaded":true,"GrabbingDefaultLayer":{"__isSmartRef__":true,"id":25247},"GrabbingLayer":{"__isSmartRef__":true,"id":10155},"DiffMerge":{"__isSmartRef__":true,"id":25249},"__LivelyClassName__":"Namespace"},"18125":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18126":{"namespaceIdentifier":"Global.lively.morphic.Graphics","createTime":{"__isSmartRef__":true,"id":18127},"wasDefined":true,"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Graphics.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18127":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18128":{"namespaceIdentifier":"Global.lively.morphic.Shapes","createTime":{"__isSmartRef__":true,"id":18129},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18126}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Shapes.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18129":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18130":{"namespaceIdentifier":"Global.lively.morphic.Core","createTime":{"__isSmartRef__":true,"id":18131},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18128},{"__isSmartRef__":true,"id":18132}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Core.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18131":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18132":{"namespaceIdentifier":"Global.lively.Traits","createTime":{"__isSmartRef__":true,"id":18133},"wasDefined":true,"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/Traits.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18133":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18134":{"namespaceIdentifier":"Global.lively.morphic.Styles","createTime":{"__isSmartRef__":true,"id":18135},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18128},{"__isSmartRef__":true,"id":18136}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Styles.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18135":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18136":{"namespaceIdentifier":"Global.lively.CrayonColors","createTime":{"__isSmartRef__":true,"id":18137},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18126}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/CrayonColors.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18137":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18138":{"namespaceIdentifier":"Global.lively.morphic.PathShapes","createTime":{"__isSmartRef__":true,"id":18139},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18128}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/PathShapes.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18139":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18140":{"namespaceIdentifier":"Global.lively.morphic.TextCore","createTime":{"__isSmartRef__":true,"id":18141},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18120},{"__isSmartRef__":true,"id":18130}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/TextCore.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18141":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18142":{"namespaceIdentifier":"Global.lively.morphic.CompatLayer","createTime":{"__isSmartRef__":true,"id":18143},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18130},{"__isSmartRef__":true,"id":18120}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/CompatLayer.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18143":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18144":{"namespaceIdentifier":"Global.lively.morphic.Compat","createTime":{"__isSmartRef__":true,"id":18145},"__LivelyClassName__":"Namespace"},"18145":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18146":{"namespaceIdentifier":"Global.lively.morphic.Rendering","createTime":{"__isSmartRef__":true,"id":18147},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18130},{"__isSmartRef__":true,"id":18140},{"__isSmartRef__":true,"id":18128}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Rendering.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18147":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18148":{"namespaceIdentifier":"Global.lively.morphic.HTML","createTime":{"__isSmartRef__":true,"id":18149},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18146},{"__isSmartRef__":true,"id":18138},{"__isSmartRef__":true,"id":18132}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/HTML.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18149":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18150":{"namespaceIdentifier":"Global.lively.morphic.SVG","createTime":{"__isSmartRef__":true,"id":18151},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18146},{"__isSmartRef__":true,"id":18138}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/SVG.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18151":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18152":{"namespaceIdentifier":"Global.lively.morphic.Canvas","createTime":{"__isSmartRef__":true,"id":18153},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18146}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Canvas.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18153":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18154":{"namespaceIdentifier":"Global.lively.morphic.Events","createTime":{"__isSmartRef__":true,"id":18155},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18130},{"__isSmartRef__":true,"id":18140},{"__isSmartRef__":true,"id":18148},{"__isSmartRef__":true,"id":18150},{"__isSmartRef__":true,"id":18152},{"__isSmartRef__":true,"id":18132}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Events.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18155":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18156":{},"18157":{"namespaceIdentifier":"Global.lively.morphic.Widgets","createTime":{"__isSmartRef__":true,"id":18158},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18130},{"__isSmartRef__":true,"id":18154},{"__isSmartRef__":true,"id":18159},{"__isSmartRef__":true,"id":18134}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Widgets.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18158":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18159":{"namespaceIdentifier":"Global.lively.WidgetsTraits","createTime":{"__isSmartRef__":true,"id":18160},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18132},{"__isSmartRef__":true,"id":18126}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/WidgetsTraits.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18160":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18161":{"2":{"__isSmartRef__":true,"id":18162},"name":"BindingsExtensionLayer","namespaceName":"Global.lively.morphic","sourceModule":{"__isSmartRef__":true,"id":18167},"__LivelyClassName__":"Layer","__SourceModuleName__":"Global.cop.Layers"},"18162":{"_layered_object":{"__isSmartRef__":true,"id":18163}},"18163":{"namespaceIdentifier":"Global.lively.bindings","createTime":{"__isSmartRef__":true,"id":18164},"wasDefined":true,"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/bindings.js","documentation":"connect parameters: source, sourceProp, target, targetProp, spec\nspec can be: {removeAfterUpdate: Boolean, converter: Function, updater: Function, varMapping: Object}","_isLoaded":true,"Core":{"__isSmartRef__":true,"id":18165},"GeometryBindings":{"__isSmartRef__":true,"id":18167},"_layer_object_id":2,"__LivelyClassName__":"Namespace"},"18164":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18165":{"namespaceIdentifier":"Global.lively.bindings.Core","createTime":{"__isSmartRef__":true,"id":18166},"wasDefined":true,"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/bindings/Core.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18166":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18167":{"namespaceIdentifier":"Global.lively.bindings.GeometryBindings","createTime":{"__isSmartRef__":true,"id":18168},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18120},{"__isSmartRef__":true,"id":18130},{"__isSmartRef__":true,"id":18165},{"__isSmartRef__":true,"id":18140},{"__isSmartRef__":true,"id":18157}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/bindings/GeometryBindings.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18168":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18169":{"namespaceIdentifier":"Global.lively.morphic.Serialization","createTime":{"__isSmartRef__":true,"id":18170},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18171},{"__isSmartRef__":true,"id":18179},{"__isSmartRef__":true,"id":18130},{"__isSmartRef__":true,"id":18140},{"__isSmartRef__":true,"id":18181},{"__isSmartRef__":true,"id":18157}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Serialization.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18170":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18171":{"namespaceIdentifier":"Global.lively.Network","createTime":{"__isSmartRef__":true,"id":18172},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18163},{"__isSmartRef__":true,"id":18173},{"__isSmartRef__":true,"id":18177}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/Network.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18172":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18173":{"namespaceIdentifier":"Global.lively.NoMoreModels","createTime":{"__isSmartRef__":true,"id":18174},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18175}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/NoMoreModels.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18174":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18175":{"namespaceIdentifier":"Global.lively.OldModel","createTime":{"__isSmartRef__":true,"id":18176},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18163}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/OldModel.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18176":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18177":{"namespaceIdentifier":"Global.lively.Data","createTime":{"__isSmartRef__":true,"id":18178},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18175}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/Data.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18178":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18179":{"namespaceIdentifier":"Global.lively.persistence.Serializer","createTime":{"__isSmartRef__":true,"id":18180},"wasDefined":true,"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/persistence/Serializer.js","jsonWorldId":"LivelyJSONWorld","changeSetElementId":"WorldChangeSet","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18180":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18181":{"namespaceIdentifier":"Global.lively.DOMAbstraction","createTime":{"__isSmartRef__":true,"id":18182},"wasDefined":true,"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/DOMAbstraction.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18182":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18183":{"namespaceIdentifier":"Global.lively.morphic.Halos","createTime":{"__isSmartRef__":true,"id":18184},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18154},{"__isSmartRef__":true,"id":18157}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Halos.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18184":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18185":{"namespaceIdentifier":"Global.lively.morphic.MorphAddons","createTime":{"__isSmartRef__":true,"id":18186},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18130},{"__isSmartRef__":true,"id":18154},{"__isSmartRef__":true,"id":18157},{"__isSmartRef__":true,"id":18134}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/MorphAddons.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18186":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18187":{"namespaceIdentifier":"Global.lively.morphic.Layout","createTime":{"__isSmartRef__":true,"id":18188},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18130},{"__isSmartRef__":true,"id":18157}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Layout.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18188":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18189":{"namespaceIdentifier":"Global.lively.morphic.ObjectMigration","createTime":{"__isSmartRef__":true,"id":18190},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18169},{"__isSmartRef__":true,"id":18120}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/ObjectMigration.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"18190":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18191":{"namespaceIdentifier":"Global.lively.morphic.AdditionalMorphs","createTime":{"__isSmartRef__":true,"id":18192},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18183},{"__isSmartRef__":true,"id":18193}],"pendingRequirements":[],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/AdditionalMorphs.js","dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":18197},{"__isSmartRef__":true,"id":25213},{"__isSmartRef__":true,"id":25215}],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"18192":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18193":{"namespaceIdentifier":"Global.lively.morphic.Grid","createTime":{"__isSmartRef__":true,"id":18194},"dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":18191}],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Grid.js","wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18195}],"pendingRequirements":[],"callbacks":[],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"18194":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18195":{"namespaceIdentifier":"Global.lively.persistence.MassMorphCreation","createTime":{"__isSmartRef__":true,"id":18196},"dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":18193}],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/persistence/MassMorphCreation.js","wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18179}],"callbacks":[],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"18196":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18197":{"namespaceIdentifier":"Global.lively.morphic.Connectors","createTime":{"__isSmartRef__":true,"id":18198},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18191},{"__isSmartRef__":true,"id":18167}],"pendingRequirements":[],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Connectors.js","dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":18199},{"__isSmartRef__":true,"id":25215}],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"18198":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18199":{"namespaceIdentifier":"Global.lively.morphic.ScriptingSupport","createTime":{"__isSmartRef__":true,"id":18200},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18130},{"__isSmartRef__":true,"id":18201},{"__isSmartRef__":true,"id":18197}],"pendingRequirements":[],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/ScriptingSupport.js","dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":25213},{"__isSmartRef__":true,"id":25215}],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"18200":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18201":{"namespaceIdentifier":"Global.lively.PartsBin","createTime":{"__isSmartRef__":true,"id":18202},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18132}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/PartsBin.js","partSpaces":{"__isSmartRef__":true,"id":18203},"_isLoaded":true,"__LivelyClassName__":"Namespace"},"18202":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"18203":{"PartsBin/iPadWidgets":{"__isSmartRef__":true,"id":18204},"PartsBin/Dialogs":{"__isSmartRef__":true,"id":18427},"PartsBin/Tools":{"__isSmartRef__":true,"id":21107},"PartsBin/FreedomOfSpeech/":{"__isSmartRef__":true,"id":25211}},"18204":{"name":"PartsBin/iPadWidgets","partItems":{"__isSmartRef__":true,"id":18205},"__LivelyClassName__":"lively.PartsBin.PartsSpace","__SourceModuleName__":"Global.lively.PartsBin"},"18205":{"LoadingMorph":{"__isSmartRef__":true,"id":18206}},"18206":{"partsSpaceName":"PartsBin/iPadWidgets","name":"LoadingMorph","part":{"__isSmartRef__":true,"id":18207},"partVersions":[{"__isSmartRef__":true,"id":18360}],"rev":151069,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"json":"{\"id\":0,\"registry\":{\"0\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1}],\"scripts\":[],\"id\":\"FEF39B3C-E634-4825-BAB8-2D44FE647B03\",\"shape\":{\"__isSmartRef__\":true,\"id\":30},\"droppingEnabled\":true,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":37},\"showsHalos\":false,\"name\":\"LoadingMorph\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":38},\"__SourceModuleName__\":\"Global.lively.morphic.Core\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":135},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":136},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"derivationIds\":[127,\"59692BC3-6C7B-4E23-B820-8699260EA722\",\"486BB935-1313-4103-B2A8-642B19437478\",\"18AFFD44-46CD-489E-B1D6-DED43E2B6B06\",\"2608C892-2204-4981-9A87-8E749F8944AB\",\"5535861F-4EA2-44AB-8A40-0538124E0AAC\",\"16C292B3-86E8-4622-B516-27C48263B8CC\",\"87731A20-D455-44D0-97E5-98A7CFD4E417\",\"A17081E7-E597-47ED-BD32-6E4D206BD7D7\",\"CFB4A44C-BFEA-4584-BCBA-AE2A56739200\",\"76B3DD9B-8D01-42BA-A574-AB99D5F899BB\",\"1EBC5512-8F54-4B24-998C-69A285EC8533\",\"DD1165C7-6C1A-4361-A4AE-FCF6F31152FD\",\"4D6D36E8-48F3-408A-B03C-202E4DC182BD\",\"5F3B3E0F-BBC6-4DDA-BAA0-7EFC05FF2011\",\"E0A6B33B-767A-4532-9021-892414520200\",\"F5F5E2B1-5FF0-4E09-B323-AE88A3920B8D\",\"0C7E832A-A741-430F-B295-8BC181D066FE\",\"472AED3B-CB76-49BD-BF49-354A2D568F86\",\"A7C52F65-D140-4791-880F-F7584C7BB570\",\"3516412B-8B36-4E52-9416-6B7FB358BDC2\",\"1840CACC-078C-4795-AD3F-E9D6F8D557A0\",\"1FEDCA25-0131-46FA-840F-DC5F1B05C6CA\",\"C620CED3-0AE9-4097-9AA7-2706A042F9C9\",\"679A861B-40E0-4DB2-B22F-95B454C6978D\"],\"isBeingDragged\":false,\"priorExtent\":{\"__isSmartRef__\":true,\"id\":137},\"layout\":{\"__isSmartRef__\":true,\"id\":138},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":139},\"prevScroll\":[0,0],\"moved\":true,\"_Rotation\":0,\"_Scale\":1,\"headRevision\":146469,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":140},\"__LivelyClassName__\":\"lively.morphic.Box\"},\"1\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":2}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":18},\"id\":\"9FFF9D73-931C-404C-AA4B-5AC2E7C53504\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":23},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":24},\"droppingEnabled\":true,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":25},\"name\":\"ProgressIndicator\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":26},\"showsHalos\":false,\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":27},\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":28},\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"derivationIds\":[520,\"071F18BE-FF28-40F5-ACAD-1916E0D25C38\",\"DF185A10-743D-45FC-B9C2-76E12D908BCF\",\"BF125D2C-596A-4C1E-A5F8-DAE4801E9497\",\"3CEE8CFF-B8F1-4B4B-A405-CB583080252A\",\"D0652878-8F9C-4591-8A82-296898AACDB6\",\"31441DDF-2220-43BE-A99F-69E1FEC68030\",\"14A90039-0D3E-46DC-8445-D42B8E02EB42\",\"681EF5DE-A344-4114-B2F3-B96CE3872524\",\"C0381116-5116-4F33-B082-A411D0E4534E\",\"24E9581E-B008-46EE-9CBC-D5190E100D98\",\"C69D1041-2C5E-48FE-B04C-04E66450658A\",\"4830945B-4FFF-4564-9424-34D7995DAE60\",\"8602C233-B3E7-4682-9B0E-D7549761D934\",\"B4E0E11F-2BED-462E-B708-89D63971856E\",\"EE0144C2-D016-4390-8A67-4E7DEF171C83\",\"F44DF6E4-5F27-440E-AB5F-3721C0A10CA6\",\"73FC6648-DAAF-4673-8CF4-7DA219513F22\",\"B78EB1B5-780C-45F7-B0A7-B988B52B1FF1\",\"DFDB8CD1-72F7-40F4-849B-1F9B866277AB\",\"66111105-B1FC-41F7-BF70-D45118C9E09F\",\"02420416-1E35-4831-AABB-91CD0460CA1A\",\"7C6B2EB2-4510-4A8E-BAFF-5CF0040DD7F5\",\"0503F5A1-1732-4610-9A5A-920D658CA766\",\"07C5AE03-36AD-4849-BACD-27D7D9A2CCF2\"],\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"owner\":{\"__isSmartRef__\":true,\"id\":0},\"isBeingDragged\":false,\"layout\":{\"__isSmartRef__\":true,\"id\":29},\"prevScroll\":[0,0],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Image\"},\"2\":{\"submorphs\":[],\"scripts\":[],\"id\":\"B8FE7DEE-9568-4BE6-BA12-EA674BA79E08\",\"shape\":{\"__isSmartRef__\":true,\"id\":3},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":true,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":9},\"_MaxTextWidth\":257,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":6},\"showsHalos\":false,\"_FontSize\":14,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"loadedMorphName\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":10},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":11}],\"charsReplaced\":\"MorphName\",\"lastFindLoc\":18,\"priorSelectionRange\":[9,0],\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":13},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":14},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":15},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_Padding\":{\"__isSmartRef__\":true,\"id\":16},\"_ClipMode\":\"visible\",\"derivationIds\":[355,\"023045B3-2D6B-4425-89FB-F4806D527BE0\",\"DC0C2365-868C-41AE-8369-51C31E91493E\",\"C6D9D314-86A1-4015-970B-F6787F535E1A\",\"6AA4552E-2E85-447E-9033-99D5AA1A94BC\",\"D94BE49C-8A3E-4F1F-BF28-FEDD9B40D213\",\"AA8F0470-654C-4AA2-8135-4607F5429AC5\",\"E0BAABCC-FFB2-4EDF-BAE5-C63CC99B6A97\",\"1A86AE17-73AE-442E-AB36-DD90C6DFC8BC\",\"EF750075-E964-4CD3-B6A4-161511E1D058\",\"CED69CBF-FFA5-45E7-B333-FBACE4F278AC\",\"E56978C1-7424-4C10-8168-11FD3237B540\",\"D5AB2532-A4DC-42D6-AF17-99CBBCEAA848\",\"245866CB-598A-4172-A3A0-A06D4D26C6AD\",\"43B0F12E-5793-43AA-80E1-496774E0EBA6\",\"1B776A8C-0413-475F-8EBD-120BBD91D2BB\",\"F84F2C9A-8003-4E81-833A-83F48C92F3B8\",\"3124B389-9FA4-4348-BC5D-0DFF9C59CD1B\",\"1A1BCBAC-D7CC-4BAE-B8C2-7C693F7327A1\",\"1CB201BA-5E0B-4771-821A-139FA2AEFBC2\",\"195520FA-4816-47A4-B0F5-BA890AFD9DF9\",\"0D15F28A-24C9-46B7-89C5-6D2354728AC1\",\"316FE9D3-62EC-4FD6-9B0F-FFA622B79575\",\"739F3743-9BE1-48C8-813D-C0BFB0DCACA6\",\"01877B3B-7DA7-4222-B011-7B5F4E501862\"],\"_WhiteSpaceHandling\":\"pre-wrap\",\"owner\":{\"__isSmartRef__\":true,\"id\":1},\"_MinTextWidth\":257,\"_MinTextHeight\":null,\"previousSelection\":[6,6],\"_Align\":\"center\",\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":17},\"isBeingDragged\":false,\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"3\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":4},\"_Extent\":{\"__isSmartRef__\":true,\"id\":5},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":6},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":7},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":8},\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"4\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"5\":{\"x\":257,\"y\":23,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"6\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"7\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"8\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"9\":{\"x\":-109,\"y\":38,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"10\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":4,\"comment\":\"a simple text morph\",\"partName\":\"Text\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"11\":{\"style\":{\"__isSmartRef__\":true,\"id\":12},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":2},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"loading part\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"12\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"13\":{\"x\":257,\"y\":23,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"14\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"15\":{\"morph\":{\"__isSmartRef__\":true,\"id\":2},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"16\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"17\":{\"x\":179,\"y\":-11,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"18\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":19},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":20},\"_Extent\":{\"__isSmartRef__\":true,\"id\":21},\"_ImageURL\":\"data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAAQABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOwAAAAAAAAAAAA==\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"isLoaded\":true,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":22},\"_BorderWidth\":0,\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Image\"},\"19\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"20\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\",\"setImageURL\":\"setImageURLHTML\",\"getNativeExtent\":\"getNativeExtentHTML\"},\"21\":{\"x\":31,\"y\":31,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"22\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"23\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"24\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"25\":{\"x\":113.5,\"y\":81,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"26\":{\"x\":30,\"y\":31,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"27\":{\"x\":39,\"y\":-11,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"28\":{\"partName\":\"ProgressIndicator\",\"requiredModules\":[],\"migrationLevel\":2,\"partsSpaceName\":\"PartsBin/Widgets/\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"29\":{\"centeredHorizontal\":true,\"centeredVertical\":true},\"30\":{\"position\":{\"__isSmartRef__\":true,\"id\":31},\"_Extent\":{\"__isSmartRef__\":true,\"id\":32},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":33},\"_Fill\":{\"__isSmartRef__\":true,\"id\":34},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":35},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":36},\"_BorderRadius\":8.515,\"_Opacity\":0.8146,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"31\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"32\":{\"x\":266,\"y\":223,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"33\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"34\":{\"r\":0.839,\"g\":0.839,\"b\":0.839,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"35\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"36\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"37\":{\"x\":0,\"y\":0,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"38\":{\"partsSpaceName\":\"PartsBin/iPad Widgets/\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"comment\":\"This is a placeholder to indicate that a morph is being loaded. It will be replaced by the morph as soon as the requested morph finished loading.\",\"migrationLevel\":4,\"partName\":\"LoadingMorph\",\"changes\":[{\"__isSmartRef__\":true,\"id\":39},{\"__isSmartRef__\":true,\"id\":41},{\"__isSmartRef__\":true,\"id\":43},{\"__isSmartRef__\":true,\"id\":45},{\"__isSmartRef__\":true,\"id\":47},{\"__isSmartRef__\":true,\"id\":49},{\"__isSmartRef__\":true,\"id\":51},{\"__isSmartRef__\":true,\"id\":53},{\"__isSmartRef__\":true,\"id\":55},{\"__isSmartRef__\":true,\"id\":57},{\"__isSmartRef__\":true,\"id\":59},{\"__isSmartRef__\":true,\"id\":61},{\"__isSmartRef__\":true,\"id\":63},{\"__isSmartRef__\":true,\"id\":65},{\"__isSmartRef__\":true,\"id\":67},{\"__isSmartRef__\":true,\"id\":69},{\"__isSmartRef__\":true,\"id\":71},{\"__isSmartRef__\":true,\"id\":73},{\"__isSmartRef__\":true,\"id\":75},{\"__isSmartRef__\":true,\"id\":77},{\"__isSmartRef__\":true,\"id\":79},{\"__isSmartRef__\":true,\"id\":81},{\"__isSmartRef__\":true,\"id\":83},{\"__isSmartRef__\":true,\"id\":85},{\"__isSmartRef__\":true,\"id\":87},{\"__isSmartRef__\":true,\"id\":89},{\"__isSmartRef__\":true,\"id\":91},{\"__isSmartRef__\":true,\"id\":93},{\"__isSmartRef__\":true,\"id\":95},{\"__isSmartRef__\":true,\"id\":97},{\"__isSmartRef__\":true,\"id\":99},{\"__isSmartRef__\":true,\"id\":101},{\"__isSmartRef__\":true,\"id\":103},{\"__isSmartRef__\":true,\"id\":105},{\"__isSmartRef__\":true,\"id\":107},{\"__isSmartRef__\":true,\"id\":109},{\"__isSmartRef__\":true,\"id\":111},{\"__isSmartRef__\":true,\"id\":113},{\"__isSmartRef__\":true,\"id\":115},{\"__isSmartRef__\":true,\"id\":117},{\"__isSmartRef__\":true,\"id\":119},{\"__isSmartRef__\":true,\"id\":121},{\"__isSmartRef__\":true,\"id\":123},{\"__isSmartRef__\":true,\"id\":125},{\"__isSmartRef__\":true,\"id\":127},{\"__isSmartRef__\":true,\"id\":129},{\"__isSmartRef__\":true,\"id\":131},{\"__isSmartRef__\":true,\"id\":133}],\"revisionOnLoad\":140039,\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"39\":{\"date\":{\"__isSmartRef__\":true,\"id\":40},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"1C1391AE-5722-4707-BE52-F0094FC56829\"},\"40\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 14:02:04 GMT+0100 (W. Europe Standard Time)\"},\"41\":{\"date\":{\"__isSmartRef__\":true,\"id\":42},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"663F147A-9084-4AC3-81A7-1E7BA6547F08\"},\"42\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 12:43:10 GMT+0100 (W. Europe Standard Time)\"},\"43\":{\"date\":{\"__isSmartRef__\":true,\"id\":44},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"F72B746E-B170-4EFB-9074-5E8770640B8A\"},\"44\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 12:36:14 GMT+0100 (W. Europe Standard Time)\"},\"45\":{\"date\":{\"__isSmartRef__\":true,\"id\":46},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"568D2EFD-C535-43AE-8944-6D8B967129F5\"},\"46\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 12:23:04 GMT+0100 (W. Europe Standard Time)\"},\"47\":{\"date\":{\"__isSmartRef__\":true,\"id\":48},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"AB2484A6-0707-4E13-845E-F0A5F48BBA3D\"},\"48\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:59:45 GMT+0100 (W. Europe Standard Time)\"},\"49\":{\"date\":{\"__isSmartRef__\":true,\"id\":50},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"97D20633-F76C-46A5-A32A-FFE9BC83CAB3\"},\"50\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:59:10 GMT+0100 (W. Europe Standard Time)\"},\"51\":{\"date\":{\"__isSmartRef__\":true,\"id\":52},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"8A697DF5-9A45-4A84-B709-9719BF55083E\"},\"52\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:56:54 GMT+0100 (W. Europe Standard Time)\"},\"53\":{\"date\":{\"__isSmartRef__\":true,\"id\":54},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"F2157D66-1571-4B9A-B325-6FA96488260F\"},\"54\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:51:05 GMT+0100 (W. Europe Standard Time)\"},\"55\":{\"date\":{\"__isSmartRef__\":true,\"id\":56},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"E5E808CA-06AB-47DC-A9C9-CA7967591545\"},\"56\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:47:19 GMT+0100 (W. Europe Standard Time)\"},\"57\":{\"date\":{\"__isSmartRef__\":true,\"id\":58},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"009DC4E0-23CA-485A-A796-801AA0F75049\"},\"58\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:46:25 GMT+0100 (W. Europe Standard Time)\"},\"59\":{\"date\":{\"__isSmartRef__\":true,\"id\":60},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"C0CE1397-6E2E-4E8C-AEFF-9017E24BB7E4\"},\"60\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:45:05 GMT+0100 (W. Europe Standard Time)\"},\"61\":{\"date\":{\"__isSmartRef__\":true,\"id\":62},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"FFE16986-548D-4AC2-A627-CF6416282BC4\"},\"62\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:37:15 GMT+0100 (W. Europe Standard Time)\"},\"63\":{\"date\":{\"__isSmartRef__\":true,\"id\":64},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"57213D63-7147-4057-ADC9-30994443B066\"},\"64\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:35:29 GMT+0100 (W. Europe Standard Time)\"},\"65\":{\"date\":{\"__isSmartRef__\":true,\"id\":66},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"75A31364-B380-4312-BB5B-F8F2DA1CE824\"},\"66\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:31:52 GMT+0100 (W. Europe Standard Time)\"},\"67\":{\"date\":{\"__isSmartRef__\":true,\"id\":68},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"5AA50B7E-7D33-44C4-807B-BF1ABA31D530\"},\"68\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:14:10 GMT+0100 (W. Europe Standard Time)\"},\"69\":{\"date\":{\"__isSmartRef__\":true,\"id\":70},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"BCDCC505-534C-45E5-9BB2-5238959A5AD0\"},\"70\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:02:56 GMT+0100 (W. Europe Standard Time)\"},\"71\":{\"date\":{\"__isSmartRef__\":true,\"id\":72},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"890D14F4-E89D-4E05-BFB9-875D6AB6C765\"},\"72\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:01:50 GMT+0100 (W. Europe Standard Time)\"},\"73\":{\"date\":{\"__isSmartRef__\":true,\"id\":74},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"B6FE0805-0D24-4267-8238-8B332352617E\"},\"74\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 10:55:44 GMT+0100 (W. Europe Standard Time)\"},\"75\":{\"date\":{\"__isSmartRef__\":true,\"id\":76},\"author\":\"sstamm\",\"message\":\"callbacks are working\",\"id\":\"9348260A-3B55-4659-BC85-440BFBD98EA4\"},\"76\":{\"isSerializedDate\":true,\"string\":\"Fri Feb 10 2012 09:45:55 GMT+0100 (W. Europe Standard Time)\"},\"77\":{\"date\":{\"__isSmartRef__\":true,\"id\":78},\"author\":\"sstamm\",\"message\":\"made it more opaque\",\"id\":\"1B84264C-2822-407F-A58F-19217BCD2762\"},\"78\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 08 2012 11:41:50 GMT+0100 (W. Europe Standard Time)\"},\"79\":{\"date\":{\"__isSmartRef__\":true,\"id\":80},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"0FB41D7D-2A52-4782-814B-A66C24FCE569\"},\"80\":{\"isSerializedDate\":true,\"string\":\"Tue Feb 07 2012 11:13:49 GMT+0100 (W. Europe Standard Time)\"},\"81\":{\"date\":{\"__isSmartRef__\":true,\"id\":82},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"A0C2D7C1-04AF-493A-A7D7-70750F7D3E2F\"},\"82\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 17:22:07 GMT+0100 (W. Europe Standard Time)\"},\"83\":{\"date\":{\"__isSmartRef__\":true,\"id\":84},\"author\":\"sstamm\",\"message\":\"trollolol\",\"id\":\"F6CFAD78-AC72-4DE2-9F38-79776C2E9462\"},\"84\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 14:55:14 GMT+0100 (W. Europe Standard Time)\"},\"85\":{\"date\":{\"__isSmartRef__\":true,\"id\":86},\"author\":\"sstamm\",\"message\":\"should be centered now\",\"id\":\"EE366B4D-C272-477F-8C28-4EAE5A7EC7CB\"},\"86\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 14:54:35 GMT+0100 (W. Europe Standard Time)\"},\"87\":{\"date\":{\"__isSmartRef__\":true,\"id\":88},\"author\":\"sstamm\",\"message\":\"initial commit\",\"id\":\"8920D925-DD16-4667-B8C7-FB74D78C2424\"},\"88\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 13:26:01 GMT+0100 (W. Europe Standard Time)\"},\"89\":{\"date\":{\"__isSmartRef__\":true,\"id\":90},\"author\":\"sstamm\",\"message\":\"changed text morph name\",\"id\":\"80E88A3C-5AF3-48F2-A600-710877630997\"},\"90\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 14:04:01 GMT+0100 (W. Europe Standard Time)\"},\"91\":{\"date\":{\"__isSmartRef__\":true,\"id\":92},\"author\":\"sstamm\",\"message\":\"added loading script\",\"id\":\"EE9B8F4D-1F03-4232-82E6-794046974F8F\"},\"92\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 14:28:30 GMT+0100 (W. Europe Standard Time)\"},\"93\":{\"date\":{\"__isSmartRef__\":true,\"id\":94},\"author\":\"sstamm\",\"message\":\"added disconnection\",\"id\":\"11F19267-924E-4087-99ED-998245576BD2\"},\"94\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 14:32:58 GMT+0100 (W. Europe Standard Time)\"},\"95\":{\"date\":{\"__isSmartRef__\":true,\"id\":96},\"author\":\"sstamm\",\"message\":\"removed connections before deletion\",\"id\":\"35A88218-6864-4D52-83A2-BFF7B9A6907C\"},\"96\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 14:41:00 GMT+0100 (W. Europe Standard Time)\"},\"97\":{\"date\":{\"__isSmartRef__\":true,\"id\":98},\"author\":\"sstamm\",\"message\":\"now able to load parts by name and category as well as per partItem\",\"id\":\"F36A5782-461D-4813-95F8-0207990A261C\"},\"98\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 15:24:30 GMT+0100 (W. Europe Standard Time)\"},\"99\":{\"date\":{\"__isSmartRef__\":true,\"id\":100},\"author\":\"sstamm\",\"message\":\"now with round corners\",\"id\":\"F42C39CB-CC37-467D-BF10-D362241F047E\"},\"100\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 15:26:23 GMT+0100 (W. Europe Standard Time)\"},\"101\":{\"date\":{\"__isSmartRef__\":true,\"id\":102},\"author\":\"sstamm\",\"message\":\"loadingMorph is sync now\",\"id\":\"12ACFFC9-BA53-4A2A-ABD4-894A5ECE1145\"},\"102\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 15:48:04 GMT+0100 (W. Europe Standard Time)\"},\"103\":{\"date\":{\"__isSmartRef__\":true,\"id\":104},\"author\":\"sstamm\",\"message\":\"display the loadingMorph in new thread\",\"id\":\"2BA51E30-F02B-4AF0-B3BE-52DD4ED522CC\"},\"104\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 15:53:49 GMT+0100 (W. Europe Standard Time)\"},\"105\":{\"date\":{\"__isSmartRef__\":true,\"id\":106},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"DF0AE4EA-1B08-4556-8BBE-E6488F23B8A3\"},\"106\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 16:49:48 GMT+0100 (W. Europe Standard Time)\"},\"107\":{\"date\":{\"__isSmartRef__\":true,\"id\":108},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"220821B3-C589-41C9-A324-8E7E6D9D6CEB\"},\"108\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 16:58:43 GMT+0100 (W. Europe Standard Time)\"},\"109\":{\"date\":{\"__isSmartRef__\":true,\"id\":110},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"DEBFACE2-7EC5-4A86-AD46-5A0A88A73707\"},\"110\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 17:04:28 GMT+0100 (W. Europe Standard Time)\"},\"111\":{\"date\":{\"__isSmartRef__\":true,\"id\":112},\"author\":\"sstamm\",\"message\":\"load request in new thread if loading should be async\",\"id\":\"18282D28-D6D4-48C9-A508-6E3244449BD8\"},\"112\":{\"isSerializedDate\":true,\"string\":\"Tue Feb 07 2012 11:10:27 GMT+0100 (W. Europe Standard Time)\"},\"113\":{\"date\":{\"__isSmartRef__\":true,\"id\":114},\"author\":\"sstamm\",\"message\":\"added benchmarking output\",\"id\":\"249CFF90-DDF5-4A83-9759-0289E96D7D58\"},\"114\":{\"isSerializedDate\":true,\"string\":\"Tue Feb 07 2012 11:31:50 GMT+0100 (W. Europe Standard Time)\"},\"115\":{\"date\":{\"__isSmartRef__\":true,\"id\":116},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"882082E1-29B6-418D-9B8B-672729D60619\"},\"116\":{\"isSerializedDate\":true,\"string\":\"Tue Feb 07 2012 11:38:26 GMT+0100 (W. Europe Standard Time)\"},\"117\":{\"date\":{\"__isSmartRef__\":true,\"id\":118},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"5179AEF9-E19F-4B0C-BBD8-556C5687988A\"},\"118\":{\"isSerializedDate\":true,\"string\":\"Tue Feb 07 2012 11:44:11 GMT+0100 (W. Europe Standard Time)\"},\"119\":{\"date\":{\"__isSmartRef__\":true,\"id\":120},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"1159C5B4-724E-4124-9D7B-5CD5DC4A8EE3\"},\"120\":{\"isSerializedDate\":true,\"string\":\"Tue Feb 07 2012 11:48:14 GMT+0100 (W. Europe Standard Time)\"},\"121\":{\"date\":{\"__isSmartRef__\":true,\"id\":122},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"2A718D1F-1036-41D6-999A-336F2B14E65D\"},\"122\":{\"isSerializedDate\":true,\"string\":\"Tue Feb 07 2012 11:49:47 GMT+0100 (W. Europe Standard Time)\"},\"123\":{\"date\":{\"__isSmartRef__\":true,\"id\":124},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"EB6BDD0C-7EEC-4124-B77F-2F106A601538\"},\"124\":{\"isSerializedDate\":true,\"string\":\"Tue Feb 07 2012 11:59:48 GMT+0100 (W. Europe Standard Time)\"},\"125\":{\"date\":{\"__isSmartRef__\":true,\"id\":126},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"63EC8D07-AB6A-450A-BB84-9B4D37E03647\"},\"126\":{\"isSerializedDate\":true,\"string\":\"Tue Feb 07 2012 12:02:33 GMT+0100 (W. Europe Standard Time)\"},\"127\":{\"date\":{\"__isSmartRef__\":true,\"id\":128},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"19CE12E4-5AA5-48DC-B1D1-B0EB0EDF1CB9\"},\"128\":{\"isSerializedDate\":true,\"string\":\"Tue Feb 07 2012 12:03:42 GMT+0100 (W. Europe Standard Time)\"},\"129\":{\"date\":{\"__isSmartRef__\":true,\"id\":130},\"author\":\"sstamm\",\"message\":\"first attempt to introduce callback functions to part loading\",\"id\":\"22BD0B95-8948-411A-A56E-AD7CBE445F1D\"},\"130\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 09 2012 20:20:11 GMT+0100 (W. Europe Standard Time)\"},\"131\":{\"date\":{\"__isSmartRef__\":true,\"id\":132},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"A216DFD2-9D1F-4E62-A22F-6B5472823E1B\"},\"132\":{\"isSerializedDate\":true,\"string\":\"Fri Mar 16 2012 15:37:34 GMT+0100 (W. Europe Standard Time)\"},\"133\":{\"date\":{\"__isSmartRef__\":true,\"id\":134},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"464E723A-08DC-433C-AA5C-CEC850DBAF0B\"},\"134\":{\"isSerializedDate\":true,\"string\":\"Fri Mar 16 2012 15:42:29 GMT+0100 (W. Europe Standard Time)\"},\"135\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"136\":{\"morph\":{\"__isSmartRef__\":true,\"id\":0},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"137\":{\"x\":266,\"y\":223,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"138\":{\"adjustForNewBounds\":true},\"139\":{\"x\":171,\"y\":-13,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"140\":{\"loadPart\":{\"__isSmartRef__\":true,\"id\":141},\"loadFinished\":{\"__isSmartRef__\":true,\"id\":145},\"loadPartByName\":{\"__isSmartRef__\":true,\"id\":149}},\"141\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":142},\"source\":\"function loadPart(partItem, isAsync) {\\n this.partItem = partItem;\\n \\n this.openInWorld();\\n if(partItem.part) {\\n this.setExtent(partItem.part.getExtent());\\n }\\n this.align(this.bounds().center(), $world.visibleBounds().center());\\n \\n \\n if(typeof isAsync === \\\"function\\\") {\\n this.callback = isAsync;\\n }\\n\\n connect(partItem, 'part', this, \\\"loadFinished\\\");\\n\\n partItem.loadPart(isAsync);\\n\\n return partItem.part;\\n\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":143},\"__LivelyClassName__\":\"lively.Closure\",\"__SourceModuleName__\":\"Global.lively.lang.Closure\"},\"142\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"143\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":144},\"user\":\"sstamm\",\"tags\":[]},\"144\":{\"isSerializedDate\":true,\"string\":\"Fri Mar 16 2012 15:42:18 GMT+0100 (W. Europe Standard Time)\"},\"145\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":146},\"source\":\"function loadFinished(part) {\\n if(this.owner === $world.firstHand()) {\\n $world.firstHand().removeAllMorphs();\\n } else {\\n this.owner.addMorph(part);\\n part.align(part.bounds().center(), this.bounds().center());\\n this.remove();\\n }\\n disconnect(this.partItem, 'part', this, \\\"loadFinished\\\");\\n if(this.callback) {\\n this.callback(part);\\n }\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":147},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"146\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"147\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":148},\"user\":\"sstamm\",\"tags\":[]},\"148\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 14:01:53 GMT+0100 (W. Europe Standard Time)\"},\"149\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":150},\"source\":\"function loadPartByName(partName, optPartsSpaceName, isAsync) {\\n var partItem = lively.PartsBin.getPartItem(partName, optPartsSpaceName);\\n return this.loadPart(partItem, isAsync);\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":151},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"150\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"151\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":152},\"user\":\"sstamm\",\"tags\":[]},\"152\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 17:03:18 GMT+0100 (W. Europe Standard Time)\"},\"isSimplifiedRegistry\":true}}","loadedMetaInfo":{"__isSmartRef__":true,"id":18245},"__LivelyClassName__":"lively.PartsBin.PartItem","__SourceModuleName__":"Global.lively.PartsBin"},"18207":{"submorphs":[{"__isSmartRef__":true,"id":18208}],"scripts":[],"id":"6664995F-D664-4929-A2FB-7BF9C75BBBF9","shape":{"__isSmartRef__":true,"id":18237},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":18244},"showsHalos":false,"name":"LoadingMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":18245},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":18342},"eventHandler":{"__isSmartRef__":true,"id":18343},"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":18344},"layout":{"__isSmartRef__":true,"id":18345},"distanceToDragEvent":{"__isSmartRef__":true,"id":18346},"prevScroll":[0,0],"moved":true,"_Rotation":0,"_Scale":1,"headRevision":146469,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":18347},"__LivelyClassName__":"lively.morphic.Box"},"18208":{"submorphs":[{"__isSmartRef__":true,"id":18209}],"scripts":[],"shape":{"__isSmartRef__":true,"id":18225},"id":"7F8C3342-DCCD-4213-8AEC-A25149BFDBE9","renderContextTable":{"__isSmartRef__":true,"id":18230},"eventHandler":{"__isSmartRef__":true,"id":18231},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":18232},"name":"ProgressIndicator","priorExtent":{"__isSmartRef__":true,"id":18233},"showsHalos":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":18234},"partsBinMetaInfo":{"__isSmartRef__":true,"id":18235},"__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":18207},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":18236},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Image"},"18209":{"submorphs":[],"scripts":[],"id":"6244098C-73B3-488E-B9CE-766D6055F8DA","shape":{"__isSmartRef__":true,"id":18210},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":18216},"_MaxTextWidth":257,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":18213},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"loadedMorphName","partsBinMetaInfo":{"__isSmartRef__":true,"id":18217},"textChunks":[{"__isSmartRef__":true,"id":18218}],"charsReplaced":"MorphName","lastFindLoc":18,"priorSelectionRange":[9,0],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":18220},"renderContextTable":{"__isSmartRef__":true,"id":18221},"eventHandler":{"__isSmartRef__":true,"id":18222},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":18223},"_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":18208},"_MinTextWidth":257,"_MinTextHeight":null,"previousSelection":[6,6],"_Align":"center","distanceToDragEvent":{"__isSmartRef__":true,"id":18224},"isBeingDragged":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"18210":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":18211},"_Extent":{"__isSmartRef__":true,"id":18212},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":18213},"renderContextTable":{"__isSmartRef__":true,"id":18214},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":18215},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"18211":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18212":{"x":257,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18213":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18214":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"18215":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18216":{"x":-109,"y":38,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18217":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"18218":{"style":{"__isSmartRef__":true,"id":18219},"chunkOwner":{"__isSmartRef__":true,"id":18209},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"loading part","__LivelyClassName__":"lively.morphic.TextChunk"},"18219":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"18220":{"x":257,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18221":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"18222":{"morph":{"__isSmartRef__":true,"id":18209},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"18223":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18224":{"x":179,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18225":{"_Position":{"__isSmartRef__":true,"id":18226},"renderContextTable":{"__isSmartRef__":true,"id":18227},"_Extent":{"__isSmartRef__":true,"id":18228},"_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":18229},"_BorderWidth":0,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Image"},"18226":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18227":{"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"},"18228":{"x":31,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18229":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18230":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"18231":{"morph":{"__isSmartRef__":true,"id":18208},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"18232":{"x":113.5,"y":81,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18233":{"x":30,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18234":{"x":39,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18235":{"partName":"ProgressIndicator","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"18236":{"centeredHorizontal":true,"centeredVertical":true},"18237":{"position":{"__isSmartRef__":true,"id":18238},"_Extent":{"__isSmartRef__":true,"id":18239},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":18240},"_Fill":{"__isSmartRef__":true,"id":18241},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":18242},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":18243},"_BorderRadius":8.515,"_Opacity":0.8146,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"18238":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18239":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18240":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18241":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18242":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"18243":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18244":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18245":{"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":18246},{"__isSmartRef__":true,"id":18248},{"__isSmartRef__":true,"id":18250},{"__isSmartRef__":true,"id":18252},{"__isSmartRef__":true,"id":18254},{"__isSmartRef__":true,"id":18256},{"__isSmartRef__":true,"id":18258},{"__isSmartRef__":true,"id":18260},{"__isSmartRef__":true,"id":18262},{"__isSmartRef__":true,"id":18264},{"__isSmartRef__":true,"id":18266},{"__isSmartRef__":true,"id":18268},{"__isSmartRef__":true,"id":18270},{"__isSmartRef__":true,"id":18272},{"__isSmartRef__":true,"id":18274},{"__isSmartRef__":true,"id":18276},{"__isSmartRef__":true,"id":18278},{"__isSmartRef__":true,"id":18280},{"__isSmartRef__":true,"id":18282},{"__isSmartRef__":true,"id":18284},{"__isSmartRef__":true,"id":18286},{"__isSmartRef__":true,"id":18288},{"__isSmartRef__":true,"id":18290},{"__isSmartRef__":true,"id":18292},{"__isSmartRef__":true,"id":18294},{"__isSmartRef__":true,"id":18296},{"__isSmartRef__":true,"id":18298},{"__isSmartRef__":true,"id":18300},{"__isSmartRef__":true,"id":18302},{"__isSmartRef__":true,"id":18304},{"__isSmartRef__":true,"id":18306},{"__isSmartRef__":true,"id":18308},{"__isSmartRef__":true,"id":18310},{"__isSmartRef__":true,"id":18312},{"__isSmartRef__":true,"id":18314},{"__isSmartRef__":true,"id":18316},{"__isSmartRef__":true,"id":18318},{"__isSmartRef__":true,"id":18320},{"__isSmartRef__":true,"id":18322},{"__isSmartRef__":true,"id":18324},{"__isSmartRef__":true,"id":18326},{"__isSmartRef__":true,"id":18328},{"__isSmartRef__":true,"id":18330},{"__isSmartRef__":true,"id":18332},{"__isSmartRef__":true,"id":18334},{"__isSmartRef__":true,"id":18336},{"__isSmartRef__":true,"id":18338},{"__isSmartRef__":true,"id":18340}],"revisionOnLoad":151069,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"18246":{"date":{"__isSmartRef__":true,"id":18247},"author":"sstamm","message":"","id":"1C1391AE-5722-4707-BE52-F0094FC56829"},"18247":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:02:04 GMT+0100 (CET)"},"18248":{"date":{"__isSmartRef__":true,"id":18249},"author":"sstamm","message":"","id":"663F147A-9084-4AC3-81A7-1E7BA6547F08"},"18249":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:43:10 GMT+0100 (CET)"},"18250":{"date":{"__isSmartRef__":true,"id":18251},"author":"sstamm","message":"","id":"F72B746E-B170-4EFB-9074-5E8770640B8A"},"18251":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:36:14 GMT+0100 (CET)"},"18252":{"date":{"__isSmartRef__":true,"id":18253},"author":"sstamm","message":"","id":"568D2EFD-C535-43AE-8944-6D8B967129F5"},"18253":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:23:04 GMT+0100 (CET)"},"18254":{"date":{"__isSmartRef__":true,"id":18255},"author":"sstamm","message":"","id":"AB2484A6-0707-4E13-845E-F0A5F48BBA3D"},"18255":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:45 GMT+0100 (CET)"},"18256":{"date":{"__isSmartRef__":true,"id":18257},"author":"sstamm","message":"","id":"97D20633-F76C-46A5-A32A-FFE9BC83CAB3"},"18257":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:10 GMT+0100 (CET)"},"18258":{"date":{"__isSmartRef__":true,"id":18259},"author":"sstamm","message":"","id":"8A697DF5-9A45-4A84-B709-9719BF55083E"},"18259":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:56:54 GMT+0100 (CET)"},"18260":{"date":{"__isSmartRef__":true,"id":18261},"author":"sstamm","message":"","id":"F2157D66-1571-4B9A-B325-6FA96488260F"},"18261":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:51:05 GMT+0100 (CET)"},"18262":{"date":{"__isSmartRef__":true,"id":18263},"author":"sstamm","message":"","id":"E5E808CA-06AB-47DC-A9C9-CA7967591545"},"18263":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:47:19 GMT+0100 (CET)"},"18264":{"date":{"__isSmartRef__":true,"id":18265},"author":"sstamm","message":"","id":"009DC4E0-23CA-485A-A796-801AA0F75049"},"18265":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:46:25 GMT+0100 (CET)"},"18266":{"date":{"__isSmartRef__":true,"id":18267},"author":"sstamm","message":"","id":"C0CE1397-6E2E-4E8C-AEFF-9017E24BB7E4"},"18267":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:45:05 GMT+0100 (CET)"},"18268":{"date":{"__isSmartRef__":true,"id":18269},"author":"sstamm","message":"","id":"FFE16986-548D-4AC2-A627-CF6416282BC4"},"18269":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:37:15 GMT+0100 (CET)"},"18270":{"date":{"__isSmartRef__":true,"id":18271},"author":"sstamm","message":"","id":"57213D63-7147-4057-ADC9-30994443B066"},"18271":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:35:29 GMT+0100 (CET)"},"18272":{"date":{"__isSmartRef__":true,"id":18273},"author":"sstamm","message":"","id":"75A31364-B380-4312-BB5B-F8F2DA1CE824"},"18273":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:31:52 GMT+0100 (CET)"},"18274":{"date":{"__isSmartRef__":true,"id":18275},"author":"sstamm","message":"","id":"5AA50B7E-7D33-44C4-807B-BF1ABA31D530"},"18275":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:14:10 GMT+0100 (CET)"},"18276":{"date":{"__isSmartRef__":true,"id":18277},"author":"sstamm","message":"","id":"BCDCC505-534C-45E5-9BB2-5238959A5AD0"},"18277":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:02:56 GMT+0100 (CET)"},"18278":{"date":{"__isSmartRef__":true,"id":18279},"author":"sstamm","message":"","id":"890D14F4-E89D-4E05-BFB9-875D6AB6C765"},"18279":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:01:50 GMT+0100 (CET)"},"18280":{"date":{"__isSmartRef__":true,"id":18281},"author":"sstamm","message":"","id":"B6FE0805-0D24-4267-8238-8B332352617E"},"18281":{"isSerializedDate":true,"string":"Wed Feb 22 2012 10:55:44 GMT+0100 (CET)"},"18282":{"date":{"__isSmartRef__":true,"id":18283},"author":"sstamm","message":"callbacks are working","id":"9348260A-3B55-4659-BC85-440BFBD98EA4"},"18283":{"isSerializedDate":true,"string":"Fri Feb 10 2012 09:45:55 GMT+0100 (CET)"},"18284":{"date":{"__isSmartRef__":true,"id":18285},"author":"sstamm","message":"made it more opaque","id":"1B84264C-2822-407F-A58F-19217BCD2762"},"18285":{"isSerializedDate":true,"string":"Wed Feb 08 2012 11:41:50 GMT+0100 (CET)"},"18286":{"date":{"__isSmartRef__":true,"id":18287},"author":"sstamm","message":"","id":"0FB41D7D-2A52-4782-814B-A66C24FCE569"},"18287":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:13:49 GMT+0100 (CET)"},"18288":{"date":{"__isSmartRef__":true,"id":18289},"author":"sstamm","message":"","id":"A0C2D7C1-04AF-493A-A7D7-70750F7D3E2F"},"18289":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:22:07 GMT+0100 (CET)"},"18290":{"date":{"__isSmartRef__":true,"id":18291},"author":"sstamm","message":"trollolol","id":"F6CFAD78-AC72-4DE2-9F38-79776C2E9462"},"18291":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:55:14 GMT+0100 (CET)"},"18292":{"date":{"__isSmartRef__":true,"id":18293},"author":"sstamm","message":"should be centered now","id":"EE366B4D-C272-477F-8C28-4EAE5A7EC7CB"},"18293":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:54:35 GMT+0100 (CET)"},"18294":{"date":{"__isSmartRef__":true,"id":18295},"author":"sstamm","message":"initial commit","id":"8920D925-DD16-4667-B8C7-FB74D78C2424"},"18295":{"isSerializedDate":true,"string":"Thu Feb 02 2012 13:26:01 GMT+0100 (CET)"},"18296":{"date":{"__isSmartRef__":true,"id":18297},"author":"sstamm","message":"changed text morph name","id":"80E88A3C-5AF3-48F2-A600-710877630997"},"18297":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:04:01 GMT+0100 (CET)"},"18298":{"date":{"__isSmartRef__":true,"id":18299},"author":"sstamm","message":"added loading script","id":"EE9B8F4D-1F03-4232-82E6-794046974F8F"},"18299":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:28:30 GMT+0100 (CET)"},"18300":{"date":{"__isSmartRef__":true,"id":18301},"author":"sstamm","message":"added disconnection","id":"11F19267-924E-4087-99ED-998245576BD2"},"18301":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:32:58 GMT+0100 (CET)"},"18302":{"date":{"__isSmartRef__":true,"id":18303},"author":"sstamm","message":"removed connections before deletion","id":"35A88218-6864-4D52-83A2-BFF7B9A6907C"},"18303":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:41:00 GMT+0100 (CET)"},"18304":{"date":{"__isSmartRef__":true,"id":18305},"author":"sstamm","message":"now able to load parts by name and category as well as per partItem","id":"F36A5782-461D-4813-95F8-0207990A261C"},"18305":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:24:30 GMT+0100 (CET)"},"18306":{"date":{"__isSmartRef__":true,"id":18307},"author":"sstamm","message":"now with round corners","id":"F42C39CB-CC37-467D-BF10-D362241F047E"},"18307":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:26:23 GMT+0100 (CET)"},"18308":{"date":{"__isSmartRef__":true,"id":18309},"author":"sstamm","message":"loadingMorph is sync now","id":"12ACFFC9-BA53-4A2A-ABD4-894A5ECE1145"},"18309":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:48:04 GMT+0100 (CET)"},"18310":{"date":{"__isSmartRef__":true,"id":18311},"author":"sstamm","message":"display the loadingMorph in new thread","id":"2BA51E30-F02B-4AF0-B3BE-52DD4ED522CC"},"18311":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:53:49 GMT+0100 (CET)"},"18312":{"date":{"__isSmartRef__":true,"id":18313},"author":"sstamm","message":"","id":"DF0AE4EA-1B08-4556-8BBE-E6488F23B8A3"},"18313":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:49:48 GMT+0100 (CET)"},"18314":{"date":{"__isSmartRef__":true,"id":18315},"author":"sstamm","message":"","id":"220821B3-C589-41C9-A324-8E7E6D9D6CEB"},"18315":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:58:43 GMT+0100 (CET)"},"18316":{"date":{"__isSmartRef__":true,"id":18317},"author":"sstamm","message":"","id":"DEBFACE2-7EC5-4A86-AD46-5A0A88A73707"},"18317":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:04:28 GMT+0100 (CET)"},"18318":{"date":{"__isSmartRef__":true,"id":18319},"author":"sstamm","message":"load request in new thread if loading should be async","id":"18282D28-D6D4-48C9-A508-6E3244449BD8"},"18319":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:10:27 GMT+0100 (CET)"},"18320":{"date":{"__isSmartRef__":true,"id":18321},"author":"sstamm","message":"added benchmarking output","id":"249CFF90-DDF5-4A83-9759-0289E96D7D58"},"18321":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:31:50 GMT+0100 (CET)"},"18322":{"date":{"__isSmartRef__":true,"id":18323},"author":"sstamm","message":"","id":"882082E1-29B6-418D-9B8B-672729D60619"},"18323":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:38:26 GMT+0100 (CET)"},"18324":{"date":{"__isSmartRef__":true,"id":18325},"author":"sstamm","message":"","id":"5179AEF9-E19F-4B0C-BBD8-556C5687988A"},"18325":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:44:11 GMT+0100 (CET)"},"18326":{"date":{"__isSmartRef__":true,"id":18327},"author":"sstamm","message":"","id":"1159C5B4-724E-4124-9D7B-5CD5DC4A8EE3"},"18327":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:48:14 GMT+0100 (CET)"},"18328":{"date":{"__isSmartRef__":true,"id":18329},"author":"sstamm","message":"","id":"2A718D1F-1036-41D6-999A-336F2B14E65D"},"18329":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:49:47 GMT+0100 (CET)"},"18330":{"date":{"__isSmartRef__":true,"id":18331},"author":"sstamm","message":"","id":"EB6BDD0C-7EEC-4124-B77F-2F106A601538"},"18331":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:59:48 GMT+0100 (CET)"},"18332":{"date":{"__isSmartRef__":true,"id":18333},"author":"sstamm","message":"","id":"63EC8D07-AB6A-450A-BB84-9B4D37E03647"},"18333":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:02:33 GMT+0100 (CET)"},"18334":{"date":{"__isSmartRef__":true,"id":18335},"author":"sstamm","message":"","id":"19CE12E4-5AA5-48DC-B1D1-B0EB0EDF1CB9"},"18335":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:03:42 GMT+0100 (CET)"},"18336":{"date":{"__isSmartRef__":true,"id":18337},"author":"sstamm","message":"first attempt to introduce callback functions to part loading","id":"22BD0B95-8948-411A-A56E-AD7CBE445F1D"},"18337":{"isSerializedDate":true,"string":"Thu Feb 09 2012 20:20:11 GMT+0100 (CET)"},"18338":{"date":{"__isSmartRef__":true,"id":18339},"author":"sstamm","message":"","id":"A216DFD2-9D1F-4E62-A22F-6B5472823E1B"},"18339":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:37:34 GMT+0100 (CET)"},"18340":{"date":{"__isSmartRef__":true,"id":18341},"author":"sstamm","message":"","id":"464E723A-08DC-433C-AA5C-CEC850DBAF0B"},"18341":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:29 GMT+0100 (CET)"},"18342":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"18343":{"morph":{"__isSmartRef__":true,"id":18207},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"18344":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18345":{"adjustForNewBounds":true},"18346":{"x":171,"y":-13,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18347":{"loadPart":{"__isSmartRef__":true,"id":18348},"loadFinished":{"__isSmartRef__":true,"id":18352},"loadPartByName":{"__isSmartRef__":true,"id":18356}},"18348":{"varMapping":{"__isSmartRef__":true,"id":18349},"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":18350},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"18349":{"this":{"__isSmartRef__":true,"id":18207}},"18350":{"timestamp":{"__isSmartRef__":true,"id":18351},"user":"sstamm","tags":[]},"18351":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:18 GMT+0100 (CET)"},"18352":{"varMapping":{"__isSmartRef__":true,"id":18353},"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":18354},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"18353":{"this":{"__isSmartRef__":true,"id":18207}},"18354":{"timestamp":{"__isSmartRef__":true,"id":18355},"user":"sstamm","tags":[]},"18355":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:01:53 GMT+0100 (CET)"},"18356":{"varMapping":{"__isSmartRef__":true,"id":18357},"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":18358},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"18357":{"this":{"__isSmartRef__":true,"id":18207}},"18358":{"timestamp":{"__isSmartRef__":true,"id":18359},"user":"sstamm","tags":[]},"18359":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:03:18 GMT+0100 (CET)"},"18360":{"rev":151069,"author":"athomschke","date":{"__isSmartRef__":true,"id":18361},"url":{"__isSmartRef__":true,"id":18362},"changes":[{"__isSmartRef__":true,"id":18363},{"__isSmartRef__":true,"id":18364},{"__isSmartRef__":true,"id":18365},{"__isSmartRef__":true,"id":18366},{"__isSmartRef__":true,"id":18367},{"__isSmartRef__":true,"id":18368},{"__isSmartRef__":true,"id":18369},{"__isSmartRef__":true,"id":18370},{"__isSmartRef__":true,"id":18371},{"__isSmartRef__":true,"id":18372},{"__isSmartRef__":true,"id":18373},{"__isSmartRef__":true,"id":18374},{"__isSmartRef__":true,"id":18375},{"__isSmartRef__":true,"id":18376},{"__isSmartRef__":true,"id":18377},{"__isSmartRef__":true,"id":18378},{"__isSmartRef__":true,"id":18379},{"__isSmartRef__":true,"id":18380},{"__isSmartRef__":true,"id":18381},{"__isSmartRef__":true,"id":18382},{"__isSmartRef__":true,"id":18383},{"__isSmartRef__":true,"id":18384},{"__isSmartRef__":true,"id":18385},{"__isSmartRef__":true,"id":18386},{"__isSmartRef__":true,"id":18387},{"__isSmartRef__":true,"id":18388},{"__isSmartRef__":true,"id":18389},{"__isSmartRef__":true,"id":18390},{"__isSmartRef__":true,"id":18391},{"__isSmartRef__":true,"id":18392},{"__isSmartRef__":true,"id":18393},{"__isSmartRef__":true,"id":18394},{"__isSmartRef__":true,"id":18395},{"__isSmartRef__":true,"id":18396},{"__isSmartRef__":true,"id":18397},{"__isSmartRef__":true,"id":18398},{"__isSmartRef__":true,"id":18399},{"__isSmartRef__":true,"id":18400},{"__isSmartRef__":true,"id":18401},{"__isSmartRef__":true,"id":18402},{"__isSmartRef__":true,"id":18403},{"__isSmartRef__":true,"id":18404},{"__isSmartRef__":true,"id":18405},{"__isSmartRef__":true,"id":18406},{"__isSmartRef__":true,"id":18407},{"__isSmartRef__":true,"id":18408},{"__isSmartRef__":true,"id":18409},{"__isSmartRef__":true,"id":18410},{"__isSmartRef__":true,"id":18411},{"__isSmartRef__":true,"id":18412},{"__isSmartRef__":true,"id":18413},{"__isSmartRef__":true,"id":18414},{"__isSmartRef__":true,"id":18415},{"__isSmartRef__":true,"id":18416},{"__isSmartRef__":true,"id":18417},{"__isSmartRef__":true,"id":18418},{"__isSmartRef__":true,"id":18419},{"__isSmartRef__":true,"id":18420},{"__isSmartRef__":true,"id":18421},{"__isSmartRef__":true,"id":18422},{"__isSmartRef__":true,"id":18423},{"__isSmartRef__":true,"id":18424},{"__isSmartRef__":true,"id":18425},{"__isSmartRef__":true,"id":18426}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"18361":{"isSerializedDate":true,"string":"Wed Apr 11 2012 09:08:49 GMT+0200 (CEST)"},"18362":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/iPadWidgets/PinLessTouchMenu.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"18363":{"type":"S:added","url":null},"18364":{"type":"S:added","url":null},"18365":{"type":"S:added","url":null},"18366":{"type":"S:added","url":null},"18367":{"type":"S:added","url":null},"18368":{"type":"S:added","url":null},"18369":{"type":"S:added","url":null},"18370":{"type":"S:added","url":null},"18371":{"type":"S:added","url":null},"18372":{"type":"S:added","url":null},"18373":{"type":"S:added","url":null},"18374":{"type":"S:added","url":null},"18375":{"type":"S:added","url":null},"18376":{"type":"S:added","url":null},"18377":{"type":"S:added","url":null},"18378":{"type":"S:added","url":null},"18379":{"type":"S:added","url":null},"18380":{"type":"S:added","url":null},"18381":{"type":"S:added","url":null},"18382":{"type":"S:added","url":null},"18383":{"type":"S:added","url":null},"18384":{"type":"S:added","url":null},"18385":{"type":"S:added","url":null},"18386":{"type":"S:added","url":null},"18387":{"type":"S:added","url":null},"18388":{"type":"S:added","url":null},"18389":{"type":"S:added","url":null},"18390":{"type":"S:added","url":null},"18391":{"type":"S:added","url":null},"18392":{"type":"S:added","url":null},"18393":{"type":"S:added","url":null},"18394":{"type":"S:added","url":null},"18395":{"type":"S:added","url":null},"18396":{"type":"S:added","url":null},"18397":{"type":"S:added","url":null},"18398":{"type":"S:added","url":null},"18399":{"type":"S:added","url":null},"18400":{"type":"S:added","url":null},"18401":{"type":"S:added","url":null},"18402":{"type":"S:added","url":null},"18403":{"type":"S:added","url":null},"18404":{"type":"S:added","url":null},"18405":{"type":"S:added","url":null},"18406":{"type":"S:added","url":null},"18407":{"type":"S:added","url":null},"18408":{"type":"S:added","url":null},"18409":{"type":"S:added","url":null},"18410":{"type":"S:added","url":null},"18411":{"type":"S:added","url":null},"18412":{"type":"S:added","url":null},"18413":{"type":"S:added","url":null},"18414":{"type":"S:added","url":null},"18415":{"type":"S:added","url":null},"18416":{"type":"S:added","url":null},"18417":{"type":"S:added","url":null},"18418":{"type":"S:added","url":null},"18419":{"type":"S:added","url":null},"18420":{"type":"S:added","url":null},"18421":{"type":"S:added","url":null},"18422":{"type":"S:added","url":null},"18423":{"type":"S:added","url":null},"18424":{"type":"S:added","url":null},"18425":{"type":"S:added","url":null},"18426":{"type":"S:added","url":null},"18427":{"name":"PartsBin/Dialogs","partItems":{"__isSmartRef__":true,"id":18428},"__LivelyClassName__":"lively.PartsBin.PartsSpace","__SourceModuleName__":"Global.lively.PartsBin"},"18428":{"ToolTabPane":{"__isSmartRef__":true,"id":18429},"MethodFinderPane":{"__isSmartRef__":true,"id":19395},"PublishPartDialog":{"__isSmartRef__":true,"id":19540}},"18429":{"partsSpaceName":"PartsBin/Dialogs","name":"ToolTabPane","json":"{\"id\":0,\"registry\":{\"0\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1},{\"__isSmartRef__\":true,\"id\":14}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":67},\"derivationIds\":[null,\"87FAF55E-F71E-4F69-A29F-5DAF28EF42C0\",\"33449239-EF48-41FE-9BFD-EA211884F247\",\"956938FD-7466-4DD2-A6E4-1FB8477A3306\",\"652178C9-70DE-4F60-9FB7-D37D23D04AEA\",\"7733B961-E644-4906-B640-0B30E06276C7\",\"5CC81DD5-CA62-4F35-8F26-2C1F6DD22CC3\",\"03B60241-98AB-4310-ACEA-E7687E706CA5\",\"3B38BAEC-7179-4451-BB8B-106F92AEA32B\",\"5859188C-662D-4322-90F0-E2997F91C989\",\"D8777C0F-419F-4C8C-9073-863F67431AB0\",\"B1AEE8B2-4F0E-400A-9C44-84E55118F5A4\",\"EB59F5AA-11EA-4160-A380-33883FCBFC12\",\"1BEBE524-9499-4E24-84C4-E8F9F7A86663\",\"1826D64D-5CE8-4BB8-8AA3-1785854B22C3\"],\"id\":\"EB298904-0A41-4BF3-B52F-3B1ECB88F0FD\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":73},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":74},\"droppingEnabled\":true,\"halosEnabled\":true,\"tabBarStrategy\":{\"__isSmartRef__\":true,\"id\":75},\"tabPaneExtent\":{\"__isSmartRef__\":true,\"id\":76},\"tabBar\":{\"__isSmartRef__\":true,\"id\":1},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":77},\"showsHalos\":false,\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":78},\"name\":\"ToolTabPane\",\"_Position\":{\"__isSmartRef__\":true,\"id\":91},\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":92},\"layout\":{\"__isSmartRef__\":true,\"id\":93},\"moved\":true,\"_Rotation\":0,\"_Scale\":1.002003004005006,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":94},\"__LivelyClassName__\":\"lively.morphic.TabContainer\",\"withLayers\":[\"Global.TabbedMethodFinderLayer\"]},\"1\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":2},\"derivationIds\":[null,\"C9AFDCE0-7E36-4F4A-A4FD-ADF539D3F3BE\",\"45EA8685-1562-433C-9510-7D387C52D50D\",\"68FD3A27-03F4-41EE-A019-24EECD4B9D4D\",\"8E706A37-51F2-434A-8488-92F5487BE77E\",\"D7EF478F-C07F-4C57-8E84-C7FA15901B78\",\"65508D46-12CC-4A6F-9CA5-AA1E26EAA9EA\",\"03757FEA-1979-424E-8EA1-7231E038BD91\",\"D8EB800F-9FF7-406C-B42A-FD51AA5C9390\",\"5892030A-109B-40A4-8484-382B6F34EFA3\",\"5623D1FD-B4D3-47A0-AC1F-67B3388DEC19\",\"3BF7A333-B725-4A4E-AF76-8D1DAAD1FD40\",\"492FA464-292A-4E4B-AF05-0F34F7329A1E\",\"C875DD96-0677-43FF-9942-16AD478F3A82\",\"16D4C43F-D991-4289-BBAF-A1FD33535698\"],\"id\":\"AF32CC15-CF1B-46FE-A464-11EE27613F61\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":9},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":10},\"droppingEnabled\":true,\"halosEnabled\":true,\"tabContainer\":{\"__isSmartRef__\":true,\"id\":0},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":11},\"grabbingEnabled\":false,\"draggingEnabled\":false,\"tabs\":[],\"owner\":{\"__isSmartRef__\":true,\"id\":0},\"_Position\":{\"__isSmartRef__\":true,\"id\":12},\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"showsHalos\":false,\"prevScroll\":[0,0],\"layout\":{\"__isSmartRef__\":true,\"id\":13},\"_Rotation\":0,\"__LivelyClassName__\":\"lively.morphic.TabBar\"},\"2\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":3},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":4},\"_Extent\":{\"__isSmartRef__\":true,\"id\":5},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":6},\"_Fill\":{\"__isSmartRef__\":true,\"id\":7},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":8},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"3\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"4\":{\"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\"},\"5\":{\"x\":872.0934621532042,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"6\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"7\":{\"r\":1,\"g\":1,\"b\":1,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"8\":{\"r\":0.8,\"g\":0.8,\"b\":0.8,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"9\":{\"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\"},\"10\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"11\":{\"x\":872.0934621532042,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"12\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"13\":{\"resizeWidth\":true,\"adjustForNewBounds\":true},\"14\":{\"submorphs\":[],\"scripts\":[],\"id\":\"6CEE8BC8-59C9-4C03-B5FD-77D84EB324B5\",\"shape\":{\"__isSmartRef__\":true,\"id\":15},\"droppingEnabled\":true,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":22},\"showsHalos\":false,\"name\":\"ResizeCorner\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":23},\"__SourceModuleName__\":\"Global.lively.morphic.Core\",\"draggingEnabled\":true,\"dragStartPoint\":null,\"originalExtent\":{\"__isSmartRef__\":true,\"id\":24},\"originalTargetExtent\":null,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":25},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":26},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":27},\"originalTargetInnerBounds\":null,\"isResizeCorner\":true,\"relativeOrigin\":null,\"derivationIds\":[7147,\"16E962DF-21E9-4FE6-8B9B-953F0E908113\",\"ADD0B5C0-0DC6-4D8E-9C2A-0EC7E3C71F21\",\"C13BE625-F1AC-4401-AB63-BA50CE744CB6\",\"291119F3-1D44-4861-BAE4-5F142861083D\",\"E10B97BB-8029-4AFE-97F4-D7DEA3EA000F\",\"3BA898DA-1519-4FF8-A0BF-09E180382D50\",\"1D1F4D10-DB39-481C-93FD-21520463295A\",\"92761179-5047-4C14-979F-29A9CF056641\",\"E7B73231-7E5A-4788-81EC-6077698D93B5\"],\"moved\":true,\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":28}],\"doNotSerialize\":[\"$$cornerName\"],\"doNotCopyProperties\":[\"$$cornerName\"],\"originalTargetBounds\":null,\"owner\":{\"__isSmartRef__\":true,\"id\":0},\"cornerName\":\"bottomRight\",\"_Rotation\":0,\"_Scale\":0.998001,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":29},\"__LivelyClassName__\":\"lively.morphic.Box\"},\"15\":{\"position\":{\"__isSmartRef__\":true,\"id\":16},\"_Extent\":{\"__isSmartRef__\":true,\"id\":17},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":18},\"_Fill\":{\"__isSmartRef__\":true,\"id\":19},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":20},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":21},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"16\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"17\":{\"x\":10,\"y\":10,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"18\":{\"r\":0.568,\"g\":0.568,\"b\":0.568,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"19\":{\"r\":0.258,\"g\":0.258,\"b\":0.258,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"20\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"21\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"22\":{\"x\":862.2688660000001,\"y\":460.08046,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"23\":{\"partsSpaceName\":\"PartsBin/Widgets/\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":2,\"comment\":\"Resize an object without using halos.\",\"partName\":\"ResizeCorner\",\"revisionOnLoad\":140152,\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"24\":{\"x\":239,\"y\":138,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"25\":{\"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\"},\"26\":{\"morph\":{\"__isSmartRef__\":true,\"id\":14},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"27\":{\"x\":10,\"y\":10,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"28\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":14},\"sourceAttrName\":\"cornerName\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":14},\"targetMethodName\":\"alignToOwner\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"29\":{\"onDrag\":{\"__isSmartRef__\":true,\"id\":30},\"onDragEnd\":{\"__isSmartRef__\":true,\"id\":38},\"onDragStart\":{\"__isSmartRef__\":true,\"id\":46},\"reset\":{\"__isSmartRef__\":true,\"id\":54},\"morphMenuItems\":{\"__isSmartRef__\":true,\"id\":57},\"alignToOwner\":{\"__isSmartRef__\":true,\"id\":64}},\"30\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":31},\"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\":36},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"31\":{\"this\":{\"__isSmartRef__\":true,\"id\":14},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":32}},\"32\":{\"$super\":{\"__isSmartRef__\":true,\"id\":33}},\"33\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":34},\"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\":35},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"34\":{\"obj\":{\"__isSmartRef__\":true,\"id\":14},\"name\":\"onDrag\"},\"35\":{},\"36\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":37},\"user\":\"sstamm\",\"tags\":[]},\"37\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 23 2012 12:08:52 GMT+0100 (Mitteleuropäische Zeit)\"},\"38\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":39},\"source\":\"function onDragEnd(evt) {\\n this.dragStartPoint = null;\\n this.originalTargetBounds = null;\\n this.relativeOrigin = null;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":44},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"39\":{\"this\":{\"__isSmartRef__\":true,\"id\":14},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":40}},\"40\":{\"$super\":{\"__isSmartRef__\":true,\"id\":41}},\"41\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":42},\"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\":43},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"42\":{\"obj\":{\"__isSmartRef__\":true,\"id\":14},\"name\":\"onDragEnd\"},\"43\":{},\"44\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":45},\"user\":\"sstamm\",\"tags\":[]},\"45\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 23 2012 12:09:00 GMT+0100 (Mitteleuropäische Zeit)\"},\"46\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":47},\"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\":52},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"47\":{\"this\":{\"__isSmartRef__\":true,\"id\":14},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":48}},\"48\":{\"$super\":{\"__isSmartRef__\":true,\"id\":49}},\"49\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":50},\"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\":51},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"50\":{\"obj\":{\"__isSmartRef__\":true,\"id\":14},\"name\":\"onDragStart\"},\"51\":{},\"52\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":53},\"user\":\"sstamm\",\"tags\":[]},\"53\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 23 2012 12:08:40 GMT+0100 (Mitteleuropäische Zeit)\"},\"54\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":55},\"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\":56},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"55\":{\"this\":{\"__isSmartRef__\":true,\"id\":14}},\"56\":{},\"57\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":58},\"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\":63},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"58\":{\"this\":{\"__isSmartRef__\":true,\"id\":14},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":59}},\"59\":{\"$super\":{\"__isSmartRef__\":true,\"id\":60}},\"60\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":61},\"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\":62},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"61\":{\"obj\":{\"__isSmartRef__\":true,\"id\":14},\"name\":\"morphMenuItems\"},\"62\":{},\"63\":{},\"64\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":65},\"source\":\"function alignToOwner() {\\n this.align(this.bounds()[this.cornerName](), this.owner.shape.bounds()[this.cornerName]() )\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":66},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"65\":{\"this\":{\"__isSmartRef__\":true,\"id\":14}},\"66\":{},\"67\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":68},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":69},\"_Extent\":{\"__isSmartRef__\":true,\"id\":70},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":71},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":72},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"68\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"69\":{\"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\"},\"70\":{\"x\":872.0934621532042,\"y\":470.7147151397129,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"71\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"72\":{\"r\":0.372,\"g\":0.369,\"b\":0.372,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"73\":{\"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\"},\"74\":{\"morph\":{\"__isSmartRef__\":true,\"id\":0},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"75\":{\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.TabStrategyTop\"},\"76\":{\"x\":872.0934621532042,\"y\":440.7147151397129,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"77\":{\"x\":872.0934621532042,\"y\":470.7147151397129,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"78\":{\"requiredModules\":[],\"partsSpaceName\":\"PartsBin/Dialogs/\",\"comment\":\"A tabbed tool pane (under development): Supports MethodFinder\",\"changes\":[{\"__isSmartRef__\":true,\"id\":79},{\"__isSmartRef__\":true,\"id\":81},{\"__isSmartRef__\":true,\"id\":83},{\"__isSmartRef__\":true,\"id\":85},{\"__isSmartRef__\":true,\"id\":87},{\"__isSmartRef__\":true,\"id\":89}],\"migrationLevel\":4,\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"partName\":\"ToolTabPane\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"revisionOnLoad\":148500,\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"79\":{\"date\":{\"__isSmartRef__\":true,\"id\":80},\"author\":\"undefined\",\"message\":\"added a resize corner\",\"id\":\"69E8407B-8700-4E9B-8558-C54AF5D9D65F\"},\"80\":{\"isSerializedDate\":true,\"string\":\"Mon Mar 26 2012 12:52:49 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"81\":{\"date\":{\"__isSmartRef__\":true,\"id\":82},\"author\":\"undefined\",\"message\":\"- white and S:\",\"id\":\"9CC8444F-8D6A-476B-904F-1BC27EB9F6E4\"},\"82\":{\"isSerializedDate\":true,\"string\":\"Fri Feb 03 2012 16:24:10 GMT+0100 (Mitteleuropäische Zeit)\"},\"83\":{\"date\":{\"__isSmartRef__\":true,\"id\":84},\"author\":\"undefined\",\"message\":\"initial version \",\"id\":\"61DC98FC-D0AA-43D7-A579-7649657A81B4\"},\"84\":{\"isSerializedDate\":true,\"string\":\"Fri Feb 03 2012 15:55:32 GMT+0100 (Mitteleuropäische Zeit)\"},\"85\":{\"date\":{\"__isSmartRef__\":true,\"id\":86},\"author\":\"fabian\",\"message\":\"initial\",\"id\":\"EA1E7C49-D79B-461B-ACD7-126E1902F6FF\"},\"86\":{\"isSerializedDate\":true,\"string\":\"Thu Jan 26 2012 08:08:17 GMT+0100 (Mitteleuropäische Zeit)\"},\"87\":{\"date\":{\"__isSmartRef__\":true,\"id\":88},\"author\":\"athomschke\",\"message\":\"\",\"id\":\"CADBD788-8F41-4046-BCED-6CF1172CF93D\"},\"88\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 09 2012 12:51:59 GMT+0100 (Mitteleuropäische Zeit)\"},\"89\":{\"date\":{\"__isSmartRef__\":true,\"id\":90},\"author\":\"undefined\",\"message\":\"funny jumping window bug\",\"id\":\"5D701A43-83C8-4870-B4EC-32C2DBE432A7\"},\"90\":{\"isSerializedDate\":true,\"string\":\"Wed Mar 28 2012 13:53:48 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"91\":{\"x\":0,\"y\":0,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"92\":{\"x\":581.0853111335786,\"y\":-13.240456448482064,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"93\":{\"resizeWidth\":true,\"resizeHeight\":true,\"adjustForNewBounds\":true},\"94\":{\"onrestore\":{\"__isSmartRef__\":true,\"id\":95},\"installLayers\":{\"__isSmartRef__\":true,\"id\":103},\"openMethodFinderFor\":{\"__isSmartRef__\":true,\"id\":107}},\"95\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":96},\"source\":\"function onrestore() {\\n this.installLayers();\\n $super()\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":101},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"96\":{\"this\":{\"__isSmartRef__\":true,\"id\":0},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":97}},\"97\":{\"$super\":{\"__isSmartRef__\":true,\"id\":98}},\"98\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":99},\"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\":100},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"99\":{\"obj\":{\"__isSmartRef__\":true,\"id\":0},\"name\":\"onrestore\"},\"100\":{},\"101\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":102},\"user\":\"undefined\",\"tags\":[]},\"102\":{\"isSerializedDate\":true,\"string\":\"Fri Feb 03 2012 15:18:55 GMT+0100 (Mitteleuropäische Zeit)\"},\"103\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":104},\"source\":\"function installLayers() {\\n \\ncop.create(\\\"TabbedMethodFinderLayer\\\").refineClass(lively.morphic.Text, {\\n doBrowseImplementors: function () {\\n var toolTabPane = this.get(\\\"ToolTabPane\\\");\\n var searchString = this.getSelectionOrLineString();\\n if (toolTabPane) {\\n toolTabPane.openMethodFinderFor(searchString);\\n return;\\n }\\n this.world().openMethodFinderFor(searchString)\\n }\\n})\\n\\n\\nthis.setWithLayers([TabbedMethodFinderLayer])\\n\\n\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":105},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"104\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"105\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":106},\"user\":\"undefined\",\"tags\":[]},\"106\":{\"isSerializedDate\":true,\"string\":\"Fri Feb 03 2012 15:20:31 GMT+0100 (Mitteleuropäische Zeit)\"},\"107\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":108},\"source\":\"function openMethodFinderFor(searchString) {\\n // this.openMethodFinderFor(\\\"onMouseDown\\\")\\n var tab = this.addTabLabeled(\\\"S:\\\" + searchString)\\n var part = this.world().openPartItem('MethodFinderPane', 'PartsBin/Dialogs');\\n part.setExtent(this.tabPaneExtent)\\n tab.pane.addMorph(part);\\n tab.pane.layout = tab.pane.layout || {};\\n tab.pane.layout.resizeWidth = true;\\n tab.pane.layout.resizeHeight = true;\\n part.setSearch(searchString);\\n part.setPosition(pt(0,0))\\n $world.addMorph(this.owner);\\n return part;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":109},\"__LivelyClassName__\":\"lively.Closure\",\"__SourceModuleName__\":\"Global.lively.lang.Closure\"},\"108\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"109\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":110},\"user\":\"undefined\",\"tags\":[]},\"110\":{\"isSerializedDate\":true,\"string\":\"Wed Mar 28 2012 13:53:26 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"isSimplifiedRegistry\":true}}","attributeConnections":[{"__isSmartRef__":true,"id":18430},{"__isSmartRef__":true,"id":18431}],"doNotSerialize":["$$json","$$loadedMetaInfo"],"doNotCopyProperties":["$$json","$$loadedMetaInfo"],"loadedMetaInfo":{"__isSmartRef__":true,"id":18432},"partVersions":[{"__isSmartRef__":true,"id":18443},{"__isSmartRef__":true,"id":18447},{"__isSmartRef__":true,"id":18451},{"__isSmartRef__":true,"id":18455},{"__isSmartRef__":true,"id":18459},{"__isSmartRef__":true,"id":18463},{"__isSmartRef__":true,"id":18467},{"__isSmartRef__":true,"id":18471},{"__isSmartRef__":true,"id":18475},{"__isSmartRef__":true,"id":18479},{"__isSmartRef__":true,"id":18483},{"__isSmartRef__":true,"id":18487},{"__isSmartRef__":true,"id":18593},{"__isSmartRef__":true,"id":18597},{"__isSmartRef__":true,"id":18601}],"rev":148717,"part":{"__isSmartRef__":true,"id":18605},"__LivelyClassName__":"lively.PartsBin.PartItem","__SourceModuleName__":"Global.lively.PartsBin"},"18430":{"sourceObj":{"__isSmartRef__":true,"id":18429},"sourceAttrName":"json","targetObj":{"__isSmartRef__":true,"id":18429},"targetMethodName":"cachePartJSON","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"18431":{"sourceObj":{"__isSmartRef__":true,"id":18429},"sourceAttrName":"loadedMetaInfo","targetObj":{"__isSmartRef__":true,"id":18429},"targetMethodName":"cachePartMetaInfo","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"18432":{"requiredModules":[],"partsSpaceName":"PartsBin/Dialogs","comment":"A tabbed tool pane (under development): Supports MethodFinder","changes":[{"__isSmartRef__":true,"id":18433},{"__isSmartRef__":true,"id":18435},{"__isSmartRef__":true,"id":18437},{"__isSmartRef__":true,"id":18439},{"__isSmartRef__":true,"id":18441}],"migrationLevel":4,"__SourceModuleName__":"Global.lively.PartsBin","partName":"ToolTabPane","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"revisionOnLoad":148717,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"18433":{"date":{"__isSmartRef__":true,"id":18434},"author":"athomschke","message":"","id":"CADBD788-8F41-4046-BCED-6CF1172CF93D"},"18434":{"isSerializedDate":true,"string":"Thu Feb 09 2012 12:51:59 GMT+0100 (CET)"},"18435":{"date":{"__isSmartRef__":true,"id":18436},"author":"fabian","message":"initial","id":"EA1E7C49-D79B-461B-ACD7-126E1902F6FF"},"18436":{"isSerializedDate":true,"string":"Thu Jan 26 2012 08:08:17 GMT+0100 (CET)"},"18437":{"date":{"__isSmartRef__":true,"id":18438},"author":"undefined","message":"initial version ","id":"61DC98FC-D0AA-43D7-A579-7649657A81B4"},"18438":{"isSerializedDate":true,"string":"Fri Feb 03 2012 15:55:32 GMT+0100 (CET)"},"18439":{"date":{"__isSmartRef__":true,"id":18440},"author":"undefined","message":"- white and S:","id":"9CC8444F-8D6A-476B-904F-1BC27EB9F6E4"},"18440":{"isSerializedDate":true,"string":"Fri Feb 03 2012 16:24:10 GMT+0100 (CET)"},"18441":{"date":{"__isSmartRef__":true,"id":18442},"author":"undefined","message":"added a resize corner","id":"69E8407B-8700-4E9B-8558-C54AF5D9D65F"},"18442":{"isSerializedDate":true,"string":"Mon Mar 26 2012 12:52:49 GMT+0200 (CEST)"},"18443":{"rev":148717,"author":"bert","date":{"__isSmartRef__":true,"id":18444},"url":{"__isSmartRef__":true,"id":18445},"changes":[{"__isSmartRef__":true,"id":18446}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"18444":{"isSerializedDate":true,"string":"Wed Mar 28 2012 20:32:26 GMT+0200 (CEST)"},"18445":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/ToolTabPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"18446":{"type":"S:modified","url":"/PartsBin/Dialogs/ToolTabPane.json"},"18447":{"rev":148501,"author":"athomschke","date":{"__isSmartRef__":true,"id":18448},"url":{"__isSmartRef__":true,"id":18449},"changes":[{"__isSmartRef__":true,"id":18450}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"18448":{"isSerializedDate":true,"string":"Wed Mar 28 2012 11:45:13 GMT+0200 (CEST)"},"18449":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/ToolTabPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"18450":{"type":"S:modified","url":"/PartsBin/Dialogs/ToolTabPane.json"},"18451":{"rev":148500,"author":"athomschke","date":{"__isSmartRef__":true,"id":18452},"url":{"__isSmartRef__":true,"id":18453},"changes":[{"__isSmartRef__":true,"id":18454}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"18452":{"isSerializedDate":true,"string":"Wed Mar 28 2012 11:43:22 GMT+0200 (CEST)"},"18453":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/ToolTabPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"18454":{"type":"S:modified","url":"/PartsBin/Dialogs/ToolTabPane.json"},"18455":{"rev":148438,"author":"athomschke","date":{"__isSmartRef__":true,"id":18456},"url":{"__isSmartRef__":true,"id":18457},"changes":[{"__isSmartRef__":true,"id":18458}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"18456":{"isSerializedDate":true,"string":"Wed Mar 28 2012 10:10:32 GMT+0200 (CEST)"},"18457":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/ToolTabPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"18458":{"type":"S:modified","url":"/PartsBin/Dialogs/ToolTabPane.json"},"18459":{"rev":148437,"author":"athomschke","date":{"__isSmartRef__":true,"id":18460},"url":{"__isSmartRef__":true,"id":18461},"changes":[{"__isSmartRef__":true,"id":18462}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"18460":{"isSerializedDate":true,"string":"Wed Mar 28 2012 10:07:54 GMT+0200 (CEST)"},"18461":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/ToolTabPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"18462":{"type":"S:modified","url":"/PartsBin/Dialogs/ToolTabPane.json"},"18463":{"rev":148431,"author":"athomschke","date":{"__isSmartRef__":true,"id":18464},"url":{"__isSmartRef__":true,"id":18465},"changes":[{"__isSmartRef__":true,"id":18466}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"18464":{"isSerializedDate":true,"string":"Wed Mar 28 2012 10:05:17 GMT+0200 (CEST)"},"18465":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/ToolTabPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"18466":{"type":"S:modified","url":"/PartsBin/Dialogs/ToolTabPane.json"},"18467":{"rev":148424,"author":"athomschke","date":{"__isSmartRef__":true,"id":18468},"url":{"__isSmartRef__":true,"id":18469},"changes":[{"__isSmartRef__":true,"id":18470}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"18468":{"isSerializedDate":true,"string":"Wed Mar 28 2012 10:02:25 GMT+0200 (CEST)"},"18469":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/ToolTabPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"18470":{"type":"S:modified","url":"/PartsBin/Dialogs/ToolTabPane.json"},"18471":{"rev":147915,"author":"athomschke","date":{"__isSmartRef__":true,"id":18472},"url":{"__isSmartRef__":true,"id":18473},"changes":[{"__isSmartRef__":true,"id":18474}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"18472":{"isSerializedDate":true,"string":"Mon Mar 26 2012 13:17:35 GMT+0200 (CEST)"},"18473":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/ToolTabPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"18474":{"type":"S:modified","url":"/PartsBin/Dialogs/ToolTabPane.json"},"18475":{"rev":147913,"author":"athomschke","date":{"__isSmartRef__":true,"id":18476},"url":{"__isSmartRef__":true,"id":18477},"changes":[{"__isSmartRef__":true,"id":18478}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"18476":{"isSerializedDate":true,"string":"Mon Mar 26 2012 11:18:01 GMT+0200 (CEST)"},"18477":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/ToolTabPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"18478":{"type":"S:modified","url":"/PartsBin/Dialogs/ToolTabPane.json"},"18479":{"rev":147906,"author":"athomschke","date":{"__isSmartRef__":true,"id":18480},"url":{"__isSmartRef__":true,"id":18481},"changes":[{"__isSmartRef__":true,"id":18482}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"18480":{"isSerializedDate":true,"string":"Mon Mar 26 2012 11:03:23 GMT+0200 (CEST)"},"18481":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/ToolTabPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"18482":{"type":"S:modified","url":"/PartsBin/Dialogs/ToolTabPane.json"},"18483":{"rev":147900,"author":"athomschke","date":{"__isSmartRef__":true,"id":18484},"url":{"__isSmartRef__":true,"id":18485},"changes":[{"__isSmartRef__":true,"id":18486}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"18484":{"isSerializedDate":true,"string":"Mon Mar 26 2012 10:44:24 GMT+0200 (CEST)"},"18485":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/ToolTabPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"18486":{"type":"S:modified","url":"/PartsBin/Dialogs/ToolTabPane.json"},"18487":{"rev":140039,"author":"fbo","date":{"__isSmartRef__":true,"id":18488},"url":{"__isSmartRef__":true,"id":18489},"changes":[{"__isSmartRef__":true,"id":18490},{"__isSmartRef__":true,"id":18491},{"__isSmartRef__":true,"id":18492},{"__isSmartRef__":true,"id":18493},{"__isSmartRef__":true,"id":18494},{"__isSmartRef__":true,"id":18495},{"__isSmartRef__":true,"id":18496},{"__isSmartRef__":true,"id":18497},{"__isSmartRef__":true,"id":18498},{"__isSmartRef__":true,"id":18499},{"__isSmartRef__":true,"id":18500},{"__isSmartRef__":true,"id":18501},{"__isSmartRef__":true,"id":18502},{"__isSmartRef__":true,"id":18503},{"__isSmartRef__":true,"id":18504},{"__isSmartRef__":true,"id":18505},{"__isSmartRef__":true,"id":18506},{"__isSmartRef__":true,"id":18507},{"__isSmartRef__":true,"id":18508},{"__isSmartRef__":true,"id":18509},{"__isSmartRef__":true,"id":18510},{"__isSmartRef__":true,"id":18511},{"__isSmartRef__":true,"id":18512},{"__isSmartRef__":true,"id":18513},{"__isSmartRef__":true,"id":18514},{"__isSmartRef__":true,"id":18515},{"__isSmartRef__":true,"id":18516},{"__isSmartRef__":true,"id":18517},{"__isSmartRef__":true,"id":18518},{"__isSmartRef__":true,"id":18519},{"__isSmartRef__":true,"id":18520},{"__isSmartRef__":true,"id":18521},{"__isSmartRef__":true,"id":18522},{"__isSmartRef__":true,"id":18523},{"__isSmartRef__":true,"id":18524},{"__isSmartRef__":true,"id":18525},{"__isSmartRef__":true,"id":18526},{"__isSmartRef__":true,"id":18527},{"__isSmartRef__":true,"id":18528},{"__isSmartRef__":true,"id":18529},{"__isSmartRef__":true,"id":18530},{"__isSmartRef__":true,"id":18531},{"__isSmartRef__":true,"id":18532},{"__isSmartRef__":true,"id":18533},{"__isSmartRef__":true,"id":18534},{"__isSmartRef__":true,"id":18535},{"__isSmartRef__":true,"id":18536},{"__isSmartRef__":true,"id":18537},{"__isSmartRef__":true,"id":18538},{"__isSmartRef__":true,"id":18539},{"__isSmartRef__":true,"id":18540},{"__isSmartRef__":true,"id":18541},{"__isSmartRef__":true,"id":18542},{"__isSmartRef__":true,"id":18543},{"__isSmartRef__":true,"id":18544},{"__isSmartRef__":true,"id":18545},{"__isSmartRef__":true,"id":18546},{"__isSmartRef__":true,"id":18547},{"__isSmartRef__":true,"id":18548},{"__isSmartRef__":true,"id":18549},{"__isSmartRef__":true,"id":18550},{"__isSmartRef__":true,"id":18551},{"__isSmartRef__":true,"id":18552},{"__isSmartRef__":true,"id":18553},{"__isSmartRef__":true,"id":18554},{"__isSmartRef__":true,"id":18555},{"__isSmartRef__":true,"id":18556},{"__isSmartRef__":true,"id":18557},{"__isSmartRef__":true,"id":18558},{"__isSmartRef__":true,"id":18559},{"__isSmartRef__":true,"id":18560},{"__isSmartRef__":true,"id":18561},{"__isSmartRef__":true,"id":18562},{"__isSmartRef__":true,"id":18563},{"__isSmartRef__":true,"id":18564},{"__isSmartRef__":true,"id":18565},{"__isSmartRef__":true,"id":18566},{"__isSmartRef__":true,"id":18567},{"__isSmartRef__":true,"id":18568},{"__isSmartRef__":true,"id":18569},{"__isSmartRef__":true,"id":18570},{"__isSmartRef__":true,"id":18571},{"__isSmartRef__":true,"id":18572},{"__isSmartRef__":true,"id":18573},{"__isSmartRef__":true,"id":18574},{"__isSmartRef__":true,"id":18575},{"__isSmartRef__":true,"id":18576},{"__isSmartRef__":true,"id":18577},{"__isSmartRef__":true,"id":18578},{"__isSmartRef__":true,"id":18579},{"__isSmartRef__":true,"id":18580},{"__isSmartRef__":true,"id":18581},{"__isSmartRef__":true,"id":18582},{"__isSmartRef__":true,"id":18583},{"__isSmartRef__":true,"id":18584},{"__isSmartRef__":true,"id":18585},{"__isSmartRef__":true,"id":18586},{"__isSmartRef__":true,"id":18587},{"__isSmartRef__":true,"id":18588},{"__isSmartRef__":true,"id":18589},{"__isSmartRef__":true,"id":18590},{"__isSmartRef__":true,"id":18591},{"__isSmartRef__":true,"id":18592}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"18488":{"isSerializedDate":true,"string":"Wed Feb 22 2012 22:26:12 GMT+0100 (CET)"},"18489":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/lively/lang/UUID.js","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"18490":{"type":"S:modified","url":"/core/lively/ast/Interpreter.js"},"18491":{"type":"S:added","url":null},"18492":{"type":"S:added","url":null},"18493":{"type":"S:modified","url":"/core/lively/OldModel.js"},"18494":{"type":"S:modified","url":"/core/lively/morphic/ScriptingSupport.js"},"18495":{"type":"S:added","url":null},"18496":{"type":"S:added","url":null},"18497":{"type":"S:deleted","url":null},"18498":{"type":"S:added","url":null},"18499":{"type":"S:modified","url":"/core/lively/ast/LivelyJSParser.js"},"18500":{"type":"S:modified","url":"/core/lively/morphic/EventExperiments.js"},"18501":{"type":"S:added","url":null},"18502":{"type":"S:modified","url":"/core/lively/Base.js"},"18503":{"type":"S:added","url":null},"18504":{"type":"S:added","url":null},"18505":{"type":"S:modified","url":"/core/lively/bootstrap.js"},"18506":{"type":"S:added","url":null},"18507":{"type":"S:added","url":null},"18508":{"type":"S:modified","url":"/core/lively/localconfig.js"},"18509":{"type":"S:modified","url":"/core/lively/PartsBin.js"},"18510":{"type":"S:modified","url":"/core/lively/ide/SystemBrowserNodes.js"},"18511":{"type":"S:modified","url":"/core/lively/morphic/tests/PathTests.js"},"18512":{"type":"S:added","url":null},"18513":{"type":"S:modified","url":"/core/lively/bindings/Core.js"},"18514":{"type":"S:added","url":null},"18515":{"type":"S:added","url":null},"18516":{"type":"S:modified","url":"/core/lively/Network.js"},"18517":{"type":"S:modified","url":"/core/lively/morphic/Core.js"},"18518":{"type":"S:added","url":null},"18519":{"type":"S:modified","url":"/core/lively/bindings.js"},"18520":{"type":"S:modified","url":"/core/lively/WidgetsTraits.js"},"18521":{"type":"S:modified","url":"/core/lively/morphic.js"},"18522":{"type":"S:added","url":null},"18523":{"type":"S:added","url":null},"18524":{"type":"S:added","url":null},"18525":{"type":"S:modified","url":"/core/lively/defaultconfig.js"},"18526":{"type":"S:added","url":null},"18527":{"type":"S:added","url":null},"18528":{"type":"S:modified","url":"/core/lively/morphic/Canvas.js"},"18529":{"type":"S:modified","url":"/core/lively/ast/generated/Translator.js"},"18530":{"type":"S:added","url":null},"18531":{"type":"S:modified","url":"/core/lively/ast/Parser.js"},"18532":{"type":"S:modified","url":"/core/lively/Main.js"},"18533":{"type":"S:modified","url":"/core/lively/morphic/tests/Morphic2.js"},"18534":{"type":"S:added","url":null},"18535":{"type":"S:modified","url":"/core/lively/morphic/tests/TabTests.js"},"18536":{"type":"S:modified","url":"/core/lively/persistence/Serializer.js"},"18537":{"type":"S:modified","url":"/core_version.json"},"18538":{"type":"S:added","url":null},"18539":{"type":"S:modified","url":"/core/lively/morphic/PathShapes.js"},"18540":{"type":"S:added","url":null},"18541":{"type":"S:added","url":null},"18542":{"type":"S:modified","url":"/core/lively/morphic/tests/Morphic.js"},"18543":{"type":"S:modified","url":"/core/lively/morphic/tests/DataGridTests.js"},"18544":{"type":"S:modified","url":"/core/lively/morphic/HTML.js"},"18545":{"type":"S:added","url":null},"18546":{"type":"S:added","url":null},"18547":{"type":"S:added","url":null},"18548":{"type":"S:modified","url":"/core/lively/ide/BrowserCommands.js"},"18549":{"type":"S:modified","url":"/core/lively/morphic/Widgets.js"},"18550":{"type":"S:modified","url":"/core/lively/morphic/tests/EventTests.js"},"18551":{"type":"S:modified","url":"/core/lively/ast/StackReification.js"},"18552":{"type":"S:modified","url":"/core/cop/CopBenchmark.js"},"18553":{"type":"S:deleted","url":null},"18554":{"type":"S:added","url":null},"18555":{"type":"S:modified","url":"/core/lively/Helper.js"},"18556":{"type":"S:modified","url":"/core/lively/morphic/MorphAddons.js"},"18557":{"type":"S:added","url":null},"18558":{"type":"S:modified","url":"/core/lively/morphic/tests/Connectors.js"},"18559":{"type":"S:modified","url":"/core/lively/morphic/Shapes.js"},"18560":{"type":"S:modified","url":"/core/lively/ide/SourceDatabase.js"},"18561":{"type":"S:added","url":null},"18562":{"type":"S:modified","url":"/core/lively/Tracing.js"},"18563":{"type":"S:added","url":null},"18564":{"type":"S:modified","url":"/core/lively/ast/Morphic.js"},"18565":{"type":"S:added","url":null},"18566":{"type":"S:added","url":null},"18567":{"type":"S:added","url":null},"18568":{"type":"S:modified","url":"/core/lively/TestFramework.js"},"18569":{"type":"S:modified","url":"/core/lively/ast/generated/Nodes.js"},"18570":{"type":"S:added","url":null},"18571":{"type":"S:modified","url":"/core/lively/morphic/TextCore.js"},"18572":{"type":"S:added","url":null},"18573":{"type":"S:modified","url":"/core/lively/ide.js"},"18574":{"type":"S:modified","url":"/core/cop/Tracing.js"},"18575":{"type":"S:modified","url":"/core/lively/ide/FileParsing.js"},"18576":{"type":"S:modified","url":"/core/lively/morphic/Events.js"},"18577":{"type":"S:modified","url":"/core/lively/morphic/Halos.js"},"18578":{"type":"S:added","url":null},"18579":{"type":"S:added","url":null},"18580":{"type":"S:modified","url":"/core/lively/morphic/Complete.js"},"18581":{"type":"S:added","url":null},"18582":{"type":"S:added","url":null},"18583":{"type":"S:added","url":null},"18584":{"type":"S:added","url":null},"18585":{"type":"S:added","url":null},"18586":{"type":"S:modified","url":"/core/lively/persistence/StandAlonePackaging.js"},"18587":{"type":"S:added","url":null},"18588":{"type":"S:modified","url":"/core/lively/ast/TestFramework.js"},"18589":{"type":"S:modified","url":"/core/lively/ide/SystemCodeBrowser.js"},"18590":{"type":"S:added","url":null},"18591":{"type":"S:added","url":null},"18592":{"type":"S:added","url":null},"18593":{"rev":135648,"author":"athomschke","date":{"__isSmartRef__":true,"id":18594},"url":{"__isSmartRef__":true,"id":18595},"changes":[{"__isSmartRef__":true,"id":18596}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"18594":{"isSerializedDate":true,"string":"Thu Feb 09 2012 11:46:54 GMT+0100 (CET)"},"18595":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Dialogs/ToolTabPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"18596":{"type":"S:modified","url":"/core/PartsBin/Dialogs/ToolTabPane.json"},"18597":{"rev":132908,"author":"jenslincke","date":{"__isSmartRef__":true,"id":18598},"url":{"__isSmartRef__":true,"id":18599},"changes":[{"__isSmartRef__":true,"id":18600}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"18598":{"isSerializedDate":true,"string":"Fri Feb 03 2012 15:19:00 GMT+0100 (CET)"},"18599":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Dialogs/ToolTabPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"18600":{"type":"S:modified","url":"/core/PartsBin/Dialogs/ToolTabPane.json"},"18601":{"rev":132877,"author":"jenslincke","date":{"__isSmartRef__":true,"id":18602},"url":{"__isSmartRef__":true,"id":18603},"changes":[{"__isSmartRef__":true,"id":18604}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"18602":{"isSerializedDate":true,"string":"Fri Feb 03 2012 14:50:22 GMT+0100 (CET)"},"18603":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Dialogs/ToolTabPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"18604":{"type":"S:added","url":null},"18605":{"submorphs":[{"__isSmartRef__":true,"id":18606},{"__isSmartRef__":true,"id":18668}],"scripts":[],"shape":{"__isSmartRef__":true,"id":19135},"derivationIds":[null,"87FAF55E-F71E-4F69-A29F-5DAF28EF42C0","33449239-EF48-41FE-9BFD-EA211884F247","956938FD-7466-4DD2-A6E4-1FB8477A3306","652178C9-70DE-4F60-9FB7-D37D23D04AEA","7733B961-E644-4906-B640-0B30E06276C7","5CC81DD5-CA62-4F35-8F26-2C1F6DD22CC3","03B60241-98AB-4310-ACEA-E7687E706CA5","3B38BAEC-7179-4451-BB8B-106F92AEA32B","5859188C-662D-4322-90F0-E2997F91C989","D8777C0F-419F-4C8C-9073-863F67431AB0","B1AEE8B2-4F0E-400A-9C44-84E55118F5A4","EB59F5AA-11EA-4160-A380-33883FCBFC12","1BEBE524-9499-4E24-84C4-E8F9F7A86663","1826D64D-5CE8-4BB8-8AA3-1785854B22C3","EB298904-0A41-4BF3-B52F-3B1ECB88F0FD"],"id":"582DA45A-BCD7-47A3-90A3-AFA0B1AA178A","renderContextTable":{"__isSmartRef__":true,"id":19141},"eventHandler":{"__isSmartRef__":true,"id":19142},"droppingEnabled":true,"halosEnabled":true,"tabBarStrategy":{"__isSmartRef__":true,"id":19143},"tabPaneExtent":{"__isSmartRef__":true,"id":19036},"tabBar":{"__isSmartRef__":true,"id":18606},"priorExtent":{"__isSmartRef__":true,"id":19144},"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":18432},"name":"ToolTabPane","_Position":{"__isSmartRef__":true,"id":19145},"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"distanceToDragEvent":{"__isSmartRef__":true,"id":19146},"layout":{"__isSmartRef__":true,"id":19147},"moved":true,"_Rotation":0,"_Scale":1.002003004005006,"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":19148},"resizedPanes":["DD40D90A-CF20-45A5-AA0D-BF26D5D8FADF"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":19378},"__LivelyClassName__":"lively.morphic.TabContainer","withLayers":["Global.TabbedMethodFinderLayer"]},"18606":{"submorphs":[{"__isSmartRef__":true,"id":18607}],"scripts":[],"shape":{"__isSmartRef__":true,"id":19123},"derivationIds":[null,"C9AFDCE0-7E36-4F4A-A4FD-ADF539D3F3BE","45EA8685-1562-433C-9510-7D387C52D50D","68FD3A27-03F4-41EE-A019-24EECD4B9D4D","8E706A37-51F2-434A-8488-92F5487BE77E","D7EF478F-C07F-4C57-8E84-C7FA15901B78","65508D46-12CC-4A6F-9CA5-AA1E26EAA9EA","03757FEA-1979-424E-8EA1-7231E038BD91","D8EB800F-9FF7-406C-B42A-FD51AA5C9390","5892030A-109B-40A4-8484-382B6F34EFA3","5623D1FD-B4D3-47A0-AC1F-67B3388DEC19","3BF7A333-B725-4A4E-AF76-8D1DAAD1FD40","492FA464-292A-4E4B-AF05-0F34F7329A1E","C875DD96-0677-43FF-9942-16AD478F3A82","16D4C43F-D991-4289-BBAF-A1FD33535698","AF32CC15-CF1B-46FE-A464-11EE27613F61"],"id":"B7EB4AF8-6228-4167-A2DC-B8F1B4F57093","renderContextTable":{"__isSmartRef__":true,"id":19130},"eventHandler":{"__isSmartRef__":true,"id":19131},"droppingEnabled":true,"halosEnabled":true,"tabContainer":{"__isSmartRef__":true,"id":18605},"priorExtent":{"__isSmartRef__":true,"id":19132},"grabbingEnabled":false,"draggingEnabled":false,"tabs":[{"__isSmartRef__":true,"id":18607}],"owner":{"__isSmartRef__":true,"id":18605},"_Position":{"__isSmartRef__":true,"id":19133},"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"prevScroll":[0,0],"layout":{"__isSmartRef__":true,"id":19134},"_Rotation":0,"_ClipMode":"visible","adjustedTabSizes":true,"__LivelyClassName__":"lively.morphic.TabBar"},"18607":{"submorphs":[{"__isSmartRef__":true,"id":18608},{"__isSmartRef__":true,"id":18619}],"scripts":[],"shape":{"__isSmartRef__":true,"id":18660},"derivationIds":[null],"id":"C21CD69A-1890-4A43-9D4D-B10EC210C421","renderContextTable":{"__isSmartRef__":true,"id":18666},"eventHandler":{"__isSmartRef__":true,"id":18667},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"tabBar":{"__isSmartRef__":true,"id":18606},"tabBarOffset":0,"pane":{"__isSmartRef__":true,"id":18668},"label":{"__isSmartRef__":true,"id":18608},"name":"S:addItem","grabbingEnabled":false,"draggingEnabled":false,"priorExtent":{"__isSmartRef__":true,"id":19121},"closeButton":{"__isSmartRef__":true,"id":18619},"owner":{"__isSmartRef__":true,"id":18606},"_Position":{"__isSmartRef__":true,"id":19122},"isActive":true,"__LivelyClassName__":"lively.morphic.Tab","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"18608":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":18609},"derivationIds":[null],"id":"9E4CAFCB-EF76-4958-86A8-1A52C886E546","renderContextTable":{"__isSmartRef__":true,"id":18613},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":18614}],"eventHandler":{"__isSmartRef__":true,"id":18616},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_Position":{"__isSmartRef__":true,"id":18617},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"eventsAreDisabled":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":18607},"priorExtent":{"__isSmartRef__":true,"id":18618},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18609":{"_Position":{"__isSmartRef__":true,"id":18610},"renderContextTable":{"__isSmartRef__":true,"id":18611},"_Extent":{"__isSmartRef__":true,"id":18612},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"18610":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18611":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"18612":{"x":67,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18613":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"18614":{"style":{"__isSmartRef__":true,"id":18615},"chunkOwner":{"__isSmartRef__":true,"id":18608},"storedString":"S:addItem","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18615":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18616":{"morph":{"__isSmartRef__":true,"id":18608},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"18617":{"x":5,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18618":{"x":80,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18619":{"submorphs":[{"__isSmartRef__":true,"id":18620}],"scripts":[],"shape":{"__isSmartRef__":true,"id":18631},"derivationIds":[null],"id":"455FA439-AD1C-4CEB-9BFC-1231FFE469F8","renderContextTable":{"__isSmartRef__":true,"id":18645},"eventHandler":{"__isSmartRef__":true,"id":18646},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":18636},"lighterFill":{"__isSmartRef__":true,"id":18647},"label":{"__isSmartRef__":true,"id":18620},"priorExtent":{"__isSmartRef__":true,"id":18656},"owner":{"__isSmartRef__":true,"id":18607},"_Position":{"__isSmartRef__":true,"id":18657},"attributeConnections":[{"__isSmartRef__":true,"id":18658}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"18620":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":18621},"derivationIds":[null],"id":"DE2E41CE-0786-4276-8D3E-22F9EF7B5656","renderContextTable":{"__isSmartRef__":true,"id":18626},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":18627}],"eventHandler":{"__isSmartRef__":true,"id":18629},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":18619},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":778},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":18630},"_MaxTextWidth":20,"_MinTextWidth":20,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18621":{"_Position":{"__isSmartRef__":true,"id":18622},"renderContextTable":{"__isSmartRef__":true,"id":18623},"_Extent":{"__isSmartRef__":true,"id":18624},"_Padding":{"__isSmartRef__":true,"id":18625},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"18622":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18623":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"18624":{"x":20,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18625":{"x":0,"y":3,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18626":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"18627":{"style":{"__isSmartRef__":true,"id":18628},"chunkOwner":{"__isSmartRef__":true,"id":18620},"storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18628":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18629":{"morph":{"__isSmartRef__":true,"id":18620},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"18630":{"x":20,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18631":{"_Position":{"__isSmartRef__":true,"id":18632},"renderContextTable":{"__isSmartRef__":true,"id":18633},"_Extent":{"__isSmartRef__":true,"id":18630},"_Padding":{"__isSmartRef__":true,"id":18634},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":18635},"_Fill":{"__isSmartRef__":true,"id":18636},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"18632":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18633":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"18634":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18635":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18636":{"stops":[{"__isSmartRef__":true,"id":18637},{"__isSmartRef__":true,"id":18639},{"__isSmartRef__":true,"id":18641},{"__isSmartRef__":true,"id":18643}],"vector":{"__isSmartRef__":true,"id":797},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"18637":{"offset":0,"color":{"__isSmartRef__":true,"id":18638}},"18638":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18639":{"offset":0.4,"color":{"__isSmartRef__":true,"id":18640}},"18640":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18641":{"offset":0.6,"color":{"__isSmartRef__":true,"id":18642}},"18642":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18643":{"offset":1,"color":{"__isSmartRef__":true,"id":18644}},"18644":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18645":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"18646":{"morph":{"__isSmartRef__":true,"id":18619},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"18647":{"stops":[{"__isSmartRef__":true,"id":18648},{"__isSmartRef__":true,"id":18650},{"__isSmartRef__":true,"id":18652},{"__isSmartRef__":true,"id":18654}],"vector":{"__isSmartRef__":true,"id":797},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"18648":{"offset":0,"color":{"__isSmartRef__":true,"id":18649}},"18649":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18650":{"offset":0.4,"color":{"__isSmartRef__":true,"id":18651}},"18651":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18652":{"offset":0.6,"color":{"__isSmartRef__":true,"id":18653}},"18653":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18654":{"offset":1,"color":{"__isSmartRef__":true,"id":18655}},"18655":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18656":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18657":{"x":67,"y":6,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18658":{"sourceObj":{"__isSmartRef__":true,"id":18619},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":18607},"targetMethodName":"closeTab","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":18659},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"18659":{"source":{"__isSmartRef__":true,"id":18619},"target":{"__isSmartRef__":true,"id":18607}},"18660":{"_Position":{"__isSmartRef__":true,"id":18661},"renderContextTable":{"__isSmartRef__":true,"id":18662},"_Extent":{"__isSmartRef__":true,"id":18663},"_Padding":{"__isSmartRef__":true,"id":18664},"_Fill":{"__isSmartRef__":true,"id":6759},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":18665},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"18661":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18662":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"18663":{"x":90,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18664":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18665":{"r":0.8,"g":0.8,"b":0.8,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18666":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"18667":{"morph":{"__isSmartRef__":true,"id":18607},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"18668":{"submorphs":[{"__isSmartRef__":true,"id":18669}],"scripts":[],"shape":{"__isSmartRef__":true,"id":19111},"derivationIds":[null],"id":"DD40D90A-CF20-45A5-AA0D-BF26D5D8FADF","renderContextTable":{"__isSmartRef__":true,"id":19116},"eventHandler":{"__isSmartRef__":true,"id":19117},"_ClipMode":"scroll","droppingEnabled":true,"halosEnabled":true,"tab":{"__isSmartRef__":true,"id":18607},"tabBar":{"__isSmartRef__":true,"id":18606},"priorExtent":{"__isSmartRef__":true,"id":19118},"grabbingEnabled":false,"draggingEnabled":false,"name":"S:addItem - Pane","layout":{"__isSmartRef__":true,"id":19119},"owner":{"__isSmartRef__":true,"id":18605},"_Position":{"__isSmartRef__":true,"id":19120},"__LivelyClassName__":"lively.morphic.TabPane","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"18669":{"submorphs":[{"__isSmartRef__":true,"id":18670},{"__isSmartRef__":true,"id":18687},{"__isSmartRef__":true,"id":18735},{"__isSmartRef__":true,"id":18759},{"__isSmartRef__":true,"id":18836},{"__isSmartRef__":true,"id":18851},{"__isSmartRef__":true,"id":18898},{"__isSmartRef__":true,"id":18981}],"scripts":[],"id":"650DA0BC-259E-4DB0-91C7-BD8BB8B80AA9","shape":{"__isSmartRef__":true,"id":19034},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"MethodFinderPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":19041},"__SourceModuleName__":"Global.lively.morphic.Core","isCopyMorphRef":true,"morphRefId":1,"layout":{"__isSmartRef__":true,"id":19058},"priorExtent":{"__isSmartRef__":true,"id":19059},"renderContextTable":{"__isSmartRef__":true,"id":19060},"eventHandler":{"__isSmartRef__":true,"id":19061},"attributeConnections":[],"doNotSerialize":["targetFunction","targetObject"],"doNotCopyProperties":[],"prevScroll":[0,0],"isBeingDragged":false,"_Position":{"__isSmartRef__":true,"id":19062},"derivationIds":[204,"90F6ED76-D56E-436C-96E7-CBFE7106283E","53162F18-6DD1-4230-B30F-EC4BA7B7A9ED","73F374A9-9CEE-4D2E-8BA6-030971E02396","0859BA09-FE36-4B7E-85B5-A141B84A252C","AB402971-988F-4D01-AE49-87C1AFEAA1C3","A80F8C19-12D2-49AF-941A-2454433D2A59","9370F962-CBB6-42C0-8F15-79D0F66045FD","2F24C0FF-1360-4C35-BE22-B5DE5FFAB3F4","81FC43AC-A19A-48A5-B854-601A302E5585","BBF2876B-A928-4012-A9BD-A39052E30483","3E2C739C-3BA6-4C2C-B7FB-A726AA7015BB"],"distanceToDragEvent":{"__isSmartRef__":true,"id":19063},"moved":true,"_Rotation":0,"_Scale":0.9880657804942092,"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":18668},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":19064},"__LivelyClassName__":"lively.morphic.Box"},"18670":{"submorphs":[],"scripts":[],"id":"07C5E7AD-7877-43A5-B7CE-FB9D4C3CDD78","shape":{"__isSmartRef__":true,"id":18671},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":18677},"_MaxTextWidth":287,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":18678},"showsHalos":false,"_FontSize":13,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"searchText","partsBinMetaInfo":{"__isSmartRef__":true,"id":18679},"owner":{"__isSmartRef__":true,"id":18669},"charsReplaced":"enter method name here","lastFindLoc":22,"attributeConnections":[{"__isSmartRef__":true,"id":18680}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"isInputLine":true,"_WhiteSpaceHandling":"pre-wrap","allowInput":true,"textChunks":[{"__isSmartRef__":true,"id":18681}],"priorSelectionRange":[0,22],"prevScroll":[0,0],"_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":18683},"lastSearchString":"prev","renderContextTable":{"__isSmartRef__":true,"id":18684},"eventHandler":{"__isSmartRef__":true,"id":18685},"_MinTextWidth":287,"_MinTextHeight":null,"previousSelection":[0,0],"distanceToDragEvent":{"__isSmartRef__":true,"id":18686},"isBeingDragged":false,"derivationIds":[205,"63CD6525-ECE4-4F52-A84B-27633C22F3F9","D7B775A2-513B-4768-AB24-6718580E61A9","FE8FA703-C984-4702-8139-2C4E9353FB41","2C124317-773E-498D-BB6D-9BEC99637AF3","BFDC0BE7-0289-4FA0-A2EC-14EF2BA09445","E16771FE-0062-4803-9678-9625DB0CFBFA","B9D2EC7D-E050-4D3D-8ABC-52D8ACA55936","196DC9F1-78FF-488F-80AB-8129A171A1C9","F2FB3FCC-8AE2-4DFB-AD6F-3DE2513762B0","4897081D-DCA7-4D33-B262-00412C9821FD","9DEE84F9-6727-4802-BD51-456C40E212F1"],"savedTextString":"bla","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"18671":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":18672},"_Extent":{"__isSmartRef__":true,"id":18673},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":18674},"renderContextTable":{"__isSmartRef__":true,"id":18675},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":18676},"_BorderRadius":4,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"18672":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18673":{"x":292,"y":25,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18674":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18675":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"18676":{"x":3,"y":3,"width":-3,"height":-3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18677":{"x":10,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18678":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18679":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"18680":{"sourceObj":{"__isSmartRef__":true,"id":18670},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":18669},"targetMethodName":"search","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"18681":{"style":{"__isSmartRef__":true,"id":18682},"chunkOwner":{"__isSmartRef__":true,"id":18670},"storedString":"addItem","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18682":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18683":{"x":292,"y":25,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18684":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"18685":{"morph":{"__isSmartRef__":true,"id":18670},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"18686":{"x":199.7085210421884,"y":-15.498997494989453,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18687":{"submorphs":[{"__isSmartRef__":true,"id":18688}],"scripts":[],"id":"8673BFE3-4FE8-4AEE-8865-4859C01ECAB1","shape":{"__isSmartRef__":true,"id":18703},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":18719},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":18707},"lighterFill":{"__isSmartRef__":true,"id":18720},"label":{"__isSmartRef__":true,"id":18688},"showsHalos":false,"name":"searchButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":18729},"__SourceModuleName__":"Global.lively.morphic.Widgets","owner":{"__isSmartRef__":true,"id":18669},"attributeConnections":[{"__isSmartRef__":true,"id":18730}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"priorExtent":{"__isSmartRef__":true,"id":18731},"renderContextTable":{"__isSmartRef__":true,"id":18732},"eventHandler":{"__isSmartRef__":true,"id":18733},"distanceToDragEvent":{"__isSmartRef__":true,"id":18734},"derivationIds":[206,"CB9026E7-BAD5-49AB-B6E0-88B46D561743","C2FEDA8A-ABCE-426D-BB39-F8B4C0CCBE5F","21DC60CF-D1A0-4B54-9B91-F82A50CF8D3A","6E0B3DCD-9AD6-4AAF-A854-252E628FC222","457022C0-0CD0-426F-89B8-DAA8E3AA15C0","AE87A8FC-A7FF-40D5-B8B3-351194957A1B","0107A29A-C954-43A8-82FD-CEE77E946A25","E82E1B35-1C20-4BE4-A5CB-0936E7D4AD20","7485F277-13B5-4FF4-9B90-10385A227006","216A87FA-4CA8-4657-886E-D2EE1398E86F","051E1CDB-3E9B-41A7-89A7-24E539E5FA37"],"_Rotation":0,"_Scale":1,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Button"},"18688":{"submorphs":[],"scripts":[],"id":"6B2852F1-ECF4-4C88-B7B9-5B2C3A200FEA","shape":{"__isSmartRef__":true,"id":18689},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":18695},"_MaxTextWidth":77,"_MaxTextHeight":null,"padding":{"__isSmartRef__":true,"id":18696},"_Padding":{"__isSmartRef__":true,"id":18697},"owner":{"__isSmartRef__":true,"id":18687},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textStyle":null,"textChunks":[{"__isSmartRef__":true,"id":18698}],"prevScroll":[0,0],"_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":18700},"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":18701},"eventHandler":{"__isSmartRef__":true,"id":18702},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":77,"_MinTextHeight":null,"derivationIds":[207,"9A623BA1-A240-454B-B0DD-53932A371FB3","9E828467-210E-44D4-8E3D-17C5F92B1AAE","75AF52F1-0E7E-419A-BC00-5CCC0D52CEDC","F3C81240-9550-45C3-8B7A-8A3C0ED15BE6","70D8CC33-5AEE-45B5-AC0B-B9A6350C7F51","C80D2176-BA4F-4DCF-88D8-540ADE03E6B9","CB9FE42C-61BF-409D-9CC7-1F1B094C61FA","BF7D1270-418D-46A3-95E5-991F82DAD8C6","CDA433D8-442B-4D3A-A58E-F9C5FCED9086","039DDED5-FFAA-423A-99F2-2236BB594511","E618043F-74DF-4D4A-991F-5AA47FD766F8"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"18689":{"position":{"__isSmartRef__":true,"id":18690},"_Extent":{"__isSmartRef__":true,"id":18691},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":18692},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":18693},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":18694},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"18690":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18691":{"x":77,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18692":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18693":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"18694":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18695":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18696":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18697":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18698":{"style":{"__isSmartRef__":true,"id":18699},"morph":{"__isSmartRef__":true,"id":18688},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":18688},"storedString":"search","__LivelyClassName__":"lively.morphic.TextChunk"},"18699":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"18700":{"x":77,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18701":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"18702":{"morph":{"__isSmartRef__":true,"id":18688},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"18703":{"position":{"__isSmartRef__":true,"id":18704},"_Extent":{"__isSmartRef__":true,"id":18705},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":18706},"_Fill":{"__isSmartRef__":true,"id":18707},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":18717},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":18718},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"18704":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18705":{"x":77,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18706":{"r":0.258,"g":0.258,"b":0.258,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18707":{"stops":[{"__isSmartRef__":true,"id":18708},{"__isSmartRef__":true,"id":18710},{"__isSmartRef__":true,"id":18712},{"__isSmartRef__":true,"id":18714}],"vector":{"__isSmartRef__":true,"id":18716},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"18708":{"offset":0,"color":{"__isSmartRef__":true,"id":18709}},"18709":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18710":{"offset":0.4,"color":{"__isSmartRef__":true,"id":18711}},"18711":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18712":{"offset":0.6,"color":{"__isSmartRef__":true,"id":18713}},"18713":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18714":{"offset":1,"color":{"__isSmartRef__":true,"id":18715}},"18715":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18716":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18717":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"18718":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18719":{"x":310,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18720":{"stops":[{"__isSmartRef__":true,"id":18721},{"__isSmartRef__":true,"id":18723},{"__isSmartRef__":true,"id":18725},{"__isSmartRef__":true,"id":18727}],"vector":{"__isSmartRef__":true,"id":18716},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"18721":{"offset":0,"color":{"__isSmartRef__":true,"id":18722}},"18722":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18723":{"offset":0.4,"color":{"__isSmartRef__":true,"id":18724}},"18724":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18725":{"offset":0.6,"color":{"__isSmartRef__":true,"id":18726}},"18726":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18727":{"offset":1,"color":{"__isSmartRef__":true,"id":18728}},"18728":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18729":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"18730":{"sourceObj":{"__isSmartRef__":true,"id":18687},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":18670},"targetMethodName":"doSave","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"18731":{"x":77,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18732":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"18733":{"morph":{"__isSmartRef__":true,"id":18687},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"18734":{"x":53.70852104218841,"y":-21.498997494989453,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18735":{"submorphs":[],"scripts":[],"id":"C37374F3-0214-4B24-91C8-7171E4AEB90C","shape":{"__isSmartRef__":true,"id":18736},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":18743},"itemList":[{"__isSmartRef__":true,"id":18744},{"__isSmartRef__":true,"id":18745},{"__isSmartRef__":true,"id":18746},{"__isSmartRef__":true,"id":18747},{"__isSmartRef__":true,"id":18748},{"__isSmartRef__":true,"id":18749},{"__isSmartRef__":true,"id":18750}],"showsHalos":false,"name":"searchResultList","partsBinMetaInfo":{"__isSmartRef__":true,"id":18751},"__SourceModuleName__":"Global.lively.morphic.Core","owner":{"__isSmartRef__":true,"id":18669},"attributeConnections":[{"__isSmartRef__":true,"id":18752}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"prevScroll":[0,192],"resizeHeight":true,"resizeWidth":true,"layout":{"__isSmartRef__":true,"id":18753},"priorExtent":{"__isSmartRef__":true,"id":18754},"renderContextTable":{"__isSmartRef__":true,"id":18755},"eventHandler":{"__isSmartRef__":true,"id":18756},"distanceToDragEvent":{"__isSmartRef__":true,"id":18757},"isBeingDragged":false,"derivationIds":[208,"884F3C31-F47F-4325-B01C-55796601323C","AF542C45-CFC5-475A-B28E-37B7FC51E468","C6B09735-9683-446C-A39C-E4924083B282","7860DCD2-EC25-4F34-B79B-18C47FBEE925","7ACC50AB-EE77-4AD9-8731-20150C616D1C","6A21BD7F-EC45-467D-BDA4-F218B9407920","0B0BFDF5-91C4-4369-AB7F-07CDAE8813BF","0D9A4870-E562-4C17-A057-3DB8D1C9234C","854096E7-42E2-48F4-B656-D1AE606FAEBF","659ABB8A-3E6D-4E1C-864B-CE8459AD730A","1A73ECB5-B976-457C-8138-8385DBD45070"],"_Rotation":0,"_Scale":1,"selection":{"__isSmartRef__":true,"id":18758},"selectedLineNo":4,"__LivelyClassName__":"lively.morphic.List"},"18736":{"position":{"__isSmartRef__":true,"id":18737},"_Extent":{"__isSmartRef__":true,"id":18738},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":18739},"_Fill":{"__isSmartRef__":true,"id":18740},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":18741},"_Padding":{"__isSmartRef__":true,"id":18742},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"18737":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18738":{"x":845.6764200688274,"y":140,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18739":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18740":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18741":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"18742":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18743":{"x":10,"y":50,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18744":{"isListItem":true,"string":"class name: List: addItem","doNotSerialize":["value"],"priority":"A"},"18745":{"isListItem":true,"string":"script name: TouchList(720F4860-7B48-4C05-A156-A45670E978DF): addItem","doNotSerialize":["value"],"priority":"A"},"18746":{"isListItem":true,"string":"class name: Menu: addItems","doNotSerialize":["value"],"priority":"B"},"18747":{"isListItem":true,"string":"class name: Menu: addItems2","doNotSerialize":["value"],"priority":"B"},"18748":{"isListItem":true,"string":"script name: ListItemContainer(78BE6D6E-693B-4397-9219-C336101FDA39): addItemMorph","doNotSerialize":["value"],"priority":"B"},"18749":{"isListItem":true,"string":"class full: Menu: initialize","doNotSerialize":["value"],"priority":"C"},"18750":{"isListItem":true,"string":"script full: TouchList(720F4860-7B48-4C05-A156-A45670E978DF): addMenuItems","doNotSerialize":["value"],"priority":"C"},"18751":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"18752":{"sourceObj":{"__isSmartRef__":true,"id":18735},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":18669},"targetMethodName":"browse","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"18753":{"resizeWidth":true},"18754":{"x":850.9484727040478,"y":140,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18755":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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"},"18756":{"morph":{"__isSmartRef__":true,"id":18735},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"18757":{"x":589.7085210421884,"y":-14.498997494989453,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18758":{"object":{"__isSmartRef__":true,"id":770},"method":"addItemMorph","string":"ListItemContainer(78BE6D6E-693B-4397-9219-C336101FDA39): addItemMorph","type":"script","search":"implementor"},"18759":{"submorphs":[],"scripts":[],"id":"85E158E6-45B8-4BFD-875B-F1058401A09E","shape":{"__isSmartRef__":true,"id":18760},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco, Courier","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":18766},"_MaxTextWidth":840.6764200688274,"_MaxTextHeight":null,"textStyle":null,"layout":{"__isSmartRef__":true,"id":18767},"doitContext":{"__isSmartRef__":true,"id":18669},"charsReplaced":"","lastFindLoc":130,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"sourceText","savedTextString":"// changes here only affect runtime\nObject.extend(lively.morphic.Morph,{\n\tmakeLine:function (verts, lineWidth, lineColor) {\n\t\tif (verts.length < 2) return null;\n\t\tif (verts.length > 2) {\n\t\t\t// Polylines become a mere blob for now...\n\t\t\tvar morph = this.makeRectangle(Rectangle.unionPts(verts));\n\t\t\tmorph.setBorderWidth(lineWidth);\n\t\t\tmorph.setBorderColor(lineColor);\n\t\t\tmorph.setFill(null);\n\t\t\treturn morph;\n\t\t} \n\t\t// Okay, it's a simple line...\n\t\tvar p1 = verts[0]; var p2 = verts[1];\n\t\tvar v = p2.subPt(p1);\n \n\t\t// First make a horizontal line of the same length with origin at (0, 0)\n\t\tvar morph = this.makeRectangle(Rectangle.unionPts([pt(0, -lineWidth/2), Point.polar(v.r(), 0).addXY(0, lineWidth/2)]));\n\n\t\t// *** Not right, but we want to make position and center of rot = (0, 0):\n\t\t// morph._Position = pt(0, 0);\n\n\t\tmorph.setBorderWidth(0);\n\t\tmorph.setFill(lineColor);\n\n\t\t// Then move and rotate, with first vertex being the rotation center\n\t\tmorph.moveBy(p1);\n\t\tmorph.setOrigin(pt(0, lineWidth/2));\n\t\tmorph.isLine = true;\n\t\treturn morph.rotateBy(v.theta());\n\t}\n});","textChunks":[{"__isSmartRef__":true,"id":18768},{"__isSmartRef__":true,"id":18770},{"__isSmartRef__":true,"id":18772},{"__isSmartRef__":true,"id":18774},{"__isSmartRef__":true,"id":18776},{"__isSmartRef__":true,"id":18779},{"__isSmartRef__":true,"id":18781},{"__isSmartRef__":true,"id":18783},{"__isSmartRef__":true,"id":18785},{"__isSmartRef__":true,"id":18787},{"__isSmartRef__":true,"id":18789},{"__isSmartRef__":true,"id":18791},{"__isSmartRef__":true,"id":18793},{"__isSmartRef__":true,"id":18795},{"__isSmartRef__":true,"id":18797},{"__isSmartRef__":true,"id":18799},{"__isSmartRef__":true,"id":18801},{"__isSmartRef__":true,"id":18803},{"__isSmartRef__":true,"id":18805},{"__isSmartRef__":true,"id":18807},{"__isSmartRef__":true,"id":18809},{"__isSmartRef__":true,"id":18811},{"__isSmartRef__":true,"id":18813},{"__isSmartRef__":true,"id":18815}],"priorSelectionRange":[73,64],"_ClipMode":"auto","prevScroll":[0,0],"_FontSize":9,"owner":{"__isSmartRef__":true,"id":18669},"priorExtent":{"__isSmartRef__":true,"id":18817},"lastSyntaxHighlightTime":1336168584361,"renderContextTable":{"__isSmartRef__":true,"id":18818},"eventHandler":{"__isSmartRef__":true,"id":18819},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":840.6764200688274,"_MinTextHeight":null,"previousSelection":[69,69],"distanceToDragEvent":{"__isSmartRef__":true,"id":18820},"isBeingDragged":false,"derivationIds":[209,"04D0F127-514D-4BED-841E-6A4CEF4FFDDA","D40D5739-DE56-49F4-B02A-A4ED75AF054A","42528900-D082-4C7A-8E70-1E67923301D9","5167B7DC-8F45-4AD0-96D7-947FF3EE0BB7","D0BFE91E-6EF1-4165-A42C-CC81C9CD2050","04C1BABF-5514-417C-AE67-882A1252EB67","8B053B4D-76D1-4DCB-8E89-8E7ABA3EF3D1","CB2FFA38-BC16-4D98-A807-722CCCC26062","D19D6343-8887-4386-8B87-4560230A5D11","2FFE6CC8-A851-44E9-B6B7-9D9370DEB9C9","A1509C4A-C98B-44CF-ACF8-DA444E7A9B75"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":18821},"__LivelyClassName__":"lively.morphic.Text"},"18760":{"position":{"__isSmartRef__":true,"id":18761},"_Extent":{"__isSmartRef__":true,"id":18762},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":18674},"_Fill":{"__isSmartRef__":true,"id":18763},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":18764},"_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":18765},"_BorderRadius":4,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"18761":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18762":{"x":845.6764200688274,"y":195.7127101296919,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18763":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18764":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"18765":{"x":3,"y":3,"width":-3,"height":-3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18766":{"x":10,"y":230,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18767":{"resizeWidth":true,"resizeHeight":true,"moveVertical":false,"moveHorizontal":false},"18768":{"style":{"__isSmartRef__":true,"id":18769},"chunkOwner":{"__isSmartRef__":true,"id":18759},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18769":{"color":{"__isSmartRef__":true,"id":514},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18770":{"style":{"__isSmartRef__":true,"id":18771},"chunkOwner":{"__isSmartRef__":true,"id":18759},"storedString":".addScript(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18771":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18772":{"style":{"__isSmartRef__":true,"id":18773},"chunkOwner":{"__isSmartRef__":true,"id":18759},"storedString":"function","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18773":{"color":{"__isSmartRef__":true,"id":514},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18774":{"style":{"__isSmartRef__":true,"id":18775},"chunkOwner":{"__isSmartRef__":true,"id":18759},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18775":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18776":{"style":{"__isSmartRef__":true,"id":18777},"chunkOwner":{"__isSmartRef__":true,"id":18759},"storedString":"addItem","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18777":{"color":{"__isSmartRef__":true,"id":18778},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18778":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18779":{"style":{"__isSmartRef__":true,"id":18780},"chunkOwner":{"__isSmartRef__":true,"id":18759},"storedString":"Morph(morph) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18780":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18781":{"style":{"__isSmartRef__":true,"id":18782},"chunkOwner":{"__isSmartRef__":true,"id":18759},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18782":{"color":{"__isSmartRef__":true,"id":509},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18783":{"style":{"__isSmartRef__":true,"id":18784},"chunkOwner":{"__isSmartRef__":true,"id":18759},"storedString":"\n morph.disableDropping();\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18784":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18785":{"style":{"__isSmartRef__":true,"id":18786},"chunkOwner":{"__isSmartRef__":true,"id":18759},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18786":{"color":{"__isSmartRef__":true,"id":514},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18787":{"style":{"__isSmartRef__":true,"id":18788},"chunkOwner":{"__isSmartRef__":true,"id":18759},"storedString":".itemList = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18788":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18789":{"style":{"__isSmartRef__":true,"id":18790},"chunkOwner":{"__isSmartRef__":true,"id":18759},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18790":{"color":{"__isSmartRef__":true,"id":514},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18791":{"style":{"__isSmartRef__":true,"id":18792},"chunkOwner":{"__isSmartRef__":true,"id":18759},"storedString":".itemList || [];\n morph.setPosition(pt(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18792":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18793":{"style":{"__isSmartRef__":true,"id":18794},"chunkOwner":{"__isSmartRef__":true,"id":18759},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18794":{"color":{"__isSmartRef__":true,"id":536},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18795":{"style":{"__isSmartRef__":true,"id":18796},"chunkOwner":{"__isSmartRef__":true,"id":18759},"storedString":",","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18796":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18797":{"style":{"__isSmartRef__":true,"id":18798},"chunkOwner":{"__isSmartRef__":true,"id":18759},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18798":{"color":{"__isSmartRef__":true,"id":514},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18799":{"style":{"__isSmartRef__":true,"id":18800},"chunkOwner":{"__isSmartRef__":true,"id":18759},"storedString":".itemList.length*","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18800":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18801":{"style":{"__isSmartRef__":true,"id":18802},"chunkOwner":{"__isSmartRef__":true,"id":18759},"storedString":"43","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18802":{"color":{"__isSmartRef__":true,"id":536},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18803":{"style":{"__isSmartRef__":true,"id":18804},"chunkOwner":{"__isSmartRef__":true,"id":18759},"storedString":"));\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18804":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18805":{"style":{"__isSmartRef__":true,"id":18806},"chunkOwner":{"__isSmartRef__":true,"id":18759},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18806":{"color":{"__isSmartRef__":true,"id":514},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18807":{"style":{"__isSmartRef__":true,"id":18808},"chunkOwner":{"__isSmartRef__":true,"id":18759},"storedString":".itemList.push(morph);\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18808":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18809":{"style":{"__isSmartRef__":true,"id":18810},"chunkOwner":{"__isSmartRef__":true,"id":18759},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18810":{"color":{"__isSmartRef__":true,"id":514},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18811":{"style":{"__isSmartRef__":true,"id":18812},"chunkOwner":{"__isSmartRef__":true,"id":18759},"storedString":".addMorph(morph);\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18812":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18813":{"style":{"__isSmartRef__":true,"id":18814},"chunkOwner":{"__isSmartRef__":true,"id":18759},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18814":{"color":{"__isSmartRef__":true,"id":509},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18815":{"style":{"__isSmartRef__":true,"id":18816},"chunkOwner":{"__isSmartRef__":true,"id":18759},"storedString":");","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18816":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18817":{"x":845.6764200688274,"y":195.7127101296919,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18818":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"18819":{"morph":{"__isSmartRef__":true,"id":18759},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"18820":{"x":582.0068382418127,"y":-20.48073201899024,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18821":{"doSave":{"__isSmartRef__":true,"id":18822},"getDoitContext":{"__isSmartRef__":true,"id":18829}},"18822":{"varMapping":{"__isSmartRef__":true,"id":18823},"source":"function doSave() {\n\t$super()\n\talertOK(\"eval all for \" + this.getDoitContext())\n\tthis.boundEval(this.textString)\n}","funcProperties":{"__isSmartRef__":true,"id":18828},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"18823":{"this":{"__isSmartRef__":true,"id":18759},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":18824}},"18824":{"$super":{"__isSmartRef__":true,"id":18825}},"18825":{"varMapping":{"__isSmartRef__":true,"id":18826},"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":18827},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"18826":{"obj":{"__isSmartRef__":true,"id":18759},"name":"doSave"},"18827":{},"18828":{},"18829":{"varMapping":{"__isSmartRef__":true,"id":18830},"source":"function getDoitContext() {\n\treturn this.owner.targetObject\n}","funcProperties":{"__isSmartRef__":true,"id":18835},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"18830":{"this":{"__isSmartRef__":true,"id":18759},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":18831}},"18831":{"$super":{"__isSmartRef__":true,"id":18832}},"18832":{"varMapping":{"__isSmartRef__":true,"id":18833},"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":18834},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"18833":{"obj":{"__isSmartRef__":true,"id":18759},"name":"getDoitContext"},"18834":{},"18835":{},"18836":{"submorphs":[],"scripts":[],"id":"6CC79512-894B-45F6-AA0E-80567215C819","shape":{"__isSmartRef__":true,"id":18837},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco, Courier","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":18843},"_MaxTextWidth":841.6764200688274,"_MaxTextHeight":null,"textStyle":null,"layout":{"__isSmartRef__":true,"id":18844},"charsReplaced":"","lastFindLoc":697,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"infoText","savedTextString":"// MethodFinder (this)\n\n// ** MethodFinder's Scripts **\nthis.addScript(function browse(fileFragment) {\n\tfileFragment && fileFragment.browseIt()\n});\n\nthis.addScript(function reset() {\n\tthis.get('searchResultList').updateList([]);\n\tthis.get('searchResultList').setSelection(null);\n\tthis.get('searchText').setTextString('enter search term here');\n});\n\n\nthis.addScript(function search(searchString) {\n\tvar finds = [];\n\tvar re = new RegExp(searchString)\n\tvar i=0;\n\tvar time = Functions.timeToRun(function() {\n\tGlobal.classes(true).forEach(function(eaClass) {\n\t\tFunctions.own(eaClass.prototype)\n\t\t\t.forEach(function(eaMethod) {\n\t\t\t\ti++;\n\t\t\t\tif (eaMethod.match(re)){\n\t\t\t\t\tfinds.push([eaClass, eaMethod])\n\t\t\t\t}\t\n\t\t\t})\t\n\t})})\n\talert(\"search \" + i + \" methods, found \" + finds.length + \" methods in \" + time + \"ms\")\n\n\tvar items = finds.collect(function(ea) {\n\t\treturn {\n\t\t\tisListItem: true,\n\t\t\tvalue: ea,\n\t\t\tstring: ea[0].name + \": \" + ea[1],\n\t\t}\n\t})\n\tthis.get('searchResultList').updateList(items);\n});","textChunks":[{"__isSmartRef__":true,"id":18845}],"priorSelectionRange":[37,37],"_ClipMode":"hidden","prevScroll":[0,0],"_FontSize":10,"priorExtent":{"__isSmartRef__":true,"id":18847},"owner":{"__isSmartRef__":true,"id":18669},"renderContextTable":{"__isSmartRef__":true,"id":18848},"eventHandler":{"__isSmartRef__":true,"id":18849},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":841.6764200688274,"_MinTextHeight":null,"distanceToDragEvent":{"__isSmartRef__":true,"id":18850},"derivationIds":[210,"E20B9061-6128-4BD4-BE8B-4B50F9BC8EA1","FFFED58E-70A3-4945-A7C8-19E2C0754BB7","1B69878E-8E43-4E25-BAE7-3D64CAE35839","2770B759-8971-45F4-8291-6DA85EBD1155","B0E0F94A-1BB3-405B-87BB-3C1199A8EB79","8EF852C4-A375-4F84-873C-4277F9A99D52","AA10C5AE-8C29-45DA-8CA5-A0E286F80E82","4B3576CB-50DD-49DF-913C-88D34002B5DC","B9692647-A99C-4A20-9C6C-3DF722D48DDE","109C8B5F-DBAA-490E-A061-CB3004CD8634","6494496E-CBF0-4256-ACA4-D7E7B674F7CE"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"18837":{"position":{"__isSmartRef__":true,"id":18838},"_Extent":{"__isSmartRef__":true,"id":18839},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":18674},"_Fill":{"__isSmartRef__":true,"id":18840},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":18841},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":18842},"_BorderRadius":4,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"18838":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18839":{"x":845.6764200688274,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18840":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18841":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"18842":{"x":2,"y":1,"width":-2,"height":-1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18843":{"x":10,"y":200,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18844":{"resizeWidth":true,"resizeHeight":false,"moveVertical":false,"moveHorizontal":false},"18845":{"style":{"__isSmartRef__":true,"id":18846},"chunkOwner":{"__isSmartRef__":true,"id":18836},"storedString":"undefined","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18846":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18847":{"x":845.6764200688274,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18848":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"18849":{"morph":{"__isSmartRef__":true,"id":18836},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"18850":{"x":587.0068382418127,"y":-13.480732018990238,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18851":{"submorphs":[{"__isSmartRef__":true,"id":18852}],"scripts":[],"id":"20304B7E-BB38-4375-92E2-EE41853A373E","shape":{"__isSmartRef__":true,"id":18867},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":18870},"lighterFill":{"__isSmartRef__":true,"id":18882},"label":{"__isSmartRef__":true,"id":18852},"showsHalos":false,"name":"browse","partsBinMetaInfo":{"__isSmartRef__":true,"id":18891},"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[{"__isSmartRef__":true,"id":18892}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"priorExtent":{"__isSmartRef__":true,"id":18893},"renderContextTable":{"__isSmartRef__":true,"id":18894},"eventHandler":{"__isSmartRef__":true,"id":18895},"distanceToDragEvent":{"__isSmartRef__":true,"id":18896},"_Position":{"__isSmartRef__":true,"id":18897},"owner":{"__isSmartRef__":true,"id":18669},"derivationIds":[211,"72C2FBB1-F169-43CC-AC8A-C0889FCB1663","8CF07460-17AC-4EC3-83C4-E31D52336E14","BE09102D-553E-4BB6-84A6-4D428731DD1B","2D43F043-9567-4765-A19C-7C922F0DFFE7","A77836E8-3C83-4A1D-B37A-7DDBA7FE13DE","13EB973D-FF17-4A76-AD4B-13347D80B1A9","8A92D97E-6965-49F7-B2B0-8842FB9ADCDF","662F4742-3BD8-4D39-88CB-EE97BC2306D6","8F15DC2D-892E-4B0F-83CB-8E7012281BEB","57A38C48-8036-4D85-91C8-9F60FE72DACE","5F6BEEC4-A021-4428-AC2A-14F8A4F9B68C"],"_Rotation":0,"_Scale":1,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Button"},"18852":{"submorphs":[],"scripts":[],"id":"E5C3AE52-0C58-4D99-9AB3-8C826C666F5F","shape":{"__isSmartRef__":true,"id":18853},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":18859},"_MaxTextWidth":78,"_MaxTextHeight":null,"padding":{"__isSmartRef__":true,"id":18860},"_Padding":{"__isSmartRef__":true,"id":18861},"owner":{"__isSmartRef__":true,"id":18851},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textStyle":null,"textChunks":[{"__isSmartRef__":true,"id":18862}],"prevScroll":[0,0],"_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":18864},"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":18865},"eventHandler":{"__isSmartRef__":true,"id":18866},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":78,"_MinTextHeight":null,"derivationIds":[212,"054FD83F-508D-488D-A011-8769DCB647DF","834D337A-5619-4055-B103-7BDAA88CD7A9","3C85FBE2-5C85-4CCF-B86A-25E65015429B","001D6261-96E2-4ACC-880A-8540815DC8D3","90FFCC86-B995-4F2F-872F-55A8A74FC99E","766B1A00-7692-4CAB-B106-01876B4D5F77","C36FA883-C0F4-47DA-B1A9-CB8D82C1C6E4","91BD5A6B-4A46-43EA-8FA0-2A5C4EFDD1A7","B8CDD839-4085-4D54-B360-5F4DAC2DD83C","C25AEC86-A78F-4355-A843-3CACF03215A8","B28C6DEB-10EF-40BF-BA3F-3BFA8EB2B14D"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"18853":{"position":{"__isSmartRef__":true,"id":18854},"_Extent":{"__isSmartRef__":true,"id":18855},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":18856},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":18857},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":18858},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"18854":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18855":{"x":78,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18856":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18857":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"18858":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18859":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18860":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18861":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18862":{"style":{"__isSmartRef__":true,"id":18863},"morph":{"__isSmartRef__":true,"id":18852},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":18852},"storedString":"browse","__LivelyClassName__":"lively.morphic.TextChunk"},"18863":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"18864":{"x":78,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18865":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"18866":{"morph":{"__isSmartRef__":true,"id":18852},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"18867":{"position":{"__isSmartRef__":true,"id":18868},"_Extent":{"__isSmartRef__":true,"id":18869},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":18706},"_Fill":{"__isSmartRef__":true,"id":18870},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":18880},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":18881},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"18868":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18869":{"x":78,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18870":{"stops":[{"__isSmartRef__":true,"id":18871},{"__isSmartRef__":true,"id":18873},{"__isSmartRef__":true,"id":18875},{"__isSmartRef__":true,"id":18877}],"vector":{"__isSmartRef__":true,"id":18879},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"18871":{"offset":0,"color":{"__isSmartRef__":true,"id":18872}},"18872":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18873":{"offset":0.4,"color":{"__isSmartRef__":true,"id":18874}},"18874":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18875":{"offset":0.6,"color":{"__isSmartRef__":true,"id":18876}},"18876":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18877":{"offset":1,"color":{"__isSmartRef__":true,"id":18878}},"18878":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18879":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18880":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"18881":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18882":{"stops":[{"__isSmartRef__":true,"id":18883},{"__isSmartRef__":true,"id":18885},{"__isSmartRef__":true,"id":18887},{"__isSmartRef__":true,"id":18889}],"vector":{"__isSmartRef__":true,"id":18879},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"18883":{"offset":0,"color":{"__isSmartRef__":true,"id":18884}},"18884":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18885":{"offset":0.4,"color":{"__isSmartRef__":true,"id":18886}},"18886":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18887":{"offset":0.6,"color":{"__isSmartRef__":true,"id":18888}},"18888":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18889":{"offset":1,"color":{"__isSmartRef__":true,"id":18890}},"18890":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18891":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"18892":{"sourceObj":{"__isSmartRef__":true,"id":18851},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":18669},"targetMethodName":"browseMethod","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"18893":{"x":77,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18894":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"18895":{"morph":{"__isSmartRef__":true,"id":18851},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"18896":{"x":53.66458745330033,"y":-17.22490844717396,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18897":{"x":400,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18898":{"submorphs":[{"__isSmartRef__":true,"id":18899}],"scripts":[],"id":"EA9C1ED9-E73A-433D-B409-AE7A5EB061AE","shape":{"__isSmartRef__":true,"id":18914},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":18917},"lighterFill":{"__isSmartRef__":true,"id":18929},"label":{"__isSmartRef__":true,"id":18899},"name":"Button1","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":18938},"attributeConnections":[{"__isSmartRef__":true,"id":18939}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":18975},"renderContextTable":{"__isSmartRef__":true,"id":18976},"eventHandler":{"__isSmartRef__":true,"id":18977},"distanceToDragEvent":{"__isSmartRef__":true,"id":18978},"prevScroll":[0,0],"_Position":{"__isSmartRef__":true,"id":18979},"owner":{"__isSmartRef__":true,"id":18669},"layout":{"__isSmartRef__":true,"id":18980},"derivationIds":[213,"EC7B60B8-A81F-4F24-A467-A661149CA045","DF2DEFBB-9271-4448-98A1-D2137526C2C3","EBFAF287-C65D-425B-910E-D6ADC7FA9D02","7F2E684F-7CC3-4CC4-8B18-920427491622","F7E9C68E-814B-4197-9D5B-556DCF0EC4F6","3DC305C0-5A87-4ED4-B263-5E5333B947FB","A8805225-9530-403B-977E-A2929A077DD0","0BF85746-8777-4195-949A-8733B4D79B02","8E485E0B-1832-4C7C-A5B1-D14057A7F5E3","4793FFDA-8803-44C7-97D4-27DE49B5D8D0","3FDA3264-B677-48AF-95D0-46DDD933EFBF"],"_Rotation":0,"_Scale":1,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Button"},"18899":{"submorphs":[],"scripts":[],"id":"11069122-C90D-420F-8A1A-B0B7E5ADAA8B","shape":{"__isSmartRef__":true,"id":18900},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":18906},"_MaxTextWidth":157.05605605605615,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":18907},"_Padding":{"__isSmartRef__":true,"id":18908},"owner":{"__isSmartRef__":true,"id":18898},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":18909},"textChunks":[{"__isSmartRef__":true,"id":18910}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":18912},"eventHandler":{"__isSmartRef__":true,"id":18913},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":157.05605605605615,"_MinTextHeight":null,"derivationIds":[214,"D88E1591-8BE5-4F54-AEB5-71BC24E2014D","FE6955F2-3796-4030-BD54-73604562225B","0F07A5A7-E04B-412A-8D91-2AA448965A0E","634A262F-940F-4590-8DB1-0738A6DF355A","221F164E-FD6F-40ED-8E18-E055A638CE93","1320C4DD-9213-40AA-A107-5EF8EBE9B22A","098E1029-F36B-4434-B20F-A2100DCCBB9A","39D48D5A-BB94-40BA-AB93-09B3B787EC3D","27F752E4-9705-4F8B-9CC4-6E5131892552","78776F49-7628-4F29-81F1-7AFC77BDAFE0","5ACE871C-A220-4C51-A9E1-9315BE30BB0A"],"__LivelyClassName__":"lively.morphic.Text"},"18900":{"position":{"__isSmartRef__":true,"id":18901},"_Extent":{"__isSmartRef__":true,"id":18902},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":18903},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":18904},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":18905},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"18901":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18902":{"x":157.05605605605615,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18903":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18904":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"18905":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18906":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18907":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18908":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18909":{"x":157.05605605605615,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18910":{"style":{"__isSmartRef__":true,"id":18911},"chunkOwner":{"__isSmartRef__":true,"id":18899},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"search on server","__LivelyClassName__":"lively.morphic.TextChunk"},"18911":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"18912":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"18913":{"morph":{"__isSmartRef__":true,"id":18899},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"18914":{"position":{"__isSmartRef__":true,"id":18915},"_Extent":{"__isSmartRef__":true,"id":18916},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":18706},"_Fill":{"__isSmartRef__":true,"id":18917},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":18927},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":18928},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"18915":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18916":{"x":157.05605605605615,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18917":{"stops":[{"__isSmartRef__":true,"id":18918},{"__isSmartRef__":true,"id":18920},{"__isSmartRef__":true,"id":18922},{"__isSmartRef__":true,"id":18924}],"vector":{"__isSmartRef__":true,"id":18926},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"18918":{"offset":0,"color":{"__isSmartRef__":true,"id":18919}},"18919":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18920":{"offset":0.4,"color":{"__isSmartRef__":true,"id":18921}},"18921":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18922":{"offset":0.6,"color":{"__isSmartRef__":true,"id":18923}},"18923":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18924":{"offset":1,"color":{"__isSmartRef__":true,"id":18925}},"18925":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18926":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18927":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"18928":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18929":{"stops":[{"__isSmartRef__":true,"id":18930},{"__isSmartRef__":true,"id":18932},{"__isSmartRef__":true,"id":18934},{"__isSmartRef__":true,"id":18936}],"vector":{"__isSmartRef__":true,"id":18926},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"18930":{"offset":0,"color":{"__isSmartRef__":true,"id":18931}},"18931":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18932":{"offset":0.4,"color":{"__isSmartRef__":true,"id":18933}},"18933":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18934":{"offset":0.6,"color":{"__isSmartRef__":true,"id":18935}},"18935":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18936":{"offset":1,"color":{"__isSmartRef__":true,"id":18937}},"18937":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18938":{"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"},"18939":{"sourceObj":{"__isSmartRef__":true,"id":18898},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":18669},"targetMethodName":"searchOnServer","visualConnector":{"__isSmartRef__":true,"id":18940},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"18940":{"submorphs":[{"__isSmartRef__":true,"id":18941}],"scripts":[],"shape":{"__isSmartRef__":true,"id":18956},"id":865,"renderContextTable":{"__isSmartRef__":true,"id":18963},"eventHandler":{"__isSmartRef__":true,"id":18964},"__layered_droppingEnabled__":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":18965},{"__isSmartRef__":true,"id":18966}],"con":{"__isSmartRef__":true,"id":18939},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":18967},"__LivelyClassName__":"lively.morphic.Path"},"18941":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":18942},"id":866,"renderContextTable":{"__isSmartRef__":true,"id":18953},"eventHandler":{"__isSmartRef__":true,"id":18954},"__layered_droppingEnabled__":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":18955},"owner":{"__isSmartRef__":true,"id":18940},"_Rotation":-3.113822016996372,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"18942":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":18943},{"__isSmartRef__":true,"id":18944},{"__isSmartRef__":true,"id":18945},{"__isSmartRef__":true,"id":18946}],"renderContextTable":{"__isSmartRef__":true,"id":18947},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":18948},"_Extent":{"__isSmartRef__":true,"id":18949},"_Padding":{"__isSmartRef__":true,"id":18950},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":18951},"_Fill":{"__isSmartRef__":true,"id":18952},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"18943":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"18944":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"18945":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"18946":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"18947":{"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"},"18948":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18949":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18950":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18951":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18952":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18953":{"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"},"18954":{"morph":{"__isSmartRef__":true,"id":18941},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"18955":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18956":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":18957},{"__isSmartRef__":true,"id":18958}],"renderContextTable":{"__isSmartRef__":true,"id":18959},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":18960},"_Extent":{"__isSmartRef__":true,"id":18961},"_Padding":{"__isSmartRef__":true,"id":18962},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":18951},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"18957":{"isAbsolute":true,"x":719.9999999999999,"y":20,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"18958":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"18959":{"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"},"18960":{"x":-1,"y":-1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18961":{"x":721,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18962":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18963":{"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"},"18964":{"morph":{"__isSmartRef__":true,"id":18940},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"18965":{"morph":{"__isSmartRef__":true,"id":18940},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"18966":{"morph":{"__isSmartRef__":true,"id":18940},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":18941},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"18967":{"morphMenuItems":{"__isSmartRef__":true,"id":18968}},"18968":{"varMapping":{"__isSmartRef__":true,"id":18969},"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":18974},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"18969":{"this":{"__isSmartRef__":true,"id":18940},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":18970}},"18970":{"$super":{"__isSmartRef__":true,"id":18971}},"18971":{"varMapping":{"__isSmartRef__":true,"id":18972},"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":18973},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"18972":{"obj":{"__isSmartRef__":true,"id":18940},"name":"morphMenuItems"},"18973":{},"18974":{},"18975":{"x":159.05805805805812,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18976":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"18977":{"morph":{"__isSmartRef__":true,"id":18898},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"18978":{"x":111.36105352154709,"y":-11.352025158627953,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18979":{"x":490,"y":19,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18980":{"moveHorizontal":false},"18981":{"submorphs":[{"__isSmartRef__":true,"id":18982}],"scripts":[],"id":"5C227915-6E48-4E41-8FDE-438AA1606EA3","shape":{"__isSmartRef__":true,"id":18997},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":19012},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":19000},"lighterFill":{"__isSmartRef__":true,"id":19013},"label":{"__isSmartRef__":true,"id":18982},"name":"ScriptableButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":19022},"attributeConnections":[{"__isSmartRef__":true,"id":19023}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":19024},"renderContextTable":{"__isSmartRef__":true,"id":19025},"eventHandler":{"__isSmartRef__":true,"id":19026},"derivationIds":[2588,"8DA01C71-0A84-4A5A-8027-121F4684BB04","2F4904A6-2C6F-4A39-8C69-7C1E943F91B4","7F6F4EE1-856E-477B-8578-D99400031DBA","374C68BB-3D86-4DA0-9616-2B5320585D0E","23336C67-2F65-4D9F-9380-304876DC628F","8E57191F-E38B-4526-95AA-8D530FAC8156"],"owner":{"__isSmartRef__":true,"id":18669},"distanceToDragEvent":{"__isSmartRef__":true,"id":19027},"_Rotation":0,"_Scale":1.002003004005006,"layout":{"__isSmartRef__":true,"id":19028},"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":19029},"__LivelyClassName__":"lively.morphic.Button"},"18982":{"submorphs":[],"scripts":[],"id":"F083B8AF-DDC8-4753-BEC6-F01D1A9F2CDD","shape":{"__isSmartRef__":true,"id":18983},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":18989},"_MaxTextWidth":20,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":18990},"_Padding":{"__isSmartRef__":true,"id":18991},"owner":{"__isSmartRef__":true,"id":18981},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":18992},"textChunks":[{"__isSmartRef__":true,"id":18993}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":18995},"eventHandler":{"__isSmartRef__":true,"id":18996},"_HandStyle":"default","_PointerEvents":"none","derivationIds":[2589,"784F6E71-6365-4235-A0B6-69F992BB532B","54335D65-DB12-4322-84D0-BA8B85E7ED2F","2EF9D95D-4705-44B3-8D3C-446FEDC6346B","07108773-133C-4F4A-A740-33175849E789","E58C564E-D8F3-481A-821D-447F7C7556D8","D92DDD8E-7733-4909-A5E9-049EC55E90C0"],"_MinTextWidth":20,"_MinTextHeight":null,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Text"},"18983":{"position":{"__isSmartRef__":true,"id":18984},"_Extent":{"__isSmartRef__":true,"id":18985},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":18986},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":18987},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":18988},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"18984":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18985":{"x":20,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"18986":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"18987":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"18988":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18989":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18990":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18991":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"18992":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18993":{"style":{"__isSmartRef__":true,"id":18994},"chunkOwner":{"__isSmartRef__":true,"id":18982},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"x","__LivelyClassName__":"lively.morphic.TextChunk"},"18994":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"18995":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"18996":{"morph":{"__isSmartRef__":true,"id":18982},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"18997":{"position":{"__isSmartRef__":true,"id":18998},"_Extent":{"__isSmartRef__":true,"id":18999},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":18706},"_Fill":{"__isSmartRef__":true,"id":19000},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":19010},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":19011},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"18998":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18999":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19000":{"stops":[{"__isSmartRef__":true,"id":19001},{"__isSmartRef__":true,"id":19003},{"__isSmartRef__":true,"id":19005},{"__isSmartRef__":true,"id":19007}],"vector":{"__isSmartRef__":true,"id":19009},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"19001":{"offset":0,"color":{"__isSmartRef__":true,"id":19002}},"19002":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19003":{"offset":0.4,"color":{"__isSmartRef__":true,"id":19004}},"19004":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19005":{"offset":0.6,"color":{"__isSmartRef__":true,"id":19006}},"19006":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19007":{"offset":1,"color":{"__isSmartRef__":true,"id":19008}},"19008":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19009":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19010":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19011":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19012":{"x":836.8179038849663,"y":20.973229619022163,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19013":{"stops":[{"__isSmartRef__":true,"id":19014},{"__isSmartRef__":true,"id":19016},{"__isSmartRef__":true,"id":19018},{"__isSmartRef__":true,"id":19020}],"vector":{"__isSmartRef__":true,"id":19009},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"19014":{"offset":0,"color":{"__isSmartRef__":true,"id":19015}},"19015":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19016":{"offset":0.4,"color":{"__isSmartRef__":true,"id":19017}},"19017":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19018":{"offset":0.6,"color":{"__isSmartRef__":true,"id":19019}},"19019":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19020":{"offset":1,"color":{"__isSmartRef__":true,"id":19021}},"19021":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19022":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"ScriptableButton","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"19023":{"sourceObj":{"__isSmartRef__":true,"id":18981},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":18981},"targetMethodName":"onFire","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"19024":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19025":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"19026":{"morph":{"__isSmartRef__":true,"id":18981},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19027":{"x":34.37010312407733,"y":-11.180760580820959,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19028":{"moveHorizontal":true},"19029":{"onFire":{"__isSmartRef__":true,"id":19030}},"19030":{"varMapping":{"__isSmartRef__":true,"id":19031},"source":"function onFire() {\n var tab = this.owner.owner.tab\n var toolPane = this.get('ToolTabPane')\n toolPane.tabBar.removeTab(tab)\n if(toolPane.tabBar.getTabs().length == 0) {\n if (toolPane.owner instanceof lively.morphic.Window)\n toolPane.owner.remove();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":19032},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19031":{"this":{"__isSmartRef__":true,"id":18981}},"19032":{"timestamp":{"__isSmartRef__":true,"id":19033},"user":"undefined","tags":[]},"19033":{"isSerializedDate":true,"string":"Fri Feb 03 2012 16:32:27 GMT+0100 (CET)"},"19034":{"position":{"__isSmartRef__":true,"id":19035},"_Extent":{"__isSmartRef__":true,"id":19036},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":19037},"_Fill":{"__isSmartRef__":true,"id":19038},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":19039},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":19040},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19035":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19036":{"x":872.0934621532042,"y":440.7147151397129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19037":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19038":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19039":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19040":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19041":{"partsSpaceName":"PartsBin/Dialogs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"requiredModules":["lively.ide"],"partName":"MethodFinderPane","comment":"Pane for new ToolTabs","changes":[{"__isSmartRef__":true,"id":19042},{"__isSmartRef__":true,"id":19044},{"__isSmartRef__":true,"id":19046},{"__isSmartRef__":true,"id":19048},{"__isSmartRef__":true,"id":19050},{"__isSmartRef__":true,"id":19052},{"__isSmartRef__":true,"id":19054},{"__isSmartRef__":true,"id":19056}],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"revisionOnLoad":148699,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"19042":{"date":{"__isSmartRef__":true,"id":19043},"author":"jenslincke","message":"- fixed browse Global definitions","id":"7DE86114-1D7E-4551-BC8F-E12A980A8EE9"},"19043":{"isSerializedDate":true,"string":"Thu Feb 09 2012 11:27:56 GMT+0100 (CET)"},"19044":{"date":{"__isSmartRef__":true,"id":19045},"author":"athomschke","message":"adjusted close button","id":"9EBA6297-7908-4B02-81F5-2B86B2E4B73D"},"19045":{"isSerializedDate":true,"string":"Fri Feb 03 2012 16:57:09 GMT+0100 (CET)"},"19046":{"date":{"__isSmartRef__":true,"id":19047},"author":"undefined","message":"","id":"47289007-8CB3-4B03-B9D1-3A8717E85DCB"},"19047":{"isSerializedDate":true,"string":"Fri Feb 03 2012 16:36:31 GMT+0100 (CET)"},"19048":{"date":{"__isSmartRef__":true,"id":19049},"author":"undefined","message":"- close button behavior","id":"0AD4C501-1DC4-4DD3-AFDC-A46F4ACD2CE1"},"19049":{"isSerializedDate":true,"string":"Fri Feb 03 2012 16:32:48 GMT+0100 (CET)"},"19050":{"date":{"__isSmartRef__":true,"id":19051},"author":"undefined","message":"","id":"CA16FEC1-49E5-4310-BDB6-F744F413F7EF"},"19051":{"isSerializedDate":true,"string":"Fri Feb 03 2012 15:48:35 GMT+0100 (CET)"},"19052":{"date":{"__isSmartRef__":true,"id":19053},"author":"undefined","message":"","id":"73F39208-58C9-4040-9948-516A104E5049"},"19053":{"isSerializedDate":true,"string":"Fri Feb 03 2012 15:42:18 GMT+0100 (CET)"},"19054":{"date":{"__isSmartRef__":true,"id":19055},"author":"undefined","message":"","id":"7A744B14-C057-4944-AFDD-CC78A910B35F"},"19055":{"isSerializedDate":true,"string":"Fri Feb 03 2012 15:40:30 GMT+0100 (CET)"},"19056":{"date":{"__isSmartRef__":true,"id":19057},"author":"undefined","message":"some style adjustments","id":"DA3EFD12-8A45-454C-993B-DB12847BEF94"},"19057":{"isSerializedDate":true,"string":"Mon Mar 26 2012 13:16:30 GMT+0200 (CEST)"},"19058":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"19059":{"x":872.0934621532042,"y":440.7147151397129,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19060":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"19061":{"morph":{"__isSmartRef__":true,"id":18669},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19062":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19063":{"x":583.4236186029176,"y":-13.858684727694055,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19064":{"search":{"__isSmartRef__":true,"id":19065},"browse":{"__isSmartRef__":true,"id":19069},"reset":{"__isSmartRef__":true,"id":19073},"setSearch":{"__isSmartRef__":true,"id":19077},"emphasizeStringIn":{"__isSmartRef__":true,"id":19080},"withAllMethodsDo":{"__isSmartRef__":true,"id":19083},"itemsFromFinds":{"__isSmartRef__":true,"id":19087},"browseMethod":{"__isSmartRef__":true,"id":19091},"openMethodInSystemBrowser":{"__isSmartRef__":true,"id":19095},"findSourceModule":{"__isSmartRef__":true,"id":19099},"searchOnServer":{"__isSmartRef__":true,"id":19103},"showLayerDefinition":{"__isSmartRef__":true,"id":19107},"targetFunction":{"__isSmartRef__":true,"id":1292}},"19065":{"varMapping":{"__isSmartRef__":true,"id":19066},"source":"function search(searchString) { \n this.get('searchResultList').updateList([]);\n this.get('sourceText').setTextString('');\n if (!searchString || (searchString.length < 2)) {\n this.get('sourceText').setTextString('\"' + searchString + '\" is to short');\n return;\n }\n var finds = [];\n var i=0;\n var matches = function(s) {\n return s.include(searchString)\n } \n\n // var re = new RegExp(searchString)\n var time = Functions.timeToRun(function() {\n this.withAllMethodsDo(function(object, eaMethod, type, optParent) {\n i++;\n var name;\n if (!object) return;\n\n if (object.constructor.prototype == object)\n name = object.constructor.name\n\n if (object.name) name = object.name;\n if (object.namespaceIdentifier)\n name = object.namespaceIdentifier\n\n if (object.constructor.prototype != object)\n name = name + \"(object)\"\n\n if ((object.constructor.prototype != object) && (object instanceof Morph))\n name = object.name + \"(\" + object.id + \")\"\n\n if (object === Global)\n name = \" \";\n\n if (type == \"layered\") {\n \n name = object._layered_object.constructor.type \n + \" (\" + optParent.name + \")\" \n \n }\n\n var string = name + \": \" + eaMethod; \n var item = {object: object, method: eaMethod, string: string, type: type};\n if (type == \"layered\") {\n item.layerName = optParent.name\n }\n\n if (matches(eaMethod)) {\n item.search= 'implementor',\n finds.push(item)\n return;\n } \n\n var f = object[eaMethod];\n if (!f || !f.getOriginal) return;\n var source = String(f.getOriginal())\n if (matches(source)){\n item.search = 'sender'\n finds.push(item)\n } \n })\n }.bind(this))\n this.get('sourceText').setTextString(\"search \" + i + \" methods, found \" \n + finds.length + \" methods in \" + time + \"ms\");\n var items = this.itemsFromFinds(finds)\n this.get('searchResultList').updateList(items);\n}","funcProperties":{"__isSmartRef__":true,"id":19067},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19066":{"this":{"__isSmartRef__":true,"id":18669}},"19067":{"timestamp":{"__isSmartRef__":true,"id":19068},"user":"undefined","tags":[]},"19068":{"isSerializedDate":true,"string":"Thu Jan 19 2012 14:46:43 GMT+0100 (CET)"},"19069":{"varMapping":{"__isSmartRef__":true,"id":19070},"source":"function browse(methodItem) {\n // methodItem = this.get('searchResultList').selection\n if (! methodItem) return;\n\n // deal with non method findings....\n if (methodItem.type == 'layer') {\n this.showLayerDefinition(methodItem)\n return\n } \n\n // methodItem = this.get('searchResultList').selection\n var methodName = methodItem.method;\n var object = methodItem.object;\n var orgFunc = object[methodName];\n\n if (!orgFunc || !orgFunc.getOriginal) {\n this.get('sourceText').setTextString('no source');\n return\n }\n orgFunc = orgFunc.getOriginal()\n \n this.targetFunction = orgFunc;\n this.targetObject = object;\n\n var source = \"// changes here only affect runtime\\n\", \n tab = lively.morphic.Text.prototype.tab;\n if (methodItem.layerName) {\n var partialMethod = object[methodName];\n source += methodItem.layerName + \".refineClass(\" + \n object._layered_object.constructor.type + \", {\\n\" + \n tab + methodName + \": \" + partialMethod +\"\\n})\";\n } else if (orgFunc.belongsToTrait) {\n source += \"Trait('\" + orgFunc.belongsToTrait.name + \"', {\\n\" \n + tab + methodName + \": \" + orgFunc +\"\\n})\";\n } else if (orgFunc.declaredClass) {\n source += orgFunc.declaredClass + \".addMethods({\\n\" \n + tab + methodName + \": \" \n + orgFunc + \"\\n});\"\n } else if(methodItem.type == 'extend') {\n // perhaps it is a an class object\n source += \"Object.extend(\" + (object.type || object.namespaceIdentifier) \n + \",{\\n\" + tab + methodName + \": \" \n + orgFunc + \"\\n});\"\n } else if(object.isMorph && (object.constructor.prototype !== object) ) {\n // display as script\n source = \"this.addScript(\" + orgFunc + \");\"\n } else if(object === Global) {\n // display as script\n source += \"Object.extend(Global, {\\n\" + tab + methodName + \": \" +\n orgFunc + \"\\n});\"\n }\n\n this.get('sourceText').setTextString(source)\n\n module('lively.ide.SyntaxHighlighting').load(true);\n this.get('sourceText').highlightJavaScriptSyntax();\n\n var searchText = this.get('searchText').textString;\n var m = searchText.match(/[^a-zA-Z0-9_\\.]/g)\n if(m) {\n m.forEach(function (each) {\n var escapedChar = '\\\\' + each;\n var position = searchText.search(\n new RegExp('[^\\\\\\\\]' + '\\\\' + each)) + 1;\n searchText = searchText.substring(0,position) \n + escapedChar + searchText.substr(position + 1);\n });\n }\n this.get('sourceText').emphasizeRegex(new RegExp(searchText, 'g'), {color: Color.red});\n\n var info = '' + this.findSourceModule(orgFunc);\n\n if (orgFunc.belongsToTrait)\n info += ' (' + orgFunc.belongsToTrait + \" in \" + orgFunc.belongsToTrait.sourceModule +\")\";\n\n this.get('infoText').setTextString(info)\n}","funcProperties":{"__isSmartRef__":true,"id":19071},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19070":{"this":{"__isSmartRef__":true,"id":18669}},"19071":{"timestamp":{"__isSmartRef__":true,"id":19072},"user":"undefined","tags":[]},"19072":{"isSerializedDate":true,"string":"Thu Feb 02 2012 13:55:34 GMT+0100 (CET)"},"19073":{"varMapping":{"__isSmartRef__":true,"id":19074},"source":"function reset() {\n this.doNotSerialize = ['targetFunction', 'targetObject']\n this.get('searchResultList').updateList([]);\n this.get('searchResultList').setSelection(null);\n this.get('searchText').setTextString('enter method name here');\n this.get('sourceText').setTextString('no code');\n this.get('infoText').setTextString('');\n this.targetFunction = null;\n this.targetObject = null;\n}","funcProperties":{"__isSmartRef__":true,"id":19075},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19074":{"this":{"__isSmartRef__":true,"id":18669}},"19075":{"timestamp":{"__isSmartRef__":true,"id":19076},"user":"undefined","tags":[]},"19076":{"isSerializedDate":true,"string":"Fri Feb 03 2012 15:30:14 GMT+0100 (CET)"},"19077":{"varMapping":{"__isSmartRef__":true,"id":19078},"source":"function setSearch(searchString) {\n this.get('searchText').setTextString(searchString);\n this.search(searchString)\n var list = this.get('searchResultList').getList();\n if (list.length > 0) this.get('searchResultList').setSelection(list[0])\n}","funcProperties":{"__isSmartRef__":true,"id":19079},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19078":{"this":{"__isSmartRef__":true,"id":18669}},"19079":{},"19080":{"varMapping":{"__isSmartRef__":true,"id":19081},"source":"function emphasizeStringIn(morph, string, style) {\n var m;\n var re = new RegExp(string, \"g\");\n while(m = re.exec(morph.textString)) {\n var from = m.index,\n to = m.index + m[0].length;\n morph.emphasize(style, from, to)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":19082},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19081":{"this":{"__isSmartRef__":true,"id":18669}},"19082":{},"19083":{"varMapping":{"__isSmartRef__":true,"id":19084},"source":"function withAllMethodsDo(func) {\n var visited = [];\n\n cop.allLayers().forEach(function(layer) {\n func(eval(layer.namespaceName), layer.name, 'layer')\n layer.layeredObjects().forEach(function(obj) {\n var layerDef = cop.getLayerDefinitionForObject(layer, obj)\n Functions.own(layerDef).forEach(function(eaMethod) {\n func(layerDef, eaMethod, 'layered', layer)\n });\n });\n }); \n\n\n Functions.own(Global).forEach(function(eaMethod) {\n func(Global, eaMethod, 'global')\n }); \n\n this.world().withAllSubmorphsDo(function(ea) {\n Functions.own(ea).forEach(function(eaMethod) {\n func(ea, eaMethod, 'script')\n }); \n });\n\n Global.subNamespaces(true).forEach(function(ea) {\n Functions.own(ea).forEach(function(eaMethod) {\n func(ea, eaMethod, 'extend')\n }); \n });\n\n Global.classes(true).uniq().forEach(function(eaClass) {\n Functions.own(eaClass).forEach(function(eaMethod) {\n func(eaClass, eaMethod, 'extend')\n }); \n\n Functions.own(eaClass.prototype).forEach(function(eaMethod) {\n func(eaClass.prototype, eaMethod, 'class')\n }) \n })\n}","funcProperties":{"__isSmartRef__":true,"id":19085},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19084":{"this":{"__isSmartRef__":true,"id":18669}},"19085":{"timestamp":{"__isSmartRef__":true,"id":19086},"user":"undefined","tags":[]},"19086":{"isSerializedDate":true,"string":"Thu Jan 19 2012 14:41:57 GMT+0100 (CET)"},"19087":{"varMapping":{"__isSmartRef__":true,"id":19088},"source":"function itemsFromFinds(finds) {\n var searchString = this.get('searchText').textString;\n var items = finds.collect(function(ea) {\n var pref = \"\" + ea.type + \" \";\n if (ea.search == \"sender\") pref += \"full: \"\n if (ea.search == \"implementor\") pref += \"name: \"\n var string = pref + ea.string;\n var func = ea.object[ea.method];\n if (func.belongsToTrait) \n string += ' / ' + func.belongsToTrait + '' \n\n var result = {\n isListItem: true,\n value: ea,\n string: string,\n doNotSerialize: ['value'],\n priority: {implementor: \"B\", sender: \"C\"}[ea.search] || \"D\",\n };\n if (ea.method == searchString) result.priority = \"A\"\n return result\n })\n items = items.sortBy(function(ea) {return ea.priority + ea.string})\n return items\n}","funcProperties":{"__isSmartRef__":true,"id":19089},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19088":{"this":{"__isSmartRef__":true,"id":18669}},"19089":{"timestamp":{"__isSmartRef__":true,"id":19090},"user":"undefined","tags":[]},"19090":{"isSerializedDate":true,"string":"Fri Feb 03 2012 15:31:52 GMT+0100 (CET)"},"19091":{"varMapping":{"__isSmartRef__":true,"id":19092},"source":"function browseMethod() {\n alertOK('browseMethod')\n var methodItem = this.get('searchResultList').selection;\n if (methodItem.type == 'layer') {\n var layer = methodItem.object[methodItem.method];\n this.openMethodInSystemBrowser(methodItem.method, \n undefined, layer.sourceModule);\n return\n }\n\n if (!this.targetFunction) return;\n var methodName = this.targetFunction.methodName || this.targetFunction.displayName; \n if(this.targetFunction.declaredClass) {\n var classObj = eval(this.targetFunction.declaredClass)\n this.openMethodInSystemBrowser(classObj.type, methodName);\n return;\n }\n if(this.targetFunction.belongsToTrait) {\n this.openMethodInSystemBrowser(this.targetFunction.belongsToTrait.name, methodName);\n return;\n }\n if(Class.isClass(this.targetObject)) {\n this.openMethodInSystemBrowser(this.targetObject.type, methodName);\n return;\n }\n if(this.targetObject.namespaceIdentifier) {\n this.openMethodInSystemBrowser(this.targetObject.namespaceIdentifier, methodName);\n return;\n }\n if(this.targetObject instanceof lively.morphic.Morph) {\n var editor = this.world().openObjectEditorFor(this.targetObject);\n editor.align(editor.bounds().center(), this.world().visibleBounds().center());\n return;\n }\n if (Class.isClass(this.targetFunction)) {\n // constructor\n this.openMethodInSystemBrowser(this.targetFunction.displayName);\n return;\n }\n \n alertOK('not implemented yet for ' + this.targetFunction)\n}","funcProperties":{"__isSmartRef__":true,"id":19093},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19092":{"this":{"__isSmartRef__":true,"id":18669}},"19093":{"timestamp":{"__isSmartRef__":true,"id":19094},"user":"undefined","tags":[]},"19094":{"isSerializedDate":true,"string":"Thu Jan 19 2012 16:54:12 GMT+0100 (CET)"},"19095":{"varMapping":{"__isSmartRef__":true,"id":19096},"source":"function openMethodInSystemBrowser(objectName, methodName, optSourceModule) {\n if (objectName)\n objectName = objectName.replace(/^Global\\./,\"\");\n // alertOK(\"browse \" + objectName + \":\" + methodName)\n // objectName = 'SelectionMorphTrait', methodName = 'onDrag'\n var sourceModule = optSourceModule ||\n this.findSourceModule(this.targetFunction);\n if (!sourceModule) \n alert('could not browse, since no source module found!')\n var uri = new URL(sourceModule.uri()),\n relative = uri.relativePathFrom(new URL(Config.codeBase)),\n moduleNode = lively.ide.startSourceControl().addModule(relative),\n rootNode = moduleNode.ast();\n\n var fileFragments = rootNode.subElements(10).select(function(ea) {\n var path = ea.getOwnerNamePath()\n if (objectName == \"Global\")\n return path.include(methodName);\n return path.include(objectName) && (!methodName || path.include(methodName)) \n });\n \n\n\n // alertOK(\"found following places to browse: \" + fileFragments)\n if (fileFragments.length > 0) {\n fileFragments[0].browseIt()\n } else {\n alert(\"browse failed. Nothing found for \" + objectName + \">>\" + methodName + \" in \" + sourceModule.uri());\n rootNode.browseIt();\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":19097},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19096":{"this":{"__isSmartRef__":true,"id":18669}},"19097":{"timestamp":{"__isSmartRef__":true,"id":19098},"user":"jenslincke","tags":[]},"19098":{"isSerializedDate":true,"string":"Thu Feb 09 2012 11:27:23 GMT+0100 (CET)"},"19099":{"varMapping":{"__isSmartRef__":true,"id":19100},"source":"function findSourceModule(funcObj) {\n if (this.targetFunction.belongsToTrait) \n return this.targetFunction.belongsToTrait.sourceModule\n if (funcObj.sourceModule)\n return funcObj.sourceModule;\n // look in the class\n if (!funcObj.sourceModule && funcObj.declaredClass) {\n var classObj = eval(funcObj.declaredClass)\n return classObj.sourceModule\n }\n}","funcProperties":{"__isSmartRef__":true,"id":19101},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19100":{"this":{"__isSmartRef__":true,"id":18669}},"19101":{"user":"jenslincke","timestamp":{"__isSmartRef__":true,"id":19102}},"19102":{"isSerializedDate":true,"string":"Fri Nov 04 2011 15:27:13 GMT+0100 (CET)"},"19103":{"varMapping":{"__isSmartRef__":true,"id":19104},"source":"function searchOnServer() {\n var serverSearch = this.world().openPartItem('ServerSearch', 'PartsBin/Tools'); \n serverSearch.setSearch(this.get('searchText').textString)\n}","funcProperties":{"__isSmartRef__":true,"id":19105},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19104":{"this":{"__isSmartRef__":true,"id":18669}},"19105":{"timestamp":{"__isSmartRef__":true,"id":19106},"user":"jenslincke","categories":[]},"19106":{"isSerializedDate":true,"string":"Fri Nov 18 2011 11:40:23 GMT+0100 (CET)"},"19107":{"varMapping":{"__isSmartRef__":true,"id":19108},"source":"function showLayerDefinition(methodItem) {\n var info = \"layer definition\" \n var source = \"TODO: print layer def here...\"\n this.get('infoText').setTextString(info)\n this.get('sourceText').setTextString(source)\n}","funcProperties":{"__isSmartRef__":true,"id":19109},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19108":{"this":{"__isSmartRef__":true,"id":18669}},"19109":{"timestamp":{"__isSmartRef__":true,"id":19110},"user":"undefined","tags":[]},"19110":{"isSerializedDate":true,"string":"Thu Jan 19 2012 15:30:43 GMT+0100 (CET)"},"19111":{"_Position":{"__isSmartRef__":true,"id":19112},"renderContextTable":{"__isSmartRef__":true,"id":19113},"_Extent":{"__isSmartRef__":true,"id":19036},"_Padding":{"__isSmartRef__":true,"id":19114},"_Fill":{"__isSmartRef__":true,"id":19115},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":18665},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"19112":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19113":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19114":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19115":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19116":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"19117":{"morph":{"__isSmartRef__":true,"id":18668},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"19118":{"x":872.0934621532042,"y":440.7147151397129,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19119":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"19120":{"x":0,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19121":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19122":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19123":{"_Position":{"__isSmartRef__":true,"id":19124},"renderContextTable":{"__isSmartRef__":true,"id":19125},"_Extent":{"__isSmartRef__":true,"id":19126},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":19127},"_Fill":{"__isSmartRef__":true,"id":19128},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":19129},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19124":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19125":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19126":{"x":872.0934621532042,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19127":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19128":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19129":{"r":0.8,"g":0.8,"b":0.8,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19130":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"19131":{"morph":{"__isSmartRef__":true,"id":18606},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19132":{"x":872.0934621532042,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19133":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19134":{"resizeWidth":true,"adjustForNewBounds":true},"19135":{"_Position":{"__isSmartRef__":true,"id":19136},"renderContextTable":{"__isSmartRef__":true,"id":19137},"_Extent":{"__isSmartRef__":true,"id":19138},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":19139},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":19140},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19136":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19137":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19138":{"x":872.0934621532042,"y":470.7147151397129,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19139":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19140":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19141":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"19142":{"morph":{"__isSmartRef__":true,"id":18605},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19143":{"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.TabStrategyTop"},"19144":{"x":872.0934621532042,"y":470.7147151397129,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19145":{"x":0,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19146":{"x":581.0853111335786,"y":-13.240456448482064,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19147":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"19148":{"submorphs":[{"__isSmartRef__":true,"id":18605},{"__isSmartRef__":true,"id":19149},{"__isSmartRef__":true,"id":19280},{"__isSmartRef__":true,"id":19333}],"scripts":[],"shape":{"__isSmartRef__":true,"id":19368},"derivationIds":[null],"id":"CA02E52A-7E32-45C7-808A-CD89BA9DE293","renderContextTable":{"__isSmartRef__":true,"id":19372},"eventHandler":{"__isSmartRef__":true,"id":19373},"_ClipMode":"visible","droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":19374},"LK2":true,"_Position":{"__isSmartRef__":true,"id":19375},"priorExtent":{"__isSmartRef__":true,"id":19376},"targetMorph":{"__isSmartRef__":true,"id":18605},"reframeHandle":{"__isSmartRef__":true,"id":19333},"titleBar":{"__isSmartRef__":true,"id":19149},"contentOffset":{"__isSmartRef__":true,"id":19145},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"owner":null,"partsBinMetaInfo":{"__isSmartRef__":true,"id":18432},"name":"ToolTabPaneWindow","minExtent":{"__isSmartRef__":true,"id":19377},"_Rotation":0,"_Scale":1,"highlighted":true,"state":"shutdown","__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"19149":{"submorphs":[{"__isSmartRef__":true,"id":19150},{"__isSmartRef__":true,"id":19164},{"__isSmartRef__":true,"id":19198},{"__isSmartRef__":true,"id":19231}],"scripts":[],"shape":{"__isSmartRef__":true,"id":19265},"derivationIds":[null],"id":"EEEC2D1B-55FE-4214-97C0-20664A4292F8","renderContextTable":{"__isSmartRef__":true,"id":19275},"eventHandler":{"__isSmartRef__":true,"id":19276},"_ClipMode":"visible","droppingEnabled":false,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":19277},"_Position":{"__isSmartRef__":true,"id":19278},"windowMorph":{"__isSmartRef__":true,"id":19148},"label":{"__isSmartRef__":true,"id":19150},"closeButton":{"__isSmartRef__":true,"id":19164},"menuButton":{"__isSmartRef__":true,"id":19198},"collapseButton":{"__isSmartRef__":true,"id":19231},"priorExtent":{"__isSmartRef__":true,"id":19279},"owner":{"__isSmartRef__":true,"id":19148},"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets"},"19150":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":19151},"derivationIds":[null],"id":"CC66EC4A-55F6-49AD-9943-2A5974CE9AA6","renderContextTable":{"__isSmartRef__":true,"id":19156},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":19157}],"eventHandler":{"__isSmartRef__":true,"id":19159},"_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":19160},"_TextColor":{"__isSmartRef__":true,"id":19161},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":19149},"_Position":{"__isSmartRef__":true,"id":19162},"priorExtent":{"__isSmartRef__":true,"id":19163},"_MaxTextWidth":814.9959939919901,"_MinTextWidth":814.9959939919901,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"19151":{"_Position":{"__isSmartRef__":true,"id":19152},"renderContextTable":{"__isSmartRef__":true,"id":19153},"_Extent":{"__isSmartRef__":true,"id":19154},"_Padding":{"__isSmartRef__":true,"id":19155},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"_BorderRadius":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"19152":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19153":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19154":{"x":814.9959939919901,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19155":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19156":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"19157":{"style":{"__isSmartRef__":true,"id":19158},"chunkOwner":{"__isSmartRef__":true,"id":19150},"storedString":"ToolTabPane","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"19158":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"19159":{"morph":{"__isSmartRef__":true,"id":19150},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"19160":{"resizeWidth":true},"19161":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19162":{"x":20,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19163":{"x":814.9959939919901,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19164":{"submorphs":[{"__isSmartRef__":true,"id":19165}],"scripts":[],"shape":{"__isSmartRef__":true,"id":19175},"derivationIds":[null],"id":"C458968E-6FDF-4248-B576-2032D9DEC5EE","renderContextTable":{"__isSmartRef__":true,"id":19180},"eventHandler":{"__isSmartRef__":true,"id":19181},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":19182},"priorExtent":{"__isSmartRef__":true,"id":19183},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":18636},"lighterFill":{"__isSmartRef__":true,"id":19184},"label":{"__isSmartRef__":true,"id":19165},"owner":{"__isSmartRef__":true,"id":19149},"layout":{"__isSmartRef__":true,"id":19193},"attributeConnections":[{"__isSmartRef__":true,"id":19194},{"__isSmartRef__":true,"id":19196}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"19165":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":19166},"derivationIds":[null],"id":"C04B5E0C-81D1-460E-9FB9-C424FF7E0564","renderContextTable":{"__isSmartRef__":true,"id":19170},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":19171}],"eventHandler":{"__isSmartRef__":true,"id":19173},"_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":19164},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":19174},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"19166":{"_Position":{"__isSmartRef__":true,"id":19167},"renderContextTable":{"__isSmartRef__":true,"id":19168},"_Extent":{"__isSmartRef__":true,"id":19169},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"19167":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19168":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19169":{"x":15,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19170":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"19171":{"style":{"__isSmartRef__":true,"id":19172},"chunkOwner":{"__isSmartRef__":true,"id":19165},"storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"19172":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"19173":{"morph":{"__isSmartRef__":true,"id":19165},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"19174":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19175":{"_Position":{"__isSmartRef__":true,"id":19176},"renderContextTable":{"__isSmartRef__":true,"id":19177},"_Extent":{"__isSmartRef__":true,"id":19178},"_Padding":{"__isSmartRef__":true,"id":19179},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":18635},"_Fill":{"__isSmartRef__":true,"id":18636},"_StrokeOpacity":0,"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"19176":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19177":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19178":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19179":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19180":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"19181":{"morph":{"__isSmartRef__":true,"id":19164},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"19182":{"x":853.9959939919901,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19183":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19184":{"stops":[{"__isSmartRef__":true,"id":19185},{"__isSmartRef__":true,"id":19187},{"__isSmartRef__":true,"id":19189},{"__isSmartRef__":true,"id":19191}],"vector":{"__isSmartRef__":true,"id":797},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"19185":{"offset":0,"color":{"__isSmartRef__":true,"id":19186}},"19186":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19187":{"offset":0.4,"color":{"__isSmartRef__":true,"id":19188}},"19188":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19189":{"offset":0.6,"color":{"__isSmartRef__":true,"id":19190}},"19190":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19191":{"offset":1,"color":{"__isSmartRef__":true,"id":19192}},"19192":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19193":{"moveHorizontal":true},"19194":{"sourceObj":{"__isSmartRef__":true,"id":19164},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":19148},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":19195},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"19195":{"source":{"__isSmartRef__":true,"id":19164},"target":{"__isSmartRef__":true,"id":19148}},"19196":{"sourceObj":{"__isSmartRef__":true,"id":19164},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":19148},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":19197},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"19197":{"source":{"__isSmartRef__":true,"id":19164},"target":{"__isSmartRef__":true,"id":19148}},"19198":{"submorphs":[{"__isSmartRef__":true,"id":19199}],"scripts":[],"shape":{"__isSmartRef__":true,"id":19209},"derivationIds":[null],"id":"BFD78902-8A7B-41BF-BBFA-85D2D8DB3801","renderContextTable":{"__isSmartRef__":true,"id":19214},"eventHandler":{"__isSmartRef__":true,"id":19215},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":19216},"priorExtent":{"__isSmartRef__":true,"id":19217},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":18636},"lighterFill":{"__isSmartRef__":true,"id":19218},"label":{"__isSmartRef__":true,"id":19199},"owner":{"__isSmartRef__":true,"id":19149},"attributeConnections":[{"__isSmartRef__":true,"id":19227},{"__isSmartRef__":true,"id":19229}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"19199":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":19200},"derivationIds":[null],"id":"2C927B34-B79A-401D-93A8-52B16ED0EA8A","renderContextTable":{"__isSmartRef__":true,"id":19204},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":19205}],"eventHandler":{"__isSmartRef__":true,"id":19207},"_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":19198},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":19208},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"19200":{"_Position":{"__isSmartRef__":true,"id":19201},"renderContextTable":{"__isSmartRef__":true,"id":19202},"_Extent":{"__isSmartRef__":true,"id":19203},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"19201":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19202":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19203":{"x":16,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19204":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"19205":{"style":{"__isSmartRef__":true,"id":19206},"chunkOwner":{"__isSmartRef__":true,"id":19199},"storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"19206":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"19207":{"morph":{"__isSmartRef__":true,"id":19199},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"19208":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19209":{"_Position":{"__isSmartRef__":true,"id":19210},"renderContextTable":{"__isSmartRef__":true,"id":19211},"_Extent":{"__isSmartRef__":true,"id":19212},"_Padding":{"__isSmartRef__":true,"id":19213},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":18635},"_Fill":{"__isSmartRef__":true,"id":18636},"_StrokeOpacity":0,"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"19210":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19211":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19212":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19213":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19214":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"19215":{"morph":{"__isSmartRef__":true,"id":19198},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"19216":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19217":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19218":{"stops":[{"__isSmartRef__":true,"id":19219},{"__isSmartRef__":true,"id":19221},{"__isSmartRef__":true,"id":19223},{"__isSmartRef__":true,"id":19225}],"vector":{"__isSmartRef__":true,"id":797},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"19219":{"offset":0,"color":{"__isSmartRef__":true,"id":19220}},"19220":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19221":{"offset":0.4,"color":{"__isSmartRef__":true,"id":19222}},"19222":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19223":{"offset":0.6,"color":{"__isSmartRef__":true,"id":19224}},"19224":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19225":{"offset":1,"color":{"__isSmartRef__":true,"id":19226}},"19226":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19227":{"sourceObj":{"__isSmartRef__":true,"id":19198},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":19148},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":19228},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"19228":{"source":{"__isSmartRef__":true,"id":19198},"target":{"__isSmartRef__":true,"id":19148}},"19229":{"sourceObj":{"__isSmartRef__":true,"id":19198},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":19148},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":19230},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"19230":{"source":{"__isSmartRef__":true,"id":19198},"target":{"__isSmartRef__":true,"id":19148}},"19231":{"submorphs":[{"__isSmartRef__":true,"id":19232}],"scripts":[],"shape":{"__isSmartRef__":true,"id":19242},"derivationIds":[null],"id":"5E7897A1-EA17-4A5A-89FC-91495EA48751","renderContextTable":{"__isSmartRef__":true,"id":19247},"eventHandler":{"__isSmartRef__":true,"id":19248},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":19249},"priorExtent":{"__isSmartRef__":true,"id":19250},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":18636},"lighterFill":{"__isSmartRef__":true,"id":19251},"label":{"__isSmartRef__":true,"id":19232},"owner":{"__isSmartRef__":true,"id":19149},"layout":{"__isSmartRef__":true,"id":19260},"attributeConnections":[{"__isSmartRef__":true,"id":19261},{"__isSmartRef__":true,"id":19263}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"19232":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":19233},"derivationIds":[null],"id":"F62D51A0-1C76-4450-9815-45B90EF7A1C4","renderContextTable":{"__isSmartRef__":true,"id":19237},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":19238}],"eventHandler":{"__isSmartRef__":true,"id":19240},"_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":19231},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":19241},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"19233":{"_Position":{"__isSmartRef__":true,"id":19234},"renderContextTable":{"__isSmartRef__":true,"id":19235},"_Extent":{"__isSmartRef__":true,"id":19236},"_Padding":{"__isSmartRef__":true,"id":777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"19234":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19235":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19236":{"x":14,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19237":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"19238":{"style":{"__isSmartRef__":true,"id":19239},"chunkOwner":{"__isSmartRef__":true,"id":19232},"storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"19239":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"19240":{"morph":{"__isSmartRef__":true,"id":19232},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"19241":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19242":{"_Position":{"__isSmartRef__":true,"id":19243},"renderContextTable":{"__isSmartRef__":true,"id":19244},"_Extent":{"__isSmartRef__":true,"id":19245},"_Padding":{"__isSmartRef__":true,"id":19246},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":18635},"_Fill":{"__isSmartRef__":true,"id":18636},"_StrokeOpacity":0,"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"19243":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19244":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19245":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19246":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19247":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"19248":{"morph":{"__isSmartRef__":true,"id":19231},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"19249":{"x":834.9959939919901,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19250":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19251":{"stops":[{"__isSmartRef__":true,"id":19252},{"__isSmartRef__":true,"id":19254},{"__isSmartRef__":true,"id":19256},{"__isSmartRef__":true,"id":19258}],"vector":{"__isSmartRef__":true,"id":797},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"19252":{"offset":0,"color":{"__isSmartRef__":true,"id":19253}},"19253":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19254":{"offset":0.4,"color":{"__isSmartRef__":true,"id":19255}},"19255":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19256":{"offset":0.6,"color":{"__isSmartRef__":true,"id":19257}},"19257":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19258":{"offset":1,"color":{"__isSmartRef__":true,"id":19259}},"19259":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19260":{"moveHorizontal":true},"19261":{"sourceObj":{"__isSmartRef__":true,"id":19231},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":19148},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":19262},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"19262":{"source":{"__isSmartRef__":true,"id":19231},"target":{"__isSmartRef__":true,"id":19148}},"19263":{"sourceObj":{"__isSmartRef__":true,"id":19231},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":19148},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":19264},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"19264":{"source":{"__isSmartRef__":true,"id":19231},"target":{"__isSmartRef__":true,"id":19148}},"19265":{"_Position":{"__isSmartRef__":true,"id":19266},"renderContextTable":{"__isSmartRef__":true,"id":19267},"_Extent":{"__isSmartRef__":true,"id":19268},"_Padding":{"__isSmartRef__":true,"id":19269},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":19161},"_Fill":{"__isSmartRef__":true,"id":19270},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"19266":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19267":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19268":{"x":873.9959939919901,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19269":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19270":{"stops":[{"__isSmartRef__":true,"id":19271},{"__isSmartRef__":true,"id":19273}],"vector":{"__isSmartRef__":true,"id":797},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"19271":{"offset":0,"color":{"__isSmartRef__":true,"id":19272}},"19272":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19273":{"offset":1,"color":{"__isSmartRef__":true,"id":19274}},"19274":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19275":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"19276":{"morph":{"__isSmartRef__":true,"id":19149},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"19277":{"resizeWidth":true,"adjustForNewBounds":true},"19278":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19279":{"x":873.9959939919901,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19280":{"submorphs":[],"scripts":[],"id":"E223A782-C16E-4195-AA8F-9D18BC08DC35","shape":{"__isSmartRef__":true,"id":19281},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":19288},"showsHalos":false,"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":19289},"__SourceModuleName__":"Global.lively.morphic.Core","draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":19290},"originalTargetExtent":null,"renderContextTable":{"__isSmartRef__":true,"id":19291},"eventHandler":{"__isSmartRef__":true,"id":19292},"priorExtent":{"__isSmartRef__":true,"id":19293},"originalTargetInnerBounds":null,"isResizeCorner":true,"relativeOrigin":null,"derivationIds":[7147,"16E962DF-21E9-4FE6-8B9B-953F0E908113","ADD0B5C0-0DC6-4D8E-9C2A-0EC7E3C71F21","C13BE625-F1AC-4401-AB63-BA50CE744CB6","291119F3-1D44-4861-BAE4-5F142861083D","E10B97BB-8029-4AFE-97F4-D7DEA3EA000F","3BA898DA-1519-4FF8-A0BF-09E180382D50","1D1F4D10-DB39-481C-93FD-21520463295A","92761179-5047-4C14-979F-29A9CF056641","E7B73231-7E5A-4788-81EC-6077698D93B5","6CEE8BC8-59C9-4C03-B5FD-77D84EB324B5"],"moved":true,"attributeConnections":[{"__isSmartRef__":true,"id":19294}],"doNotSerialize":["$$cornerName"],"doNotCopyProperties":["$$cornerName"],"originalTargetBounds":null,"owner":{"__isSmartRef__":true,"id":19148},"cornerName":"bottomRight","_Rotation":0,"_Scale":1,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":19295},"__LivelyClassName__":"lively.morphic.Box"},"19281":{"position":{"__isSmartRef__":true,"id":19282},"_Extent":{"__isSmartRef__":true,"id":19283},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":19284},"_Fill":{"__isSmartRef__":true,"id":19285},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":19286},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":19287},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19282":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19283":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19284":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19285":{"r":0.258,"g":0.258,"b":0.258,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19286":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19287":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19288":{"x":863.9959939919901,"y":482.00200300400513,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19289":{"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Resize an object without using halos.","partName":"ResizeCorner","revisionOnLoad":140152,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"19290":{"x":239,"y":138,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19291":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"19292":{"morph":{"__isSmartRef__":true,"id":19280},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19293":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19294":{"sourceObj":{"__isSmartRef__":true,"id":19280},"sourceAttrName":"cornerName","targetObj":{"__isSmartRef__":true,"id":19280},"targetMethodName":"alignToOwner","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"19295":{"onDrag":{"__isSmartRef__":true,"id":19296},"onDragEnd":{"__isSmartRef__":true,"id":19304},"onDragStart":{"__isSmartRef__":true,"id":19312},"reset":{"__isSmartRef__":true,"id":19320},"morphMenuItems":{"__isSmartRef__":true,"id":19323},"alignToOwner":{"__isSmartRef__":true,"id":19330}},"19296":{"varMapping":{"__isSmartRef__":true,"id":19297},"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":19302},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19297":{"this":{"__isSmartRef__":true,"id":19280},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":19298}},"19298":{"$super":{"__isSmartRef__":true,"id":19299}},"19299":{"varMapping":{"__isSmartRef__":true,"id":19300},"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":19301},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19300":{"obj":{"__isSmartRef__":true,"id":19280},"name":"onDrag"},"19301":{},"19302":{"timestamp":{"__isSmartRef__":true,"id":19303},"user":"sstamm","tags":[]},"19303":{"isSerializedDate":true,"string":"Thu Feb 23 2012 12:08:52 GMT+0100 (CET)"},"19304":{"varMapping":{"__isSmartRef__":true,"id":19305},"source":"function onDragEnd(evt) {\n this.dragStartPoint = null;\n this.originalTargetBounds = null;\n this.relativeOrigin = null;\n}","funcProperties":{"__isSmartRef__":true,"id":19310},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19305":{"this":{"__isSmartRef__":true,"id":19280},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":19306}},"19306":{"$super":{"__isSmartRef__":true,"id":19307}},"19307":{"varMapping":{"__isSmartRef__":true,"id":19308},"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":19309},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19308":{"obj":{"__isSmartRef__":true,"id":19280},"name":"onDragEnd"},"19309":{},"19310":{"timestamp":{"__isSmartRef__":true,"id":19311},"user":"sstamm","tags":[]},"19311":{"isSerializedDate":true,"string":"Thu Feb 23 2012 12:09:00 GMT+0100 (CET)"},"19312":{"varMapping":{"__isSmartRef__":true,"id":19313},"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":19318},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19313":{"this":{"__isSmartRef__":true,"id":19280},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":19314}},"19314":{"$super":{"__isSmartRef__":true,"id":19315}},"19315":{"varMapping":{"__isSmartRef__":true,"id":19316},"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":19317},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19316":{"obj":{"__isSmartRef__":true,"id":19280},"name":"onDragStart"},"19317":{},"19318":{"timestamp":{"__isSmartRef__":true,"id":19319},"user":"sstamm","tags":[]},"19319":{"isSerializedDate":true,"string":"Thu Feb 23 2012 12:08:40 GMT+0100 (CET)"},"19320":{"varMapping":{"__isSmartRef__":true,"id":19321},"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":19322},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19321":{"this":{"__isSmartRef__":true,"id":19280}},"19322":{},"19323":{"varMapping":{"__isSmartRef__":true,"id":19324},"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":19329},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19324":{"this":{"__isSmartRef__":true,"id":19280},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":19325}},"19325":{"$super":{"__isSmartRef__":true,"id":19326}},"19326":{"varMapping":{"__isSmartRef__":true,"id":19327},"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":19328},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19327":{"obj":{"__isSmartRef__":true,"id":19280},"name":"morphMenuItems"},"19328":{},"19329":{},"19330":{"varMapping":{"__isSmartRef__":true,"id":19331},"source":"function alignToOwner() {\n this.align(this.bounds()[this.cornerName](), this.owner.shape.bounds()[this.cornerName]() )\n}","funcProperties":{"__isSmartRef__":true,"id":19332},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19331":{"this":{"__isSmartRef__":true,"id":19280}},"19332":{},"19333":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":19334},"derivationIds":[null],"id":"92A7B706-D471-4C6B-A934-29C45678A2DF","renderContextTable":{"__isSmartRef__":true,"id":19343},"eventHandler":{"__isSmartRef__":true,"id":19344},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":19148},"_Position":{"__isSmartRef__":true,"id":19345},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":19346},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"19334":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":19335},{"__isSmartRef__":true,"id":19336},{"__isSmartRef__":true,"id":19337}],"renderContextTable":{"__isSmartRef__":true,"id":19338},"_Position":{"__isSmartRef__":true,"id":19339},"_Extent":{"__isSmartRef__":true,"id":19340},"_Padding":{"__isSmartRef__":true,"id":19341},"_BorderWidth":0,"_BorderColor":null,"_Fill":{"__isSmartRef__":true,"id":19342},"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"19335":{"isAbsolute":true,"x":14,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"19336":{"isAbsolute":true,"x":14,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"19337":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"19338":{"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"},"19339":{"x":-1,"y":-1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19340":{"x":15,"y":15,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19341":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19342":{"r":0.8,"g":0.8,"b":0.8,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19343":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"19344":{"morph":{"__isSmartRef__":true,"id":19333},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"19345":{"x":859.9959939919901,"y":478.657558599353,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19346":{"onDragStart":{"__isSmartRef__":true,"id":19347},"onDrag":{"__isSmartRef__":true,"id":19354},"onDragEnd":{"__isSmartRef__":true,"id":19361}},"19347":{"varMapping":{"__isSmartRef__":true,"id":19348},"source":"function onDragStart(evt) {\n this.dragStartPoint = evt.mousePoint;\n this.originalTargetExtent = this.owner.getExtent();\n }","funcProperties":{"__isSmartRef__":true,"id":19353},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"19348":{"this":{"__isSmartRef__":true,"id":19333},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":19349}},"19349":{"$super":{"__isSmartRef__":true,"id":19350}},"19350":{"varMapping":{"__isSmartRef__":true,"id":19351},"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":19352},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"19351":{"obj":{"__isSmartRef__":true,"id":19333},"name":"onDragStart"},"19352":{},"19353":{},"19354":{"varMapping":{"__isSmartRef__":true,"id":19355},"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":19360},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"19355":{"this":{"__isSmartRef__":true,"id":19333},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":19356}},"19356":{"$super":{"__isSmartRef__":true,"id":19357}},"19357":{"varMapping":{"__isSmartRef__":true,"id":19358},"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":19359},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"19358":{"obj":{"__isSmartRef__":true,"id":19333},"name":"onDrag"},"19359":{},"19360":{},"19361":{"varMapping":{"__isSmartRef__":true,"id":19362},"source":"function onDragEnd(evt) {\n this.dragStartPoint = null;\n this.originalTargetExtent = null;\n }","funcProperties":{"__isSmartRef__":true,"id":19367},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"19362":{"this":{"__isSmartRef__":true,"id":19333},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":19363}},"19363":{"$super":{"__isSmartRef__":true,"id":19364}},"19364":{"varMapping":{"__isSmartRef__":true,"id":19365},"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":19366},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"19365":{"obj":{"__isSmartRef__":true,"id":19333},"name":"onDragEnd"},"19366":{},"19367":{},"19368":{"renderContextTable":{"__isSmartRef__":true,"id":19369},"_Padding":{"__isSmartRef__":true,"id":19370},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":19371},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"19369":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19370":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19371":{"x":873.9959939919901,"y":492.657558599353,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19372":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"19373":{"morph":{"__isSmartRef__":true,"id":19148},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"19374":{"adjustForNewBounds":true},"19375":{"x":356.5020030040049,"y":164.1712207003235,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19376":{"x":873.9959939919901,"y":492.657558599353,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19377":{"x":700,"y":370,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19378":{"onrestore":{"__isSmartRef__":true,"id":19379},"installLayers":{"__isSmartRef__":true,"id":19387},"openMethodFinderFor":{"__isSmartRef__":true,"id":19391}},"19379":{"varMapping":{"__isSmartRef__":true,"id":19380},"source":"function onrestore() {\n this.installLayers();\n $super()\n}","funcProperties":{"__isSmartRef__":true,"id":19385},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19380":{"this":{"__isSmartRef__":true,"id":18605},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":19381}},"19381":{"$super":{"__isSmartRef__":true,"id":19382}},"19382":{"varMapping":{"__isSmartRef__":true,"id":19383},"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":19384},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19383":{"obj":{"__isSmartRef__":true,"id":18605},"name":"onrestore"},"19384":{},"19385":{"timestamp":{"__isSmartRef__":true,"id":19386},"user":"undefined","tags":[]},"19386":{"isSerializedDate":true,"string":"Fri Feb 03 2012 15:18:55 GMT+0100 (CET)"},"19387":{"varMapping":{"__isSmartRef__":true,"id":19388},"source":"function installLayers() {\n \ncop.create(\"TabbedMethodFinderLayer\").refineClass(lively.morphic.Text, {\n doBrowseImplementors: function () {\n var toolTabPane = this.get(\"ToolTabPane\");\n var searchString = this.getSelectionOrLineString();\n if (toolTabPane) {\n toolTabPane.openMethodFinderFor(searchString);\n return;\n }\n this.world().openMethodFinderFor(searchString)\n }\n})\n\n\nthis.setWithLayers([TabbedMethodFinderLayer])\n\n\n}","funcProperties":{"__isSmartRef__":true,"id":19389},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19388":{"this":{"__isSmartRef__":true,"id":18605}},"19389":{"timestamp":{"__isSmartRef__":true,"id":19390},"user":"undefined","tags":[]},"19390":{"isSerializedDate":true,"string":"Fri Feb 03 2012 15:20:31 GMT+0100 (CET)"},"19391":{"varMapping":{"__isSmartRef__":true,"id":19392},"source":"function openMethodFinderFor(searchString) {\n // this.openMethodFinderFor(\"onMouseDown\")\n var tab = this.addTabLabeled(\"S:\" + searchString)\n var part = this.world().openPartItem('MethodFinderPane', 'PartsBin/Dialogs');\n part.setExtent(this.tabPaneExtent)\n tab.pane.addMorph(part);\n tab.pane.layout = tab.pane.layout || {};\n tab.pane.layout.resizeWidth = true;\n tab.pane.layout.resizeHeight = true;\n part.setSearch(searchString);\n part.setPosition(pt(0,0))\n $world.addMorph(this.owner);\n return part;\n}","funcProperties":{"__isSmartRef__":true,"id":19393},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19392":{"this":{"__isSmartRef__":true,"id":18605}},"19393":{"timestamp":{"__isSmartRef__":true,"id":19394},"user":"undefined","tags":[]},"19394":{"isSerializedDate":true,"string":"Wed Mar 28 2012 13:53:26 GMT+0200 (CEST)"},"19395":{"partsSpaceName":"PartsBin/Dialogs","name":"MethodFinderPane","json":"{\"id\":0,\"registry\":{\"0\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1},{\"__isSmartRef__\":true,\"id\":18},{\"__isSmartRef__\":true,\"id\":66},{\"__isSmartRef__\":true,\"id\":82},{\"__isSmartRef__\":true,\"id\":112},{\"__isSmartRef__\":true,\"id\":127},{\"__isSmartRef__\":true,\"id\":174},{\"__isSmartRef__\":true,\"id\":257}],\"scripts\":[],\"id\":\"3E2C739C-3BA6-4C2C-B7FB-A726AA7015BB\",\"shape\":{\"__isSmartRef__\":true,\"id\":310},\"__layered_droppingEnabled__\":true,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"showsHalos\":false,\"name\":\"MethodFinderPane\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":317},\"__SourceModuleName__\":\"Global.lively.morphic.Core\",\"isCopyMorphRef\":true,\"morphRefId\":1,\"layout\":{\"__isSmartRef__\":true,\"id\":2363},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":2364},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2365},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":2366},\"attributeConnections\":[],\"doNotSerialize\":[\"targetFunction\",\"targetObject\"],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"isBeingDragged\":false,\"_Position\":{\"__isSmartRef__\":true,\"id\":2367},\"derivationIds\":[204,\"90F6ED76-D56E-436C-96E7-CBFE7106283E\",\"53162F18-6DD1-4230-B30F-EC4BA7B7A9ED\",\"73F374A9-9CEE-4D2E-8BA6-030971E02396\",\"0859BA09-FE36-4B7E-85B5-A141B84A252C\",\"AB402971-988F-4D01-AE49-87C1AFEAA1C3\",\"A80F8C19-12D2-49AF-941A-2454433D2A59\",\"9370F962-CBB6-42C0-8F15-79D0F66045FD\",\"2F24C0FF-1360-4C35-BE22-B5DE5FFAB3F4\",\"81FC43AC-A19A-48A5-B854-601A302E5585\",\"BBF2876B-A928-4012-A9BD-A39052E30483\"],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":2368},\"moved\":true,\"_Rotation\":0,\"_Scale\":0.9900448802097485,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":2369},\"__LivelyClassName__\":\"lively.morphic.Box\"},\"1\":{\"submorphs\":[],\"scripts\":[],\"id\":\"9DEE84F9-6727-4802-BD51-456C40E212F1\",\"shape\":{\"__isSmartRef__\":true,\"id\":2},\"grabbingEnabled\":false,\"__layered_droppingEnabled__\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":true,\"allowsInput\":true,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":8},\"_MaxTextWidth\":287,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":9},\"showsHalos\":false,\"_FontSize\":13,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"searchText\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":10},\"owner\":{\"__isSmartRef__\":true,\"id\":0},\"charsReplaced\":\"enter method name here\",\"lastFindLoc\":22,\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":11}],\"doNotSerialize\":[\"$$savedTextString\"],\"doNotCopyProperties\":[\"$$savedTextString\"],\"isInputLine\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"allowInput\":true,\"textChunks\":[{\"__isSmartRef__\":true,\"id\":12}],\"priorSelectionRange\":[0,22],\"prevScroll\":[0,0],\"_ClipMode\":\"hidden\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":14},\"lastSearchString\":\"prev\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":15},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":16},\"_MinTextWidth\":287,\"_MinTextHeight\":null,\"previousSelection\":[0,0],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":17},\"isBeingDragged\":false,\"derivationIds\":[205,\"63CD6525-ECE4-4F52-A84B-27633C22F3F9\",\"D7B775A2-513B-4768-AB24-6718580E61A9\",\"FE8FA703-C984-4702-8139-2C4E9353FB41\",\"2C124317-773E-498D-BB6D-9BEC99637AF3\",\"BFDC0BE7-0289-4FA0-A2EC-14EF2BA09445\",\"E16771FE-0062-4803-9678-9625DB0CFBFA\",\"B9D2EC7D-E050-4D3D-8ABC-52D8ACA55936\",\"196DC9F1-78FF-488F-80AB-8129A171A1C9\",\"F2FB3FCC-8AE2-4DFB-AD6F-3DE2513762B0\",\"4897081D-DCA7-4D33-B262-00412C9821FD\"],\"savedTextString\":\"bla\",\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"2\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":3},\"_Extent\":{\"__isSmartRef__\":true,\"id\":4},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":5},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":6},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":7},\"_BorderRadius\":4,\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"3\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"4\":{\"x\":292,\"y\":25,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"5\":{\"r\":0.4,\"g\":0.4,\"b\":0.4,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"6\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"7\":{\"x\":3,\"y\":3,\"width\":-3,\"height\":-3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"8\":{\"x\":10,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"9\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"10\":{\"partsSpaceName\":\"PartsBin/NewWorld\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"11\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1},\"sourceAttrName\":\"savedTextString\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":0},\"targetMethodName\":\"search\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"12\":{\"style\":{\"__isSmartRef__\":true,\"id\":13},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1},\"storedString\":\"enter method name here\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"13\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"14\":{\"x\":292,\"y\":25,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"15\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"16\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"17\":{\"x\":199.7085210421884,\"y\":-15.498997494989453,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"18\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":19}],\"scripts\":[],\"id\":\"051E1CDB-3E9B-41A7-89A7-24E539E5FA37\",\"shape\":{\"__isSmartRef__\":true,\"id\":34},\"grabbingEnabled\":false,\"__layered_droppingEnabled__\":false,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":50},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":38},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":51},\"label\":{\"__isSmartRef__\":true,\"id\":19},\"showsHalos\":false,\"name\":\"searchButton\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":60},\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"owner\":{\"__isSmartRef__\":true,\"id\":0},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":61}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":62},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":63},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":64},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":65},\"derivationIds\":[206,\"CB9026E7-BAD5-49AB-B6E0-88B46D561743\",\"C2FEDA8A-ABCE-426D-BB39-F8B4C0CCBE5F\",\"21DC60CF-D1A0-4B54-9B91-F82A50CF8D3A\",\"6E0B3DCD-9AD6-4AAF-A854-252E628FC222\",\"457022C0-0CD0-426F-89B8-DAA8E3AA15C0\",\"AE87A8FC-A7FF-40D5-B8B3-351194957A1B\",\"0107A29A-C954-43A8-82FD-CEE77E946A25\",\"E82E1B35-1C20-4BE4-A5CB-0936E7D4AD20\",\"7485F277-13B5-4FF4-9B90-10385A227006\",\"216A87FA-4CA8-4657-886E-D2EE1398E86F\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"19\":{\"submorphs\":[],\"scripts\":[],\"id\":\"E618043F-74DF-4D4A-991F-5AA47FD766F8\",\"shape\":{\"__isSmartRef__\":true,\"id\":20},\"grabbingEnabled\":false,\"__layered_droppingEnabled__\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":26},\"_MaxTextWidth\":77,\"_MaxTextHeight\":null,\"padding\":{\"__isSmartRef__\":true,\"id\":27},\"_Padding\":{\"__isSmartRef__\":true,\"id\":28},\"owner\":{\"__isSmartRef__\":true,\"id\":18},\"isLabel\":true,\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"textStyle\":null,\"textChunks\":[{\"__isSmartRef__\":true,\"id\":29}],\"prevScroll\":[0,0],\"_ClipMode\":\"hidden\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":31},\"_Align\":\"center\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":32},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":33},\"_HandStyle\":\"default\",\"_PointerEvents\":\"none\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_MinTextWidth\":77,\"_MinTextHeight\":null,\"derivationIds\":[207,\"9A623BA1-A240-454B-B0DD-53932A371FB3\",\"9E828467-210E-44D4-8E3D-17C5F92B1AAE\",\"75AF52F1-0E7E-419A-BC00-5CCC0D52CEDC\",\"F3C81240-9550-45C3-8B7A-8A3C0ED15BE6\",\"70D8CC33-5AEE-45B5-AC0B-B9A6350C7F51\",\"C80D2176-BA4F-4DCF-88D8-540ADE03E6B9\",\"CB9FE42C-61BF-409D-9CC7-1F1B094C61FA\",\"BF7D1270-418D-46A3-95E5-991F82DAD8C6\",\"CDA433D8-442B-4D3A-A58E-F9C5FCED9086\",\"039DDED5-FFAA-423A-99F2-2236BB594511\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"20\":{\"position\":{\"__isSmartRef__\":true,\"id\":21},\"_Extent\":{\"__isSmartRef__\":true,\"id\":22},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":23},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":24},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":25},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"21\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"22\":{\"x\":77,\"y\":20,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"23\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"24\":{\"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\"},\"25\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"26\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"27\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"28\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"29\":{\"style\":{\"__isSmartRef__\":true,\"id\":30},\"morph\":{\"__isSmartRef__\":true,\"id\":19},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":19},\"storedString\":\"search\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"30\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"31\":{\"x\":77,\"y\":20,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"32\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"33\":{\"morph\":{\"__isSmartRef__\":true,\"id\":19},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"34\":{\"position\":{\"__isSmartRef__\":true,\"id\":35},\"_Extent\":{\"__isSmartRef__\":true,\"id\":36},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":37},\"_Fill\":{\"__isSmartRef__\":true,\"id\":38},\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":48},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":49},\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"35\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"36\":{\"x\":77,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"37\":{\"r\":0.258,\"g\":0.258,\"b\":0.258,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"38\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":39},{\"__isSmartRef__\":true,\"id\":41},{\"__isSmartRef__\":true,\"id\":43},{\"__isSmartRef__\":true,\"id\":45}],\"vector\":{\"__isSmartRef__\":true,\"id\":47},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"39\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":40}},\"40\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"41\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":42}},\"42\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"43\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":44}},\"44\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"45\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":46}},\"46\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"47\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"48\":{\"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\"},\"49\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"50\":{\"x\":310,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"51\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":52},{\"__isSmartRef__\":true,\"id\":54},{\"__isSmartRef__\":true,\"id\":56},{\"__isSmartRef__\":true,\"id\":58}],\"vector\":{\"__isSmartRef__\":true,\"id\":47},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"52\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":53}},\"53\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"54\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":55}},\"55\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"56\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":57}},\"57\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"58\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":59}},\"59\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"60\":{\"partsSpaceName\":\"PartsBin/NewWorld\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"61\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":18},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1},\"targetMethodName\":\"doSave\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"62\":{\"x\":77,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"63\":{\"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\"},\"64\":{\"morph\":{\"__isSmartRef__\":true,\"id\":18},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"65\":{\"x\":53.70852104218841,\"y\":-21.498997494989453,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"66\":{\"submorphs\":[],\"scripts\":[],\"id\":\"1A73ECB5-B976-457C-8138-8385DBD45070\",\"shape\":{\"__isSmartRef__\":true,\"id\":67},\"__layered_droppingEnabled__\":true,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":74},\"itemList\":[],\"showsHalos\":false,\"name\":\"searchResultList\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":75},\"__SourceModuleName__\":\"Global.lively.morphic.Core\",\"owner\":{\"__isSmartRef__\":true,\"id\":0},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":76}],\"doNotSerialize\":[\"$$selection\"],\"doNotCopyProperties\":[\"$$selection\"],\"prevScroll\":[0,192],\"resizeHeight\":true,\"resizeWidth\":true,\"layout\":{\"__isSmartRef__\":true,\"id\":77},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":78},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":79},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":80},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":81},\"isBeingDragged\":false,\"derivationIds\":[208,\"884F3C31-F47F-4325-B01C-55796601323C\",\"AF542C45-CFC5-475A-B28E-37B7FC51E468\",\"C6B09735-9683-446C-A39C-E4924083B282\",\"7860DCD2-EC25-4F34-B79B-18C47FBEE925\",\"7ACC50AB-EE77-4AD9-8731-20150C616D1C\",\"6A21BD7F-EC45-467D-BDA4-F218B9407920\",\"0B0BFDF5-91C4-4369-AB7F-07CDAE8813BF\",\"0D9A4870-E562-4C17-A057-3DB8D1C9234C\",\"854096E7-42E2-48F4-B656-D1AE606FAEBF\",\"659ABB8A-3E6D-4E1C-864B-CE8459AD730A\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.List\"},\"67\":{\"position\":{\"__isSmartRef__\":true,\"id\":68},\"_Extent\":{\"__isSmartRef__\":true,\"id\":69},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":70},\"_Fill\":{\"__isSmartRef__\":true,\"id\":71},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":72},\"_Padding\":{\"__isSmartRef__\":true,\"id\":73},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"68\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"69\":{\"x\":850.9484727040478,\"y\":140,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"70\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"71\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"72\":{\"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\"},\"73\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"74\":{\"x\":10,\"y\":50,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"75\":{\"partsSpaceName\":\"PartsBin/NewWorld\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"76\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":66},\"sourceAttrName\":\"selection\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":0},\"targetMethodName\":\"browse\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"77\":{\"resizeWidth\":true},\"78\":{\"x\":849.9613545280358,\"y\":140,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"79\":{\"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\",\"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\"},\"80\":{\"morph\":{\"__isSmartRef__\":true,\"id\":66},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"81\":{\"x\":589.7085210421884,\"y\":-14.498997494989453,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"82\":{\"submorphs\":[],\"scripts\":[],\"id\":\"A1509C4A-C98B-44CF-ACF8-DA444E7A9B75\",\"shape\":{\"__isSmartRef__\":true,\"id\":83},\"grabbingEnabled\":false,\"__layered_droppingEnabled__\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":true,\"_FontFamily\":\"Monaco, Courier\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":89},\"_MaxTextWidth\":845.9484727040478,\"_MaxTextHeight\":null,\"textStyle\":null,\"layout\":{\"__isSmartRef__\":true,\"id\":90},\"doitContext\":{\"__isSmartRef__\":true,\"id\":0},\"charsReplaced\":\"\",\"lastFindLoc\":130,\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"sourceText\",\"savedTextString\":\"// changes here only affect runtime\\nObject.extend(lively.morphic.Morph,{\\n\\tmakeLine:function (verts, lineWidth, lineColor) {\\n\\t\\tif (verts.length < 2) return null;\\n\\t\\tif (verts.length > 2) {\\n\\t\\t\\t// Polylines become a mere blob for now...\\n\\t\\t\\tvar morph = this.makeRectangle(Rectangle.unionPts(verts));\\n\\t\\t\\tmorph.setBorderWidth(lineWidth);\\n\\t\\t\\tmorph.setBorderColor(lineColor);\\n\\t\\t\\tmorph.setFill(null);\\n\\t\\t\\treturn morph;\\n\\t\\t} \\n\\t\\t// Okay, it's a simple line...\\n\\t\\tvar p1 = verts[0]; var p2 = verts[1];\\n\\t\\tvar v = p2.subPt(p1);\\n \\n\\t\\t// First make a horizontal line of the same length with origin at (0, 0)\\n\\t\\tvar morph = this.makeRectangle(Rectangle.unionPts([pt(0, -lineWidth/2), Point.polar(v.r(), 0).addXY(0, lineWidth/2)]));\\n\\n\\t\\t// *** Not right, but we want to make position and center of rot = (0, 0):\\n\\t\\t// morph._Position = pt(0, 0);\\n\\n\\t\\tmorph.setBorderWidth(0);\\n\\t\\tmorph.setFill(lineColor);\\n\\n\\t\\t// Then move and rotate, with first vertex being the rotation center\\n\\t\\tmorph.moveBy(p1);\\n\\t\\tmorph.setOrigin(pt(0, lineWidth/2));\\n\\t\\tmorph.isLine = true;\\n\\t\\treturn morph.rotateBy(v.theta());\\n\\t}\\n});\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":91}],\"priorSelectionRange\":[73,64],\"_ClipMode\":\"auto\",\"prevScroll\":[0,0],\"_FontSize\":9,\"owner\":{\"__isSmartRef__\":true,\"id\":0},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":93},\"lastSyntaxHighlightTime\":1328782848221,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":94},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":95},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_MinTextWidth\":845.9484727040478,\"_MinTextHeight\":null,\"previousSelection\":[69,69],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":96},\"isBeingDragged\":false,\"derivationIds\":[209,\"04D0F127-514D-4BED-841E-6A4CEF4FFDDA\",\"D40D5739-DE56-49F4-B02A-A4ED75AF054A\",\"42528900-D082-4C7A-8E70-1E67923301D9\",\"5167B7DC-8F45-4AD0-96D7-947FF3EE0BB7\",\"D0BFE91E-6EF1-4165-A42C-CC81C9CD2050\",\"04C1BABF-5514-417C-AE67-882A1252EB67\",\"8B053B4D-76D1-4DCB-8E89-8E7ABA3EF3D1\",\"CB2FFA38-BC16-4D98-A807-722CCCC26062\",\"D19D6343-8887-4386-8B87-4560230A5D11\",\"2FFE6CC8-A851-44E9-B6B7-9D9370DEB9C9\"],\"_Rotation\":0,\"_Scale\":1,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":97},\"__LivelyClassName__\":\"lively.morphic.Text\"},\"83\":{\"position\":{\"__isSmartRef__\":true,\"id\":84},\"_Extent\":{\"__isSmartRef__\":true,\"id\":85},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":5},\"_Fill\":{\"__isSmartRef__\":true,\"id\":86},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":87},\"_ClipMode\":\"auto\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":88},\"_BorderRadius\":4,\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"84\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"85\":{\"x\":850.9484727040478,\"y\":197.97423635202387,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"86\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"87\":{\"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\"},\"88\":{\"x\":3,\"y\":3,\"width\":-3,\"height\":-3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"89\":{\"x\":10,\"y\":230,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"90\":{\"resizeWidth\":true,\"resizeHeight\":true,\"moveVertical\":false,\"moveHorizontal\":false},\"91\":{\"style\":{\"__isSmartRef__\":true,\"id\":92},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":82},\"storedString\":\"no code\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"92\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"93\":{\"x\":850.9484727040478,\"y\":197.97423635202387,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"94\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"95\":{\"morph\":{\"__isSmartRef__\":true,\"id\":82},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"96\":{\"x\":582.0068382418127,\"y\":-20.48073201899024,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"97\":{\"doSave\":{\"__isSmartRef__\":true,\"id\":98},\"getDoitContext\":{\"__isSmartRef__\":true,\"id\":105}},\"98\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":99},\"source\":\"function doSave() {\\n\\t$super()\\n\\talertOK(\\\"eval all for \\\" + this.getDoitContext())\\n\\tthis.boundEval(this.textString)\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":104},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"99\":{\"this\":{\"__isSmartRef__\":true,\"id\":82},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":100}},\"100\":{\"$super\":{\"__isSmartRef__\":true,\"id\":101}},\"101\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":102},\"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\":103},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"102\":{\"obj\":{\"__isSmartRef__\":true,\"id\":82},\"name\":\"doSave\"},\"103\":{},\"104\":{},\"105\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":106},\"source\":\"function getDoitContext() {\\n\\treturn this.owner.targetObject\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":111},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"106\":{\"this\":{\"__isSmartRef__\":true,\"id\":82},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":107}},\"107\":{\"$super\":{\"__isSmartRef__\":true,\"id\":108}},\"108\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":109},\"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\":110},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"109\":{\"obj\":{\"__isSmartRef__\":true,\"id\":82},\"name\":\"getDoitContext\"},\"110\":{},\"111\":{},\"112\":{\"submorphs\":[],\"scripts\":[],\"id\":\"6494496E-CBF0-4256-ACA4-D7E7B674F7CE\",\"shape\":{\"__isSmartRef__\":true,\"id\":113},\"grabbingEnabled\":false,\"__layered_droppingEnabled__\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":true,\"_FontFamily\":\"Monaco, Courier\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":119},\"_MaxTextWidth\":846.9484727040478,\"_MaxTextHeight\":null,\"textStyle\":null,\"layout\":{\"__isSmartRef__\":true,\"id\":120},\"charsReplaced\":\"\",\"lastFindLoc\":697,\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"infoText\",\"savedTextString\":\"// MethodFinder (this)\\n\\n// ** MethodFinder's Scripts **\\nthis.addScript(function browse(fileFragment) {\\n\\tfileFragment && fileFragment.browseIt()\\n});\\n\\nthis.addScript(function reset() {\\n\\tthis.get('searchResultList').updateList([]);\\n\\tthis.get('searchResultList').setSelection(null);\\n\\tthis.get('searchText').setTextString('enter search term here');\\n});\\n\\n\\nthis.addScript(function search(searchString) {\\n\\tvar finds = [];\\n\\tvar re = new RegExp(searchString)\\n\\tvar i=0;\\n\\tvar time = Functions.timeToRun(function() {\\n\\tGlobal.classes(true).forEach(function(eaClass) {\\n\\t\\tFunctions.own(eaClass.prototype)\\n\\t\\t\\t.forEach(function(eaMethod) {\\n\\t\\t\\t\\ti++;\\n\\t\\t\\t\\tif (eaMethod.match(re)){\\n\\t\\t\\t\\t\\tfinds.push([eaClass, eaMethod])\\n\\t\\t\\t\\t}\\t\\n\\t\\t\\t})\\t\\n\\t})})\\n\\talert(\\\"search \\\" + i + \\\" methods, found \\\" + finds.length + \\\" methods in \\\" + time + \\\"ms\\\")\\n\\n\\tvar items = finds.collect(function(ea) {\\n\\t\\treturn {\\n\\t\\t\\tisListItem: true,\\n\\t\\t\\tvalue: ea,\\n\\t\\t\\tstring: ea[0].name + \\\": \\\" + ea[1],\\n\\t\\t}\\n\\t})\\n\\tthis.get('searchResultList').updateList(items);\\n});\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":121}],\"priorSelectionRange\":[37,37],\"_ClipMode\":\"hidden\",\"prevScroll\":[0,0],\"_FontSize\":10,\"priorExtent\":{\"__isSmartRef__\":true,\"id\":123},\"owner\":{\"__isSmartRef__\":true,\"id\":0},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":124},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":125},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_MinTextWidth\":846.9484727040478,\"_MinTextHeight\":null,\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":126},\"derivationIds\":[210,\"E20B9061-6128-4BD4-BE8B-4B50F9BC8EA1\",\"FFFED58E-70A3-4945-A7C8-19E2C0754BB7\",\"1B69878E-8E43-4E25-BAE7-3D64CAE35839\",\"2770B759-8971-45F4-8291-6DA85EBD1155\",\"B0E0F94A-1BB3-405B-87BB-3C1199A8EB79\",\"8EF852C4-A375-4F84-873C-4277F9A99D52\",\"AA10C5AE-8C29-45DA-8CA5-A0E286F80E82\",\"4B3576CB-50DD-49DF-913C-88D34002B5DC\",\"B9692647-A99C-4A20-9C6C-3DF722D48DDE\",\"109C8B5F-DBAA-490E-A061-CB3004CD8634\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"113\":{\"position\":{\"__isSmartRef__\":true,\"id\":114},\"_Extent\":{\"__isSmartRef__\":true,\"id\":115},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":5},\"_Fill\":{\"__isSmartRef__\":true,\"id\":116},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":117},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":118},\"_BorderRadius\":4,\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"114\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"115\":{\"x\":850.9484727040478,\"y\":20,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"116\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"117\":{\"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\"},\"118\":{\"x\":2,\"y\":1,\"width\":-2,\"height\":-1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"119\":{\"x\":10,\"y\":200,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"120\":{\"resizeWidth\":true,\"resizeHeight\":false,\"moveVertical\":false,\"moveHorizontal\":false},\"121\":{\"style\":{\"__isSmartRef__\":true,\"id\":122},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":112},\"storedString\":\"\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"122\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"123\":{\"x\":850.9484727040478,\"y\":20,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"124\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"125\":{\"morph\":{\"__isSmartRef__\":true,\"id\":112},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"126\":{\"x\":587.0068382418127,\"y\":-13.480732018990238,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"127\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":128}],\"scripts\":[],\"id\":\"5F6BEEC4-A021-4428-AC2A-14F8A4F9B68C\",\"shape\":{\"__isSmartRef__\":true,\"id\":143},\"grabbingEnabled\":false,\"__layered_droppingEnabled__\":false,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":146},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":158},\"label\":{\"__isSmartRef__\":true,\"id\":128},\"showsHalos\":false,\"name\":\"browse\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":167},\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":168}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":169},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":170},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":171},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":172},\"_Position\":{\"__isSmartRef__\":true,\"id\":173},\"owner\":{\"__isSmartRef__\":true,\"id\":0},\"derivationIds\":[211,\"72C2FBB1-F169-43CC-AC8A-C0889FCB1663\",\"8CF07460-17AC-4EC3-83C4-E31D52336E14\",\"BE09102D-553E-4BB6-84A6-4D428731DD1B\",\"2D43F043-9567-4765-A19C-7C922F0DFFE7\",\"A77836E8-3C83-4A1D-B37A-7DDBA7FE13DE\",\"13EB973D-FF17-4A76-AD4B-13347D80B1A9\",\"8A92D97E-6965-49F7-B2B0-8842FB9ADCDF\",\"662F4742-3BD8-4D39-88CB-EE97BC2306D6\",\"8F15DC2D-892E-4B0F-83CB-8E7012281BEB\",\"57A38C48-8036-4D85-91C8-9F60FE72DACE\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"128\":{\"submorphs\":[],\"scripts\":[],\"id\":\"B28C6DEB-10EF-40BF-BA3F-3BFA8EB2B14D\",\"shape\":{\"__isSmartRef__\":true,\"id\":129},\"grabbingEnabled\":false,\"__layered_droppingEnabled__\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":135},\"_MaxTextWidth\":78,\"_MaxTextHeight\":null,\"padding\":{\"__isSmartRef__\":true,\"id\":136},\"_Padding\":{\"__isSmartRef__\":true,\"id\":137},\"owner\":{\"__isSmartRef__\":true,\"id\":127},\"isLabel\":true,\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"textStyle\":null,\"textChunks\":[{\"__isSmartRef__\":true,\"id\":138}],\"prevScroll\":[0,0],\"_ClipMode\":\"hidden\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":140},\"_Align\":\"center\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":141},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":142},\"_HandStyle\":\"default\",\"_PointerEvents\":\"none\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_MinTextWidth\":78,\"_MinTextHeight\":null,\"derivationIds\":[212,\"054FD83F-508D-488D-A011-8769DCB647DF\",\"834D337A-5619-4055-B103-7BDAA88CD7A9\",\"3C85FBE2-5C85-4CCF-B86A-25E65015429B\",\"001D6261-96E2-4ACC-880A-8540815DC8D3\",\"90FFCC86-B995-4F2F-872F-55A8A74FC99E\",\"766B1A00-7692-4CAB-B106-01876B4D5F77\",\"C36FA883-C0F4-47DA-B1A9-CB8D82C1C6E4\",\"91BD5A6B-4A46-43EA-8FA0-2A5C4EFDD1A7\",\"B8CDD839-4085-4D54-B360-5F4DAC2DD83C\",\"C25AEC86-A78F-4355-A843-3CACF03215A8\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"129\":{\"position\":{\"__isSmartRef__\":true,\"id\":130},\"_Extent\":{\"__isSmartRef__\":true,\"id\":131},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":132},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":133},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":134},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"130\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"131\":{\"x\":78,\"y\":20,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"132\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"133\":{\"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\"},\"134\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"135\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"136\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"137\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"138\":{\"style\":{\"__isSmartRef__\":true,\"id\":139},\"morph\":{\"__isSmartRef__\":true,\"id\":128},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":128},\"storedString\":\"browse\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"139\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"140\":{\"x\":78,\"y\":20,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"141\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"142\":{\"morph\":{\"__isSmartRef__\":true,\"id\":128},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"143\":{\"position\":{\"__isSmartRef__\":true,\"id\":144},\"_Extent\":{\"__isSmartRef__\":true,\"id\":145},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":37},\"_Fill\":{\"__isSmartRef__\":true,\"id\":146},\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":156},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":157},\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"144\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"145\":{\"x\":78,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"146\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":147},{\"__isSmartRef__\":true,\"id\":149},{\"__isSmartRef__\":true,\"id\":151},{\"__isSmartRef__\":true,\"id\":153}],\"vector\":{\"__isSmartRef__\":true,\"id\":155},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"147\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":148}},\"148\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"149\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":150}},\"150\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"151\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":152}},\"152\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"153\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":154}},\"154\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"155\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"156\":{\"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\"},\"157\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"158\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":159},{\"__isSmartRef__\":true,\"id\":161},{\"__isSmartRef__\":true,\"id\":163},{\"__isSmartRef__\":true,\"id\":165}],\"vector\":{\"__isSmartRef__\":true,\"id\":155},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"159\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":160}},\"160\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"161\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":162}},\"162\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"163\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":164}},\"164\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"165\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":166}},\"166\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"167\":{\"partsSpaceName\":\"PartsBin/NewWorld\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"168\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":127},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":0},\"targetMethodName\":\"browseMethod\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"169\":{\"x\":77,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"170\":{\"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\"},\"171\":{\"morph\":{\"__isSmartRef__\":true,\"id\":127},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"172\":{\"x\":53.66458745330033,\"y\":-17.22490844717396,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"173\":{\"x\":400,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"174\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":175}],\"scripts\":[],\"id\":\"3FDA3264-B677-48AF-95D0-46DDD933EFBF\",\"shape\":{\"__isSmartRef__\":true,\"id\":190},\"grabbingEnabled\":false,\"__layered_droppingEnabled__\":false,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":193},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":205},\"label\":{\"__isSmartRef__\":true,\"id\":175},\"name\":\"Button1\",\"showsHalos\":false,\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":214},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":215}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":251},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":252},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":253},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":254},\"prevScroll\":[0,0],\"_Position\":{\"__isSmartRef__\":true,\"id\":255},\"owner\":{\"__isSmartRef__\":true,\"id\":0},\"layout\":{\"__isSmartRef__\":true,\"id\":256},\"derivationIds\":[213,\"EC7B60B8-A81F-4F24-A467-A661149CA045\",\"DF2DEFBB-9271-4448-98A1-D2137526C2C3\",\"EBFAF287-C65D-425B-910E-D6ADC7FA9D02\",\"7F2E684F-7CC3-4CC4-8B18-920427491622\",\"F7E9C68E-814B-4197-9D5B-556DCF0EC4F6\",\"3DC305C0-5A87-4ED4-B263-5E5333B947FB\",\"A8805225-9530-403B-977E-A2929A077DD0\",\"0BF85746-8777-4195-949A-8733B4D79B02\",\"8E485E0B-1832-4C7C-A5B1-D14057A7F5E3\",\"4793FFDA-8803-44C7-97D4-27DE49B5D8D0\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"175\":{\"submorphs\":[],\"scripts\":[],\"id\":\"5ACE871C-A220-4C51-A9E1-9315BE30BB0A\",\"shape\":{\"__isSmartRef__\":true,\"id\":176},\"grabbingEnabled\":false,\"__layered_droppingEnabled__\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":182},\"_MaxTextWidth\":157.05605605605615,\"_MaxTextHeight\":null,\"textStyle\":null,\"padding\":{\"__isSmartRef__\":true,\"id\":183},\"_Padding\":{\"__isSmartRef__\":true,\"id\":184},\"owner\":{\"__isSmartRef__\":true,\"id\":174},\"isLabel\":true,\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"_ClipMode\":\"hidden\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":185},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":186}],\"_Align\":\"center\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":188},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":189},\"_HandStyle\":\"default\",\"_PointerEvents\":\"none\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_MinTextWidth\":157.05605605605615,\"_MinTextHeight\":null,\"derivationIds\":[214,\"D88E1591-8BE5-4F54-AEB5-71BC24E2014D\",\"FE6955F2-3796-4030-BD54-73604562225B\",\"0F07A5A7-E04B-412A-8D91-2AA448965A0E\",\"634A262F-940F-4590-8DB1-0738A6DF355A\",\"221F164E-FD6F-40ED-8E18-E055A638CE93\",\"1320C4DD-9213-40AA-A107-5EF8EBE9B22A\",\"098E1029-F36B-4434-B20F-A2100DCCBB9A\",\"39D48D5A-BB94-40BA-AB93-09B3B787EC3D\",\"27F752E4-9705-4F8B-9CC4-6E5131892552\",\"78776F49-7628-4F29-81F1-7AFC77BDAFE0\"],\"__LivelyClassName__\":\"lively.morphic.Text\"},\"176\":{\"position\":{\"__isSmartRef__\":true,\"id\":177},\"_Extent\":{\"__isSmartRef__\":true,\"id\":178},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":179},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":180},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":181},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"177\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"178\":{\"x\":157.05605605605615,\"y\":21,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"179\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"180\":{\"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\"},\"181\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"182\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"183\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"184\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"185\":{\"x\":157.05605605605615,\"y\":21,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"186\":{\"style\":{\"__isSmartRef__\":true,\"id\":187},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":175},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"search on server\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"187\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"188\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"189\":{\"morph\":{\"__isSmartRef__\":true,\"id\":175},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"190\":{\"position\":{\"__isSmartRef__\":true,\"id\":191},\"_Extent\":{\"__isSmartRef__\":true,\"id\":192},\"_BorderWidth\":1.1840000000000002,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":37},\"_Fill\":{\"__isSmartRef__\":true,\"id\":193},\"_BorderRadius\":5.2,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":203},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":204},\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"191\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"192\":{\"x\":157.05605605605615,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"193\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":194},{\"__isSmartRef__\":true,\"id\":196},{\"__isSmartRef__\":true,\"id\":198},{\"__isSmartRef__\":true,\"id\":200}],\"vector\":{\"__isSmartRef__\":true,\"id\":202},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"194\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":195}},\"195\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"196\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":197}},\"197\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"198\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":199}},\"199\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"200\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":201}},\"201\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"202\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"203\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"204\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"205\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":206},{\"__isSmartRef__\":true,\"id\":208},{\"__isSmartRef__\":true,\"id\":210},{\"__isSmartRef__\":true,\"id\":212}],\"vector\":{\"__isSmartRef__\":true,\"id\":202},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"206\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":207}},\"207\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"208\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":209}},\"209\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"210\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":211}},\"211\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"212\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":213}},\"213\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"214\":{\"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\"},\"215\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":174},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":0},\"targetMethodName\":\"searchOnServer\",\"visualConnector\":{\"__isSmartRef__\":true,\"id\":216},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"216\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":217}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":232},\"id\":865,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":239},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":240},\"__layered_droppingEnabled__\":true,\"halosEnabled\":true,\"owner\":null,\"controlPoints\":[{\"__isSmartRef__\":true,\"id\":241},{\"__isSmartRef__\":true,\"id\":242}],\"con\":{\"__isSmartRef__\":true,\"id\":215},\"showsMorphMenu\":true,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":243},\"__LivelyClassName__\":\"lively.morphic.Path\"},\"217\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":218},\"id\":866,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":229},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":230},\"__layered_droppingEnabled__\":true,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":231},\"owner\":{\"__isSmartRef__\":true,\"id\":216},\"_Rotation\":-3.113822016996372,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.Path\"},\"218\":{\"dontChangeShape\":false,\"cachedVertices\":null,\"_PathElements\":[{\"__isSmartRef__\":true,\"id\":219},{\"__isSmartRef__\":true,\"id\":220},{\"__isSmartRef__\":true,\"id\":221},{\"__isSmartRef__\":true,\"id\":222}],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":223},\"_ClipMode\":\"visible\",\"_Position\":{\"__isSmartRef__\":true,\"id\":224},\"_Extent\":{\"__isSmartRef__\":true,\"id\":225},\"_Padding\":{\"__isSmartRef__\":true,\"id\":226},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":227},\"_Fill\":{\"__isSmartRef__\":true,\"id\":228},\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Path\"},\"219\":{\"isAbsolute\":true,\"x\":-12,\"y\":-6,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.MoveTo\"},\"220\":{\"isAbsolute\":true,\"x\":-12,\"y\":6,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"221\":{\"isAbsolute\":true,\"x\":4,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"222\":{\"isAbsolute\":true,\"x\":-12,\"y\":-6,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"223\":{\"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\"},\"224\":{\"x\":-12,\"y\":-6,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"225\":{\"x\":16,\"y\":12,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"226\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"227\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"228\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"229\":{\"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\"},\"230\":{\"morph\":{\"__isSmartRef__\":true,\"id\":217},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"231\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"232\":{\"dontChangeShape\":false,\"cachedVertices\":null,\"_PathElements\":[{\"__isSmartRef__\":true,\"id\":233},{\"__isSmartRef__\":true,\"id\":234}],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":235},\"_ClipMode\":\"visible\",\"_Position\":{\"__isSmartRef__\":true,\"id\":236},\"_Extent\":{\"__isSmartRef__\":true,\"id\":237},\"_Padding\":{\"__isSmartRef__\":true,\"id\":238},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":227},\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Path\"},\"233\":{\"isAbsolute\":true,\"x\":719.9999999999999,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.MoveTo\"},\"234\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"235\":{\"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\"},\"236\":{\"x\":-1,\"y\":-1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"237\":{\"x\":721,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"238\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"239\":{\"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\"},\"240\":{\"morph\":{\"__isSmartRef__\":true,\"id\":216},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"241\":{\"morph\":{\"__isSmartRef__\":true,\"id\":216},\"index\":0,\"connectedMagnet\":null,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.ControlPoint\"},\"242\":{\"morph\":{\"__isSmartRef__\":true,\"id\":216},\"index\":1,\"connectedMagnet\":null,\"marker\":{\"__isSmartRef__\":true,\"id\":217},\"markerDirection\":\"prev\",\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.ControlPoint\"},\"243\":{\"morphMenuItems\":{\"__isSmartRef__\":true,\"id\":244}},\"244\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":245},\"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\":250},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"245\":{\"this\":{\"__isSmartRef__\":true,\"id\":216},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":246}},\"246\":{\"$super\":{\"__isSmartRef__\":true,\"id\":247}},\"247\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":248},\"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\":249},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"248\":{\"obj\":{\"__isSmartRef__\":true,\"id\":216},\"name\":\"morphMenuItems\"},\"249\":{},\"250\":{},\"251\":{\"x\":159.05805805805812,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"252\":{\"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\"},\"253\":{\"morph\":{\"__isSmartRef__\":true,\"id\":174},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"254\":{\"x\":111.36105352154709,\"y\":-11.352025158627953,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"255\":{\"x\":490,\"y\":19,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"256\":{\"moveHorizontal\":false},\"257\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":258}],\"scripts\":[],\"id\":\"8E57191F-E38B-4526-95AA-8D530FAC8156\",\"shape\":{\"__isSmartRef__\":true,\"id\":273},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":288},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":276},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":289},\"label\":{\"__isSmartRef__\":true,\"id\":258},\"name\":\"ScriptableButton\",\"showsHalos\":false,\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":298},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":299}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":300},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":301},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":302},\"derivationIds\":[2588,\"8DA01C71-0A84-4A5A-8027-121F4684BB04\",\"2F4904A6-2C6F-4A39-8C69-7C1E943F91B4\",\"7F6F4EE1-856E-477B-8578-D99400031DBA\",\"374C68BB-3D86-4DA0-9616-2B5320585D0E\",\"23336C67-2F65-4D9F-9380-304876DC628F\"],\"owner\":{\"__isSmartRef__\":true,\"id\":0},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":303},\"_Rotation\":0,\"_Scale\":1.002003004005006,\"layout\":{\"__isSmartRef__\":true,\"id\":304},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":305},\"__LivelyClassName__\":\"lively.morphic.Button\"},\"258\":{\"submorphs\":[],\"scripts\":[],\"id\":\"D92DDD8E-7733-4909-A5E9-049EC55E90C0\",\"shape\":{\"__isSmartRef__\":true,\"id\":259},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":265},\"_MaxTextWidth\":20,\"_MaxTextHeight\":null,\"textStyle\":null,\"padding\":{\"__isSmartRef__\":true,\"id\":266},\"_Padding\":{\"__isSmartRef__\":true,\"id\":267},\"owner\":{\"__isSmartRef__\":true,\"id\":257},\"isLabel\":true,\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"_ClipMode\":\"hidden\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":268},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":269}],\"_Align\":\"center\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":271},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":272},\"_HandStyle\":\"default\",\"_PointerEvents\":\"none\",\"derivationIds\":[2589,\"784F6E71-6365-4235-A0B6-69F992BB532B\",\"54335D65-DB12-4322-84D0-BA8B85E7ED2F\",\"2EF9D95D-4705-44B3-8D3C-446FEDC6346B\",\"07108773-133C-4F4A-A740-33175849E789\",\"E58C564E-D8F3-481A-821D-447F7C7556D8\"],\"_MinTextWidth\":20,\"_MinTextHeight\":null,\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"__LivelyClassName__\":\"lively.morphic.Text\"},\"259\":{\"position\":{\"__isSmartRef__\":true,\"id\":260},\"_Extent\":{\"__isSmartRef__\":true,\"id\":261},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":262},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":263},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":264},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"260\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"261\":{\"x\":20,\"y\":20,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"262\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"263\":{\"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\"},\"264\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"265\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"266\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"267\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"268\":{\"x\":20,\"y\":20,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"269\":{\"style\":{\"__isSmartRef__\":true,\"id\":270},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":258},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"x\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"270\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"271\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"272\":{\"morph\":{\"__isSmartRef__\":true,\"id\":258},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"273\":{\"position\":{\"__isSmartRef__\":true,\"id\":274},\"_Extent\":{\"__isSmartRef__\":true,\"id\":275},\"_BorderWidth\":1.1840000000000002,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":37},\"_Fill\":{\"__isSmartRef__\":true,\"id\":276},\"_BorderRadius\":5.2,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":286},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":287},\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"274\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"275\":{\"x\":20,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"276\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":277},{\"__isSmartRef__\":true,\"id\":279},{\"__isSmartRef__\":true,\"id\":281},{\"__isSmartRef__\":true,\"id\":283}],\"vector\":{\"__isSmartRef__\":true,\"id\":285},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"277\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":278}},\"278\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"279\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":280}},\"280\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"281\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":282}},\"282\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"283\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":284}},\"284\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"285\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"286\":{\"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\"},\"287\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"288\":{\"x\":842.0899565201868,\"y\":20.973229619022163,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"289\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":290},{\"__isSmartRef__\":true,\"id\":292},{\"__isSmartRef__\":true,\"id\":294},{\"__isSmartRef__\":true,\"id\":296}],\"vector\":{\"__isSmartRef__\":true,\"id\":285},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"290\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":291}},\"291\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"292\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":293}},\"293\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"294\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":295}},\"295\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"296\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":297}},\"297\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"298\":{\"partsSpaceName\":\"PartsBin/Inputs\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":2,\"partName\":\"ScriptableButton\",\"comment\":\"Has a script that is called on button press\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"299\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":257},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":257},\"targetMethodName\":\"onFire\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"300\":{\"x\":20,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"301\":{\"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\"},\"302\":{\"morph\":{\"__isSmartRef__\":true,\"id\":257},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"303\":{\"x\":34.37010312407733,\"y\":-11.180760580820959,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"304\":{\"moveHorizontal\":true},\"305\":{\"onFire\":{\"__isSmartRef__\":true,\"id\":306}},\"306\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":307},\"source\":\"function onFire() {\\n var tab = this.owner.owner.tab\\n var toolPane = this.get('ToolTabPane')\\n toolPane.tabBar.removeTab(tab)\\n if(toolPane.tabBar.getTabs().length == 0) {\\n if (toolPane.owner instanceof lively.morphic.Window)\\n toolPane.owner.remove();\\n }\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":308},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"307\":{\"this\":{\"__isSmartRef__\":true,\"id\":257}},\"308\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":309},\"user\":\"undefined\",\"tags\":[]},\"309\":{\"isSerializedDate\":true,\"string\":\"Fri Feb 03 2012 16:32:27 GMT+0100 (Mitteleuropäische Zeit)\"},\"310\":{\"position\":{\"__isSmartRef__\":true,\"id\":311},\"_Extent\":{\"__isSmartRef__\":true,\"id\":312},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":313},\"_Fill\":{\"__isSmartRef__\":true,\"id\":314},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":315},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":316},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"311\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"312\":{\"x\":877.3655147884247,\"y\":442.97624136204485,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"313\":{\"r\":0.372,\"g\":0.369,\"b\":0.372,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"314\":{\"r\":1,\"g\":1,\"b\":1,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"315\":{\"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\"},\"316\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"317\":{\"partsSpaceName\":\"PartsBin/Dialogs/\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":4,\"requiredModules\":[\"lively.ide\"],\"partName\":\"MethodFinderPane\",\"comment\":\"Pane for new ToolTabs\",\"changes\":[{\"__isSmartRef__\":true,\"id\":318},{\"__isSmartRef__\":true,\"id\":320},{\"__isSmartRef__\":true,\"id\":322},{\"__isSmartRef__\":true,\"id\":324},{\"__isSmartRef__\":true,\"id\":326},{\"__isSmartRef__\":true,\"id\":328},{\"__isSmartRef__\":true,\"id\":330},{\"__isSmartRef__\":true,\"id\":332}],\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":334}],\"doNotSerialize\":[\"$$revisionOnLoad\"],\"doNotCopyProperties\":[\"$$revisionOnLoad\"],\"revisionOnLoad\":140039,\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"318\":{\"date\":{\"__isSmartRef__\":true,\"id\":319},\"author\":\"jenslincke\",\"message\":\"- fixed browse Global definitions\",\"id\":\"7DE86114-1D7E-4551-BC8F-E12A980A8EE9\"},\"319\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 09 2012 11:27:56 GMT+0100 (Mitteleuropäische Zeit)\"},\"320\":{\"date\":{\"__isSmartRef__\":true,\"id\":321},\"author\":\"athomschke\",\"message\":\"adjusted close button\",\"id\":\"9EBA6297-7908-4B02-81F5-2B86B2E4B73D\"},\"321\":{\"isSerializedDate\":true,\"string\":\"Fri Feb 03 2012 16:57:09 GMT+0100 (Mitteleuropäische Zeit)\"},\"322\":{\"date\":{\"__isSmartRef__\":true,\"id\":323},\"author\":\"undefined\",\"message\":\"\",\"id\":\"47289007-8CB3-4B03-B9D1-3A8717E85DCB\"},\"323\":{\"isSerializedDate\":true,\"string\":\"Fri Feb 03 2012 16:36:31 GMT+0100 (Mitteleuropäische Zeit)\"},\"324\":{\"date\":{\"__isSmartRef__\":true,\"id\":325},\"author\":\"undefined\",\"message\":\"- close button behavior\",\"id\":\"0AD4C501-1DC4-4DD3-AFDC-A46F4ACD2CE1\"},\"325\":{\"isSerializedDate\":true,\"string\":\"Fri Feb 03 2012 16:32:48 GMT+0100 (Mitteleuropäische Zeit)\"},\"326\":{\"date\":{\"__isSmartRef__\":true,\"id\":327},\"author\":\"undefined\",\"message\":\"\",\"id\":\"CA16FEC1-49E5-4310-BDB6-F744F413F7EF\"},\"327\":{\"isSerializedDate\":true,\"string\":\"Fri Feb 03 2012 15:48:35 GMT+0100 (Mitteleuropäische Zeit)\"},\"328\":{\"date\":{\"__isSmartRef__\":true,\"id\":329},\"author\":\"undefined\",\"message\":\"\",\"id\":\"73F39208-58C9-4040-9948-516A104E5049\"},\"329\":{\"isSerializedDate\":true,\"string\":\"Fri Feb 03 2012 15:42:18 GMT+0100 (Mitteleuropäische Zeit)\"},\"330\":{\"date\":{\"__isSmartRef__\":true,\"id\":331},\"author\":\"undefined\",\"message\":\"\",\"id\":\"7A744B14-C057-4944-AFDD-CC78A910B35F\"},\"331\":{\"isSerializedDate\":true,\"string\":\"Fri Feb 03 2012 15:40:30 GMT+0100 (Mitteleuropäische Zeit)\"},\"332\":{\"date\":{\"__isSmartRef__\":true,\"id\":333},\"author\":\"undefined\",\"message\":\"some style adjustments\",\"id\":\"DA3EFD12-8A45-454C-993B-DB12847BEF94\"},\"333\":{\"isSerializedDate\":true,\"string\":\"Mon Mar 26 2012 13:16:30 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"334\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":317},\"sourceAttrName\":\"revisionOnLoad\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":335},\"targetMethodName\":\"removeOnPublish\",\"__LivelyClassName__\":\"AttributeConnection\",\"__SourceModuleName__\":\"Global.lively.bindings\"},\"335\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":336},{\"__isSmartRef__\":true,\"id\":352},{\"__isSmartRef__\":true,\"id\":368},{\"__isSmartRef__\":true,\"id\":385},{\"__isSmartRef__\":true,\"id\":401},{\"__isSmartRef__\":true,\"id\":417},{\"__isSmartRef__\":true,\"id\":434},{\"__isSmartRef__\":true,\"id\":450},{\"__isSmartRef__\":true,\"id\":534},{\"__isSmartRef__\":true,\"id\":617},{\"__isSmartRef__\":true,\"id\":633},{\"__isSmartRef__\":true,\"id\":649}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":699},\"id\":\"06BB560F-1599-4F0B-B025-82D8DCE8621E\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":706},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":707},\"droppingEnabled\":true,\"halosEnabled\":true,\"isLockOwner\":false,\"layout\":{\"__isSmartRef__\":true,\"id\":708},\"attributeConnections\":[],\"ownerApp\":{\"__isSmartRef__\":true,\"id\":709},\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.Core\",\"name\":\"PublishPartPanePane\",\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":803},\"isBeingDragged\":false,\"prevScroll\":[0,0],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":804},\"grabbingEnabled\":false,\"_Position\":{\"__isSmartRef__\":true,\"id\":805},\"owner\":{\"__isSmartRef__\":true,\"id\":806},\"target\":{\"__isSmartRef__\":true,\"id\":0},\"derivationIds\":[2888,\"7CD647EF-2BB4-4CD9-9D3B-4EE7BC59ECC2\",\"B983FB4F-9323-4304-9603-5615E93C6C42\",\"E738FAD5-9C83-4390-B193-06C21B6E51B0\",\"5ED6DC7B-74C2-4149-BF56-1622F302C51E\",\"B125F66F-9D66-44AC-A04B-E3A1CB7C1474\",\"8DD88D93-D7DB-4957-A724-C19836CD8C03\",\"1405B5AF-8461-4497-952D-024E06F6F395\",\"7CD3B3FE-D49D-436B-A738-6F960136F93C\",\"C28EE17A-8653-4C4E-AEAA-89B45CB54684\",\"97E867C3-A9EC-42CF-916F-788C94BE0955\"],\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":2321},\"_Rotation\":0,\"_Scale\":1,\"removeConnection\":{\"__isSmartRef__\":true,\"id\":334},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":2322},\"__LivelyClassName__\":\"lively.morphic.Box\",\"withLayers\":[\"Global.lively.morphic.GrabbingLayer\"]},\"336\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":337},\"id\":\"87B98720-4A07-4CD7-A4CE-55F020BA99C2\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":344},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":345}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":347},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":true,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":348},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":349},\"_MaxTextWidth\":164,\"_MinTextWidth\":164,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"isInputLine\":true,\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"owner\":{\"__isSmartRef__\":true,\"id\":335},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"showsHalos\":false,\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":350},\"previousSelection\":[1,1],\"priorSelectionRange\":[0,10],\"isLockOwner\":false,\"name\":\"NameText\",\"isCopyMorphRef\":true,\"morphRefId\":1,\"derivationIds\":[2889,\"9A8B5C1C-95BB-40F5-B9EF-B89DD5451B64\",\"C49BF160-BBBE-422E-BDDC-B9A98A72ABFF\",\"42B7E940-3BB5-4B79-B5D8-E4C8E780FF3B\",\"50B247C7-D8F3-4CF5-BD3F-2A2867827CF1\",\"674DADA8-0E51-4FAB-8522-A9D91F270267\",\"105181E3-2D4E-49C3-9C63-13D1F9E311AB\",\"54D6890B-898B-44EC-8BDF-688522764BD8\",\"A8821E63-E9F3-4FE1-94FC-897C0E64A537\",\"1A1BA90B-CA62-4F00-8A36-CC210F473907\",\"E8C3B7B8-5E66-4470-A4B0-C4103AA45358\"],\"savedTextString\":\"CommitMessageTest1\",\"isBeingDragged\":false,\"charsReplaced\":\"7\",\"lastFindLoc\":2,\"layout\":{\"__isSmartRef__\":true,\"id\":351},\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"337\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":338},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":339},\"_Extent\":{\"__isSmartRef__\":true,\"id\":340},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":341},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":342},\"_Fill\":{\"__isSmartRef__\":true,\"id\":343},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"338\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"339\":{\"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\"},\"340\":{\"x\":174,\"y\":20,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"341\":{\"x\":4,\"y\":2,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"342\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"343\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"344\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"345\":{\"style\":{\"__isSmartRef__\":true,\"id\":346},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":336},\"storedString\":\"MethodFinderPane\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\"},\"346\":{\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\"},\"347\":{\"morph\":{\"__isSmartRef__\":true,\"id\":336},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"348\":{\"x\":10,\"y\":50,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"349\":{\"x\":174,\"y\":20,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"350\":{\"x\":119,\"y\":-15,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"351\":{\"adjustForNewBounds\":true,\"resizeWidth\":true},\"352\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":353},\"id\":\"808AE322-864D-4F55-A5F4-70D64CD8C535\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":360},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":361}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":363},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":true,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":364},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":365},\"_MaxTextWidth\":445,\"_MinTextWidth\":445,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"isInputLine\":true,\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"showsHalos\":false,\"name\":\"CommitMessageText\",\"owner\":{\"__isSmartRef__\":true,\"id\":335},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":366},\"previousSelection\":[0,15],\"priorSelectionRange\":[0,0],\"charsReplaced\":\"CommitMessageTest1\",\"lastFindLoc\":18,\"isLockOwner\":false,\"isBeingDragged\":false,\"derivationIds\":[2890,\"40048B1D-9547-4EA6-AB66-31168A1C9FAE\",\"8A0DE790-FA6C-41C9-BA2B-84397DA3F39E\",\"DCFEEBC9-D891-408E-A103-19356A96070F\",\"EAEE386C-B48C-44E1-B80C-6830217A2FC6\",\"6CABE716-A9A0-4BED-ACA6-4C0C9C6C8E5E\",\"C2DC6D12-6F98-4236-AA47-1BD438BE5E56\",\"BFEBFDBE-0C30-407F-9B3C-B45A27971468\",\"923C751C-6180-4C96-A3FC-42A8AF1B4298\",\"0D556A07-77CA-478F-95B3-E3051804BF9C\",\"D952B070-654E-40FA-9076-7E8156C9C87C\"],\"savedTextString\":\"\",\"layout\":{\"__isSmartRef__\":true,\"id\":367},\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"353\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":354},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":355},\"_Extent\":{\"__isSmartRef__\":true,\"id\":356},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":357},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":358},\"_Fill\":{\"__isSmartRef__\":true,\"id\":359},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"354\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"355\":{\"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\"},\"356\":{\"x\":455,\"y\":108,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"357\":{\"x\":4,\"y\":2,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"358\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"359\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"360\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"361\":{\"style\":{\"__isSmartRef__\":true,\"id\":362},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":352},\"storedString\":\"some style adjustments\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\"},\"362\":{\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\"},\"363\":{\"morph\":{\"__isSmartRef__\":true,\"id\":352},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"364\":{\"x\":10,\"y\":260,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"365\":{\"x\":455,\"y\":108,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"366\":{\"x\":351,\"y\":-17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"367\":{\"resizeWidth\":true,\"resizeHeight\":true},\"368\":{\"submorphs\":[],\"scripts\":[],\"id\":\"5B4EA197-097E-4CB4-A92F-323F2BDD6342\",\"shape\":{\"__isSmartRef__\":true,\"id\":369},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":true,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":375},\"_MaxTextWidth\":114,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":372},\"showsHalos\":false,\"_FontSize\":12,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"Text5\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":376},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":377}],\"charsReplaced\":\"some text \",\"lastFindLoc\":10,\"priorSelectionRange\":[0,4],\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":379},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":380},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":381},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_Padding\":{\"__isSmartRef__\":true,\"id\":382},\"_ClipMode\":\"visible\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"owner\":{\"__isSmartRef__\":true,\"id\":335},\"_MinTextWidth\":114,\"_MinTextHeight\":null,\"previousSelection\":[3,3],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":383},\"isLockOwner\":false,\"isBeingDragged\":false,\"derivationIds\":[2891,\"E101CA30-35F9-42F0-A46C-28671530C787\",\"CE7E7640-C507-43BF-88EF-C4ACE8CCF564\",\"F04823B9-5B0B-4CCA-B8F7-00BD8608ED16\",\"DD4402A8-C90A-4187-92DA-813F59FF86E6\",\"90452494-6B16-4189-8CC1-4EB76FCCCBC9\",\"A1BA43C9-3B13-4744-893E-8B39CEDA44D3\",\"A4DDC2E9-14D8-4DA1-A960-4BB1DF3A45CD\",\"97027388-2CC6-4B87-880F-D9048C0EAB5A\",\"97A71E75-471E-4C94-879E-0ECD50A4DA7D\",\"B952E46A-0593-4861-A364-746D14830709\"],\"layout\":{\"__isSmartRef__\":true,\"id\":384},\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"369\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":370},\"_Extent\":{\"__isSmartRef__\":true,\"id\":371},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":372},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":373},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":374},\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"370\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"371\":{\"x\":114,\"y\":18,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"372\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"373\":{\"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\"},\"374\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"375\":{\"x\":10,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"376\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":4,\"comment\":\"a simple text morph\",\"partName\":\"Text\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"377\":{\"style\":{\"__isSmartRef__\":true,\"id\":378},\"morph\":{\"__isSmartRef__\":true,\"id\":368},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":368},\"storedString\":\"name\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"378\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"italics\":\"italic\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"379\":{\"x\":114,\"y\":18,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"380\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"381\":{\"morph\":{\"__isSmartRef__\":true,\"id\":368},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"382\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"383\":{\"x\":78,\"y\":-3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"384\":{\"moveHorizontal\":false},\"385\":{\"submorphs\":[],\"scripts\":[],\"id\":\"570FB5B6-CDDF-4024-A09F-C48D781677F3\",\"shape\":{\"__isSmartRef__\":true,\"id\":386},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":true,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":392},\"_MaxTextWidth\":250,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":389},\"showsHalos\":false,\"_FontSize\":12,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"Text6\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":393},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":394}],\"charsReplaced\":\"changes\",\"lastFindLoc\":7,\"priorSelectionRange\":[0,14],\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":396},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":397},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":398},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_Padding\":{\"__isSmartRef__\":true,\"id\":399},\"_ClipMode\":\"visible\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"_MinTextWidth\":250,\"_MinTextHeight\":null,\"previousSelection\":[0,14],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":400},\"owner\":{\"__isSmartRef__\":true,\"id\":335},\"isLockOwner\":false,\"derivationIds\":[2892,\"E5DC0070-3EA2-4212-9AA7-E3C865547E5E\",\"809E256F-82F6-4A22-B614-DE8C08FA5970\",\"272C0F9A-E7EF-4ECE-851D-08ACB35EA24D\",\"8AA544F8-6F47-454D-AE18-A264ACDEFA7E\",\"8374F17A-0E7E-4436-931A-1BA6E7CEAB7D\",\"2FA9E6A8-96E0-4B11-B3BE-D625991003B4\",\"EF4AC0A8-BC6A-4E7E-A4A1-838717896172\",\"7E58BFFB-E384-4B68-A4C8-A32E7A93B8FC\",\"BFCA8D00-622E-4E2D-998E-56C8E2DB8351\",\"0DD88B54-97A9-4F81-BEC4-474DB9D20DF5\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"386\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":387},\"_Extent\":{\"__isSmartRef__\":true,\"id\":388},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":389},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":390},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":391},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"387\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"388\":{\"x\":250,\"y\":18,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"389\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"390\":{\"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\"},\"391\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"392\":{\"x\":10,\"y\":240,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"393\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":4,\"comment\":\"a simple text morph\",\"partName\":\"Text\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"394\":{\"style\":{\"__isSmartRef__\":true,\"id\":395},\"morph\":{\"__isSmartRef__\":true,\"id\":385},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":385},\"storedString\":\"commit message\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"395\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"italics\":\"italic\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"396\":{\"x\":250,\"y\":18,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"397\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"398\":{\"morph\":{\"__isSmartRef__\":true,\"id\":385},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"399\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"400\":{\"x\":174,\"y\":-21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"401\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":402},\"id\":\"F05B8CC0-7125-442F-B9AE-497AC4C90979\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":409},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":410}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":412},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":true,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":413},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":414},\"_MaxTextWidth\":250,\"_MinTextWidth\":250,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"isInputLine\":true,\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"showsHalos\":false,\"name\":\"CategoryText\",\"owner\":{\"__isSmartRef__\":true,\"id\":335},\"previousSelection\":[0,14],\"priorSelectionRange\":[5,5],\"charsReplaced\":\"CommitMessageTest1\",\"lastFindLoc\":18,\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":415},\"isLockOwner\":false,\"derivationIds\":[2893,\"FBE4B17F-DC2B-4783-899B-CF1B051F14D9\",\"A2C45BC5-C44B-4AEA-A29E-ADE3DAF08638\",\"640BD984-1AB2-45B8-BCEC-AB32A6199D68\",\"BE2E06DB-4DFC-4628-9FED-8F3E87D18E07\",\"6D28F6C5-8D27-4A2D-A13E-55172343909B\",\"9537F96B-5D0E-47CF-9435-5850919DA5A2\",\"B8516280-8A31-4C9E-A9EF-3C058FB084E5\",\"0A41986D-4F2B-4D8B-8A35-AEB659C5D25A\",\"7A7E3053-DA4F-465C-B558-5138BE382156\",\"7024A970-16E6-4DE1-9BD6-6DC50779F4AA\"],\"savedTextString\":\"PartsBin/Basic\",\"layout\":{\"__isSmartRef__\":true,\"id\":416},\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"402\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":403},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":404},\"_Extent\":{\"__isSmartRef__\":true,\"id\":405},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":406},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":407},\"_Fill\":{\"__isSmartRef__\":true,\"id\":408},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"403\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"404\":{\"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\"},\"405\":{\"x\":260,\"y\":20,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"406\":{\"x\":4,\"y\":2,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"407\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"408\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"409\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"410\":{\"style\":{\"__isSmartRef__\":true,\"id\":411},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":401},\"storedString\":\"PartsBin/Dialogs/\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\"},\"411\":{\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\"},\"412\":{\"morph\":{\"__isSmartRef__\":true,\"id\":401},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"413\":{\"x\":204,\"y\":50,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"414\":{\"x\":260,\"y\":20,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"415\":{\"x\":132,\"y\":-13,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"416\":{\"resizeWidth\":false,\"moveHorizontal\":true},\"417\":{\"submorphs\":[],\"scripts\":[],\"id\":\"5B1F7C35-02F8-44AD-AF6A-2617345E71B0\",\"shape\":{\"__isSmartRef__\":true,\"id\":418},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":true,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":424},\"_MaxTextWidth\":114,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":421},\"showsHalos\":false,\"_FontSize\":12,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"Text7\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":425},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":426}],\"charsReplaced\":\"name\",\"lastFindLoc\":4,\"priorSelectionRange\":[0,8],\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":428},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":429},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":430},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_Padding\":{\"__isSmartRef__\":true,\"id\":431},\"_ClipMode\":\"visible\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"_MinTextWidth\":114,\"_MinTextHeight\":null,\"previousSelection\":[2,2],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":432},\"owner\":{\"__isSmartRef__\":true,\"id\":335},\"isLockOwner\":false,\"isBeingDragged\":false,\"derivationIds\":[2894,\"75F41AE1-CA7A-48D0-AE2C-7AAF6101B89C\",\"CB87A9FB-0776-4109-BDE0-0E8C61F1626C\",\"954BD4D6-BBF2-4D3C-94CA-21A38F66F449\",\"5C78A757-B050-43F1-B4CF-26CE9CC58B03\",\"A90A2B0B-A1A7-4F19-8FFB-1D98E8CF7BE6\",\"181AA91A-3D90-4322-ACB9-3D707A3994E0\",\"8A6171C0-493C-475F-B974-54B0FE5DD81C\",\"246AA662-2B7A-4ABE-AB30-734548540344\",\"708636F1-5D64-47AD-B72E-1E255924638B\",\"3C7D4704-AD28-4978-B6A1-2646B7BAA9B3\"],\"layout\":{\"__isSmartRef__\":true,\"id\":433},\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"418\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":419},\"_Extent\":{\"__isSmartRef__\":true,\"id\":420},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":421},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":422},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":423},\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"419\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"420\":{\"x\":114,\"y\":18,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"421\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"422\":{\"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\"},\"423\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"424\":{\"x\":205,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"425\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":4,\"comment\":\"a simple text morph\",\"partName\":\"Text\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"426\":{\"style\":{\"__isSmartRef__\":true,\"id\":427},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":417},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"category\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"427\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"italics\":\"italic\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"428\":{\"x\":114,\"y\":18,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"429\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"430\":{\"morph\":{\"__isSmartRef__\":true,\"id\":417},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"431\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"432\":{\"x\":87,\"y\":-11,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"433\":{\"moveVertical\":false,\"moveHorizontal\":true},\"434\":{\"submorphs\":[],\"scripts\":[],\"id\":\"0BEC3B9E-57EE-40AB-9647-6C32DAF0C5B3\",\"shape\":{\"__isSmartRef__\":true,\"id\":435},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":true,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":441},\"_MaxTextWidth\":325,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":438},\"showsHalos\":false,\"_FontSize\":12,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"Text8\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":442},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":443}],\"charsReplaced\":\"Publish Object in PartsBin\",\"lastFindLoc\":26,\"priorSelectionRange\":[0,36],\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":445},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":446},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":447},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_Padding\":{\"__isSmartRef__\":true,\"id\":448},\"_ClipMode\":\"visible\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"_MinTextWidth\":325,\"_MinTextHeight\":null,\"previousSelection\":[0,36],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":449},\"owner\":{\"__isSmartRef__\":true,\"id\":335},\"isLockOwner\":false,\"isBeingDragged\":false,\"derivationIds\":[2895,\"3AFBC971-95B4-48C4-888D-22FCBB742090\",\"D0394F71-EBB2-452A-A71F-D172D5B1CAD6\",\"79EDAC74-BD6B-42B1-BBBA-71B07578D1E0\",\"C19A8344-D637-44B7-BB1F-FD0153E5A62B\",\"9C41963E-088E-48CA-9CAA-572564F7CA69\",\"F9411AD0-B890-4EA9-9222-209167943D0D\",\"BF073247-EC88-4664-A2E2-A5E520CFD169\",\"3C9640D6-8AED-4E2A-87F1-8F94D4E9F1B7\",\"01AB4BED-5CFA-4FDE-9D09-535678684FC5\",\"929E4D49-C1D6-4DB2-B2E9-562DE9C7861C\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"435\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":436},\"_Extent\":{\"__isSmartRef__\":true,\"id\":437},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":438},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":439},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":440},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"436\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"437\":{\"x\":325,\"y\":18,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"438\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"439\":{\"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\"},\"440\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"441\":{\"x\":10,\"y\":10,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"442\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":4,\"comment\":\"a simple text morph\",\"partName\":\"Text\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"443\":{\"style\":{\"__isSmartRef__\":true,\"id\":444},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":434},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"Upload part to the shared repository\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"444\":{\"italics\":\"normal\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"445\":{\"x\":325,\"y\":18,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"446\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"447\":{\"morph\":{\"__isSmartRef__\":true,\"id\":434},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"448\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"449\":{\"x\":221,\"y\":-12,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"450\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":451}],\"scripts\":[],\"id\":\"2354BEE7-65E1-4606-B2EE-B113A1087A91\",\"shape\":{\"__isSmartRef__\":true,\"id\":466},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":470},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":482},\"label\":{\"__isSmartRef__\":true,\"id\":451},\"name\":\"Button\",\"showsHalos\":false,\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":491},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":492}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":528},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":529},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":530},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":531},\"_Position\":{\"__isSmartRef__\":true,\"id\":532},\"owner\":{\"__isSmartRef__\":true,\"id\":335},\"derivationIds\":[2896,\"40384C75-EF01-4AAD-AA1C-A7C19EDB6A0F\",\"21376B8E-78CF-456D-87AA-4D62D86B16D2\",\"E9336A59-C7BF-4C91-88B0-0D0477AA75AE\",\"A5E21E04-05F3-4A15-AAFA-55946EEC5F80\",\"28512033-1B92-4388-B125-1C3DCE6D560F\",\"A7B2B1EE-CD9D-4B35-828A-8F1DE0A24BFC\",\"2E2676E6-1ACE-478E-A54F-49E5754BF3B4\",\"E0DE5483-F457-472E-825E-B6AF8056A1C9\",\"EFBD20B8-E9F6-4777-AA08-A2DA3C8E3E70\",\"D7EF09B6-7888-4F5B-BCEF-E68021A415D6\"],\"layout\":{\"__isSmartRef__\":true,\"id\":533},\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"451\":{\"submorphs\":[],\"scripts\":[],\"id\":\"633798A9-1438-4D1A-BBFA-1D9FC40D1C99\",\"shape\":{\"__isSmartRef__\":true,\"id\":452},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":458},\"_MaxTextWidth\":101,\"_MaxTextHeight\":null,\"textStyle\":null,\"padding\":{\"__isSmartRef__\":true,\"id\":459},\"_Padding\":{\"__isSmartRef__\":true,\"id\":460},\"owner\":{\"__isSmartRef__\":true,\"id\":450},\"isLabel\":true,\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"_ClipMode\":\"hidden\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":461},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":462}],\"_Align\":\"center\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":464},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":465},\"_HandStyle\":\"default\",\"_PointerEvents\":\"none\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_MinTextWidth\":101,\"_MinTextHeight\":null,\"derivationIds\":[2897,\"92EB5E70-61BB-4A71-942C-A34A20789B2F\",\"A9C9F9CF-1BAC-4074-A093-4EB0C3C90866\",\"2FE50303-6361-4A70-9BD5-0D8D1C8B5176\",\"D774C172-7EE9-40AE-9949-340BA8EDBD37\",\"9B5186A1-2B8E-406C-B165-05F327435DC2\",\"9D4948C2-2429-4333-8F3D-89BB96D33894\",\"748160AD-0FF7-4E89-9BB5-486870332207\",\"944E6E30-642C-448D-BBFE-03835C34628C\",\"254F8208-565C-4C75-A5F5-00426CEB4B73\",\"501AF004-4601-4260-8B81-C8F07DB46A9D\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"452\":{\"position\":{\"__isSmartRef__\":true,\"id\":453},\"_Extent\":{\"__isSmartRef__\":true,\"id\":454},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":455},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":456},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":457},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"453\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"454\":{\"x\":101,\"y\":21,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"455\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"456\":{\"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\"},\"457\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"458\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"459\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"460\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"461\":{\"x\":101,\"y\":21,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"462\":{\"style\":{\"__isSmartRef__\":true,\"id\":463},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":451},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"cancel\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"463\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"464\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"465\":{\"morph\":{\"__isSmartRef__\":true,\"id\":451},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"466\":{\"position\":{\"__isSmartRef__\":true,\"id\":467},\"_Extent\":{\"__isSmartRef__\":true,\"id\":468},\"_BorderWidth\":1.1840000000000002,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":469},\"_Fill\":{\"__isSmartRef__\":true,\"id\":470},\"_BorderRadius\":5.2,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":480},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":481},\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"467\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"468\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"469\":{\"r\":0.839,\"g\":0.839,\"b\":0.839,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"470\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":471},{\"__isSmartRef__\":true,\"id\":473},{\"__isSmartRef__\":true,\"id\":475},{\"__isSmartRef__\":true,\"id\":477}],\"vector\":{\"__isSmartRef__\":true,\"id\":479},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"471\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":472}},\"472\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"473\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":474}},\"474\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"475\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":476}},\"476\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"477\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":478}},\"478\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"479\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"480\":{\"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\"},\"481\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"482\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":483},{\"__isSmartRef__\":true,\"id\":485},{\"__isSmartRef__\":true,\"id\":487},{\"__isSmartRef__\":true,\"id\":489}],\"vector\":{\"__isSmartRef__\":true,\"id\":479},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"483\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":484}},\"484\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"485\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":486}},\"486\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"487\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":488}},\"488\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"489\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":490}},\"490\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"491\":{\"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\"},\"492\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":450},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":335},\"targetMethodName\":\"onCancel\",\"visualConnector\":{\"__isSmartRef__\":true,\"id\":493},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"493\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":494}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":509},\"id\":352,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":516},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":517},\"droppingEnabled\":true,\"halosEnabled\":true,\"owner\":null,\"controlPoints\":[{\"__isSmartRef__\":true,\"id\":518},{\"__isSmartRef__\":true,\"id\":519}],\"con\":{\"__isSmartRef__\":true,\"id\":492},\"showsMorphMenu\":true,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":520},\"__LivelyClassName__\":\"lively.morphic.Path\"},\"494\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":495},\"id\":353,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":506},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":507},\"droppingEnabled\":true,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":508},\"owner\":{\"__isSmartRef__\":true,\"id\":493},\"_Rotation\":-2.716760490670451,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.Path\"},\"495\":{\"dontChangeShape\":false,\"cachedVertices\":null,\"_PathElements\":[{\"__isSmartRef__\":true,\"id\":496},{\"__isSmartRef__\":true,\"id\":497},{\"__isSmartRef__\":true,\"id\":498},{\"__isSmartRef__\":true,\"id\":499}],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":500},\"_ClipMode\":\"visible\",\"_Position\":{\"__isSmartRef__\":true,\"id\":501},\"_Extent\":{\"__isSmartRef__\":true,\"id\":502},\"_Padding\":{\"__isSmartRef__\":true,\"id\":503},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":504},\"_Fill\":{\"__isSmartRef__\":true,\"id\":505},\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Path\"},\"496\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.MoveTo\"},\"497\":{\"isAbsolute\":true,\"x\":0,\"y\":12,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"498\":{\"isAbsolute\":true,\"x\":16,\"y\":6,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"499\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"500\":{\"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\"},\"501\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"502\":{\"x\":16,\"y\":12,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"503\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"504\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"505\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"506\":{\"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\"},\"507\":{\"morph\":{\"__isSmartRef__\":true,\"id\":494},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"508\":{\"x\":0.5,\"y\":0.5,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"509\":{\"dontChangeShape\":false,\"cachedVertices\":null,\"_PathElements\":[{\"__isSmartRef__\":true,\"id\":510},{\"__isSmartRef__\":true,\"id\":511}],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":512},\"_ClipMode\":\"visible\",\"_Position\":{\"__isSmartRef__\":true,\"id\":513},\"_Extent\":{\"__isSmartRef__\":true,\"id\":514},\"_Padding\":{\"__isSmartRef__\":true,\"id\":515},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":504},\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Path\"},\"510\":{\"isAbsolute\":true,\"x\":420,\"y\":190,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.MoveTo\"},\"511\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"512\":{\"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\"},\"513\":{\"x\":-0.5,\"y\":-0.5,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"514\":{\"x\":421,\"y\":191,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"515\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"516\":{\"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\"},\"517\":{\"morph\":{\"__isSmartRef__\":true,\"id\":493},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"518\":{\"morph\":{\"__isSmartRef__\":true,\"id\":493},\"index\":0,\"connectedMagnet\":null,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.ControlPoint\"},\"519\":{\"morph\":{\"__isSmartRef__\":true,\"id\":493},\"index\":1,\"connectedMagnet\":null,\"marker\":{\"__isSmartRef__\":true,\"id\":494},\"markerDirection\":\"prev\",\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.ControlPoint\"},\"520\":{\"morphMenuItems\":{\"__isSmartRef__\":true,\"id\":521}},\"521\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":522},\"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\":527},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"522\":{\"this\":{\"__isSmartRef__\":true,\"id\":493},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":523}},\"523\":{\"$super\":{\"__isSmartRef__\":true,\"id\":524}},\"524\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":525},\"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\":526},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"525\":{\"obj\":{\"__isSmartRef__\":true,\"id\":493},\"name\":\"morphMenuItems\"},\"526\":{},\"527\":{},\"528\":{\"x\":101,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"529\":{\"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\"},\"530\":{\"morph\":{\"__isSmartRef__\":true,\"id\":450},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"531\":{\"x\":77,\"y\":-5,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"532\":{\"x\":355,\"y\":378,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"533\":{\"moveVertical\":true,\"moveHorizontal\":true},\"534\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":535}],\"scripts\":[],\"id\":\"45DD6BCA-CF32-416D-A7C8-591E159EA080\",\"shape\":{\"__isSmartRef__\":true,\"id\":550},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":554},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":566},\"label\":{\"__isSmartRef__\":true,\"id\":535},\"name\":\"Button1\",\"showsHalos\":false,\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":575},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":576}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":611},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":612},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":613},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":614},\"_Position\":{\"__isSmartRef__\":true,\"id\":615},\"owner\":{\"__isSmartRef__\":true,\"id\":335},\"derivationIds\":[2898,\"9D27A522-4E3D-482F-97CF-3CA3247A3999\",\"4EBF07AD-25C0-4034-BC06-31F137F70FA1\",\"DC6D6B8E-37AE-4815-A81A-AC7071124A26\",\"42DF6D49-8482-40A3-B901-512013BB5C75\",\"0D3EB4E1-46E7-4B1E-8273-6432575F84B5\",\"733427E4-0BB2-4FB7-917C-4A3D98C50589\",\"001872CD-CE26-4A7A-AB1F-3EFF5AC6D6A3\",\"2FFB821F-9334-4125-8541-31C21E305B78\",\"A3635A2F-B9AE-4CAA-A07F-76E90A2AF718\",\"ACE7DD81-434E-40D4-A12D-CB728F4CFA61\"],\"layout\":{\"__isSmartRef__\":true,\"id\":616},\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"535\":{\"submorphs\":[],\"scripts\":[],\"id\":\"DEE6F54B-BD5F-4178-98FD-349B3439045C\",\"shape\":{\"__isSmartRef__\":true,\"id\":536},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":542},\"_MaxTextWidth\":101,\"_MaxTextHeight\":null,\"textStyle\":null,\"padding\":{\"__isSmartRef__\":true,\"id\":543},\"_Padding\":{\"__isSmartRef__\":true,\"id\":544},\"owner\":{\"__isSmartRef__\":true,\"id\":534},\"isLabel\":true,\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"_ClipMode\":\"hidden\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":545},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":546}],\"_Align\":\"center\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":548},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":549},\"_HandStyle\":\"default\",\"_PointerEvents\":\"none\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_MinTextWidth\":101,\"_MinTextHeight\":null,\"derivationIds\":[2899,\"4F00D1F5-B85C-479E-BDDE-322DF2F432A3\",\"5E7BC7AC-9EF9-4CF5-9196-A542A26534CA\",\"46616896-CA46-4B43-B694-9FB001B32989\",\"F73D407C-A72D-414B-AB8D-1E28025BCA1C\",\"C5B395F9-BF24-4FA7-87D3-03E9AE9C4E45\",\"ECEC7694-EF15-4DE7-A847-9DB2D4B99B3C\",\"AE0EC189-A810-44FB-948F-F8667AF67929\",\"CC950242-2CF1-48D3-B3C3-EF03073D145F\",\"181712FB-04E9-40DA-ABEF-E711AC15A136\",\"08CA5C5C-AAE0-4E6D-BFA4-04C9735965CC\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"536\":{\"position\":{\"__isSmartRef__\":true,\"id\":537},\"_Extent\":{\"__isSmartRef__\":true,\"id\":538},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":539},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":540},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":541},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"537\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"538\":{\"x\":101,\"y\":21,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"539\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"540\":{\"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\"},\"541\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"542\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"543\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"544\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"545\":{\"x\":101,\"y\":21,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"546\":{\"style\":{\"__isSmartRef__\":true,\"id\":547},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":535},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"publish\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"547\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"548\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"549\":{\"morph\":{\"__isSmartRef__\":true,\"id\":535},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"550\":{\"position\":{\"__isSmartRef__\":true,\"id\":551},\"_Extent\":{\"__isSmartRef__\":true,\"id\":552},\"_BorderWidth\":1.1840000000000002,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":553},\"_Fill\":{\"__isSmartRef__\":true,\"id\":554},\"_BorderRadius\":5.2,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":564},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":565},\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"551\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"552\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"553\":{\"r\":0.839,\"g\":0.839,\"b\":0.839,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"554\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":555},{\"__isSmartRef__\":true,\"id\":557},{\"__isSmartRef__\":true,\"id\":559},{\"__isSmartRef__\":true,\"id\":561}],\"vector\":{\"__isSmartRef__\":true,\"id\":563},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"555\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":556}},\"556\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"557\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":558}},\"558\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"559\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":560}},\"560\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"561\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":562}},\"562\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"563\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"564\":{\"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\"},\"565\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"566\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":567},{\"__isSmartRef__\":true,\"id\":569},{\"__isSmartRef__\":true,\"id\":571},{\"__isSmartRef__\":true,\"id\":573}],\"vector\":{\"__isSmartRef__\":true,\"id\":563},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"567\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":568}},\"568\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"569\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":570}},\"570\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"571\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":572}},\"572\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"573\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":574}},\"574\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"575\":{\"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\"},\"576\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":534},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":335},\"targetMethodName\":\"onPublish\",\"visualConnector\":{\"__isSmartRef__\":true,\"id\":577},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"577\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":578}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":592},\"id\":139,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":599},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":600},\"droppingEnabled\":true,\"halosEnabled\":true,\"owner\":null,\"controlPoints\":[{\"__isSmartRef__\":true,\"id\":601},{\"__isSmartRef__\":true,\"id\":602}],\"con\":{\"__isSmartRef__\":true,\"id\":576},\"showsMorphMenu\":true,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":603},\"__LivelyClassName__\":\"lively.morphic.Path\"},\"578\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":579},\"id\":140,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":589},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":590},\"droppingEnabled\":true,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":591},\"owner\":{\"__isSmartRef__\":true,\"id\":577},\"_Rotation\":-2.5917394709132084,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.Path\"},\"579\":{\"dontChangeShape\":false,\"cachedVertices\":null,\"_PathElements\":[{\"__isSmartRef__\":true,\"id\":580},{\"__isSmartRef__\":true,\"id\":581},{\"__isSmartRef__\":true,\"id\":582},{\"__isSmartRef__\":true,\"id\":583}],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":584},\"_ClipMode\":\"visible\",\"_Position\":{\"__isSmartRef__\":true,\"id\":585},\"_Extent\":{\"__isSmartRef__\":true,\"id\":586},\"_Padding\":{\"__isSmartRef__\":true,\"id\":587},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":504},\"_Fill\":{\"__isSmartRef__\":true,\"id\":588},\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Path\"},\"580\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.MoveTo\"},\"581\":{\"isAbsolute\":true,\"x\":0,\"y\":12,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"582\":{\"isAbsolute\":true,\"x\":16,\"y\":6,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"583\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"584\":{\"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\"},\"585\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"586\":{\"x\":16,\"y\":12,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"587\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"588\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"589\":{\"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\"},\"590\":{\"morph\":{\"__isSmartRef__\":true,\"id\":578},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"591\":{\"x\":0.5,\"y\":0.5,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"592\":{\"dontChangeShape\":false,\"cachedVertices\":null,\"_PathElements\":[{\"__isSmartRef__\":true,\"id\":593},{\"__isSmartRef__\":true,\"id\":594}],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":595},\"_ClipMode\":\"visible\",\"_Position\":{\"__isSmartRef__\":true,\"id\":596},\"_Extent\":{\"__isSmartRef__\":true,\"id\":597},\"_Padding\":{\"__isSmartRef__\":true,\"id\":598},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":504},\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Path\"},\"593\":{\"isAbsolute\":true,\"x\":310,\"y\":190,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.MoveTo\"},\"594\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"595\":{\"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\"},\"596\":{\"x\":-0.5,\"y\":-0.5,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"597\":{\"x\":311,\"y\":191,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"598\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"599\":{\"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\"},\"600\":{\"morph\":{\"__isSmartRef__\":true,\"id\":577},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"601\":{\"morph\":{\"__isSmartRef__\":true,\"id\":577},\"index\":0,\"connectedMagnet\":null,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.ControlPoint\"},\"602\":{\"morph\":{\"__isSmartRef__\":true,\"id\":577},\"index\":1,\"connectedMagnet\":null,\"marker\":{\"__isSmartRef__\":true,\"id\":578},\"markerDirection\":\"prev\",\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.ControlPoint\"},\"603\":{\"morphMenuItems\":{\"__isSmartRef__\":true,\"id\":604}},\"604\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":605},\"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\":610},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"605\":{\"this\":{\"__isSmartRef__\":true,\"id\":577},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":606}},\"606\":{\"$super\":{\"__isSmartRef__\":true,\"id\":607}},\"607\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":608},\"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\":609},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"608\":{\"obj\":{\"__isSmartRef__\":true,\"id\":577},\"name\":\"morphMenuItems\"},\"609\":{},\"610\":{},\"611\":{\"x\":101,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"612\":{\"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\"},\"613\":{\"morph\":{\"__isSmartRef__\":true,\"id\":534},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"614\":{\"x\":62,\"y\":-12,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"615\":{\"x\":245,\"y\":378,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"616\":{\"moveVertical\":true,\"moveHorizontal\":true},\"617\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":618},\"id\":\"BF98BFF3-A9CB-440A-A325-EAE82A3AF620\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":625},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":626}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":628},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":true,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":629},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":630},\"_MaxTextWidth\":445,\"_MinTextWidth\":445,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"isInputLine\":true,\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"showsHalos\":false,\"name\":\"CommentText\",\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":631},\"previousSelection\":[139,139],\"priorSelectionRange\":[9,9],\"charsReplaced\":\"CommitMessageTest1\",\"lastFindLoc\":18,\"isLockOwner\":false,\"isBeingDragged\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":335},\"derivationIds\":[2900,\"7E82C349-9FC9-48B5-B84C-30E99FC40DF2\",\"A07EAFD3-B03B-4E4C-BC72-FB29F65F543A\",\"888FB55C-0365-4B40-A9B4-33FD19FA1E91\",\"37AE3F7E-8AF9-413E-BDB9-796C3CE0C0A6\",\"C19CF401-2869-429B-8C7E-3679F2C07B10\",\"16D31632-3C1B-4388-9753-E178F4D74EC3\",\"CE8B7F8B-0B5D-4A03-AFA0-CB5E4A9EE815\",\"A0B7AE1E-340F-4786-A906-37B5D92B955E\",\"6FB3DD7F-E27E-4C14-B6A7-87EE557243E3\",\"8C9DC597-8FB3-409F-9F92-43E22D1EE113\"],\"savedTextString\":\"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!\",\"layout\":{\"__isSmartRef__\":true,\"id\":632},\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"618\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":619},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":620},\"_Extent\":{\"__isSmartRef__\":true,\"id\":621},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":622},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":623},\"_Fill\":{\"__isSmartRef__\":true,\"id\":624},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"619\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"620\":{\"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\"},\"621\":{\"x\":455,\"y\":120,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"622\":{\"x\":4,\"y\":2,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"623\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"624\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"625\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"626\":{\"style\":{\"__isSmartRef__\":true,\"id\":627},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":617},\"storedString\":\"Pane for new ToolTabs\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\"},\"627\":{\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\"},\"628\":{\"morph\":{\"__isSmartRef__\":true,\"id\":617},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"629\":{\"x\":10,\"y\":110,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"630\":{\"x\":455,\"y\":120,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"631\":{\"x\":346,\"y\":-16,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"632\":{\"resizeWidth\":true},\"633\":{\"submorphs\":[],\"scripts\":[],\"id\":\"9048DDDB-1DAA-4059-8F53-ABBFC5C31BC1\",\"shape\":{\"__isSmartRef__\":true,\"id\":634},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":true,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":640},\"_MaxTextWidth\":250,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":637},\"showsHalos\":false,\"_FontSize\":12,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"Text9\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":641},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":642}],\"charsReplaced\":\"commit message\",\"lastFindLoc\":14,\"priorSelectionRange\":[0,14],\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":644},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":645},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":646},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_Padding\":{\"__isSmartRef__\":true,\"id\":647},\"_ClipMode\":\"visible\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"_MinTextWidth\":250,\"_MinTextHeight\":null,\"previousSelection\":[0,6],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":648},\"isLockOwner\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":335},\"derivationIds\":[2901,\"8E267E15-1052-4F9C-B863-B733384EF1DA\",\"851C46B4-347F-4AE4-9C04-C321E7CC8EA5\",\"D33CE057-77D6-4CCC-90F9-867C622B3572\",\"F9BFA4FE-D786-4384-B9F8-89EEA1D41685\",\"95D3D9C3-CA8D-42A5-833B-30E01D630A4A\",\"9FC24DFC-050E-423E-A017-2D5704509876\",\"1EF71F38-5BCB-4C26-AB60-E2105330181C\",\"7D191F0F-E475-47CF-BABE-55A543C7158D\",\"F6ACFDD6-981C-4170-82C4-1AA9C3090741\",\"092A05B9-0347-411B-8E2A-89272FF7A531\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"634\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":635},\"_Extent\":{\"__isSmartRef__\":true,\"id\":636},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":637},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":638},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":639},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"635\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"636\":{\"x\":250,\"y\":18,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"637\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"638\":{\"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\"},\"639\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"640\":{\"x\":10,\"y\":90,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"641\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":4,\"comment\":\"a simple text morph\",\"partName\":\"Text\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"642\":{\"style\":{\"__isSmartRef__\":true,\"id\":643},\"morph\":{\"__isSmartRef__\":true,\"id\":633},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":633},\"storedString\":\"comment\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"643\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"italics\":\"italic\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"644\":{\"x\":250,\"y\":18,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"645\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"646\":{\"morph\":{\"__isSmartRef__\":true,\"id\":633},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"647\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"648\":{\"x\":163,\"y\":-17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"649\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":650}],\"scripts\":[],\"id\":\"A8FDE68E-03D3-48FB-A840-9B0BE423DE0F\",\"shape\":{\"__isSmartRef__\":true,\"id\":665},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":669},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":681},\"label\":{\"__isSmartRef__\":true,\"id\":650},\"name\":\"DiffButton\",\"showsHalos\":false,\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":690},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":691}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":693},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":694},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":695},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":696},\"_Position\":{\"__isSmartRef__\":true,\"id\":697},\"derivationIds\":[2898,\"9D27A522-4E3D-482F-97CF-3CA3247A3999\",\"4EBF07AD-25C0-4034-BC06-31F137F70FA1\",\"DC6D6B8E-37AE-4815-A81A-AC7071124A26\",\"42DF6D49-8482-40A3-B901-512013BB5C75\",\"132901B3-F9F2-482D-99E6-40EAECDCEF13\",\"7BC760E1-232D-4654-8D89-3E2AF9B63E8A\",\"10CF8C2D-EC10-4718-9BB8-A4D765C25CA2\",\"E1457927-6D7F-4C43-A0D3-4606E937C36C\",\"B2BCD5A8-36BB-4202-B2F1-480CA22D151C\",\"16C66256-7472-4B33-A3FC-D41E1123E484\",\"9D6EC181-02A4-4AA3-9511-97B61299072E\"],\"owner\":{\"__isSmartRef__\":true,\"id\":335},\"layout\":{\"__isSmartRef__\":true,\"id\":698},\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"650\":{\"submorphs\":[],\"scripts\":[],\"id\":\"998C0D03-7E5D-4034-88A1-9E80CA884BE8\",\"shape\":{\"__isSmartRef__\":true,\"id\":651},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":657},\"_MaxTextWidth\":150,\"_MaxTextHeight\":null,\"textStyle\":null,\"padding\":{\"__isSmartRef__\":true,\"id\":658},\"_Padding\":{\"__isSmartRef__\":true,\"id\":659},\"owner\":{\"__isSmartRef__\":true,\"id\":649},\"isLabel\":true,\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"_ClipMode\":\"hidden\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":660},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":661}],\"_Align\":\"center\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":663},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":664},\"_HandStyle\":\"default\",\"_PointerEvents\":\"none\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_MinTextWidth\":150,\"_MinTextHeight\":null,\"derivationIds\":[2899,\"4F00D1F5-B85C-479E-BDDE-322DF2F432A3\",\"5E7BC7AC-9EF9-4CF5-9196-A542A26534CA\",\"46616896-CA46-4B43-B694-9FB001B32989\",\"F73D407C-A72D-414B-AB8D-1E28025BCA1C\",\"E34F55EC-06D3-4965-A0D2-625CA896E3B7\",\"2C75B823-DD52-427F-A501-B824B4C4AFFF\",\"B4D1CBE5-9DEA-4728-8803-CCD541086497\",\"6E0FBCF8-EAA4-4635-A092-F3A690EE9EF7\",\"89A9C61E-62E5-4DC5-9ABB-48A97517BF54\",\"7481FBBB-A4A7-4F5E-A153-60033229DE49\",\"FEBD2158-DF74-4EDF-BD2A-2C5A19DDF177\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"651\":{\"position\":{\"__isSmartRef__\":true,\"id\":652},\"_Extent\":{\"__isSmartRef__\":true,\"id\":653},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":654},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":655},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":656},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"652\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"653\":{\"x\":150,\"y\":21,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"654\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"655\":{\"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\"},\"656\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"657\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"658\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"659\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"660\":{\"x\":150,\"y\":21,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"661\":{\"style\":{\"__isSmartRef__\":true,\"id\":662},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":650},\"storedString\":\"check for updates\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"662\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"663\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"664\":{\"morph\":{\"__isSmartRef__\":true,\"id\":650},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"665\":{\"position\":{\"__isSmartRef__\":true,\"id\":666},\"_Extent\":{\"__isSmartRef__\":true,\"id\":667},\"_BorderWidth\":1.1840000000000002,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":668},\"_Fill\":{\"__isSmartRef__\":true,\"id\":669},\"_BorderRadius\":5.2,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":679},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":680},\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"666\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"667\":{\"x\":150,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"668\":{\"r\":0.839,\"g\":0.839,\"b\":0.839,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"669\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":670},{\"__isSmartRef__\":true,\"id\":672},{\"__isSmartRef__\":true,\"id\":674},{\"__isSmartRef__\":true,\"id\":676}],\"vector\":{\"__isSmartRef__\":true,\"id\":678},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"670\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":671}},\"671\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"672\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":673}},\"673\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"674\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":675}},\"675\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"676\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":677}},\"677\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"678\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"679\":{\"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\"},\"680\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"681\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":682},{\"__isSmartRef__\":true,\"id\":684},{\"__isSmartRef__\":true,\"id\":686},{\"__isSmartRef__\":true,\"id\":688}],\"vector\":{\"__isSmartRef__\":true,\"id\":678},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"682\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":683}},\"683\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"684\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":685}},\"685\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"686\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":687}},\"687\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"688\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":689}},\"689\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"690\":{\"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\"},\"691\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":649},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":335},\"targetMethodName\":\"checkForUpdates\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":692},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"692\":{\"source\":{\"__isSmartRef__\":true,\"id\":649},\"target\":{\"__isSmartRef__\":true,\"id\":335}},\"693\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"694\":{\"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\"},\"695\":{\"morph\":{\"__isSmartRef__\":true,\"id\":649},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"696\":{\"x\":69.5,\"y\":-18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"697\":{\"x\":10,\"y\":378,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"698\":{\"moveVertical\":true},\"699\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":700},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":701},\"_Extent\":{\"__isSmartRef__\":true,\"id\":702},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":703},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":704},\"_Fill\":{\"__isSmartRef__\":true,\"id\":705},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"700\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"701\":{\"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\"},\"702\":{\"x\":479,\"y\":415,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"703\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"704\":{\"r\":0.372,\"g\":0.369,\"b\":0.372,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"705\":{\"r\":0.8235294117647058,\"g\":0.8235294117647058,\"b\":0.8235294117647058,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"706\":{\"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\"},\"707\":{\"morph\":{\"__isSmartRef__\":true,\"id\":335},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"708\":{\"adjustForNewBounds\":true,\"resizeWidth\":true,\"resizeHeight\":true},\"709\":{\"message\":\"Please enter a name for the part\",\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":710}],\"doNotSerialize\":[\"$$result\"],\"doNotCopyProperties\":[\"$$result\"],\"defaultInput\":\"CommitMessageTest1\",\"panel\":{\"__isSmartRef__\":true,\"id\":335},\"label\":{\"__isSmartRef__\":true,\"id\":711},\"cancelButton\":{\"__isSmartRef__\":true,\"id\":723},\"okButton\":{\"__isSmartRef__\":true,\"id\":769},\"inputText\":{\"__isSmartRef__\":true,\"id\":336},\"view\":{\"__isSmartRef__\":true,\"id\":335},\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"result\":\"CommitMessageTest1\",\"__LivelyClassName__\":\"lively.morphic.PromptDialog\"},\"710\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":709},\"sourceAttrName\":\"result\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":709},\"targetMethodName\":\"triggerCallback\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"711\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":712},\"id\":3220,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":717},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":718}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":720},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":false,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":721},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":722},\"_MaxTextWidth\":null,\"_MinTextWidth\":null,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":null,\"isLabel\":true,\"_HandStyle\":\"default\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"showsHalos\":false,\"isCopyMorphRef\":true,\"morphRefId\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"712\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":713},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":714},\"_Extent\":{\"__isSmartRef__\":true,\"id\":715},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":341},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":342},\"_Fill\":{\"__isSmartRef__\":true,\"id\":716},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"713\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"714\":{\"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\"},\"715\":{\"x\":226,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"716\":{\"r\":1,\"g\":1,\"b\":1,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"717\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"718\":{\"style\":{\"__isSmartRef__\":true,\"id\":719},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":711},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"719\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"720\":{\"morph\":{\"__isSmartRef__\":true,\"id\":711},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"721\":{\"x\":4,\"y\":4,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"722\":{\"x\":226,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"723\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":724},\"id\":6793,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":740},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":741},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":742},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":743},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":730},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":744},\"label\":{\"__isSmartRef__\":true,\"id\":753},\"layout\":{\"__isSmartRef__\":true,\"id\":765},\"owner\":null,\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":766},{\"__isSmartRef__\":true,\"id\":767}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"isCopyMorphRef\":true,\"morphRefId\":1,\"isLockOwner\":false,\"showsHalos\":false,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"724\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":725},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":726},\"_Extent\":{\"__isSmartRef__\":true,\"id\":727},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":728},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":729},\"_Fill\":{\"__isSmartRef__\":true,\"id\":730},\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"725\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"726\":{\"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\"},\"727\":{\"x\":60,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"728\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"729\":{\"r\":0.7411764705882353,\"g\":0.7450980392156863,\"b\":0.7529411764705882,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"730\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":731},{\"__isSmartRef__\":true,\"id\":733},{\"__isSmartRef__\":true,\"id\":735},{\"__isSmartRef__\":true,\"id\":737}],\"vector\":{\"__isSmartRef__\":true,\"id\":739},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"731\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":732}},\"732\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"733\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":734}},\"734\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"735\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":736}},\"736\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"737\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":738}},\"738\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"739\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"740\":{\"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\"},\"741\":{\"morph\":{\"__isSmartRef__\":true,\"id\":723},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"742\":{\"x\":478,\"y\":187,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"743\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"744\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":745},{\"__isSmartRef__\":true,\"id\":747},{\"__isSmartRef__\":true,\"id\":749},{\"__isSmartRef__\":true,\"id\":751}],\"vector\":{\"__isSmartRef__\":true,\"id\":739},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"745\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":746}},\"746\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"747\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":748}},\"748\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"749\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":750}},\"750\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"751\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":752}},\"752\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"753\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":754},\"id\":6794,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":759},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":760}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":762},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":763},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":764},\"_MaxTextWidth\":60,\"_MinTextWidth\":60,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":null,\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"isLockOwner\":false,\"showsHalos\":false,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"754\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":755},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":756},\"_Extent\":{\"__isSmartRef__\":true,\"id\":757},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":758},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":342},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"755\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"756\":{\"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\"},\"757\":{\"x\":60,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"758\":{\"x\":0,\"y\":6,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"759\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"760\":{\"style\":{\"__isSmartRef__\":true,\"id\":761},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":753},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"761\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"762\":{\"morph\":{\"__isSmartRef__\":true,\"id\":753},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"763\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"764\":{\"x\":60,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"765\":{\"moveVertical\":true,\"moveHorizontal\":true},\"766\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":723},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":709},\"targetMethodName\":\"removeTopLevel\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"767\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":723},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":709},\"targetMethodName\":\"result\",\"converter\":null,\"converterString\":\"function () { return null }\",\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":768},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"768\":{\"source\":{\"__isSmartRef__\":true,\"id\":723},\"target\":{\"__isSmartRef__\":true,\"id\":709}},\"769\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":770},\"id\":6795,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":775},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":776},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":777},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":778},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":730},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":779},\"label\":{\"__isSmartRef__\":true,\"id\":788},\"layout\":{\"__isSmartRef__\":true,\"id\":800},\"owner\":null,\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":801},{\"__isSmartRef__\":true,\"id\":802}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"isCopyMorphRef\":true,\"morphRefId\":2,\"isLockOwner\":false,\"showsHalos\":false,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"770\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":771},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":772},\"_Extent\":{\"__isSmartRef__\":true,\"id\":773},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":774},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":729},\"_Fill\":{\"__isSmartRef__\":true,\"id\":730},\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"771\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"772\":{\"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\"},\"773\":{\"x\":60,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"774\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"775\":{\"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\"},\"776\":{\"morph\":{\"__isSmartRef__\":true,\"id\":769},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"777\":{\"x\":414,\"y\":187,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"778\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"779\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":780},{\"__isSmartRef__\":true,\"id\":782},{\"__isSmartRef__\":true,\"id\":784},{\"__isSmartRef__\":true,\"id\":786}],\"vector\":{\"__isSmartRef__\":true,\"id\":739},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"780\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":781}},\"781\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"782\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":783}},\"783\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"784\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":785}},\"785\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"786\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":787}},\"787\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"788\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":789},\"id\":6796,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":794},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":795}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":797},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":798},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":799},\"_MaxTextWidth\":60,\"_MinTextWidth\":60,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":null,\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"isLockOwner\":false,\"showsHalos\":false,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"789\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":790},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":791},\"_Extent\":{\"__isSmartRef__\":true,\"id\":792},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":793},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":342},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"790\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"791\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"792\":{\"x\":60,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"793\":{\"x\":0,\"y\":6,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"794\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"795\":{\"style\":{\"__isSmartRef__\":true,\"id\":796},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":788},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"796\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"797\":{\"morph\":{\"__isSmartRef__\":true,\"id\":788},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"798\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"799\":{\"x\":60,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"800\":{\"moveVertical\":true,\"moveHorizontal\":true},\"801\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":769},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":709},\"targetMethodName\":\"removeTopLevel\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"802\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":769},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":336},\"targetMethodName\":\"doSave\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"803\":{\"x\":479,\"y\":415,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"804\":{\"x\":365,\"y\":-16,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"805\":{\"x\":0,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"806\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":807},{\"__isSmartRef__\":true,\"id\":335},{\"__isSmartRef__\":true,\"id\":955}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1009},\"id\":\"2DA888C9-D998-4D77-AEA8-7702C5C85170\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1013},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1014},\"droppingEnabled\":true,\"halosEnabled\":true,\"__layered_draggingEnabled__\":true,\"layout\":{\"__isSmartRef__\":true,\"id\":1015},\"LK2\":true,\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1016},\"targetMorph\":{\"__isSmartRef__\":true,\"id\":335},\"titleBar\":{\"__isSmartRef__\":true,\"id\":807},\"contentOffset\":{\"__isSmartRef__\":true,\"id\":1017},\"collapsedTransform\":null,\"collapsedExtent\":null,\"expandedTransform\":null,\"expandedExtent\":null,\"ignoreEventsOnExpand\":false,\"highlighted\":true,\"prevDragPos\":{\"__isSmartRef__\":true,\"id\":1018},\"isBeingDragged\":false,\"showsHalos\":false,\"name\":\"PublishPartDialog1\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1019},\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":1040},{\"__isSmartRef__\":true,\"id\":1654}],\"doNotSerialize\":[\"$$headRevision\"],\"doNotCopyProperties\":[\"$$headRevision\"],\"prevScroll\":[0,0],\"_Position\":{\"__isSmartRef__\":true,\"id\":2319},\"isCopyMorphRef\":true,\"morphRefId\":12,\"derivationIds\":[2879,\"91414FD8-3775-435F-96A6-39E0CB891CD7\",\"9CB574CD-94E3-465A-B85C-91F97E070BC3\",\"C9D390C2-399F-44AF-A316-A4A117E5F7B6\",\"0A0B9181-A04D-441B-944F-585ED335E81B\",\"DEDFDD48-51F2-4C04-9681-6B64D465BE14\",\"FD496905-E054-4BF1-B162-EB0F08C1C829\",\"7A7DC0E8-6CA2-49DC-A660-7E873F834AB2\",\"401B15D2-9AFF-4843-85A2-16186AFFDFD4\",\"D4692AD1-A7CA-4F57-A55F-B485279A8B90\",\"DDF6DDB6-572F-4DC7-911A-4F7E5F310189\"],\"moved\":true,\"_Rotation\":0,\"_Scale\":1,\"minExtent\":{\"__isSmartRef__\":true,\"id\":2320},\"headRevision\":147095,\"__LivelyClassName__\":\"lively.morphic.Window\",\"withoutLayers\":[\"Global.lively.morphic.GrabbingLayer\"]},\"807\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":808},{\"__isSmartRef__\":true,\"id\":822},{\"__isSmartRef__\":true,\"id\":869},{\"__isSmartRef__\":true,\"id\":903}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":938},\"id\":\"C74D377C-7CA6-4191-A3CF-E90630BF7B20\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":950},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":951},\"droppingEnabled\":true,\"halosEnabled\":true,\"layout\":{\"__isSmartRef__\":true,\"id\":952},\"_Position\":{\"__isSmartRef__\":true,\"id\":953},\"windowMorph\":{\"__isSmartRef__\":true,\"id\":806},\"label\":{\"__isSmartRef__\":true,\"id\":808},\"closeButton\":{\"__isSmartRef__\":true,\"id\":822},\"menuButton\":{\"__isSmartRef__\":true,\"id\":869},\"collapseButton\":{\"__isSmartRef__\":true,\"id\":903},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":954},\"owner\":{\"__isSmartRef__\":true,\"id\":806},\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"derivationIds\":[2880,\"108B5871-F6C8-4442-82D1-F8776D2C85A2\",\"503529CB-0F23-4456-8597-CD5E86CF03F0\",\"4FB4914E-E245-4D67-BE3B-63091E2C8C95\",\"B69B0DCD-8CC6-4A06-B738-A12B5269CD7D\",\"6D1BAF1C-9402-44ED-A26B-9B74CF07DF60\",\"B4808FFA-4EA4-43B1-A7FC-0BEF063FC467\",\"C49A9265-2632-4101-BEB3-C57320C2187A\",\"0E3215D4-8AAB-4F52-8AD0-FC2EEC395A9A\",\"0B36C705-2DB1-4ECE-8E5D-164334FB519B\",\"305AE4E8-ADC7-4C81-BF54-3C180FEF414F\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.TitleBar\"},\"808\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":809},\"id\":\"64F2B9B4-8BBE-4A2C-BEF7-0E976197829B\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":815},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":816}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":818},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"evalEnabled\":false,\"isLabel\":true,\"_HandStyle\":\"default\",\"layout\":{\"__isSmartRef__\":true,\"id\":819},\"_Align\":\"center\",\"eventsAreIgnored\":true,\"owner\":{\"__isSmartRef__\":true,\"id\":807},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":820},\"_MaxTextWidth\":420,\"_MinTextWidth\":420,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"_Position\":{\"__isSmartRef__\":true,\"id\":821},\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"derivationIds\":[2881,\"A06A709C-AD42-48D0-A66A-9C21EA4F4E66\",\"EE1A345D-476E-4E22-BE89-E59A0C11001B\",\"90634CE5-77D0-4064-961C-4CBADE59C6F8\",\"C26670E3-5765-406B-972F-888FD1EAF967\",\"E252D4C8-705A-4A40-B4E8-3638444DBAC4\",\"89C11EA9-F897-4A67-9CDD-A79FAF7B04F1\",\"1D2D6235-8732-4E39-829D-8C599DE39537\",\"4819892D-6CED-4387-A505-50ADEC598F02\",\"63A7D46C-A16B-464D-9315-8AD0CFC0FD20\",\"CA96C77F-AAE5-4A7A-9D8A-F4B2DFC9148D\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"809\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":810},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":811},\"_Extent\":{\"__isSmartRef__\":true,\"id\":812},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":813},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":814},\"_Fill\":null,\"_BorderRadius\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"810\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"811\":{\"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\"},\"812\":{\"x\":420,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"813\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"814\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"815\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"816\":{\"style\":{\"__isSmartRef__\":true,\"id\":817},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":808},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"Publish in PartsBin\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"817\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"818\":{\"morph\":{\"__isSmartRef__\":true,\"id\":808},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"819\":{\"resizeWidth\":true},\"820\":{\"x\":420,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"821\":{\"x\":20,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"822\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":823}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":835},\"id\":\"E654B53E-7BB2-4457-826B-2B79AE671FF9\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":851},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":852},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"accessibleInInactiveWindow\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":853},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":854},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":841},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":855},\"label\":{\"__isSmartRef__\":true,\"id\":823},\"owner\":{\"__isSmartRef__\":true,\"id\":807},\"layout\":{\"__isSmartRef__\":true,\"id\":864},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":865},{\"__isSmartRef__\":true,\"id\":867}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"prevScroll\":[0,0],\"derivationIds\":[2882,\"6FF08B49-B1B5-4E12-8CE8-DF895115627D\",\"7F48C6F9-BB0C-405E-991B-410F179F7FE6\",\"8405D63F-4E07-4FE8-9008-DD8AE000B5C8\",\"D81DD158-CA4D-44A9-B0A6-3FD7DF7EFD68\",\"B32CD4CF-CE28-40AB-8F9E-23E12B00C595\",\"581848BC-C01C-443F-B6AD-4A61CE8EB72E\",\"62393865-D1D9-40DE-B048-1249932ECD31\",\"8FB8E2BF-E816-4D6F-8E57-4D1FEAB65258\",\"BE49E07E-D7F5-4EB9-9CED-C5857E3E2E05\",\"8400BD9B-C243-4480-8B72-9881692A9AC4\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"823\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":824},\"id\":\"B588E744-DF10-4755-B5DF-1880C6ABF3E3\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":829},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":830}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":832},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":8,\"_Position\":{\"__isSmartRef__\":true,\"id\":833},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":834},\"_MaxTextWidth\":17,\"_MinTextWidth\":17,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":822},\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"derivationIds\":[2883,\"9FBA502B-65B1-4FF2-A0A6-9951E3C50B9C\",\"9F297DAE-65AA-45A3-AFAE-BD35F359E24A\",\"75386CDF-09C9-47F2-8762-F737A49FD645\",\"C43A7038-D61D-47C7-BFA8-8C8A77627643\",\"5BF20970-1750-47F6-8D9D-E7A798428D52\",\"74925934-1F3C-432E-BBD6-02C666263ED7\",\"C4BDF6D3-0621-4923-A192-E4488E7679D1\",\"376C89CF-A021-4CA6-A6AC-47177BFB2062\",\"878C6C67-6B17-432C-B06E-FBBC1FDADE0D\",\"D49A7E68-DC41-42E3-8DC4-073D080B4548\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"824\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":825},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":826},\"_Extent\":{\"__isSmartRef__\":true,\"id\":827},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":828},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":814},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"825\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"826\":{\"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\"},\"827\":{\"x\":17,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"828\":{\"x\":0,\"y\":3,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"829\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"830\":{\"style\":{\"__isSmartRef__\":true,\"id\":831},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":823},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"X\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"831\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"832\":{\"morph\":{\"__isSmartRef__\":true,\"id\":823},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"833\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"834\":{\"x\":17,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"835\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":836},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":837},\"_Extent\":{\"__isSmartRef__\":true,\"id\":838},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":839},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":840},\"_Fill\":{\"__isSmartRef__\":true,\"id\":841},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"836\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"837\":{\"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\"},\"838\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"839\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"840\":{\"r\":0.7411764705882353,\"g\":0.7450980392156863,\"b\":0.7529411764705882,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"841\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":842},{\"__isSmartRef__\":true,\"id\":844},{\"__isSmartRef__\":true,\"id\":846},{\"__isSmartRef__\":true,\"id\":848}],\"vector\":{\"__isSmartRef__\":true,\"id\":850},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"842\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":843}},\"843\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"844\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":845}},\"845\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"846\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":847}},\"847\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"848\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":849}},\"849\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"850\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"851\":{\"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\"},\"852\":{\"morph\":{\"__isSmartRef__\":true,\"id\":822},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"853\":{\"x\":459,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"854\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"855\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":856},{\"__isSmartRef__\":true,\"id\":858},{\"__isSmartRef__\":true,\"id\":860},{\"__isSmartRef__\":true,\"id\":862}],\"vector\":{\"__isSmartRef__\":true,\"id\":850},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"856\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":857}},\"857\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"858\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":859}},\"859\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"860\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":861}},\"861\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"862\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":863}},\"863\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"864\":{\"moveHorizontal\":true},\"865\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":822},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":806},\"targetMethodName\":\"getCloseHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":866},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"866\":{\"source\":{\"__isSmartRef__\":true,\"id\":822},\"target\":{\"__isSmartRef__\":true,\"id\":806}},\"867\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":822},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":806},\"targetMethodName\":\"initiateShutdown\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":868},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"868\":{\"source\":{\"__isSmartRef__\":true,\"id\":822},\"target\":{\"__isSmartRef__\":true,\"id\":806}},\"869\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":870}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":881},\"id\":\"F9416B82-A30E-42EA-97BB-CA5E347C1FE8\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":886},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":887},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"accessibleInInactiveWindow\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":888},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":889},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":841},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":890},\"label\":{\"__isSmartRef__\":true,\"id\":870},\"owner\":{\"__isSmartRef__\":true,\"id\":807},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":899},{\"__isSmartRef__\":true,\"id\":901}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"derivationIds\":[2884,\"64F20257-1A1D-4B3E-97C4-BC5D1F1E14B5\",\"A377FFCE-0FDC-41B6-BD34-D9F0507B57DA\",\"7334352E-B497-4F10-8C06-FBE36AA778C7\",\"E8269870-961E-49ED-ACE6-3CB90CD1937A\",\"3182A6E6-F492-4D7F-B240-55DC62E7DDF9\",\"5983668D-3862-4DE4-8C9C-57903C2FF112\",\"7EA72C52-A5FE-49D7-B644-F1CF1E948B7A\",\"378BCE5E-C14D-460C-B7E5-BA2B832168F0\",\"3C395E36-6E1E-4715-AE14-CBAB23875359\",\"3A64C38B-ACDD-4EE3-9CB8-1CF3F5338FBC\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"870\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":871},\"id\":\"045D5FDB-91C2-4438-9AB9-1F9F0BE79A44\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":875},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":876}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":878},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":8,\"_Position\":{\"__isSmartRef__\":true,\"id\":879},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":880},\"_MaxTextWidth\":17,\"_MinTextWidth\":17,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":869},\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"derivationIds\":[2885,\"EC48B50E-CD5B-46FB-BF78-484373EED980\",\"59F8AF9B-799B-413B-86B2-BFD03A4B2559\",\"F8293A60-E9DB-40E3-B202-D547939F8A8D\",\"30E16AEA-8638-441D-A4B6-A7F2EB4D1987\",\"012E89E5-818C-4BAE-B1DB-B01796C23183\",\"D8FA4A79-180A-4D30-B4C8-2AC5E176057B\",\"7184ABDF-8484-4658-8968-C1DD68EFFC46\",\"4BC7DE67-2773-45F7-BA0D-BB473B463C0B\",\"1350953C-3FB0-428F-ADAF-AB46A2A7743D\",\"677531C6-1A55-423B-AD8E-B0CF60EA6AE7\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"871\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":872},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":873},\"_Extent\":{\"__isSmartRef__\":true,\"id\":874},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":828},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":814},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"872\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"873\":{\"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\"},\"874\":{\"x\":17,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"875\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"876\":{\"style\":{\"__isSmartRef__\":true,\"id\":877},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":870},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"M\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"877\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"878\":{\"morph\":{\"__isSmartRef__\":true,\"id\":870},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"879\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"880\":{\"x\":17,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"881\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":882},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":883},\"_Extent\":{\"__isSmartRef__\":true,\"id\":884},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":885},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":840},\"_Fill\":{\"__isSmartRef__\":true,\"id\":841},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"882\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"883\":{\"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\"},\"884\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"885\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"886\":{\"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\"},\"887\":{\"morph\":{\"__isSmartRef__\":true,\"id\":869},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"888\":{\"x\":3,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"889\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"890\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":891},{\"__isSmartRef__\":true,\"id\":893},{\"__isSmartRef__\":true,\"id\":895},{\"__isSmartRef__\":true,\"id\":897}],\"vector\":{\"__isSmartRef__\":true,\"id\":850},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"891\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":892}},\"892\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"893\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":894}},\"894\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"895\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":896}},\"896\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"897\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":898}},\"898\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"899\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":869},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":806},\"targetMethodName\":\"getMenuHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":900},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"900\":{\"source\":{\"__isSmartRef__\":true,\"id\":869},\"target\":{\"__isSmartRef__\":true,\"id\":806}},\"901\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":869},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":806},\"targetMethodName\":\"showTargetMorphMenu\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":902},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"902\":{\"source\":{\"__isSmartRef__\":true,\"id\":869},\"target\":{\"__isSmartRef__\":true,\"id\":806}},\"903\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":904}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":915},\"id\":\"B4FF9758-339A-4F85-80E8-2FC5B5A86C3D\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":920},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":921},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"accessibleInInactiveWindow\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":922},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":923},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":841},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":924},\"label\":{\"__isSmartRef__\":true,\"id\":904},\"owner\":{\"__isSmartRef__\":true,\"id\":807},\"layout\":{\"__isSmartRef__\":true,\"id\":933},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":934},{\"__isSmartRef__\":true,\"id\":936}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"prevScroll\":[0,0],\"derivationIds\":[2886,\"9FC4F0BE-916D-456B-AEC7-E6C1AC6040CA\",\"A0A4775F-7F2F-4563-840D-CAA5CB435D75\",\"C87D3EB9-4C3B-4230-9794-F5B71B528C74\",\"D62C35A2-6803-4217-9DFD-0E480D4B82AE\",\"D8274457-EA55-431C-BA2E-C227C335C1FB\",\"943A7D62-2DE4-42E8-AC93-4E68B660CEF2\",\"E83FFE4B-9181-44F7-A77C-84E5625F788A\",\"6A34C9A1-6B4C-430B-ACD4-6A29D0F20D42\",\"BD7F031B-2DEE-4151-ABD8-B5A513D25129\",\"AD3F7784-7CB8-4CFE-98B0-83A4D43542C7\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"904\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":905},\"id\":\"5A096693-16C2-4033-A965-C4615A8614C0\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":909},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":910}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":912},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":8,\"_Position\":{\"__isSmartRef__\":true,\"id\":913},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":914},\"_MaxTextWidth\":17,\"_MinTextWidth\":17,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":903},\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"derivationIds\":[2887,\"42347453-BADB-4DB0-9486-C479B704CD7C\",\"B0BBE9B3-B5DD-4E4F-A1AA-1C03BB1BFF4E\",\"8AE3BC44-F336-420E-A2E9-BBA0DC6A3D72\",\"3DC5BABC-5EF1-4FC6-805B-0FC1CC02282F\",\"C5E01762-30EA-4342-A348-F75EA6C33D11\",\"209EBE14-87CB-44C9-B8C0-1A74CE2ACDB6\",\"1A0CE8F3-7342-484C-BA10-2E8291158E44\",\"28A42BB4-7534-4B0D-BBE9-B4D3FDCF024F\",\"D5D7B12C-1731-4943-BD69-699C99C398E1\",\"DD22A464-4EB8-41F8-9103-DEE095D40932\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"905\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":906},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":907},\"_Extent\":{\"__isSmartRef__\":true,\"id\":908},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":828},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":814},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"906\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"907\":{\"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\"},\"908\":{\"x\":17,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"909\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"910\":{\"style\":{\"__isSmartRef__\":true,\"id\":911},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":904},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"–\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"911\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"912\":{\"morph\":{\"__isSmartRef__\":true,\"id\":904},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"913\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"914\":{\"x\":17,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"915\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":916},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":917},\"_Extent\":{\"__isSmartRef__\":true,\"id\":918},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":919},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":840},\"_Fill\":{\"__isSmartRef__\":true,\"id\":841},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"916\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"917\":{\"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\"},\"918\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"919\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"920\":{\"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\"},\"921\":{\"morph\":{\"__isSmartRef__\":true,\"id\":903},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"922\":{\"x\":440,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"923\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"924\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":925},{\"__isSmartRef__\":true,\"id\":927},{\"__isSmartRef__\":true,\"id\":929},{\"__isSmartRef__\":true,\"id\":931}],\"vector\":{\"__isSmartRef__\":true,\"id\":850},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"925\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":926}},\"926\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"927\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":928}},\"928\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"929\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":930}},\"930\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"931\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":932}},\"932\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"933\":{\"moveHorizontal\":true},\"934\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":903},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":806},\"targetMethodName\":\"getCollapseHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":935},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"935\":{\"source\":{\"__isSmartRef__\":true,\"id\":903},\"target\":{\"__isSmartRef__\":true,\"id\":806}},\"936\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":903},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":806},\"targetMethodName\":\"toggleCollapse\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":937},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"937\":{\"source\":{\"__isSmartRef__\":true,\"id\":903},\"target\":{\"__isSmartRef__\":true,\"id\":806}},\"938\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":939},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":940},\"_Extent\":{\"__isSmartRef__\":true,\"id\":941},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":942},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":943},\"_Fill\":{\"__isSmartRef__\":true,\"id\":944},\"_StrokeOpacity\":1,\"_BorderRadius\":\"8px 8px 0px 0px\",\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"939\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"940\":{\"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\"},\"941\":{\"x\":479,\"y\":22,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"942\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"943\":{\"r\":0.4,\"g\":0.4,\"b\":0.4,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"944\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":945},{\"__isSmartRef__\":true,\"id\":947}],\"vector\":{\"__isSmartRef__\":true,\"id\":949},\"__LivelyClassName__\":\"lively.morphic.LinearGradient\",\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\"},\"945\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":946}},\"946\":{\"r\":1,\"g\":1,\"b\":1,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"947\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":948}},\"948\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"949\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__LivelyClassName__\":\"Rectangle\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"950\":{\"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\"},\"951\":{\"morph\":{\"__isSmartRef__\":true,\"id\":807},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"952\":{\"resizeWidth\":true,\"adjustForNewBounds\":true},\"953\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"954\":{\"x\":479,\"y\":22,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"955\":{\"submorphs\":[],\"scripts\":[],\"id\":\"4CA2FB63-9C05-4F55-9FF5-1A7AF082AF48\",\"shape\":{\"__isSmartRef__\":true,\"id\":956},\"droppingEnabled\":true,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":963},\"showsHalos\":false,\"name\":\"ResizeCorner\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":964},\"__SourceModuleName__\":\"Global.lively.morphic.Core\",\"draggingEnabled\":true,\"dragStartPoint\":null,\"originalExtent\":{\"__isSmartRef__\":true,\"id\":965},\"originalTargetExtent\":null,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":966},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":967},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":968},\"originalTargetInnerBounds\":null,\"isResizeCorner\":true,\"relativeOrigin\":null,\"derivationIds\":[7147,\"16E962DF-21E9-4FE6-8B9B-953F0E908113\",\"ADD0B5C0-0DC6-4D8E-9C2A-0EC7E3C71F21\",\"F0667EB1-BF07-4E63-BA56-99189F82C865\",\"DFDE68D2-3731-46DE-ADC8-56E32998CE07\"],\"moved\":true,\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":969}],\"doNotSerialize\":[\"$$cornerName\"],\"doNotCopyProperties\":[\"$$cornerName\"],\"originalTargetBounds\":null,\"owner\":{\"__isSmartRef__\":true,\"id\":806},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":970},\"_Rotation\":0,\"_Scale\":1,\"cornerName\":\"bottomRight\",\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":971},\"__LivelyClassName__\":\"lively.morphic.Box\"},\"956\":{\"position\":{\"__isSmartRef__\":true,\"id\":957},\"_Extent\":{\"__isSmartRef__\":true,\"id\":958},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":959},\"_Fill\":{\"__isSmartRef__\":true,\"id\":960},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":961},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":962},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"957\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"958\":{\"x\":10,\"y\":10,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"959\":{\"r\":0.568,\"g\":0.568,\"b\":0.568,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"960\":{\"r\":0.258,\"g\":0.258,\"b\":0.258,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"961\":{\"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\"},\"962\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"963\":{\"x\":469,\"y\":427,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"964\":{\"partsSpaceName\":\"PartsBin/Widgets/\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":2,\"comment\":\"Resize an object without using halos.\",\"partName\":\"ResizeCorner\",\"revisionOnLoad\":140152,\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"965\":{\"x\":239,\"y\":138,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"966\":{\"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\"},\"967\":{\"morph\":{\"__isSmartRef__\":true,\"id\":955},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"968\":{\"x\":10,\"y\":10,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"969\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":955},\"sourceAttrName\":\"cornerName\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":955},\"targetMethodName\":\"alignToOwner\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"970\":{\"x\":42,\"y\":-10,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"971\":{\"onDrag\":{\"__isSmartRef__\":true,\"id\":972},\"onDragEnd\":{\"__isSmartRef__\":true,\"id\":980},\"onDragStart\":{\"__isSmartRef__\":true,\"id\":988},\"reset\":{\"__isSmartRef__\":true,\"id\":996},\"morphMenuItems\":{\"__isSmartRef__\":true,\"id\":999},\"alignToOwner\":{\"__isSmartRef__\":true,\"id\":1006}},\"972\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":973},\"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\":978},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"973\":{\"this\":{\"__isSmartRef__\":true,\"id\":955},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":974}},\"974\":{\"$super\":{\"__isSmartRef__\":true,\"id\":975}},\"975\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":976},\"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\":977},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"976\":{\"obj\":{\"__isSmartRef__\":true,\"id\":955},\"name\":\"onDrag\"},\"977\":{},\"978\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":979},\"user\":\"sstamm\",\"tags\":[]},\"979\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 23 2012 12:08:52 GMT+0100 (Mitteleuropäische Zeit)\"},\"980\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":981},\"source\":\"function onDragEnd(evt) {\\n this.dragStartPoint = null;\\n this.originalTargetBounds = null;\\n this.relativeOrigin = null;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":986},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"981\":{\"this\":{\"__isSmartRef__\":true,\"id\":955},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":982}},\"982\":{\"$super\":{\"__isSmartRef__\":true,\"id\":983}},\"983\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":984},\"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\":985},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"984\":{\"obj\":{\"__isSmartRef__\":true,\"id\":955},\"name\":\"onDragEnd\"},\"985\":{},\"986\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":987},\"user\":\"sstamm\",\"tags\":[]},\"987\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 23 2012 12:09:00 GMT+0100 (Mitteleuropäische Zeit)\"},\"988\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":989},\"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\":994},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"989\":{\"this\":{\"__isSmartRef__\":true,\"id\":955},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":990}},\"990\":{\"$super\":{\"__isSmartRef__\":true,\"id\":991}},\"991\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":992},\"source\":\"function () {\\n try {\\n return obj.constructor.prototype[name].apply(obj, arguments)\\n } catch (e) {\\n alert('Error in $super call: ' + e + '\\\\n' + e.stack);\\n return null;\\n }\\n }\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":993},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"992\":{\"obj\":{\"__isSmartRef__\":true,\"id\":955},\"name\":\"onDragStart\"},\"993\":{},\"994\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":995},\"user\":\"sstamm\",\"tags\":[]},\"995\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 23 2012 12:08:40 GMT+0100 (Mitteleuropäische Zeit)\"},\"996\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":997},\"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\":998},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"997\":{\"this\":{\"__isSmartRef__\":true,\"id\":955}},\"998\":{},\"999\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1000},\"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\":1005},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1000\":{\"this\":{\"__isSmartRef__\":true,\"id\":955},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":1001}},\"1001\":{\"$super\":{\"__isSmartRef__\":true,\"id\":1002}},\"1002\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1003},\"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\":1004},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1003\":{\"obj\":{\"__isSmartRef__\":true,\"id\":955},\"name\":\"morphMenuItems\"},\"1004\":{},\"1005\":{},\"1006\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1007},\"source\":\"function alignToOwner() {\\n this.align(this.bounds()[this.cornerName](), this.owner.shape.bounds()[this.cornerName]() )\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":1008},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1007\":{\"this\":{\"__isSmartRef__\":true,\"id\":955}},\"1008\":{},\"1009\":{\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1010},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1011},\"_BorderWidth\":0,\"_Fill\":null,\"_StrokeOpacity\":0,\"_BorderRadius\":0,\"_Extent\":{\"__isSmartRef__\":true,\"id\":1012},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1010\":{\"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\"},\"1011\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1012\":{\"x\":479,\"y\":437,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1013\":{\"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\"},\"1014\":{\"morph\":{\"__isSmartRef__\":true,\"id\":806},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1015\":{\"adjustForNewBounds\":true},\"1016\":{\"x\":479,\"y\":437,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1017\":{\"x\":0,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1018\":{\"x\":676,\"y\":96,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1019\":{\"partName\":\"PublishPartDialog\",\"requiredModules\":[],\"migrationLevel\":4,\"partsSpaceName\":\"PartsBin/Dialogs\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"comment\":\"A dialog for publishing parts in the PartsBin.\",\"changes\":[{\"__isSmartRef__\":true,\"id\":1020},{\"__isSmartRef__\":true,\"id\":1022},{\"__isSmartRef__\":true,\"id\":1024},{\"__isSmartRef__\":true,\"id\":1026},{\"__isSmartRef__\":true,\"id\":1028},{\"__isSmartRef__\":true,\"id\":1030},{\"__isSmartRef__\":true,\"id\":1032},{\"__isSmartRef__\":true,\"id\":1034},{\"__isSmartRef__\":true,\"id\":1036},{\"__isSmartRef__\":true,\"id\":1038}],\"revisionOnLoad\":147792,\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"1020\":{\"date\":{\"__isSmartRef__\":true,\"id\":1021},\"author\":\"undefined\",\"message\":\"resetted view\",\"id\":\"61086210-FA8D-49B7-9E8F-E1E202A9ECD7\"},\"1021\":{\"isSerializedDate\":true,\"string\":\"Wed Mar 21 2012 14:50:23 GMT+0100 (Mitteleuropäische Zeit)\"},\"1022\":{\"date\":{\"__isSmartRef__\":true,\"id\":1023},\"author\":\"undefined\",\"message\":\"added show diff button\",\"id\":\"93AC78DB-FFE8-40AC-B8FC-34B0936B39A7\"},\"1023\":{\"isSerializedDate\":true,\"string\":\"Wed Mar 21 2012 14:49:44 GMT+0100 (Mitteleuropäische Zeit)\"},\"1024\":{\"date\":{\"__isSmartRef__\":true,\"id\":1025},\"author\":\"undefined\",\"message\":\"\",\"id\":\"A5F4EACF-EF62-483F-B8B3-65966A895FA4\"},\"1025\":{\"isSerializedDate\":true,\"string\":\"Tue Mar 20 2012 13:00:03 GMT+0100 (Mitteleuropäische Zeit)\"},\"1026\":{\"date\":{\"__isSmartRef__\":true,\"id\":1027},\"author\":\"jenslincke\",\"message\":\"first commit of Publish dialog using the publish dialog itself!\"},\"1027\":{\"isSerializedDate\":true,\"string\":\"Wed Oct 19 2011 14:54:16 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"1028\":{\"date\":{\"__isSmartRef__\":true,\"id\":1029},\"author\":\"jenslincke\",\"message\":\"\"},\"1029\":{\"isSerializedDate\":true,\"string\":\"Wed Oct 19 2011 14:52:26 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"1030\":{\"date\":{\"__isSmartRef__\":true,\"id\":1031},\"author\":\"jenslincke\",\"message\":\"store an uuid when publishing an object\"},\"1031\":{\"isSerializedDate\":true,\"string\":\"Fri Oct 28 2011 15:15:02 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"1032\":{\"date\":{\"__isSmartRef__\":true,\"id\":1033},\"author\":\"jenslincke\",\"message\":\"\"},\"1033\":{\"isSerializedDate\":true,\"string\":\"Fri Oct 28 2011 16:06:16 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"1034\":{\"date\":{\"__isSmartRef__\":true,\"id\":1035},\"author\":\"jenslincke\",\"message\":\"- fixed issue 283 (Reproduction: Open part, select publish from menu, focus part name input field in dialog, press enter.-> window pane disappears; window decoration stays; part is not published)\",\"id\":\"1A260BD5-E668-4BD4-B7A2-94E087AB4CE1\"},\"1035\":{\"isSerializedDate\":true,\"string\":\"Thu Jan 26 2012 12:10:41 GMT+0100 (Mitteleuropäische Zeit)\"},\"1036\":{\"date\":{\"__isSmartRef__\":true,\"id\":1037},\"author\":\"undefined\",\"message\":\"init for change - don't remove on click\",\"id\":\"00A6DFFB-70D2-44A4-B5F9-0778E1CA5724\"},\"1037\":{\"isSerializedDate\":true,\"string\":\"Tue Mar 20 2012 12:04:27 GMT+0100 (Mitteleuropäische Zeit)\"},\"1038\":{\"date\":{\"__isSmartRef__\":true,\"id\":1039},\"author\":\"undefined\",\"message\":\"added possibility to show diff and adapted to new publishing workflow (check for overwrites)\",\"id\":\"2BD37BED-1605-4FD2-8D2C-25552A379B49\"},\"1039\":{\"isSerializedDate\":true,\"string\":\"Thu Mar 22 2012 10:30:02 GMT+0100 (Mitteleuropäische Zeit)\"},\"1040\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":806},\"sourceAttrName\":\"headRevision\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1041},\"targetMethodName\":\"remove\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1041\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1042},{\"__isSmartRef__\":true,\"id\":1190}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1628},\"id\":\"14EE180D-A02C-4632-B280-ECB6204E6FAE\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1632},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1633},\"droppingEnabled\":true,\"halosEnabled\":true,\"__layered_draggingEnabled__\":true,\"layout\":{\"__isSmartRef__\":true,\"id\":1634},\"LK2\":true,\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1635},\"targetMorph\":{\"__isSmartRef__\":true,\"id\":1190},\"titleBar\":{\"__isSmartRef__\":true,\"id\":1042},\"contentOffset\":{\"__isSmartRef__\":true,\"id\":1636},\"collapsedTransform\":null,\"collapsedExtent\":null,\"expandedTransform\":null,\"expandedExtent\":null,\"ignoreEventsOnExpand\":false,\"highlighted\":true,\"prevDragPos\":{\"__isSmartRef__\":true,\"id\":1637},\"isBeingDragged\":false,\"showsHalos\":false,\"name\":\"PublishPartDialog1\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1638},\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"_Position\":{\"__isSmartRef__\":true,\"id\":1653},\"isCopyMorphRef\":true,\"morphRefId\":12,\"derivationIds\":[2879,\"91414FD8-3775-435F-96A6-39E0CB891CD7\",\"9CB574CD-94E3-465A-B85C-91F97E070BC3\",\"C9D390C2-399F-44AF-A316-A4A117E5F7B6\"],\"moved\":true,\"_Rotation\":0,\"_Scale\":1,\"owner\":null,\"__LivelyClassName__\":\"lively.morphic.Window\",\"withoutLayers\":[\"Global.lively.morphic.GrabbingLayer\"]},\"1042\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1043},{\"__isSmartRef__\":true,\"id\":1057},{\"__isSmartRef__\":true,\"id\":1104},{\"__isSmartRef__\":true,\"id\":1138}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1173},\"id\":\"5252D4E6-D056-4585-8783-C4B59F2EB610\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1185},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1186},\"droppingEnabled\":true,\"halosEnabled\":true,\"layout\":{\"__isSmartRef__\":true,\"id\":1187},\"_Position\":{\"__isSmartRef__\":true,\"id\":1188},\"windowMorph\":{\"__isSmartRef__\":true,\"id\":1041},\"label\":{\"__isSmartRef__\":true,\"id\":1043},\"closeButton\":{\"__isSmartRef__\":true,\"id\":1057},\"menuButton\":{\"__isSmartRef__\":true,\"id\":1104},\"collapseButton\":{\"__isSmartRef__\":true,\"id\":1138},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1189},\"owner\":{\"__isSmartRef__\":true,\"id\":1041},\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"derivationIds\":[2880,\"108B5871-F6C8-4442-82D1-F8776D2C85A2\",\"503529CB-0F23-4456-8597-CD5E86CF03F0\",\"4FB4914E-E245-4D67-BE3B-63091E2C8C95\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.TitleBar\"},\"1043\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1044},\"id\":\"F6FD12BC-5591-4524-8813-4DA5147438BC\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1050},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1051}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1053},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"evalEnabled\":false,\"isLabel\":true,\"_HandStyle\":\"default\",\"layout\":{\"__isSmartRef__\":true,\"id\":1054},\"_Align\":\"center\",\"eventsAreIgnored\":true,\"owner\":{\"__isSmartRef__\":true,\"id\":1042},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1055},\"_MaxTextWidth\":483,\"_MinTextWidth\":483,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"_Position\":{\"__isSmartRef__\":true,\"id\":1056},\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"derivationIds\":[2881,\"A06A709C-AD42-48D0-A66A-9C21EA4F4E66\",\"EE1A345D-476E-4E22-BE89-E59A0C11001B\",\"90634CE5-77D0-4064-961C-4CBADE59C6F8\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1044\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1045},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1046},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1047},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1048},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1049},\"_Fill\":null,\"_BorderRadius\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1045\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1046\":{\"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\"},\"1047\":{\"x\":483,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1048\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1049\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1050\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1051\":{\"style\":{\"__isSmartRef__\":true,\"id\":1052},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1043},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"Publish in PartsBin\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1052\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1053\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1043},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1054\":{\"resizeWidth\":true},\"1055\":{\"x\":483,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1056\":{\"x\":20,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1057\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1058}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1070},\"id\":\"40B9B900-43F4-49D8-AB09-994E0E73854A\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1086},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1087},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"accessibleInInactiveWindow\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1088},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1089},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":1076},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":1090},\"label\":{\"__isSmartRef__\":true,\"id\":1058},\"owner\":{\"__isSmartRef__\":true,\"id\":1042},\"layout\":{\"__isSmartRef__\":true,\"id\":1099},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":1100},{\"__isSmartRef__\":true,\"id\":1102}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"prevScroll\":[0,0],\"derivationIds\":[2882,\"6FF08B49-B1B5-4E12-8CE8-DF895115627D\",\"7F48C6F9-BB0C-405E-991B-410F179F7FE6\",\"8405D63F-4E07-4FE8-9008-DD8AE000B5C8\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"1058\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1059},\"id\":\"2C7EA1AC-E804-4ED8-B2D9-A8E51E3DFBEF\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1064},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1065}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1067},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":8,\"_Position\":{\"__isSmartRef__\":true,\"id\":1068},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1069},\"_MaxTextWidth\":17,\"_MinTextWidth\":17,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":1057},\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"derivationIds\":[2883,\"9FBA502B-65B1-4FF2-A0A6-9951E3C50B9C\",\"9F297DAE-65AA-45A3-AFAE-BD35F359E24A\",\"75386CDF-09C9-47F2-8762-F737A49FD645\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1059\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1060},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1061},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1062},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1063},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1049},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1060\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1061\":{\"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\"},\"1062\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1063\":{\"x\":0,\"y\":3,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1064\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1065\":{\"style\":{\"__isSmartRef__\":true,\"id\":1066},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1058},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"X\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1066\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1067\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1058},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1068\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1069\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1070\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1071},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1072},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1073},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1074},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1075},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1076},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1071\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1072\":{\"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\"},\"1073\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1074\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1075\":{\"r\":0.7411764705882353,\"g\":0.7450980392156863,\"b\":0.7529411764705882,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1076\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1077},{\"__isSmartRef__\":true,\"id\":1079},{\"__isSmartRef__\":true,\"id\":1081},{\"__isSmartRef__\":true,\"id\":1083}],\"vector\":{\"__isSmartRef__\":true,\"id\":1085},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1077\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1078}},\"1078\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1079\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1080}},\"1080\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1081\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1082}},\"1082\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1083\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1084}},\"1084\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1085\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1086\":{\"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\"},\"1087\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1057},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1088\":{\"x\":522,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1089\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1090\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1091},{\"__isSmartRef__\":true,\"id\":1093},{\"__isSmartRef__\":true,\"id\":1095},{\"__isSmartRef__\":true,\"id\":1097}],\"vector\":{\"__isSmartRef__\":true,\"id\":1085},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1091\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1092}},\"1092\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1093\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1094}},\"1094\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1095\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1096}},\"1096\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1097\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1098}},\"1098\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1099\":{\"moveHorizontal\":true},\"1100\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1057},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1041},\"targetMethodName\":\"getCloseHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":1101},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1101\":{\"source\":{\"__isSmartRef__\":true,\"id\":1057},\"target\":{\"__isSmartRef__\":true,\"id\":1041}},\"1102\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1057},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1041},\"targetMethodName\":\"initiateShutdown\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":1103},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1103\":{\"source\":{\"__isSmartRef__\":true,\"id\":1057},\"target\":{\"__isSmartRef__\":true,\"id\":1041}},\"1104\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1105}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1116},\"id\":\"89629442-A5A0-4517-826A-DB1EA9CAE12A\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1121},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1122},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"accessibleInInactiveWindow\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1123},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1124},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":1076},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":1125},\"label\":{\"__isSmartRef__\":true,\"id\":1105},\"owner\":{\"__isSmartRef__\":true,\"id\":1042},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":1134},{\"__isSmartRef__\":true,\"id\":1136}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"derivationIds\":[2884,\"64F20257-1A1D-4B3E-97C4-BC5D1F1E14B5\",\"A377FFCE-0FDC-41B6-BD34-D9F0507B57DA\",\"7334352E-B497-4F10-8C06-FBE36AA778C7\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"1105\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1106},\"id\":\"FF3AB23A-3A63-48D2-A2F6-8D4FB6E897D2\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1110},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1111}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1113},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":8,\"_Position\":{\"__isSmartRef__\":true,\"id\":1114},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1115},\"_MaxTextWidth\":17,\"_MinTextWidth\":17,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":1104},\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"derivationIds\":[2885,\"EC48B50E-CD5B-46FB-BF78-484373EED980\",\"59F8AF9B-799B-413B-86B2-BFD03A4B2559\",\"F8293A60-E9DB-40E3-B202-D547939F8A8D\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1106\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1107},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1108},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1109},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1063},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1049},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1107\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1108\":{\"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\"},\"1109\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1110\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1111\":{\"style\":{\"__isSmartRef__\":true,\"id\":1112},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1105},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"M\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1112\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1113\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1105},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1114\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1115\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1116\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1117},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1118},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1119},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1120},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1075},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1076},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1117\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1118\":{\"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\"},\"1119\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1120\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1121\":{\"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\"},\"1122\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1104},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1123\":{\"x\":3,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1124\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1125\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1126},{\"__isSmartRef__\":true,\"id\":1128},{\"__isSmartRef__\":true,\"id\":1130},{\"__isSmartRef__\":true,\"id\":1132}],\"vector\":{\"__isSmartRef__\":true,\"id\":1085},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1126\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1127}},\"1127\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1128\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1129}},\"1129\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1130\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1131}},\"1131\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1132\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1133}},\"1133\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1134\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1104},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1041},\"targetMethodName\":\"getMenuHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":1135},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1135\":{\"source\":{\"__isSmartRef__\":true,\"id\":1104},\"target\":{\"__isSmartRef__\":true,\"id\":1041}},\"1136\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1104},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1041},\"targetMethodName\":\"showTargetMorphMenu\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":1137},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1137\":{\"source\":{\"__isSmartRef__\":true,\"id\":1104},\"target\":{\"__isSmartRef__\":true,\"id\":1041}},\"1138\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1139}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1150},\"id\":\"DD557853-F1F4-4796-8795-75EC2284A70A\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1155},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1156},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"accessibleInInactiveWindow\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1157},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1158},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":1076},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":1159},\"label\":{\"__isSmartRef__\":true,\"id\":1139},\"owner\":{\"__isSmartRef__\":true,\"id\":1042},\"layout\":{\"__isSmartRef__\":true,\"id\":1168},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":1169},{\"__isSmartRef__\":true,\"id\":1171}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"prevScroll\":[0,0],\"derivationIds\":[2886,\"9FC4F0BE-916D-456B-AEC7-E6C1AC6040CA\",\"A0A4775F-7F2F-4563-840D-CAA5CB435D75\",\"C87D3EB9-4C3B-4230-9794-F5B71B528C74\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"1139\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1140},\"id\":\"705C0F16-5E82-4EFB-B9B4-F57FC30012E6\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1144},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1145}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1147},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":8,\"_Position\":{\"__isSmartRef__\":true,\"id\":1148},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1149},\"_MaxTextWidth\":17,\"_MinTextWidth\":17,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":1138},\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"derivationIds\":[2887,\"42347453-BADB-4DB0-9486-C479B704CD7C\",\"B0BBE9B3-B5DD-4E4F-A1AA-1C03BB1BFF4E\",\"8AE3BC44-F336-420E-A2E9-BBA0DC6A3D72\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1140\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1141},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1142},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1143},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1063},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1049},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1141\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1142\":{\"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\"},\"1143\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1144\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1145\":{\"style\":{\"__isSmartRef__\":true,\"id\":1146},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1139},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"–\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1146\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1147\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1139},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1148\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1149\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1150\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1151},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1152},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1153},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1154},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1075},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1076},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1151\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1152\":{\"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\"},\"1153\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1154\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1155\":{\"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\"},\"1156\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1138},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1157\":{\"x\":503,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1158\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1159\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1160},{\"__isSmartRef__\":true,\"id\":1162},{\"__isSmartRef__\":true,\"id\":1164},{\"__isSmartRef__\":true,\"id\":1166}],\"vector\":{\"__isSmartRef__\":true,\"id\":1085},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1160\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1161}},\"1161\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1162\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1163}},\"1163\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1164\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1165}},\"1165\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1166\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1167}},\"1167\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1168\":{\"moveHorizontal\":true},\"1169\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1138},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1041},\"targetMethodName\":\"getCollapseHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":1170},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1170\":{\"source\":{\"__isSmartRef__\":true,\"id\":1138},\"target\":{\"__isSmartRef__\":true,\"id\":1041}},\"1171\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1138},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1041},\"targetMethodName\":\"toggleCollapse\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":1172},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1172\":{\"source\":{\"__isSmartRef__\":true,\"id\":1138},\"target\":{\"__isSmartRef__\":true,\"id\":1041}},\"1173\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1174},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1175},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1176},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1177},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1178},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1179},\"_StrokeOpacity\":1,\"_BorderRadius\":\"8px 8px 0px 0px\",\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1174\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1175\":{\"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\"},\"1176\":{\"x\":542,\"y\":22,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1177\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1178\":{\"r\":0.4,\"g\":0.4,\"b\":0.4,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1179\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1180},{\"__isSmartRef__\":true,\"id\":1182}],\"vector\":{\"__isSmartRef__\":true,\"id\":1184},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1180\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1181}},\"1181\":{\"r\":1,\"g\":1,\"b\":1,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1182\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1183}},\"1183\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1184\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1185\":{\"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\"},\"1186\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1042},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1187\":{\"resizeWidth\":true,\"adjustForNewBounds\":true},\"1188\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1189\":{\"x\":542,\"y\":22,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1190\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1191},{\"__isSmartRef__\":true,\"id\":1206},{\"__isSmartRef__\":true,\"id\":1221},{\"__isSmartRef__\":true,\"id\":1237},{\"__isSmartRef__\":true,\"id\":1253},{\"__isSmartRef__\":true,\"id\":1268},{\"__isSmartRef__\":true,\"id\":1284},{\"__isSmartRef__\":true,\"id\":1300},{\"__isSmartRef__\":true,\"id\":1383},{\"__isSmartRef__\":true,\"id\":1465},{\"__isSmartRef__\":true,\"id\":1480}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1496},\"id\":\"461A5166-EA5A-4071-8204-F81C9CDF321B\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1503},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1504},\"droppingEnabled\":true,\"halosEnabled\":true,\"isLockOwner\":false,\"layout\":{\"__isSmartRef__\":true,\"id\":1505},\"attributeConnections\":[],\"ownerApp\":{\"__isSmartRef__\":true,\"id\":1506},\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.Core\",\"name\":\"PublishPartPanePane\",\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1600},\"isBeingDragged\":false,\"prevScroll\":[0,0],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1601},\"grabbingEnabled\":false,\"_Position\":{\"__isSmartRef__\":true,\"id\":1602},\"owner\":{\"__isSmartRef__\":true,\"id\":1041},\"target\":{\"__isSmartRef__\":true,\"id\":806},\"derivationIds\":[2888,\"7CD647EF-2BB4-4CD9-9D3B-4EE7BC59ECC2\",\"B983FB4F-9323-4304-9603-5615E93C6C42\",\"E738FAD5-9C83-4390-B193-06C21B6E51B0\"],\"_Rotation\":0,\"_Scale\":1,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":1603},\"__LivelyClassName__\":\"lively.morphic.Box\",\"withLayers\":[\"Global.lively.morphic.GrabbingLayer\"]},\"1191\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1192},\"id\":\"6156EBD8-2E62-4453-989A-700F4942D43C\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1199},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1200}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1202},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":true,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":1203},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1204},\"_MaxTextWidth\":230,\"_MinTextWidth\":230,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"isInputLine\":true,\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"owner\":{\"__isSmartRef__\":true,\"id\":1190},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"showsHalos\":false,\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1205},\"previousSelection\":[0,9],\"priorSelectionRange\":[0,9],\"isLockOwner\":false,\"name\":\"NameText\",\"isCopyMorphRef\":true,\"morphRefId\":1,\"derivationIds\":[2889,\"9A8B5C1C-95BB-40F5-B9EF-B89DD5451B64\",\"C49BF160-BBBE-422E-BDDC-B9A98A72ABFF\",\"42B7E940-3BB5-4B79-B5D8-E4C8E780FF3B\"],\"savedTextString\":\"CommitMessageTest1\",\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1192\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1193},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1194},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1195},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1196},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1197},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1198},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1193\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1194\":{\"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\"},\"1195\":{\"x\":240,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1196\":{\"x\":4,\"y\":2,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1197\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1198\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1199\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1200\":{\"style\":{\"__isSmartRef__\":true,\"id\":1201},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1191},\"storedString\":\"PublishPartDialog\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1201\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1202\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1191},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1203\":{\"x\":10,\"y\":50,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1204\":{\"x\":240,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1205\":{\"x\":119,\"y\":-15,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1206\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1207},\"id\":\"C9FFCBD8-4010-468C-9C23-509AEF71C004\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1214},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1215}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1217},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":true,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":1218},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1219},\"_MaxTextWidth\":510,\"_MinTextWidth\":510,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"isInputLine\":true,\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"showsHalos\":false,\"name\":\"CommitMessageText\",\"owner\":{\"__isSmartRef__\":true,\"id\":1190},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1220},\"previousSelection\":[0,15],\"priorSelectionRange\":[0,0],\"charsReplaced\":\"CommitMessageTest1\",\"lastFindLoc\":18,\"isLockOwner\":false,\"isBeingDragged\":false,\"derivationIds\":[2890,\"40048B1D-9547-4EA6-AB66-31168A1C9FAE\",\"8A0DE790-FA6C-41C9-BA2B-84397DA3F39E\",\"DCFEEBC9-D891-408E-A103-19356A96070F\"],\"savedTextString\":\"\",\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1207\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1208},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1209},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1210},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1211},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1212},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1213},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1208\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1209\":{\"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\"},\"1210\":{\"x\":520,\"y\":120,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1211\":{\"x\":4,\"y\":2,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1212\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1213\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1214\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1215\":{\"style\":{\"__isSmartRef__\":true,\"id\":1216},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1206},\"storedString\":\"added show diff button\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1216\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1217\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1206},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1218\":{\"x\":10,\"y\":260,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1219\":{\"x\":520,\"y\":120,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1220\":{\"x\":351,\"y\":-17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1221\":{\"submorphs\":[],\"scripts\":[],\"id\":\"89A19B3F-2CFE-4987-9687-B117F7EAE6AD\",\"shape\":{\"__isSmartRef__\":true,\"id\":1222},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":true,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1228},\"_MaxTextWidth\":114,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":1225},\"showsHalos\":false,\"_FontSize\":12,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"Text5\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1229},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1230}],\"charsReplaced\":\"some text \",\"lastFindLoc\":10,\"priorSelectionRange\":[0,4],\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1232},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1233},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1234},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_Padding\":{\"__isSmartRef__\":true,\"id\":1235},\"_ClipMode\":\"visible\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"owner\":{\"__isSmartRef__\":true,\"id\":1190},\"_MinTextWidth\":114,\"_MinTextHeight\":null,\"previousSelection\":[3,3],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1236},\"isLockOwner\":false,\"isBeingDragged\":false,\"derivationIds\":[2891,\"E101CA30-35F9-42F0-A46C-28671530C787\",\"CE7E7640-C507-43BF-88EF-C4ACE8CCF564\",\"F04823B9-5B0B-4CCA-B8F7-00BD8608ED16\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1222\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1223},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1224},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1225},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1226},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1227},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1223\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1224\":{\"x\":114,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1225\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1226\":{\"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\"},\"1227\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1228\":{\"x\":10,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1229\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":4,\"comment\":\"a simple text morph\",\"partName\":\"Text\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"1230\":{\"style\":{\"__isSmartRef__\":true,\"id\":1231},\"morph\":{\"__isSmartRef__\":true,\"id\":1221},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1221},\"storedString\":\"name\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1231\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"italics\":\"italic\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1232\":{\"x\":114,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1233\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1234\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1221},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1235\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1236\":{\"x\":78,\"y\":-3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1237\":{\"submorphs\":[],\"scripts\":[],\"id\":\"D90E5F92-063B-4277-A16D-D954038B7F2E\",\"shape\":{\"__isSmartRef__\":true,\"id\":1238},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":true,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1244},\"_MaxTextWidth\":250,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":1241},\"showsHalos\":false,\"_FontSize\":12,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"Text6\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1245},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1246}],\"charsReplaced\":\"changes\",\"lastFindLoc\":7,\"priorSelectionRange\":[0,14],\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1248},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1249},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1250},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_Padding\":{\"__isSmartRef__\":true,\"id\":1251},\"_ClipMode\":\"visible\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"_MinTextWidth\":250,\"_MinTextHeight\":null,\"previousSelection\":[0,14],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1252},\"owner\":{\"__isSmartRef__\":true,\"id\":1190},\"isLockOwner\":false,\"derivationIds\":[2892,\"E5DC0070-3EA2-4212-9AA7-E3C865547E5E\",\"809E256F-82F6-4A22-B614-DE8C08FA5970\",\"272C0F9A-E7EF-4ECE-851D-08ACB35EA24D\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1238\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1239},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1240},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1241},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1242},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1243},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1239\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1240\":{\"x\":250,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1241\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1242\":{\"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\"},\"1243\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1244\":{\"x\":10,\"y\":240,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1245\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":4,\"comment\":\"a simple text morph\",\"partName\":\"Text\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"1246\":{\"style\":{\"__isSmartRef__\":true,\"id\":1247},\"morph\":{\"__isSmartRef__\":true,\"id\":1237},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1237},\"storedString\":\"commit message\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1247\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"italics\":\"italic\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1248\":{\"x\":250,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1249\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1250\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1237},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1251\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1252\":{\"x\":174,\"y\":-21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1253\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1254},\"id\":\"286A4256-D2A8-4452-BCFC-F5DB7B0B1532\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1261},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1262}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1264},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":true,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":1265},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1266},\"_MaxTextWidth\":250,\"_MinTextWidth\":250,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"isInputLine\":true,\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"showsHalos\":false,\"name\":\"CategoryText\",\"owner\":{\"__isSmartRef__\":true,\"id\":1190},\"previousSelection\":[0,14],\"priorSelectionRange\":[5,5],\"charsReplaced\":\"CommitMessageTest1\",\"lastFindLoc\":18,\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1267},\"isLockOwner\":false,\"derivationIds\":[2893,\"FBE4B17F-DC2B-4783-899B-CF1B051F14D9\",\"A2C45BC5-C44B-4AEA-A29E-ADE3DAF08638\",\"640BD984-1AB2-45B8-BCEC-AB32A6199D68\"],\"savedTextString\":\"PartsBin/Basic\",\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1254\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1255},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1256},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1257},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1258},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1259},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1260},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1255\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1256\":{\"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\"},\"1257\":{\"x\":260,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1258\":{\"x\":4,\"y\":2,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1259\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1260\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1261\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1262\":{\"style\":{\"__isSmartRef__\":true,\"id\":1263},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1253},\"storedString\":\"PartsBin/BP2012\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1263\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1264\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1253},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1265\":{\"x\":270,\"y\":50,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1266\":{\"x\":260,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1267\":{\"x\":132,\"y\":-13,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1268\":{\"submorphs\":[],\"scripts\":[],\"id\":\"D5DB637F-F02B-4D39-BC91-6B85EB48C038\",\"shape\":{\"__isSmartRef__\":true,\"id\":1269},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":true,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1275},\"_MaxTextWidth\":114,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":1272},\"showsHalos\":false,\"_FontSize\":12,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"Text7\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1276},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1277}],\"charsReplaced\":\"name\",\"lastFindLoc\":4,\"priorSelectionRange\":[0,8],\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1279},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1280},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1281},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_Padding\":{\"__isSmartRef__\":true,\"id\":1282},\"_ClipMode\":\"visible\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"_MinTextWidth\":114,\"_MinTextHeight\":null,\"previousSelection\":[2,2],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1283},\"owner\":{\"__isSmartRef__\":true,\"id\":1190},\"isLockOwner\":false,\"isBeingDragged\":false,\"derivationIds\":[2894,\"75F41AE1-CA7A-48D0-AE2C-7AAF6101B89C\",\"CB87A9FB-0776-4109-BDE0-0E8C61F1626C\",\"954BD4D6-BBF2-4D3C-94CA-21A38F66F449\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1269\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1270},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1271},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1272},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1273},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1274},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1270\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1271\":{\"x\":114,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1272\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1273\":{\"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\"},\"1274\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1275\":{\"x\":270,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1276\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":4,\"comment\":\"a simple text morph\",\"partName\":\"Text\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"1277\":{\"style\":{\"__isSmartRef__\":true,\"id\":1278},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1268},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"category\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1278\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"italics\":\"italic\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1279\":{\"x\":114,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1280\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1281\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1268},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1282\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1283\":{\"x\":87,\"y\":-11,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1284\":{\"submorphs\":[],\"scripts\":[],\"id\":\"92EDAC28-8529-4E2C-8493-4C0F5DD768C8\",\"shape\":{\"__isSmartRef__\":true,\"id\":1285},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":true,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1291},\"_MaxTextWidth\":325,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":1288},\"showsHalos\":false,\"_FontSize\":12,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"Text8\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1292},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1293}],\"charsReplaced\":\"Publish Object in PartsBin\",\"lastFindLoc\":26,\"priorSelectionRange\":[0,36],\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1295},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1296},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1297},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_Padding\":{\"__isSmartRef__\":true,\"id\":1298},\"_ClipMode\":\"visible\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"_MinTextWidth\":325,\"_MinTextHeight\":null,\"previousSelection\":[0,36],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1299},\"owner\":{\"__isSmartRef__\":true,\"id\":1190},\"isLockOwner\":false,\"isBeingDragged\":false,\"derivationIds\":[2895,\"3AFBC971-95B4-48C4-888D-22FCBB742090\",\"D0394F71-EBB2-452A-A71F-D172D5B1CAD6\",\"79EDAC74-BD6B-42B1-BBBA-71B07578D1E0\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1285\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1286},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1287},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1288},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1289},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1290},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1286\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1287\":{\"x\":325,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1288\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1289\":{\"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\"},\"1290\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1291\":{\"x\":10,\"y\":10,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1292\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":4,\"comment\":\"a simple text morph\",\"partName\":\"Text\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"1293\":{\"style\":{\"__isSmartRef__\":true,\"id\":1294},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1284},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"Upload part to the shared repository\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1294\":{\"italics\":\"normal\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1295\":{\"x\":325,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1296\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1297\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1284},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1298\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1299\":{\"x\":221,\"y\":-12,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1300\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1301}],\"scripts\":[],\"id\":\"5309E281-CD42-4209-B7BF-FC500CF79EE5\",\"shape\":{\"__isSmartRef__\":true,\"id\":1316},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":1320},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":1332},\"label\":{\"__isSmartRef__\":true,\"id\":1301},\"name\":\"Button\",\"showsHalos\":false,\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1341},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":1342}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1378},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1379},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1380},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1381},\"_Position\":{\"__isSmartRef__\":true,\"id\":1382},\"owner\":{\"__isSmartRef__\":true,\"id\":1190},\"derivationIds\":[2896,\"40384C75-EF01-4AAD-AA1C-A7C19EDB6A0F\",\"21376B8E-78CF-456D-87AA-4D62D86B16D2\",\"E9336A59-C7BF-4C91-88B0-0D0477AA75AE\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"1301\":{\"submorphs\":[],\"scripts\":[],\"id\":\"F1FB7B9A-CC49-4C46-B299-0AD29366220B\",\"shape\":{\"__isSmartRef__\":true,\"id\":1302},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1308},\"_MaxTextWidth\":101,\"_MaxTextHeight\":null,\"textStyle\":null,\"padding\":{\"__isSmartRef__\":true,\"id\":1309},\"_Padding\":{\"__isSmartRef__\":true,\"id\":1310},\"owner\":{\"__isSmartRef__\":true,\"id\":1300},\"isLabel\":true,\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"_ClipMode\":\"hidden\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1311},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1312}],\"_Align\":\"center\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1314},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1315},\"_HandStyle\":\"default\",\"_PointerEvents\":\"none\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_MinTextWidth\":101,\"_MinTextHeight\":null,\"derivationIds\":[2897,\"92EB5E70-61BB-4A71-942C-A34A20789B2F\",\"A9C9F9CF-1BAC-4074-A093-4EB0C3C90866\",\"2FE50303-6361-4A70-9BD5-0D8D1C8B5176\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1302\":{\"position\":{\"__isSmartRef__\":true,\"id\":1303},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1304},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1305},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1306},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1307},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1303\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1304\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1305\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1306\":{\"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\"},\"1307\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1308\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1309\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1310\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1311\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1312\":{\"style\":{\"__isSmartRef__\":true,\"id\":1313},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1301},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"cancel\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1313\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1314\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1315\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1301},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1316\":{\"position\":{\"__isSmartRef__\":true,\"id\":1317},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1318},\"_BorderWidth\":1.1840000000000002,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1319},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1320},\"_BorderRadius\":5.2,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1330},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1331},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1317\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1318\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1319\":{\"r\":0.839,\"g\":0.839,\"b\":0.839,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1320\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1321},{\"__isSmartRef__\":true,\"id\":1323},{\"__isSmartRef__\":true,\"id\":1325},{\"__isSmartRef__\":true,\"id\":1327}],\"vector\":{\"__isSmartRef__\":true,\"id\":1329},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1321\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1322}},\"1322\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1323\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1324}},\"1324\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1325\":{\"offset\":0.6,\"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\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1328}},\"1328\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1329\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1330\":{\"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\"},\"1331\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1332\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1333},{\"__isSmartRef__\":true,\"id\":1335},{\"__isSmartRef__\":true,\"id\":1337},{\"__isSmartRef__\":true,\"id\":1339}],\"vector\":{\"__isSmartRef__\":true,\"id\":1329},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1333\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1334}},\"1334\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1335\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1336}},\"1336\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1337\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1338}},\"1338\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1339\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1340}},\"1340\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1341\":{\"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\"},\"1342\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1300},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1190},\"targetMethodName\":\"onCancel\",\"visualConnector\":{\"__isSmartRef__\":true,\"id\":1343},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1343\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1344}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1359},\"id\":352,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1366},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1367},\"droppingEnabled\":true,\"halosEnabled\":true,\"owner\":null,\"controlPoints\":[{\"__isSmartRef__\":true,\"id\":1368},{\"__isSmartRef__\":true,\"id\":1369}],\"con\":{\"__isSmartRef__\":true,\"id\":1342},\"showsMorphMenu\":true,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":1370},\"__LivelyClassName__\":\"lively.morphic.Path\"},\"1344\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1345},\"id\":353,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1356},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1357},\"droppingEnabled\":true,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1358},\"owner\":{\"__isSmartRef__\":true,\"id\":1343},\"_Rotation\":-2.716760490670451,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.Path\"},\"1345\":{\"dontChangeShape\":false,\"cachedVertices\":null,\"_PathElements\":[{\"__isSmartRef__\":true,\"id\":1346},{\"__isSmartRef__\":true,\"id\":1347},{\"__isSmartRef__\":true,\"id\":1348},{\"__isSmartRef__\":true,\"id\":1349}],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1350},\"_ClipMode\":\"visible\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1351},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1352},\"_Padding\":{\"__isSmartRef__\":true,\"id\":1353},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1354},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1355},\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Path\"},\"1346\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.MoveTo\"},\"1347\":{\"isAbsolute\":true,\"x\":0,\"y\":12,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"1348\":{\"isAbsolute\":true,\"x\":16,\"y\":6,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"1349\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"1350\":{\"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\"},\"1351\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1352\":{\"x\":16,\"y\":12,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1353\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1354\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1355\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1356\":{\"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\"},\"1357\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1344},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1358\":{\"x\":0.5,\"y\":0.5,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1359\":{\"dontChangeShape\":false,\"cachedVertices\":null,\"_PathElements\":[{\"__isSmartRef__\":true,\"id\":1360},{\"__isSmartRef__\":true,\"id\":1361}],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1362},\"_ClipMode\":\"visible\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1363},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1364},\"_Padding\":{\"__isSmartRef__\":true,\"id\":1365},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1354},\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Path\"},\"1360\":{\"isAbsolute\":true,\"x\":420,\"y\":190,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.MoveTo\"},\"1361\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"1362\":{\"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\"},\"1363\":{\"x\":-0.5,\"y\":-0.5,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1364\":{\"x\":421,\"y\":191,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1365\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1366\":{\"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\"},\"1367\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1343},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1368\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1343},\"index\":0,\"connectedMagnet\":null,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.ControlPoint\"},\"1369\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1343},\"index\":1,\"connectedMagnet\":null,\"marker\":{\"__isSmartRef__\":true,\"id\":1344},\"markerDirection\":\"prev\",\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.ControlPoint\"},\"1370\":{\"morphMenuItems\":{\"__isSmartRef__\":true,\"id\":1371}},\"1371\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1372},\"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\":1377},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1372\":{\"this\":{\"__isSmartRef__\":true,\"id\":1343},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":1373}},\"1373\":{\"$super\":{\"__isSmartRef__\":true,\"id\":1374}},\"1374\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1375},\"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\":1376},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1375\":{\"obj\":{\"__isSmartRef__\":true,\"id\":1343},\"name\":\"morphMenuItems\"},\"1376\":{},\"1377\":{},\"1378\":{\"x\":101,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1379\":{\"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\"},\"1380\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1300},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1381\":{\"x\":77,\"y\":-5,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1382\":{\"x\":420,\"y\":390,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1383\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1384}],\"scripts\":[],\"id\":\"B9EC3206-D7B9-449B-8F4A-CF729A3DDF9A\",\"shape\":{\"__isSmartRef__\":true,\"id\":1399},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":1403},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":1415},\"label\":{\"__isSmartRef__\":true,\"id\":1384},\"name\":\"Button1\",\"showsHalos\":false,\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1424},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":1425}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1460},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1461},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1462},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1463},\"_Position\":{\"__isSmartRef__\":true,\"id\":1464},\"owner\":{\"__isSmartRef__\":true,\"id\":1190},\"derivationIds\":[2898,\"9D27A522-4E3D-482F-97CF-3CA3247A3999\",\"4EBF07AD-25C0-4034-BC06-31F137F70FA1\",\"DC6D6B8E-37AE-4815-A81A-AC7071124A26\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"1384\":{\"submorphs\":[],\"scripts\":[],\"id\":\"2A7260B8-72C4-410C-BBE2-0A88FB134782\",\"shape\":{\"__isSmartRef__\":true,\"id\":1385},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1391},\"_MaxTextWidth\":101,\"_MaxTextHeight\":null,\"textStyle\":null,\"padding\":{\"__isSmartRef__\":true,\"id\":1392},\"_Padding\":{\"__isSmartRef__\":true,\"id\":1393},\"owner\":{\"__isSmartRef__\":true,\"id\":1383},\"isLabel\":true,\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"_ClipMode\":\"hidden\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1394},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1395}],\"_Align\":\"center\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1397},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1398},\"_HandStyle\":\"default\",\"_PointerEvents\":\"none\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_MinTextWidth\":101,\"_MinTextHeight\":null,\"derivationIds\":[2899,\"4F00D1F5-B85C-479E-BDDE-322DF2F432A3\",\"5E7BC7AC-9EF9-4CF5-9196-A542A26534CA\",\"46616896-CA46-4B43-B694-9FB001B32989\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1385\":{\"position\":{\"__isSmartRef__\":true,\"id\":1386},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1387},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1388},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1389},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1390},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1386\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1387\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1388\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1389\":{\"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\"},\"1390\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1391\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1392\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1393\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1394\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1395\":{\"style\":{\"__isSmartRef__\":true,\"id\":1396},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1384},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"publish\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1396\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1397\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1398\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1384},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1399\":{\"position\":{\"__isSmartRef__\":true,\"id\":1400},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1401},\"_BorderWidth\":1.1840000000000002,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1402},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1403},\"_BorderRadius\":5.2,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1413},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1414},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1400\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1401\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1402\":{\"r\":0.839,\"g\":0.839,\"b\":0.839,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1403\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1404},{\"__isSmartRef__\":true,\"id\":1406},{\"__isSmartRef__\":true,\"id\":1408},{\"__isSmartRef__\":true,\"id\":1410}],\"vector\":{\"__isSmartRef__\":true,\"id\":1412},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1404\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1405}},\"1405\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1406\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1407}},\"1407\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1408\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1409}},\"1409\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1410\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1411}},\"1411\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1412\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1413\":{\"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\"},\"1414\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1415\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1416},{\"__isSmartRef__\":true,\"id\":1418},{\"__isSmartRef__\":true,\"id\":1420},{\"__isSmartRef__\":true,\"id\":1422}],\"vector\":{\"__isSmartRef__\":true,\"id\":1412},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1416\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1417}},\"1417\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1418\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1419}},\"1419\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1420\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1421}},\"1421\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1422\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1423}},\"1423\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1424\":{\"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\"},\"1425\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1383},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1190},\"targetMethodName\":\"onPublish\",\"visualConnector\":{\"__isSmartRef__\":true,\"id\":1426},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1426\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1427}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1441},\"id\":139,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1448},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1449},\"droppingEnabled\":true,\"halosEnabled\":true,\"owner\":null,\"controlPoints\":[{\"__isSmartRef__\":true,\"id\":1450},{\"__isSmartRef__\":true,\"id\":1451}],\"con\":{\"__isSmartRef__\":true,\"id\":1425},\"showsMorphMenu\":true,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":1452},\"__LivelyClassName__\":\"lively.morphic.Path\"},\"1427\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1428},\"id\":140,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1438},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1439},\"droppingEnabled\":true,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1440},\"owner\":{\"__isSmartRef__\":true,\"id\":1426},\"_Rotation\":-2.5917394709132084,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.Path\"},\"1428\":{\"dontChangeShape\":false,\"cachedVertices\":null,\"_PathElements\":[{\"__isSmartRef__\":true,\"id\":1429},{\"__isSmartRef__\":true,\"id\":1430},{\"__isSmartRef__\":true,\"id\":1431},{\"__isSmartRef__\":true,\"id\":1432}],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1433},\"_ClipMode\":\"visible\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1434},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1435},\"_Padding\":{\"__isSmartRef__\":true,\"id\":1436},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1354},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1437},\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Path\"},\"1429\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.MoveTo\"},\"1430\":{\"isAbsolute\":true,\"x\":0,\"y\":12,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"1431\":{\"isAbsolute\":true,\"x\":16,\"y\":6,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"1432\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"1433\":{\"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\"},\"1434\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1435\":{\"x\":16,\"y\":12,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1436\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1437\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1438\":{\"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\"},\"1439\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1427},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1440\":{\"x\":0.5,\"y\":0.5,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1441\":{\"dontChangeShape\":false,\"cachedVertices\":null,\"_PathElements\":[{\"__isSmartRef__\":true,\"id\":1442},{\"__isSmartRef__\":true,\"id\":1443}],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1444},\"_ClipMode\":\"visible\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1445},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1446},\"_Padding\":{\"__isSmartRef__\":true,\"id\":1447},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1354},\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Path\"},\"1442\":{\"isAbsolute\":true,\"x\":310,\"y\":190,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.MoveTo\"},\"1443\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"1444\":{\"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\"},\"1445\":{\"x\":-0.5,\"y\":-0.5,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1446\":{\"x\":311,\"y\":191,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1447\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1448\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"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\"},\"1449\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1426},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1450\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1426},\"index\":0,\"connectedMagnet\":null,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.ControlPoint\"},\"1451\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1426},\"index\":1,\"connectedMagnet\":null,\"marker\":{\"__isSmartRef__\":true,\"id\":1427},\"markerDirection\":\"prev\",\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.ControlPoint\"},\"1452\":{\"morphMenuItems\":{\"__isSmartRef__\":true,\"id\":1453}},\"1453\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1454},\"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\":1459},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1454\":{\"this\":{\"__isSmartRef__\":true,\"id\":1426},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":1455}},\"1455\":{\"$super\":{\"__isSmartRef__\":true,\"id\":1456}},\"1456\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1457},\"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\":1458},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1457\":{\"obj\":{\"__isSmartRef__\":true,\"id\":1426},\"name\":\"morphMenuItems\"},\"1458\":{},\"1459\":{},\"1460\":{\"x\":101,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1461\":{\"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\"},\"1462\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1383},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1463\":{\"x\":62,\"y\":-12,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1464\":{\"x\":310,\"y\":390,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1465\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1466},\"id\":\"9599DEAE-8C83-4E01-B62C-31FBF096F9F7\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1473},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1474}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1476},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":true,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":1477},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1478},\"_MaxTextWidth\":510,\"_MinTextWidth\":510,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"isInputLine\":true,\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"showsHalos\":false,\"name\":\"CommentText\",\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1479},\"previousSelection\":[139,139],\"priorSelectionRange\":[9,9],\"charsReplaced\":\"CommitMessageTest1\",\"lastFindLoc\":18,\"isLockOwner\":false,\"isBeingDragged\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":1190},\"derivationIds\":[2900,\"7E82C349-9FC9-48B5-B84C-30E99FC40DF2\",\"A07EAFD3-B03B-4E4C-BC72-FB29F65F543A\",\"888FB55C-0365-4B40-A9B4-33FD19FA1E91\"],\"savedTextString\":\"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!\",\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1466\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1467},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1468},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1469},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1470},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1471},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1472},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1467\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1468\":{\"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\"},\"1469\":{\"x\":520,\"y\":120,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1470\":{\"x\":4,\"y\":2,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1471\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1472\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1473\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1474\":{\"style\":{\"__isSmartRef__\":true,\"id\":1475},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1465},\"storedString\":\"A dialog for publishing parts in the PartsBin.\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1475\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1476\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1465},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1477\":{\"x\":10,\"y\":110,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1478\":{\"x\":520,\"y\":120,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1479\":{\"x\":346,\"y\":-16,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1480\":{\"submorphs\":[],\"scripts\":[],\"id\":\"EB6781AB-CAE4-4644-A06C-CF1C02510F35\",\"shape\":{\"__isSmartRef__\":true,\"id\":1481},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":true,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1487},\"_MaxTextWidth\":250,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":1484},\"showsHalos\":false,\"_FontSize\":12,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"Text9\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1488},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1489}],\"charsReplaced\":\"commit message\",\"lastFindLoc\":14,\"priorSelectionRange\":[0,14],\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1491},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1492},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1493},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_Padding\":{\"__isSmartRef__\":true,\"id\":1494},\"_ClipMode\":\"visible\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"_MinTextWidth\":250,\"_MinTextHeight\":null,\"previousSelection\":[0,6],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1495},\"isLockOwner\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":1190},\"derivationIds\":[2901,\"8E267E15-1052-4F9C-B863-B733384EF1DA\",\"851C46B4-347F-4AE4-9C04-C321E7CC8EA5\",\"D33CE057-77D6-4CCC-90F9-867C622B3572\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1481\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1482},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1483},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1484},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1485},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1486},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1482\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1483\":{\"x\":250,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1484\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1485\":{\"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\"},\"1486\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1487\":{\"x\":10,\"y\":90,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1488\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":4,\"comment\":\"a simple text morph\",\"partName\":\"Text\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"1489\":{\"style\":{\"__isSmartRef__\":true,\"id\":1490},\"morph\":{\"__isSmartRef__\":true,\"id\":1480},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1480},\"storedString\":\"comment\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1490\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"italics\":\"italic\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1491\":{\"x\":250,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1492\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1493\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1480},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1494\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1495\":{\"x\":163,\"y\":-17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1496\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1497},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1498},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1499},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1500},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1501},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1502},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1497\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1498\":{\"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\"},\"1499\":{\"x\":540,\"y\":420,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1500\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1501\":{\"r\":0.372,\"g\":0.369,\"b\":0.372,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1502\":{\"r\":0.8235294117647058,\"g\":0.8235294117647058,\"b\":0.8235294117647058,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1503\":{\"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\"},\"1504\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1190},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1505\":{\"adjustForNewBounds\":true,\"resizeWidth\":true,\"resizeHeight\":true},\"1506\":{\"message\":\"Please enter a name for the part\",\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":1507}],\"doNotSerialize\":[\"$$result\"],\"doNotCopyProperties\":[\"$$result\"],\"defaultInput\":\"CommitMessageTest1\",\"panel\":{\"__isSmartRef__\":true,\"id\":1190},\"label\":{\"__isSmartRef__\":true,\"id\":1508},\"cancelButton\":{\"__isSmartRef__\":true,\"id\":1520},\"okButton\":{\"__isSmartRef__\":true,\"id\":1566},\"inputText\":{\"__isSmartRef__\":true,\"id\":1191},\"view\":{\"__isSmartRef__\":true,\"id\":1190},\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"result\":\"CommitMessageTest1\",\"__LivelyClassName__\":\"lively.morphic.PromptDialog\"},\"1507\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1506},\"sourceAttrName\":\"result\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1506},\"targetMethodName\":\"triggerCallback\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1508\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1509},\"id\":3220,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1514},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1515}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1517},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":false,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":1518},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1519},\"_MaxTextWidth\":null,\"_MinTextWidth\":null,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":null,\"isLabel\":true,\"_HandStyle\":\"default\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"showsHalos\":false,\"isCopyMorphRef\":true,\"morphRefId\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1509\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1510},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1511},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1512},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1196},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1197},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1513},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1510\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1511\":{\"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\"},\"1512\":{\"x\":226,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1513\":{\"r\":1,\"g\":1,\"b\":1,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1514\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1515\":{\"style\":{\"__isSmartRef__\":true,\"id\":1516},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1508},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1516\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1517\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1508},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1518\":{\"x\":4,\"y\":4,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1519\":{\"x\":226,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1520\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1521},\"id\":6793,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1537},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1538},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1539},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1540},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":1527},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":1541},\"label\":{\"__isSmartRef__\":true,\"id\":1550},\"layout\":{\"__isSmartRef__\":true,\"id\":1562},\"owner\":null,\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":1563},{\"__isSmartRef__\":true,\"id\":1564}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"isCopyMorphRef\":true,\"morphRefId\":1,\"isLockOwner\":false,\"showsHalos\":false,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"1521\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1522},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1523},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1524},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1525},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1526},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1527},\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1522\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1523\":{\"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\"},\"1524\":{\"x\":60,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1525\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1526\":{\"r\":0.7411764705882353,\"g\":0.7450980392156863,\"b\":0.7529411764705882,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1527\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1528},{\"__isSmartRef__\":true,\"id\":1530},{\"__isSmartRef__\":true,\"id\":1532},{\"__isSmartRef__\":true,\"id\":1534}],\"vector\":{\"__isSmartRef__\":true,\"id\":1536},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1528\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1529}},\"1529\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1530\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1531}},\"1531\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1532\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1533}},\"1533\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1534\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1535}},\"1535\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1536\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1537\":{\"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\"},\"1538\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1520},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1539\":{\"x\":478,\"y\":187,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1540\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1541\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1542},{\"__isSmartRef__\":true,\"id\":1544},{\"__isSmartRef__\":true,\"id\":1546},{\"__isSmartRef__\":true,\"id\":1548}],\"vector\":{\"__isSmartRef__\":true,\"id\":1536},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1542\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1543}},\"1543\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1544\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1545}},\"1545\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1546\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1547}},\"1547\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1548\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1549}},\"1549\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1550\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1551},\"id\":6794,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1556},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1557}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1559},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":1560},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1561},\"_MaxTextWidth\":60,\"_MinTextWidth\":60,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":null,\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"isLockOwner\":false,\"showsHalos\":false,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1551\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1552},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1553},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1554},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1555},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1197},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1552\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1553\":{\"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\"},\"1554\":{\"x\":60,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1555\":{\"x\":0,\"y\":6,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1556\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1557\":{\"style\":{\"__isSmartRef__\":true,\"id\":1558},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1550},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1558\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1559\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1550},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1560\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1561\":{\"x\":60,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1562\":{\"moveVertical\":true,\"moveHorizontal\":true},\"1563\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1520},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1506},\"targetMethodName\":\"removeTopLevel\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1564\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1520},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1506},\"targetMethodName\":\"result\",\"converter\":null,\"converterString\":\"function () { return null }\",\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":1565},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1565\":{\"source\":{\"__isSmartRef__\":true,\"id\":1520},\"target\":{\"__isSmartRef__\":true,\"id\":1506}},\"1566\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1567},\"id\":6795,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1572},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1573},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1574},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1575},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":1527},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":1576},\"label\":{\"__isSmartRef__\":true,\"id\":1585},\"layout\":{\"__isSmartRef__\":true,\"id\":1597},\"owner\":null,\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":1598},{\"__isSmartRef__\":true,\"id\":1599}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"isCopyMorphRef\":true,\"morphRefId\":2,\"isLockOwner\":false,\"showsHalos\":false,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"1567\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1568},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1569},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1570},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1571},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1526},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1527},\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1568\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1569\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"1570\":{\"x\":60,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1571\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1572\":{\"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\"},\"1573\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1566},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1574\":{\"x\":414,\"y\":187,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1575\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1576\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1577},{\"__isSmartRef__\":true,\"id\":1579},{\"__isSmartRef__\":true,\"id\":1581},{\"__isSmartRef__\":true,\"id\":1583}],\"vector\":{\"__isSmartRef__\":true,\"id\":1536},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1577\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1578}},\"1578\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1579\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1580}},\"1580\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1581\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1582}},\"1582\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1583\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1584}},\"1584\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1585\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1586},\"id\":6796,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1591},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1592}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1594},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":1595},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1596},\"_MaxTextWidth\":60,\"_MinTextWidth\":60,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":null,\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"isLockOwner\":false,\"showsHalos\":false,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1586\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1587},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1588},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1589},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1590},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1197},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1587\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1588\":{\"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\"},\"1589\":{\"x\":60,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1590\":{\"x\":0,\"y\":6,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1591\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1592\":{\"style\":{\"__isSmartRef__\":true,\"id\":1593},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1585},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1593\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1594\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1585},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1595\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1596\":{\"x\":60,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1597\":{\"moveVertical\":true,\"moveHorizontal\":true},\"1598\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1566},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1506},\"targetMethodName\":\"removeTopLevel\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1599\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1566},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1191},\"targetMethodName\":\"doSave\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1600\":{\"x\":540,\"y\":420,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1601\":{\"x\":365,\"y\":-16,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1602\":{\"x\":0,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1603\":{\"copyToPartsBin\":{\"__isSmartRef__\":true,\"id\":1604},\"onPublish\":{\"__isSmartRef__\":true,\"id\":1612},\"onCancel\":{\"__isSmartRef__\":true,\"id\":1616},\"setTarget\":{\"__isSmartRef__\":true,\"id\":1620},\"reset\":{\"__isSmartRef__\":true,\"id\":1624}},\"1604\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1605},\"source\":\"function copyToPartsBin(morph) {\\n var name = this.get('NameText').textString\\n\\n var info = morph.getPartsBinMetaInfo();\\n morph.setName(name);\\n\\n info.partsSpaceName = this.get('CategoryText').textString\\n info.comment = this.get('CommentText').textString\\n\\n if (! info.changes) info.changes = [];\\n var change = { \\n date: new Date(), \\n author: this.world().getUserName(), \\n message: this.get('CommitMessageText').textString,\\n id: Strings.newUUID()\\n }\\n info.changes.push(change) \\n\\n morph.copyToPartsBin();\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":1610},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1605\":{\"this\":{\"__isSmartRef__\":true,\"id\":1190},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":1606}},\"1606\":{\"$super\":{\"__isSmartRef__\":true,\"id\":1607}},\"1607\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1608},\"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\":1609},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1608\":{\"obj\":{\"__isSmartRef__\":true,\"id\":1190},\"name\":\"copyToPartsBin\"},\"1609\":{},\"1610\":{\"user\":\"jenslincke\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":1611}},\"1611\":{\"isSerializedDate\":true,\"string\":\"Fri Oct 28 2011 15:13:21 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"1612\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1613},\"source\":\"function onPublish() {\\n if (!this.target) alert(\\\"No target to upload\\\");\\n this.copyToPartsBin(this.target);\\n connect(this.target, 'headRevision', this.owner, 'remove')\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":1614},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1613\":{\"this\":{\"__isSmartRef__\":true,\"id\":1190}},\"1614\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1615},\"user\":\"undefined\",\"tags\":[]},\"1615\":{\"isSerializedDate\":true,\"string\":\"Tue Mar 20 2012 12:59:48 GMT+0100 (Mitteleuropäische Zeit)\"},\"1616\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1617},\"source\":\"function onCancel() {\\n alertOK(\\\"cancel upload \\\") \\n this.owner.remove()\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":1618},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1617\":{\"this\":{\"__isSmartRef__\":true,\"id\":1190}},\"1618\":{\"user\":\"jenslincke\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":1619}},\"1619\":{\"isSerializedDate\":true,\"string\":\"Wed Oct 19 2011 14:52:17 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"1620\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1621},\"source\":\"function setTarget(morph) {\\n this.target = morph \\n if (!morph) {\\n this.get('NameText').textString = '';\\n this.get('CategoryText').textString = '';\\n this.get('CommentText').textString = ''; \\n this.get('CommitMessageText').textString = '' \\n return\\n }\\n var info = this.target.getPartsBinMetaInfo();\\n this.get('NameText').textString = info.partName || morph.getName();\\n this.get('CategoryText').textString = info.partsSpaceName;\\n this.get('CommentText').textString = info.comment; \\n this.get('CommitMessageText').textString = '' \\n\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":1622},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1621\":{\"this\":{\"__isSmartRef__\":true,\"id\":1190}},\"1622\":{\"user\":\"jenslincke\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":1623}},\"1623\":{\"isSerializedDate\":true,\"string\":\"Wed Oct 19 2011 14:46:10 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"1624\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1625},\"source\":\"function reset() {\\n this.setTarget(null)\\n \\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":1626},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1625\":{\"this\":{\"__isSmartRef__\":true,\"id\":1190}},\"1626\":{\"user\":\"jenslincke\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":1627}},\"1627\":{\"isSerializedDate\":true,\"string\":\"Wed Oct 19 2011 14:45:36 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"1628\":{\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1629},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1630},\"_BorderWidth\":0,\"_Fill\":null,\"_StrokeOpacity\":0,\"_BorderRadius\":0,\"_Extent\":{\"__isSmartRef__\":true,\"id\":1631},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1629\":{\"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\"},\"1630\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1631\":{\"x\":542,\"y\":242,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1632\":{\"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\"},\"1633\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1041},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1634\":{\"adjustForNewBounds\":true},\"1635\":{\"x\":542,\"y\":242,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1636\":{\"x\":0,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1637\":{\"x\":463,\"y\":297,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1638\":{\"partName\":\"PublishPartDialog\",\"requiredModules\":[],\"migrationLevel\":4,\"partsSpaceName\":\"PartsBin/BP2012\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"comment\":\"A dialog for publishing parts in the PartsBin.\",\"changes\":[{\"__isSmartRef__\":true,\"id\":1639},{\"__isSmartRef__\":true,\"id\":1641},{\"__isSmartRef__\":true,\"id\":1643},{\"__isSmartRef__\":true,\"id\":1645},{\"__isSmartRef__\":true,\"id\":1647},{\"__isSmartRef__\":true,\"id\":1649},{\"__isSmartRef__\":true,\"id\":1651}],\"revisionOnLoad\":146804,\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"1639\":{\"date\":{\"__isSmartRef__\":true,\"id\":1640},\"author\":\"undefined\",\"message\":\"init for change - don't remove on click\",\"id\":\"00A6DFFB-70D2-44A4-B5F9-0778E1CA5724\"},\"1640\":{\"isSerializedDate\":true,\"string\":\"Tue Mar 20 2012 12:04:27 GMT+0100 (Mitteleuropäische Zeit)\"},\"1641\":{\"date\":{\"__isSmartRef__\":true,\"id\":1642},\"author\":\"jenslincke\",\"message\":\"- fixed issue 283 (Reproduction: Open part, select publish from menu, focus part name input field in dialog, press enter.-> window pane disappears; window decoration stays; part is not published)\",\"id\":\"1A260BD5-E668-4BD4-B7A2-94E087AB4CE1\"},\"1642\":{\"isSerializedDate\":true,\"string\":\"Thu Jan 26 2012 12:10:41 GMT+0100 (Mitteleuropäische Zeit)\"},\"1643\":{\"date\":{\"__isSmartRef__\":true,\"id\":1644},\"author\":\"jenslincke\",\"message\":\"\"},\"1644\":{\"isSerializedDate\":true,\"string\":\"Fri Oct 28 2011 16:06:16 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"1645\":{\"date\":{\"__isSmartRef__\":true,\"id\":1646},\"author\":\"jenslincke\",\"message\":\"store an uuid when publishing an object\"},\"1646\":{\"isSerializedDate\":true,\"string\":\"Fri Oct 28 2011 15:15:02 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"1647\":{\"date\":{\"__isSmartRef__\":true,\"id\":1648},\"author\":\"jenslincke\",\"message\":\"\"},\"1648\":{\"isSerializedDate\":true,\"string\":\"Wed Oct 19 2011 14:52:26 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"1649\":{\"date\":{\"__isSmartRef__\":true,\"id\":1650},\"author\":\"jenslincke\",\"message\":\"first commit of Publish dialog using the publish dialog itself!\"},\"1650\":{\"isSerializedDate\":true,\"string\":\"Wed Oct 19 2011 14:54:16 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"1651\":{\"date\":{\"__isSmartRef__\":true,\"id\":1652},\"author\":\"undefined\",\"message\":\"\",\"id\":\"A5F4EACF-EF62-483F-B8B3-65966A895FA4\"},\"1652\":{\"isSerializedDate\":true,\"string\":\"Tue Mar 20 2012 13:00:03 GMT+0100 (Mitteleuropäische Zeit)\"},\"1653\":{\"x\":746.5,\"y\":281,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1654\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":806},\"sourceAttrName\":\"headRevision\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1655},\"targetMethodName\":\"remove\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1655\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1656},{\"__isSmartRef__\":true,\"id\":1803}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":2293},\"id\":\"114E0CC6-1010-4E71-9A76-55D8416C4D9B\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2297},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":2298},\"droppingEnabled\":true,\"halosEnabled\":true,\"__layered_draggingEnabled__\":true,\"layout\":{\"__isSmartRef__\":true,\"id\":2299},\"LK2\":true,\"priorExtent\":{\"__isSmartRef__\":true,\"id\":2300},\"targetMorph\":{\"__isSmartRef__\":true,\"id\":1803},\"titleBar\":{\"__isSmartRef__\":true,\"id\":1656},\"contentOffset\":{\"__isSmartRef__\":true,\"id\":2301},\"collapsedTransform\":null,\"collapsedExtent\":null,\"expandedTransform\":null,\"expandedExtent\":null,\"ignoreEventsOnExpand\":false,\"highlighted\":true,\"prevDragPos\":{\"__isSmartRef__\":true,\"id\":2302},\"isBeingDragged\":false,\"showsHalos\":false,\"name\":\"PublishPartDialog1\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":2303},\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"_Position\":{\"__isSmartRef__\":true,\"id\":2318},\"isCopyMorphRef\":true,\"morphRefId\":12,\"derivationIds\":[2879,\"91414FD8-3775-435F-96A6-39E0CB891CD7\",\"9CB574CD-94E3-465A-B85C-91F97E070BC3\",\"C9D390C2-399F-44AF-A316-A4A117E5F7B6\",\"0A0B9181-A04D-441B-944F-585ED335E81B\"],\"moved\":true,\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Window\",\"withoutLayers\":[\"Global.lively.morphic.GrabbingLayer\"]},\"1656\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1657},{\"__isSmartRef__\":true,\"id\":1671},{\"__isSmartRef__\":true,\"id\":1718},{\"__isSmartRef__\":true,\"id\":1752}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1787},\"id\":\"AC4318FD-EA67-46A2-9D28-CC5E408627C3\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1798},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1799},\"droppingEnabled\":true,\"halosEnabled\":true,\"layout\":{\"__isSmartRef__\":true,\"id\":1800},\"_Position\":{\"__isSmartRef__\":true,\"id\":1801},\"windowMorph\":{\"__isSmartRef__\":true,\"id\":1655},\"label\":{\"__isSmartRef__\":true,\"id\":1657},\"closeButton\":{\"__isSmartRef__\":true,\"id\":1671},\"menuButton\":{\"__isSmartRef__\":true,\"id\":1718},\"collapseButton\":{\"__isSmartRef__\":true,\"id\":1752},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1802},\"owner\":{\"__isSmartRef__\":true,\"id\":1655},\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"derivationIds\":[2880,\"108B5871-F6C8-4442-82D1-F8776D2C85A2\",\"503529CB-0F23-4456-8597-CD5E86CF03F0\",\"4FB4914E-E245-4D67-BE3B-63091E2C8C95\",\"B69B0DCD-8CC6-4A06-B738-A12B5269CD7D\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.TitleBar\"},\"1657\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1658},\"id\":\"D77F5C35-DE97-4172-BF2F-8D1ACED89AC7\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1664},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1665}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1667},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"evalEnabled\":false,\"isLabel\":true,\"_HandStyle\":\"default\",\"layout\":{\"__isSmartRef__\":true,\"id\":1668},\"_Align\":\"center\",\"eventsAreIgnored\":true,\"owner\":{\"__isSmartRef__\":true,\"id\":1656},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1669},\"_MaxTextWidth\":483,\"_MinTextWidth\":483,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"_Position\":{\"__isSmartRef__\":true,\"id\":1670},\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"derivationIds\":[2881,\"A06A709C-AD42-48D0-A66A-9C21EA4F4E66\",\"EE1A345D-476E-4E22-BE89-E59A0C11001B\",\"90634CE5-77D0-4064-961C-4CBADE59C6F8\",\"C26670E3-5765-406B-972F-888FD1EAF967\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1658\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1659},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1660},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1661},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1662},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1663},\"_Fill\":null,\"_BorderRadius\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1659\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1660\":{\"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\"},\"1661\":{\"x\":483,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1662\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1663\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1664\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1665\":{\"style\":{\"__isSmartRef__\":true,\"id\":1666},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1657},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"Publish in PartsBin\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1666\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1667\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1657},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1668\":{\"resizeWidth\":true},\"1669\":{\"x\":483,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1670\":{\"x\":20,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1671\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1672}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1684},\"id\":\"1B450A88-DDF9-425D-83CA-EDD701DCC323\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1700},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1701},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"accessibleInInactiveWindow\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1702},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1703},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":1690},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":1704},\"label\":{\"__isSmartRef__\":true,\"id\":1672},\"owner\":{\"__isSmartRef__\":true,\"id\":1656},\"layout\":{\"__isSmartRef__\":true,\"id\":1713},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":1714},{\"__isSmartRef__\":true,\"id\":1716}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"prevScroll\":[0,0],\"derivationIds\":[2882,\"6FF08B49-B1B5-4E12-8CE8-DF895115627D\",\"7F48C6F9-BB0C-405E-991B-410F179F7FE6\",\"8405D63F-4E07-4FE8-9008-DD8AE000B5C8\",\"D81DD158-CA4D-44A9-B0A6-3FD7DF7EFD68\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"1672\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1673},\"id\":\"8ECEC574-E77D-4096-877E-98EABAA8CA1D\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1678},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1679}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1681},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":8,\"_Position\":{\"__isSmartRef__\":true,\"id\":1682},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1683},\"_MaxTextWidth\":17,\"_MinTextWidth\":17,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":1671},\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"derivationIds\":[2883,\"9FBA502B-65B1-4FF2-A0A6-9951E3C50B9C\",\"9F297DAE-65AA-45A3-AFAE-BD35F359E24A\",\"75386CDF-09C9-47F2-8762-F737A49FD645\",\"C43A7038-D61D-47C7-BFA8-8C8A77627643\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1673\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1674},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1675},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1676},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1677},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1663},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1674\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1675\":{\"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\"},\"1676\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1677\":{\"x\":0,\"y\":3,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1678\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1679\":{\"style\":{\"__isSmartRef__\":true,\"id\":1680},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1672},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"X\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1680\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1681\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1672},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1682\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1683\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1684\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1685},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1686},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1687},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1688},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1689},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1690},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1685\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1686\":{\"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\"},\"1687\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1688\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1689\":{\"r\":0.7411764705882353,\"g\":0.7450980392156863,\"b\":0.7529411764705882,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1690\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1691},{\"__isSmartRef__\":true,\"id\":1693},{\"__isSmartRef__\":true,\"id\":1695},{\"__isSmartRef__\":true,\"id\":1697}],\"vector\":{\"__isSmartRef__\":true,\"id\":1699},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1691\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1692}},\"1692\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1693\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1694}},\"1694\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1695\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1696}},\"1696\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1697\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1698}},\"1698\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1699\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1700\":{\"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\"},\"1701\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1671},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1702\":{\"x\":522,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1703\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1704\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1705},{\"__isSmartRef__\":true,\"id\":1707},{\"__isSmartRef__\":true,\"id\":1709},{\"__isSmartRef__\":true,\"id\":1711}],\"vector\":{\"__isSmartRef__\":true,\"id\":1699},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1705\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1706}},\"1706\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1707\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1708}},\"1708\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1709\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1710}},\"1710\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1711\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1712}},\"1712\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1713\":{\"moveHorizontal\":true},\"1714\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1671},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1655},\"targetMethodName\":\"getCloseHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":1715},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1715\":{\"source\":{\"__isSmartRef__\":true,\"id\":1671},\"target\":{\"__isSmartRef__\":true,\"id\":1655}},\"1716\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1671},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1655},\"targetMethodName\":\"initiateShutdown\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":1717},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1717\":{\"source\":{\"__isSmartRef__\":true,\"id\":1671},\"target\":{\"__isSmartRef__\":true,\"id\":1655}},\"1718\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1719}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1730},\"id\":\"5B34DA09-2945-480C-89F5-843872D55EAE\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1735},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1736},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"accessibleInInactiveWindow\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1737},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1738},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":1690},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":1739},\"label\":{\"__isSmartRef__\":true,\"id\":1719},\"owner\":{\"__isSmartRef__\":true,\"id\":1656},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":1748},{\"__isSmartRef__\":true,\"id\":1750}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"derivationIds\":[2884,\"64F20257-1A1D-4B3E-97C4-BC5D1F1E14B5\",\"A377FFCE-0FDC-41B6-BD34-D9F0507B57DA\",\"7334352E-B497-4F10-8C06-FBE36AA778C7\",\"E8269870-961E-49ED-ACE6-3CB90CD1937A\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"1719\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1720},\"id\":\"17FEC040-13EA-4F86-8084-76A818AFF35C\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1724},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1725}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1727},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":8,\"_Position\":{\"__isSmartRef__\":true,\"id\":1728},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1729},\"_MaxTextWidth\":17,\"_MinTextWidth\":17,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":1718},\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"derivationIds\":[2885,\"EC48B50E-CD5B-46FB-BF78-484373EED980\",\"59F8AF9B-799B-413B-86B2-BFD03A4B2559\",\"F8293A60-E9DB-40E3-B202-D547939F8A8D\",\"30E16AEA-8638-441D-A4B6-A7F2EB4D1987\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1720\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1721},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1722},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1723},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1677},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1663},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1721\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1722\":{\"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\"},\"1723\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1724\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1725\":{\"style\":{\"__isSmartRef__\":true,\"id\":1726},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1719},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"M\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1726\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1727\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1719},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1728\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1729\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1730\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1731},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1732},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1733},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1734},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1689},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1690},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1731\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1732\":{\"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\"},\"1733\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1734\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1735\":{\"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\"},\"1736\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1718},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1737\":{\"x\":3,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1738\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1739\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1740},{\"__isSmartRef__\":true,\"id\":1742},{\"__isSmartRef__\":true,\"id\":1744},{\"__isSmartRef__\":true,\"id\":1746}],\"vector\":{\"__isSmartRef__\":true,\"id\":1699},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1740\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1741}},\"1741\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1742\":{\"offset\":0.4,\"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\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1745}},\"1745\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1746\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1747}},\"1747\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1748\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1718},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1655},\"targetMethodName\":\"getMenuHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":1749},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1749\":{\"source\":{\"__isSmartRef__\":true,\"id\":1718},\"target\":{\"__isSmartRef__\":true,\"id\":1655}},\"1750\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1718},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1655},\"targetMethodName\":\"showTargetMorphMenu\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":1751},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1751\":{\"source\":{\"__isSmartRef__\":true,\"id\":1718},\"target\":{\"__isSmartRef__\":true,\"id\":1655}},\"1752\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1753}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1764},\"id\":\"A7621976-3E85-494C-8E96-7EDF8C175807\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1769},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1770},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"accessibleInInactiveWindow\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1771},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1772},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":1690},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":1773},\"label\":{\"__isSmartRef__\":true,\"id\":1753},\"owner\":{\"__isSmartRef__\":true,\"id\":1656},\"layout\":{\"__isSmartRef__\":true,\"id\":1782},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":1783},{\"__isSmartRef__\":true,\"id\":1785}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"prevScroll\":[0,0],\"derivationIds\":[2886,\"9FC4F0BE-916D-456B-AEC7-E6C1AC6040CA\",\"A0A4775F-7F2F-4563-840D-CAA5CB435D75\",\"C87D3EB9-4C3B-4230-9794-F5B71B528C74\",\"D62C35A2-6803-4217-9DFD-0E480D4B82AE\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"1753\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1754},\"id\":\"9D2D8650-2F76-4D60-BB27-80A1112C3A07\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1758},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1759}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1761},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":8,\"_Position\":{\"__isSmartRef__\":true,\"id\":1762},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1763},\"_MaxTextWidth\":17,\"_MinTextWidth\":17,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":1752},\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"derivationIds\":[2887,\"42347453-BADB-4DB0-9486-C479B704CD7C\",\"B0BBE9B3-B5DD-4E4F-A1AA-1C03BB1BFF4E\",\"8AE3BC44-F336-420E-A2E9-BBA0DC6A3D72\",\"3DC5BABC-5EF1-4FC6-805B-0FC1CC02282F\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1754\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1755},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1756},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1757},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1677},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1663},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1755\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1756\":{\"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\"},\"1757\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1758\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1759\":{\"style\":{\"__isSmartRef__\":true,\"id\":1760},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1753},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"–\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1760\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1761\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1753},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1762\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1763\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1764\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1765},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1766},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1767},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1768},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1689},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1690},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1765\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1766\":{\"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\"},\"1767\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1768\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1769\":{\"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\"},\"1770\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1752},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1771\":{\"x\":503,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1772\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1773\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1774},{\"__isSmartRef__\":true,\"id\":1776},{\"__isSmartRef__\":true,\"id\":1778},{\"__isSmartRef__\":true,\"id\":1780}],\"vector\":{\"__isSmartRef__\":true,\"id\":1699},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1774\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1775}},\"1775\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1776\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1777}},\"1777\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1778\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1779}},\"1779\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1780\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1781}},\"1781\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1782\":{\"moveHorizontal\":true},\"1783\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1752},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1655},\"targetMethodName\":\"getCollapseHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":1784},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1784\":{\"source\":{\"__isSmartRef__\":true,\"id\":1752},\"target\":{\"__isSmartRef__\":true,\"id\":1655}},\"1785\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1752},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1655},\"targetMethodName\":\"toggleCollapse\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":1786},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1786\":{\"source\":{\"__isSmartRef__\":true,\"id\":1752},\"target\":{\"__isSmartRef__\":true,\"id\":1655}},\"1787\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1788},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1789},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1790},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1791},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1792},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1793},\"_StrokeOpacity\":1,\"_BorderRadius\":\"8px 8px 0px 0px\",\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1788\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1789\":{\"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\"},\"1790\":{\"x\":542,\"y\":22,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1791\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1792\":{\"r\":0.4,\"g\":0.4,\"b\":0.4,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1793\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1794},{\"__isSmartRef__\":true,\"id\":1796}],\"vector\":{\"__isSmartRef__\":true,\"id\":1184},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1794\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1795}},\"1795\":{\"r\":1,\"g\":1,\"b\":1,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1796\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1797}},\"1797\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1798\":{\"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\"},\"1799\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1656},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1800\":{\"resizeWidth\":true,\"adjustForNewBounds\":true},\"1801\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1802\":{\"x\":542,\"y\":22,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1803\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1804},{\"__isSmartRef__\":true,\"id\":1819},{\"__isSmartRef__\":true,\"id\":1834},{\"__isSmartRef__\":true,\"id\":1850},{\"__isSmartRef__\":true,\"id\":1866},{\"__isSmartRef__\":true,\"id\":1881},{\"__isSmartRef__\":true,\"id\":1897},{\"__isSmartRef__\":true,\"id\":1913},{\"__isSmartRef__\":true,\"id\":1996},{\"__isSmartRef__\":true,\"id\":2078},{\"__isSmartRef__\":true,\"id\":2093},{\"__isSmartRef__\":true,\"id\":2109}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":2157},\"id\":\"945F423F-7AC1-4663-8887-43C229844FCF\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2164},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":2165},\"droppingEnabled\":true,\"halosEnabled\":true,\"isLockOwner\":false,\"layout\":{\"__isSmartRef__\":true,\"id\":2166},\"attributeConnections\":[],\"ownerApp\":{\"__isSmartRef__\":true,\"id\":2167},\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.Core\",\"name\":\"PublishPartPanePane\",\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":2261},\"isBeingDragged\":false,\"prevScroll\":[0,0],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":2262},\"grabbingEnabled\":false,\"_Position\":{\"__isSmartRef__\":true,\"id\":2263},\"owner\":{\"__isSmartRef__\":true,\"id\":1655},\"target\":{\"__isSmartRef__\":true,\"id\":806},\"derivationIds\":[2888,\"7CD647EF-2BB4-4CD9-9D3B-4EE7BC59ECC2\",\"B983FB4F-9323-4304-9603-5615E93C6C42\",\"E738FAD5-9C83-4390-B193-06C21B6E51B0\",\"5ED6DC7B-74C2-4149-BF56-1622F302C51E\"],\"_Rotation\":0,\"_Scale\":1,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":2264},\"__LivelyClassName__\":\"lively.morphic.Box\",\"withLayers\":[\"Global.lively.morphic.GrabbingLayer\"]},\"1804\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1805},\"id\":\"ADC51974-AADA-4581-AF01-52DC361A5619\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1812},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1813}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1815},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":true,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":1816},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1817},\"_MaxTextWidth\":230,\"_MinTextWidth\":230,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"isInputLine\":true,\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"owner\":{\"__isSmartRef__\":true,\"id\":1803},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"showsHalos\":false,\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1818},\"previousSelection\":[0,9],\"priorSelectionRange\":[0,9],\"isLockOwner\":false,\"name\":\"NameText\",\"isCopyMorphRef\":true,\"morphRefId\":1,\"derivationIds\":[2889,\"9A8B5C1C-95BB-40F5-B9EF-B89DD5451B64\",\"C49BF160-BBBE-422E-BDDC-B9A98A72ABFF\",\"42B7E940-3BB5-4B79-B5D8-E4C8E780FF3B\",\"50B247C7-D8F3-4CF5-BD3F-2A2867827CF1\"],\"savedTextString\":\"CommitMessageTest1\",\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1805\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1806},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1807},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1808},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1809},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1810},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1811},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1806\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1807\":{\"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\"},\"1808\":{\"x\":240,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1809\":{\"x\":4,\"y\":2,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1810\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1811\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1812\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1813\":{\"style\":{\"__isSmartRef__\":true,\"id\":1814},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1804},\"storedString\":\"PublishPartDialog\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1814\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1815\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1804},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1816\":{\"x\":10,\"y\":50,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1817\":{\"x\":240,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1818\":{\"x\":119,\"y\":-15,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1819\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1820},\"id\":\"0FBB0EEB-D7CF-42B4-9736-6EA8808B6C2D\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1827},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1828}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1830},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":true,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":1831},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1832},\"_MaxTextWidth\":510,\"_MinTextWidth\":510,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"isInputLine\":true,\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"showsHalos\":false,\"name\":\"CommitMessageText\",\"owner\":{\"__isSmartRef__\":true,\"id\":1803},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1833},\"previousSelection\":[0,15],\"priorSelectionRange\":[0,0],\"charsReplaced\":\"CommitMessageTest1\",\"lastFindLoc\":18,\"isLockOwner\":false,\"isBeingDragged\":false,\"derivationIds\":[2890,\"40048B1D-9547-4EA6-AB66-31168A1C9FAE\",\"8A0DE790-FA6C-41C9-BA2B-84397DA3F39E\",\"DCFEEBC9-D891-408E-A103-19356A96070F\",\"EAEE386C-B48C-44E1-B80C-6830217A2FC6\"],\"savedTextString\":\"\",\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1820\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1821},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1822},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1823},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1824},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1825},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1826},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1821\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1822\":{\"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\"},\"1823\":{\"x\":520,\"y\":120,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1824\":{\"x\":4,\"y\":2,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1825\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1826\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1827\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1828\":{\"style\":{\"__isSmartRef__\":true,\"id\":1829},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1819},\"storedString\":\"resetted view\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1829\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1830\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1819},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1831\":{\"x\":10,\"y\":260,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1832\":{\"x\":520,\"y\":120,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1833\":{\"x\":351,\"y\":-17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1834\":{\"submorphs\":[],\"scripts\":[],\"id\":\"DA565675-5424-44B9-9F7C-E76C37FA86EC\",\"shape\":{\"__isSmartRef__\":true,\"id\":1835},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":true,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1841},\"_MaxTextWidth\":114,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":1838},\"showsHalos\":false,\"_FontSize\":12,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"Text5\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1842},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1843}],\"charsReplaced\":\"some text \",\"lastFindLoc\":10,\"priorSelectionRange\":[0,4],\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1845},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1846},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1847},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_Padding\":{\"__isSmartRef__\":true,\"id\":1848},\"_ClipMode\":\"visible\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"owner\":{\"__isSmartRef__\":true,\"id\":1803},\"_MinTextWidth\":114,\"_MinTextHeight\":null,\"previousSelection\":[3,3],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1849},\"isLockOwner\":false,\"isBeingDragged\":false,\"derivationIds\":[2891,\"E101CA30-35F9-42F0-A46C-28671530C787\",\"CE7E7640-C507-43BF-88EF-C4ACE8CCF564\",\"F04823B9-5B0B-4CCA-B8F7-00BD8608ED16\",\"DD4402A8-C90A-4187-92DA-813F59FF86E6\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1835\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1836},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1837},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1838},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1839},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1840},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1836\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1837\":{\"x\":114,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1838\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1839\":{\"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\"},\"1840\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1841\":{\"x\":10,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1842\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":4,\"comment\":\"a simple text morph\",\"partName\":\"Text\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"1843\":{\"style\":{\"__isSmartRef__\":true,\"id\":1844},\"morph\":{\"__isSmartRef__\":true,\"id\":1834},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1834},\"storedString\":\"name\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1844\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"italics\":\"italic\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1845\":{\"x\":114,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1846\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1847\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1834},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1848\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1849\":{\"x\":78,\"y\":-3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1850\":{\"submorphs\":[],\"scripts\":[],\"id\":\"85876C10-82AB-427E-99E9-DC8E7A98F0CD\",\"shape\":{\"__isSmartRef__\":true,\"id\":1851},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":true,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1857},\"_MaxTextWidth\":250,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":1854},\"showsHalos\":false,\"_FontSize\":12,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"Text6\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1858},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1859}],\"charsReplaced\":\"changes\",\"lastFindLoc\":7,\"priorSelectionRange\":[0,14],\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1861},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1862},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1863},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_Padding\":{\"__isSmartRef__\":true,\"id\":1864},\"_ClipMode\":\"visible\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"_MinTextWidth\":250,\"_MinTextHeight\":null,\"previousSelection\":[0,14],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1865},\"owner\":{\"__isSmartRef__\":true,\"id\":1803},\"isLockOwner\":false,\"derivationIds\":[2892,\"E5DC0070-3EA2-4212-9AA7-E3C865547E5E\",\"809E256F-82F6-4A22-B614-DE8C08FA5970\",\"272C0F9A-E7EF-4ECE-851D-08ACB35EA24D\",\"8AA544F8-6F47-454D-AE18-A264ACDEFA7E\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1851\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1852},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1853},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1854},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1855},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1856},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1852\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1853\":{\"x\":250,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1854\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1855\":{\"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\"},\"1856\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1857\":{\"x\":10,\"y\":240,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1858\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":4,\"comment\":\"a simple text morph\",\"partName\":\"Text\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"1859\":{\"style\":{\"__isSmartRef__\":true,\"id\":1860},\"morph\":{\"__isSmartRef__\":true,\"id\":1850},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1850},\"storedString\":\"commit message\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1860\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"italics\":\"italic\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1861\":{\"x\":250,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1862\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1863\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1850},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1864\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1865\":{\"x\":174,\"y\":-21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1866\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1867},\"id\":\"93626CA5-A09A-41F8-8C62-88BFBF7A9A36\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1874},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1875}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1877},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":true,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":1878},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1879},\"_MaxTextWidth\":250,\"_MinTextWidth\":250,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"isInputLine\":true,\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"showsHalos\":false,\"name\":\"CategoryText\",\"owner\":{\"__isSmartRef__\":true,\"id\":1803},\"previousSelection\":[0,14],\"priorSelectionRange\":[5,5],\"charsReplaced\":\"CommitMessageTest1\",\"lastFindLoc\":18,\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1880},\"isLockOwner\":false,\"derivationIds\":[2893,\"FBE4B17F-DC2B-4783-899B-CF1B051F14D9\",\"A2C45BC5-C44B-4AEA-A29E-ADE3DAF08638\",\"640BD984-1AB2-45B8-BCEC-AB32A6199D68\",\"BE2E06DB-4DFC-4628-9FED-8F3E87D18E07\"],\"savedTextString\":\"PartsBin/Basic\",\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1867\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":1868},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1869},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1870},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1871},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1872},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1873},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1868\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1869\":{\"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\"},\"1870\":{\"x\":260,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1871\":{\"x\":4,\"y\":2,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1872\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1873\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1874\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1875\":{\"style\":{\"__isSmartRef__\":true,\"id\":1876},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1866},\"storedString\":\"PartsBin/BP2012\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1876\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1877\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1866},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1878\":{\"x\":270,\"y\":50,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1879\":{\"x\":260,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1880\":{\"x\":132,\"y\":-13,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1881\":{\"submorphs\":[],\"scripts\":[],\"id\":\"0B3CC75B-7D92-469B-B604-763DB6E26242\",\"shape\":{\"__isSmartRef__\":true,\"id\":1882},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":true,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1888},\"_MaxTextWidth\":114,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":1885},\"showsHalos\":false,\"_FontSize\":12,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"Text7\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1889},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1890}],\"charsReplaced\":\"name\",\"lastFindLoc\":4,\"priorSelectionRange\":[0,8],\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1892},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1893},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1894},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_Padding\":{\"__isSmartRef__\":true,\"id\":1895},\"_ClipMode\":\"visible\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"_MinTextWidth\":114,\"_MinTextHeight\":null,\"previousSelection\":[2,2],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1896},\"owner\":{\"__isSmartRef__\":true,\"id\":1803},\"isLockOwner\":false,\"isBeingDragged\":false,\"derivationIds\":[2894,\"75F41AE1-CA7A-48D0-AE2C-7AAF6101B89C\",\"CB87A9FB-0776-4109-BDE0-0E8C61F1626C\",\"954BD4D6-BBF2-4D3C-94CA-21A38F66F449\",\"5C78A757-B050-43F1-B4CF-26CE9CC58B03\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1882\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1883},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1884},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1885},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1886},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1887},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1883\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1884\":{\"x\":114,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1885\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1886\":{\"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\"},\"1887\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1888\":{\"x\":270,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1889\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":4,\"comment\":\"a simple text morph\",\"partName\":\"Text\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"1890\":{\"style\":{\"__isSmartRef__\":true,\"id\":1891},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1881},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"category\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1891\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"italics\":\"italic\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1892\":{\"x\":114,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1893\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1894\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1881},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1895\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1896\":{\"x\":87,\"y\":-11,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1897\":{\"submorphs\":[],\"scripts\":[],\"id\":\"6DA71C26-AB36-4367-A0B4-CD75959169B2\",\"shape\":{\"__isSmartRef__\":true,\"id\":1898},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":true,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1904},\"_MaxTextWidth\":325,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":1901},\"showsHalos\":false,\"_FontSize\":12,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"Text8\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1905},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1906}],\"charsReplaced\":\"Publish Object in PartsBin\",\"lastFindLoc\":26,\"priorSelectionRange\":[0,36],\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1908},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1909},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1910},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_Padding\":{\"__isSmartRef__\":true,\"id\":1911},\"_ClipMode\":\"visible\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"_MinTextWidth\":325,\"_MinTextHeight\":null,\"previousSelection\":[0,36],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1912},\"owner\":{\"__isSmartRef__\":true,\"id\":1803},\"isLockOwner\":false,\"isBeingDragged\":false,\"derivationIds\":[2895,\"3AFBC971-95B4-48C4-888D-22FCBB742090\",\"D0394F71-EBB2-452A-A71F-D172D5B1CAD6\",\"79EDAC74-BD6B-42B1-BBBA-71B07578D1E0\",\"C19A8344-D637-44B7-BB1F-FD0153E5A62B\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1898\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1899},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1900},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1901},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1902},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1903},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1899\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1900\":{\"x\":325,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1901\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1902\":{\"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\"},\"1903\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1904\":{\"x\":10,\"y\":10,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1905\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":4,\"comment\":\"a simple text morph\",\"partName\":\"Text\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"1906\":{\"style\":{\"__isSmartRef__\":true,\"id\":1907},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1897},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"Upload part to the shared repository\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1907\":{\"italics\":\"normal\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1908\":{\"x\":325,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1909\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1910\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1897},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1911\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1912\":{\"x\":221,\"y\":-12,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1913\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1914}],\"scripts\":[],\"id\":\"5FD2E67F-6B2F-4D91-9106-619E579430F2\",\"shape\":{\"__isSmartRef__\":true,\"id\":1929},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":1933},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":1945},\"label\":{\"__isSmartRef__\":true,\"id\":1914},\"name\":\"Button\",\"showsHalos\":false,\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1954},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":1955}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1991},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1992},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1993},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1994},\"_Position\":{\"__isSmartRef__\":true,\"id\":1995},\"owner\":{\"__isSmartRef__\":true,\"id\":1803},\"derivationIds\":[2896,\"40384C75-EF01-4AAD-AA1C-A7C19EDB6A0F\",\"21376B8E-78CF-456D-87AA-4D62D86B16D2\",\"E9336A59-C7BF-4C91-88B0-0D0477AA75AE\",\"A5E21E04-05F3-4A15-AAFA-55946EEC5F80\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"1914\":{\"submorphs\":[],\"scripts\":[],\"id\":\"D59CFDD4-1847-48B1-A81F-5CFAE7087370\",\"shape\":{\"__isSmartRef__\":true,\"id\":1915},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1921},\"_MaxTextWidth\":101,\"_MaxTextHeight\":null,\"textStyle\":null,\"padding\":{\"__isSmartRef__\":true,\"id\":1922},\"_Padding\":{\"__isSmartRef__\":true,\"id\":1923},\"owner\":{\"__isSmartRef__\":true,\"id\":1913},\"isLabel\":true,\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"_ClipMode\":\"hidden\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1924},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1925}],\"_Align\":\"center\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1927},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1928},\"_HandStyle\":\"default\",\"_PointerEvents\":\"none\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_MinTextWidth\":101,\"_MinTextHeight\":null,\"derivationIds\":[2897,\"92EB5E70-61BB-4A71-942C-A34A20789B2F\",\"A9C9F9CF-1BAC-4074-A093-4EB0C3C90866\",\"2FE50303-6361-4A70-9BD5-0D8D1C8B5176\",\"D774C172-7EE9-40AE-9949-340BA8EDBD37\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1915\":{\"position\":{\"__isSmartRef__\":true,\"id\":1916},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1917},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1918},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1919},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1920},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1916\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1917\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1918\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1919\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"1920\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1921\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1922\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1923\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1924\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1925\":{\"style\":{\"__isSmartRef__\":true,\"id\":1926},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1914},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"cancel\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1926\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1927\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1928\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1914},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1929\":{\"position\":{\"__isSmartRef__\":true,\"id\":1930},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1931},\"_BorderWidth\":1.1840000000000002,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1932},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1933},\"_BorderRadius\":5.2,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1943},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1944},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1930\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1931\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1932\":{\"r\":0.839,\"g\":0.839,\"b\":0.839,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1933\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1934},{\"__isSmartRef__\":true,\"id\":1936},{\"__isSmartRef__\":true,\"id\":1938},{\"__isSmartRef__\":true,\"id\":1940}],\"vector\":{\"__isSmartRef__\":true,\"id\":1942},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1934\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1935}},\"1935\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1936\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1937}},\"1937\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1938\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1939}},\"1939\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1940\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1941}},\"1941\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1942\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1943\":{\"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\"},\"1944\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1945\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1946},{\"__isSmartRef__\":true,\"id\":1948},{\"__isSmartRef__\":true,\"id\":1950},{\"__isSmartRef__\":true,\"id\":1952}],\"vector\":{\"__isSmartRef__\":true,\"id\":1942},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1946\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1947}},\"1947\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1948\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1949}},\"1949\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1950\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1951}},\"1951\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1952\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1953}},\"1953\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1954\":{\"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\"},\"1955\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1913},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1803},\"targetMethodName\":\"onCancel\",\"visualConnector\":{\"__isSmartRef__\":true,\"id\":1956},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1956\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1957}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1972},\"id\":352,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1979},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1980},\"droppingEnabled\":true,\"halosEnabled\":true,\"owner\":null,\"controlPoints\":[{\"__isSmartRef__\":true,\"id\":1981},{\"__isSmartRef__\":true,\"id\":1982}],\"con\":{\"__isSmartRef__\":true,\"id\":1955},\"showsMorphMenu\":true,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":1983},\"__LivelyClassName__\":\"lively.morphic.Path\"},\"1957\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1958},\"id\":353,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1969},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1970},\"droppingEnabled\":true,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1971},\"owner\":{\"__isSmartRef__\":true,\"id\":1956},\"_Rotation\":-2.716760490670451,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.Path\"},\"1958\":{\"dontChangeShape\":false,\"cachedVertices\":null,\"_PathElements\":[{\"__isSmartRef__\":true,\"id\":1959},{\"__isSmartRef__\":true,\"id\":1960},{\"__isSmartRef__\":true,\"id\":1961},{\"__isSmartRef__\":true,\"id\":1962}],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1963},\"_ClipMode\":\"visible\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1964},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1965},\"_Padding\":{\"__isSmartRef__\":true,\"id\":1966},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1967},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1968},\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Path\"},\"1959\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.MoveTo\"},\"1960\":{\"isAbsolute\":true,\"x\":0,\"y\":12,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"1961\":{\"isAbsolute\":true,\"x\":16,\"y\":6,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"1962\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"1963\":{\"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\"},\"1964\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1965\":{\"x\":16,\"y\":12,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1966\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1967\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1968\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1969\":{\"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\"},\"1970\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1957},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1971\":{\"x\":0.5,\"y\":0.5,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1972\":{\"dontChangeShape\":false,\"cachedVertices\":null,\"_PathElements\":[{\"__isSmartRef__\":true,\"id\":1973},{\"__isSmartRef__\":true,\"id\":1974}],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1975},\"_ClipMode\":\"visible\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1976},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1977},\"_Padding\":{\"__isSmartRef__\":true,\"id\":1978},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1967},\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Path\"},\"1973\":{\"isAbsolute\":true,\"x\":420,\"y\":190,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.MoveTo\"},\"1974\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"1975\":{\"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\"},\"1976\":{\"x\":-0.5,\"y\":-0.5,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1977\":{\"x\":421,\"y\":191,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1978\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1979\":{\"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\"},\"1980\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1956},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1981\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1956},\"index\":0,\"connectedMagnet\":null,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.ControlPoint\"},\"1982\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1956},\"index\":1,\"connectedMagnet\":null,\"marker\":{\"__isSmartRef__\":true,\"id\":1957},\"markerDirection\":\"prev\",\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.ControlPoint\"},\"1983\":{\"morphMenuItems\":{\"__isSmartRef__\":true,\"id\":1984}},\"1984\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1985},\"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\":1990},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1985\":{\"this\":{\"__isSmartRef__\":true,\"id\":1956},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":1986}},\"1986\":{\"$super\":{\"__isSmartRef__\":true,\"id\":1987}},\"1987\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1988},\"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\":1989},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1988\":{\"obj\":{\"__isSmartRef__\":true,\"id\":1956},\"name\":\"morphMenuItems\"},\"1989\":{},\"1990\":{},\"1991\":{\"x\":101,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1992\":{\"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\"},\"1993\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1913},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1994\":{\"x\":77,\"y\":-5,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1995\":{\"x\":420,\"y\":390,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1996\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1997}],\"scripts\":[],\"id\":\"9D327D96-8538-4700-B18E-2FD435B4FF2B\",\"shape\":{\"__isSmartRef__\":true,\"id\":2012},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":2016},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":2028},\"label\":{\"__isSmartRef__\":true,\"id\":1997},\"name\":\"Button1\",\"showsHalos\":false,\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":2037},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":2038}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":2073},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2074},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":2075},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":2076},\"_Position\":{\"__isSmartRef__\":true,\"id\":2077},\"owner\":{\"__isSmartRef__\":true,\"id\":1803},\"derivationIds\":[2898,\"9D27A522-4E3D-482F-97CF-3CA3247A3999\",\"4EBF07AD-25C0-4034-BC06-31F137F70FA1\",\"DC6D6B8E-37AE-4815-A81A-AC7071124A26\",\"42DF6D49-8482-40A3-B901-512013BB5C75\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"1997\":{\"submorphs\":[],\"scripts\":[],\"id\":\"5B9ADB08-9ED1-4C03-9717-0DDC59F76E2A\",\"shape\":{\"__isSmartRef__\":true,\"id\":1998},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":2004},\"_MaxTextWidth\":101,\"_MaxTextHeight\":null,\"textStyle\":null,\"padding\":{\"__isSmartRef__\":true,\"id\":2005},\"_Padding\":{\"__isSmartRef__\":true,\"id\":2006},\"owner\":{\"__isSmartRef__\":true,\"id\":1996},\"isLabel\":true,\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"_ClipMode\":\"hidden\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":2007},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":2008}],\"_Align\":\"center\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2010},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":2011},\"_HandStyle\":\"default\",\"_PointerEvents\":\"none\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_MinTextWidth\":101,\"_MinTextHeight\":null,\"derivationIds\":[2899,\"4F00D1F5-B85C-479E-BDDE-322DF2F432A3\",\"5E7BC7AC-9EF9-4CF5-9196-A542A26534CA\",\"46616896-CA46-4B43-B694-9FB001B32989\",\"F73D407C-A72D-414B-AB8D-1E28025BCA1C\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1998\":{\"position\":{\"__isSmartRef__\":true,\"id\":1999},\"_Extent\":{\"__isSmartRef__\":true,\"id\":2000},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":2001},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2002},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":2003},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1999\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2000\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2001\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2002\":{\"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\"},\"2003\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"2004\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2005\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"2006\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"2007\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2008\":{\"style\":{\"__isSmartRef__\":true,\"id\":2009},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1997},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"publish\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"2009\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"2010\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"2011\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1997},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"2012\":{\"position\":{\"__isSmartRef__\":true,\"id\":2013},\"_Extent\":{\"__isSmartRef__\":true,\"id\":2014},\"_BorderWidth\":1.1840000000000002,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":2015},\"_Fill\":{\"__isSmartRef__\":true,\"id\":2016},\"_BorderRadius\":5.2,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2026},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":2027},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"2013\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2014\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2015\":{\"r\":0.839,\"g\":0.839,\"b\":0.839,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2016\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":2017},{\"__isSmartRef__\":true,\"id\":2019},{\"__isSmartRef__\":true,\"id\":2021},{\"__isSmartRef__\":true,\"id\":2023}],\"vector\":{\"__isSmartRef__\":true,\"id\":2025},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"2017\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":2018}},\"2018\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2019\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":2020}},\"2020\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2021\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":2022}},\"2022\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2023\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":2024}},\"2024\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2025\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"2026\":{\"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\"},\"2027\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"2028\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":2029},{\"__isSmartRef__\":true,\"id\":2031},{\"__isSmartRef__\":true,\"id\":2033},{\"__isSmartRef__\":true,\"id\":2035}],\"vector\":{\"__isSmartRef__\":true,\"id\":2025},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"2029\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":2030}},\"2030\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2031\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":2032}},\"2032\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2033\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":2034}},\"2034\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2035\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":2036}},\"2036\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2037\":{\"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\"},\"2038\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1996},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1803},\"targetMethodName\":\"onPublish\",\"visualConnector\":{\"__isSmartRef__\":true,\"id\":2039},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"2039\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":2040}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":2054},\"id\":139,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2061},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":2062},\"droppingEnabled\":true,\"halosEnabled\":true,\"owner\":null,\"controlPoints\":[{\"__isSmartRef__\":true,\"id\":2063},{\"__isSmartRef__\":true,\"id\":2064}],\"con\":{\"__isSmartRef__\":true,\"id\":2038},\"showsMorphMenu\":true,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":2065},\"__LivelyClassName__\":\"lively.morphic.Path\"},\"2040\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":2041},\"id\":140,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2051},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":2052},\"droppingEnabled\":true,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":2053},\"owner\":{\"__isSmartRef__\":true,\"id\":2039},\"_Rotation\":-2.5917394709132084,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.Path\"},\"2041\":{\"dontChangeShape\":false,\"cachedVertices\":null,\"_PathElements\":[{\"__isSmartRef__\":true,\"id\":2042},{\"__isSmartRef__\":true,\"id\":2043},{\"__isSmartRef__\":true,\"id\":2044},{\"__isSmartRef__\":true,\"id\":2045}],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2046},\"_ClipMode\":\"visible\",\"_Position\":{\"__isSmartRef__\":true,\"id\":2047},\"_Extent\":{\"__isSmartRef__\":true,\"id\":2048},\"_Padding\":{\"__isSmartRef__\":true,\"id\":2049},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1967},\"_Fill\":{\"__isSmartRef__\":true,\"id\":2050},\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Path\"},\"2042\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.MoveTo\"},\"2043\":{\"isAbsolute\":true,\"x\":0,\"y\":12,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"2044\":{\"isAbsolute\":true,\"x\":16,\"y\":6,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"2045\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"2046\":{\"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\"},\"2047\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2048\":{\"x\":16,\"y\":12,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2049\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"2050\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2051\":{\"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\"},\"2052\":{\"morph\":{\"__isSmartRef__\":true,\"id\":2040},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"2053\":{\"x\":0.5,\"y\":0.5,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2054\":{\"dontChangeShape\":false,\"cachedVertices\":null,\"_PathElements\":[{\"__isSmartRef__\":true,\"id\":2055},{\"__isSmartRef__\":true,\"id\":2056}],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2057},\"_ClipMode\":\"visible\",\"_Position\":{\"__isSmartRef__\":true,\"id\":2058},\"_Extent\":{\"__isSmartRef__\":true,\"id\":2059},\"_Padding\":{\"__isSmartRef__\":true,\"id\":2060},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1967},\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Path\"},\"2055\":{\"isAbsolute\":true,\"x\":310,\"y\":190,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.MoveTo\"},\"2056\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"2057\":{\"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\"},\"2058\":{\"x\":-0.5,\"y\":-0.5,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2059\":{\"x\":311,\"y\":191,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2060\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"2061\":{\"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\"},\"2062\":{\"morph\":{\"__isSmartRef__\":true,\"id\":2039},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"2063\":{\"morph\":{\"__isSmartRef__\":true,\"id\":2039},\"index\":0,\"connectedMagnet\":null,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.ControlPoint\"},\"2064\":{\"morph\":{\"__isSmartRef__\":true,\"id\":2039},\"index\":1,\"connectedMagnet\":null,\"marker\":{\"__isSmartRef__\":true,\"id\":2040},\"markerDirection\":\"prev\",\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.ControlPoint\"},\"2065\":{\"morphMenuItems\":{\"__isSmartRef__\":true,\"id\":2066}},\"2066\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2067},\"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\":2072},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2067\":{\"this\":{\"__isSmartRef__\":true,\"id\":2039},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":2068}},\"2068\":{\"$super\":{\"__isSmartRef__\":true,\"id\":2069}},\"2069\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2070},\"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\":2071},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2070\":{\"obj\":{\"__isSmartRef__\":true,\"id\":2039},\"name\":\"morphMenuItems\"},\"2071\":{},\"2072\":{},\"2073\":{\"x\":101,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2074\":{\"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\"},\"2075\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1996},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"2076\":{\"x\":62,\"y\":-12,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2077\":{\"x\":310,\"y\":390,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2078\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":2079},\"id\":\"D88FA562-C5E5-483D-A23F-C2A6136B2E80\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2086},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":2087}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":2089},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":true,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":2090},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":2091},\"_MaxTextWidth\":510,\"_MinTextWidth\":510,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"isInputLine\":true,\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"showsHalos\":false,\"name\":\"CommentText\",\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":2092},\"previousSelection\":[139,139],\"priorSelectionRange\":[9,9],\"charsReplaced\":\"CommitMessageTest1\",\"lastFindLoc\":18,\"isLockOwner\":false,\"isBeingDragged\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":1803},\"derivationIds\":[2900,\"7E82C349-9FC9-48B5-B84C-30E99FC40DF2\",\"A07EAFD3-B03B-4E4C-BC72-FB29F65F543A\",\"888FB55C-0365-4B40-A9B4-33FD19FA1E91\",\"37AE3F7E-8AF9-413E-BDB9-796C3CE0C0A6\"],\"savedTextString\":\"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!\",\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"2079\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":2080},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2081},\"_Extent\":{\"__isSmartRef__\":true,\"id\":2082},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":2083},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":2084},\"_Fill\":{\"__isSmartRef__\":true,\"id\":2085},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"2080\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2081\":{\"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\"},\"2082\":{\"x\":520,\"y\":120,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2083\":{\"x\":4,\"y\":2,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"2084\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2085\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2086\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"2087\":{\"style\":{\"__isSmartRef__\":true,\"id\":2088},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":2078},\"storedString\":\"A dialog for publishing parts in the PartsBin.\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"2088\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"2089\":{\"morph\":{\"__isSmartRef__\":true,\"id\":2078},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"2090\":{\"x\":10,\"y\":110,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2091\":{\"x\":520,\"y\":120,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2092\":{\"x\":346,\"y\":-16,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2093\":{\"submorphs\":[],\"scripts\":[],\"id\":\"C9E8EF9D-9955-4CAE-8991-F3D06CA954EE\",\"shape\":{\"__isSmartRef__\":true,\"id\":2094},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":true,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":2100},\"_MaxTextWidth\":250,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":2097},\"showsHalos\":false,\"_FontSize\":12,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"Text9\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":2101},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":2102}],\"charsReplaced\":\"commit message\",\"lastFindLoc\":14,\"priorSelectionRange\":[0,14],\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":2104},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2105},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":2106},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_Padding\":{\"__isSmartRef__\":true,\"id\":2107},\"_ClipMode\":\"visible\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"_MinTextWidth\":250,\"_MinTextHeight\":null,\"previousSelection\":[0,6],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":2108},\"isLockOwner\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":1803},\"derivationIds\":[2901,\"8E267E15-1052-4F9C-B863-B733384EF1DA\",\"851C46B4-347F-4AE4-9C04-C321E7CC8EA5\",\"D33CE057-77D6-4CCC-90F9-867C622B3572\",\"F9BFA4FE-D786-4384-B9F8-89EEA1D41685\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"2094\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":2095},\"_Extent\":{\"__isSmartRef__\":true,\"id\":2096},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":2097},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2098},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":2099},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"2095\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2096\":{\"x\":250,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2097\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2098\":{\"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\"},\"2099\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"2100\":{\"x\":10,\"y\":90,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2101\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":4,\"comment\":\"a simple text morph\",\"partName\":\"Text\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"2102\":{\"style\":{\"__isSmartRef__\":true,\"id\":2103},\"morph\":{\"__isSmartRef__\":true,\"id\":2093},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":2093},\"storedString\":\"comment\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"2103\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"italics\":\"italic\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"2104\":{\"x\":250,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2105\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"2106\":{\"morph\":{\"__isSmartRef__\":true,\"id\":2093},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"2107\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"2108\":{\"x\":163,\"y\":-17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2109\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":2110}],\"scripts\":[],\"id\":\"0E42D1D3-80B9-4C36-B7A8-9D563540268F\",\"shape\":{\"__isSmartRef__\":true,\"id\":2125},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":2129},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":2141},\"label\":{\"__isSmartRef__\":true,\"id\":2110},\"name\":\"DiffButton\",\"showsHalos\":false,\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":2150},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":2151}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":2152},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2153},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":2154},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":2155},\"_Position\":{\"__isSmartRef__\":true,\"id\":2156},\"derivationIds\":[2898,\"9D27A522-4E3D-482F-97CF-3CA3247A3999\",\"4EBF07AD-25C0-4034-BC06-31F137F70FA1\",\"DC6D6B8E-37AE-4815-A81A-AC7071124A26\",\"42DF6D49-8482-40A3-B901-512013BB5C75\",\"132901B3-F9F2-482D-99E6-40EAECDCEF13\"],\"owner\":{\"__isSmartRef__\":true,\"id\":1803},\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"2110\":{\"submorphs\":[],\"scripts\":[],\"id\":\"373B35DF-773C-4B9D-9D4C-1832B9FBCCAA\",\"shape\":{\"__isSmartRef__\":true,\"id\":2111},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":2117},\"_MaxTextWidth\":101,\"_MaxTextHeight\":null,\"textStyle\":null,\"padding\":{\"__isSmartRef__\":true,\"id\":2118},\"_Padding\":{\"__isSmartRef__\":true,\"id\":2119},\"owner\":{\"__isSmartRef__\":true,\"id\":2109},\"isLabel\":true,\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"_ClipMode\":\"hidden\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":2120},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":2121}],\"_Align\":\"center\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2123},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":2124},\"_HandStyle\":\"default\",\"_PointerEvents\":\"none\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_MinTextWidth\":101,\"_MinTextHeight\":null,\"derivationIds\":[2899,\"4F00D1F5-B85C-479E-BDDE-322DF2F432A3\",\"5E7BC7AC-9EF9-4CF5-9196-A542A26534CA\",\"46616896-CA46-4B43-B694-9FB001B32989\",\"F73D407C-A72D-414B-AB8D-1E28025BCA1C\",\"E34F55EC-06D3-4965-A0D2-625CA896E3B7\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"2111\":{\"position\":{\"__isSmartRef__\":true,\"id\":2112},\"_Extent\":{\"__isSmartRef__\":true,\"id\":2113},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":2114},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2115},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":2116},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"2112\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2113\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2114\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2115\":{\"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\"},\"2116\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"2117\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2118\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"2119\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"2120\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2121\":{\"style\":{\"__isSmartRef__\":true,\"id\":2122},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":2110},\"storedString\":\"Show Diff\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"2122\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"2123\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"2124\":{\"morph\":{\"__isSmartRef__\":true,\"id\":2110},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"2125\":{\"position\":{\"__isSmartRef__\":true,\"id\":2126},\"_Extent\":{\"__isSmartRef__\":true,\"id\":2127},\"_BorderWidth\":1.1840000000000002,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":2128},\"_Fill\":{\"__isSmartRef__\":true,\"id\":2129},\"_BorderRadius\":5.2,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2139},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":2140},\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"2126\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2127\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2128\":{\"r\":0.839,\"g\":0.839,\"b\":0.839,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2129\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":2130},{\"__isSmartRef__\":true,\"id\":2132},{\"__isSmartRef__\":true,\"id\":2134},{\"__isSmartRef__\":true,\"id\":2136}],\"vector\":{\"__isSmartRef__\":true,\"id\":2138},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"2130\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":2131}},\"2131\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2132\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":2133}},\"2133\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2134\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":2135}},\"2135\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2136\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":2137}},\"2137\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2138\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"2139\":{\"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\"},\"2140\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"2141\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":2142},{\"__isSmartRef__\":true,\"id\":2144},{\"__isSmartRef__\":true,\"id\":2146},{\"__isSmartRef__\":true,\"id\":2148}],\"vector\":{\"__isSmartRef__\":true,\"id\":2138},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"2142\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":2143}},\"2143\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2144\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":2145}},\"2145\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2146\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":2147}},\"2147\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2148\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":2149}},\"2149\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2150\":{\"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\"},\"2151\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":2109},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1803},\"targetMethodName\":\"showDiff\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"2152\":{\"x\":101,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2153\":{\"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\"},\"2154\":{\"morph\":{\"__isSmartRef__\":true,\"id\":2109},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"2155\":{\"x\":69.5,\"y\":-18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2156\":{\"x\":10,\"y\":390,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2157\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":2158},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2159},\"_Extent\":{\"__isSmartRef__\":true,\"id\":2160},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":2161},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":2162},\"_Fill\":{\"__isSmartRef__\":true,\"id\":2163},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"2158\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2159\":{\"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\"},\"2160\":{\"x\":542,\"y\":420,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2161\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"2162\":{\"r\":0.372,\"g\":0.369,\"b\":0.372,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2163\":{\"r\":0.8235294117647058,\"g\":0.8235294117647058,\"b\":0.8235294117647058,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2164\":{\"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\"},\"2165\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1803},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"2166\":{\"adjustForNewBounds\":true,\"resizeWidth\":true,\"resizeHeight\":true},\"2167\":{\"message\":\"Please enter a name for the part\",\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":2168}],\"doNotSerialize\":[\"$$result\"],\"doNotCopyProperties\":[\"$$result\"],\"defaultInput\":\"CommitMessageTest1\",\"panel\":{\"__isSmartRef__\":true,\"id\":1803},\"label\":{\"__isSmartRef__\":true,\"id\":2169},\"cancelButton\":{\"__isSmartRef__\":true,\"id\":2181},\"okButton\":{\"__isSmartRef__\":true,\"id\":2227},\"inputText\":{\"__isSmartRef__\":true,\"id\":1804},\"view\":{\"__isSmartRef__\":true,\"id\":1803},\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"result\":\"CommitMessageTest1\",\"__LivelyClassName__\":\"lively.morphic.PromptDialog\"},\"2168\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":2167},\"sourceAttrName\":\"result\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":2167},\"targetMethodName\":\"triggerCallback\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"2169\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":2170},\"id\":3220,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2175},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":2176}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":2178},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":false,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":2179},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":2180},\"_MaxTextWidth\":null,\"_MinTextWidth\":null,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":null,\"isLabel\":true,\"_HandStyle\":\"default\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"showsHalos\":false,\"isCopyMorphRef\":true,\"morphRefId\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"2170\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":2171},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2172},\"_Extent\":{\"__isSmartRef__\":true,\"id\":2173},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1809},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1810},\"_Fill\":{\"__isSmartRef__\":true,\"id\":2174},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"2171\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2172\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"2173\":{\"x\":226,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2174\":{\"r\":1,\"g\":1,\"b\":1,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2175\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"2176\":{\"style\":{\"__isSmartRef__\":true,\"id\":2177},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":2169},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"2177\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"2178\":{\"morph\":{\"__isSmartRef__\":true,\"id\":2169},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"2179\":{\"x\":4,\"y\":4,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2180\":{\"x\":226,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2181\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":2182},\"id\":6793,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2198},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":2199},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":2200},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":2201},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":2188},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":2202},\"label\":{\"__isSmartRef__\":true,\"id\":2211},\"layout\":{\"__isSmartRef__\":true,\"id\":2223},\"owner\":null,\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":2224},{\"__isSmartRef__\":true,\"id\":2225}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"isCopyMorphRef\":true,\"morphRefId\":1,\"isLockOwner\":false,\"showsHalos\":false,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"2182\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":2183},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2184},\"_Extent\":{\"__isSmartRef__\":true,\"id\":2185},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":2186},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":2187},\"_Fill\":{\"__isSmartRef__\":true,\"id\":2188},\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"2183\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2184\":{\"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\"},\"2185\":{\"x\":60,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2186\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"2187\":{\"r\":0.7411764705882353,\"g\":0.7450980392156863,\"b\":0.7529411764705882,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2188\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":2189},{\"__isSmartRef__\":true,\"id\":2191},{\"__isSmartRef__\":true,\"id\":2193},{\"__isSmartRef__\":true,\"id\":2195}],\"vector\":{\"__isSmartRef__\":true,\"id\":2197},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"2189\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":2190}},\"2190\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2191\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":2192}},\"2192\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2193\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":2194}},\"2194\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2195\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":2196}},\"2196\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2197\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"2198\":{\"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\"},\"2199\":{\"morph\":{\"__isSmartRef__\":true,\"id\":2181},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"2200\":{\"x\":478,\"y\":187,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2201\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2202\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":2203},{\"__isSmartRef__\":true,\"id\":2205},{\"__isSmartRef__\":true,\"id\":2207},{\"__isSmartRef__\":true,\"id\":2209}],\"vector\":{\"__isSmartRef__\":true,\"id\":2197},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"2203\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":2204}},\"2204\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2205\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":2206}},\"2206\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2207\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":2208}},\"2208\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2209\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":2210}},\"2210\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2211\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":2212},\"id\":6794,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2217},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":2218}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":2220},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":2221},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":2222},\"_MaxTextWidth\":60,\"_MinTextWidth\":60,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":null,\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"isLockOwner\":false,\"showsHalos\":false,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"2212\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":2213},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2214},\"_Extent\":{\"__isSmartRef__\":true,\"id\":2215},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":2216},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1810},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"2213\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2214\":{\"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\"},\"2215\":{\"x\":60,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2216\":{\"x\":0,\"y\":6,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"2217\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"2218\":{\"style\":{\"__isSmartRef__\":true,\"id\":2219},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":2211},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"2219\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"2220\":{\"morph\":{\"__isSmartRef__\":true,\"id\":2211},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"2221\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2222\":{\"x\":60,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2223\":{\"moveVertical\":true,\"moveHorizontal\":true},\"2224\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":2181},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":2167},\"targetMethodName\":\"removeTopLevel\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"2225\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":2181},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":2167},\"targetMethodName\":\"result\",\"converter\":null,\"converterString\":\"function () { return null }\",\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":2226},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"2226\":{\"source\":{\"__isSmartRef__\":true,\"id\":2181},\"target\":{\"__isSmartRef__\":true,\"id\":2167}},\"2227\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":2228},\"id\":6795,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2233},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":2234},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":2235},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":2236},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":2188},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":2237},\"label\":{\"__isSmartRef__\":true,\"id\":2246},\"layout\":{\"__isSmartRef__\":true,\"id\":2258},\"owner\":null,\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":2259},{\"__isSmartRef__\":true,\"id\":2260}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"isCopyMorphRef\":true,\"morphRefId\":2,\"isLockOwner\":false,\"showsHalos\":false,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"2228\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":2229},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2230},\"_Extent\":{\"__isSmartRef__\":true,\"id\":2231},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":2232},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":2187},\"_Fill\":{\"__isSmartRef__\":true,\"id\":2188},\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"2229\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2230\":{\"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\"},\"2231\":{\"x\":60,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2232\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"2233\":{\"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\"},\"2234\":{\"morph\":{\"__isSmartRef__\":true,\"id\":2227},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"2235\":{\"x\":414,\"y\":187,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2236\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2237\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":2238},{\"__isSmartRef__\":true,\"id\":2240},{\"__isSmartRef__\":true,\"id\":2242},{\"__isSmartRef__\":true,\"id\":2244}],\"vector\":{\"__isSmartRef__\":true,\"id\":2197},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"2238\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":2239}},\"2239\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2240\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":2241}},\"2241\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2242\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":2243}},\"2243\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2244\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":2245}},\"2245\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"2246\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":2247},\"id\":6796,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2252},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":2253}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":2255},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":2256},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":2257},\"_MaxTextWidth\":60,\"_MinTextWidth\":60,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":null,\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"isLockOwner\":false,\"showsHalos\":false,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"2247\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":2248},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2249},\"_Extent\":{\"__isSmartRef__\":true,\"id\":2250},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":2251},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1810},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"2248\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2249\":{\"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\"},\"2250\":{\"x\":60,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2251\":{\"x\":0,\"y\":6,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"2252\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"2253\":{\"style\":{\"__isSmartRef__\":true,\"id\":2254},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":2246},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"2254\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"2255\":{\"morph\":{\"__isSmartRef__\":true,\"id\":2246},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"2256\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2257\":{\"x\":60,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2258\":{\"moveVertical\":true,\"moveHorizontal\":true},\"2259\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":2227},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":2167},\"targetMethodName\":\"removeTopLevel\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"2260\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":2227},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1804},\"targetMethodName\":\"doSave\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"2261\":{\"x\":542,\"y\":420,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2262\":{\"x\":365,\"y\":-16,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2263\":{\"x\":0,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2264\":{\"copyToPartsBin\":{\"__isSmartRef__\":true,\"id\":2265},\"onPublish\":{\"__isSmartRef__\":true,\"id\":2273},\"onCancel\":{\"__isSmartRef__\":true,\"id\":2277},\"setTarget\":{\"__isSmartRef__\":true,\"id\":2281},\"reset\":{\"__isSmartRef__\":true,\"id\":2285},\"showDiff\":{\"__isSmartRef__\":true,\"id\":2289}},\"2265\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2266},\"source\":\"function copyToPartsBin(morph) {\\n var name = this.get('NameText').textString\\n\\n var info = morph.getPartsBinMetaInfo();\\n morph.setName(name);\\n\\n info.partsSpaceName = this.get('CategoryText').textString\\n info.comment = this.get('CommentText').textString\\n\\n if (! info.changes) info.changes = [];\\n var change = { \\n date: new Date(), \\n author: this.world().getUserName(), \\n message: this.get('CommitMessageText').textString,\\n id: Strings.newUUID()\\n }\\n info.changes.push(change) \\n\\n morph.copyToPartsBin();\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2271},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2266\":{\"this\":{\"__isSmartRef__\":true,\"id\":1803},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":2267}},\"2267\":{\"$super\":{\"__isSmartRef__\":true,\"id\":2268}},\"2268\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2269},\"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\":2270},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2269\":{\"obj\":{\"__isSmartRef__\":true,\"id\":1803},\"name\":\"copyToPartsBin\"},\"2270\":{},\"2271\":{\"user\":\"jenslincke\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":2272}},\"2272\":{\"isSerializedDate\":true,\"string\":\"Fri Oct 28 2011 15:13:21 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"2273\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2274},\"source\":\"function onPublish() {\\n if (!this.target) alert(\\\"No target to upload\\\");\\n this.copyToPartsBin(this.target);\\n connect(this.target, 'headRevision', this.owner, 'remove')\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2275},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2274\":{\"this\":{\"__isSmartRef__\":true,\"id\":1803}},\"2275\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":2276},\"user\":\"undefined\",\"tags\":[]},\"2276\":{\"isSerializedDate\":true,\"string\":\"Tue Mar 20 2012 12:59:48 GMT+0100 (Mitteleuropäische Zeit)\"},\"2277\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2278},\"source\":\"function onCancel() {\\n alertOK(\\\"cancel upload \\\") \\n this.owner.remove()\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2279},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2278\":{\"this\":{\"__isSmartRef__\":true,\"id\":1803}},\"2279\":{\"user\":\"jenslincke\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":2280}},\"2280\":{\"isSerializedDate\":true,\"string\":\"Wed Oct 19 2011 14:52:17 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"2281\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2282},\"source\":\"function setTarget(morph) {\\n this.target = morph \\n if (!morph) {\\n this.get('NameText').textString = '';\\n this.get('CategoryText').textString = '';\\n this.get('CommentText').textString = ''; \\n this.get('CommitMessageText').textString = '' \\n return\\n }\\n var info = this.target.getPartsBinMetaInfo();\\n this.get('NameText').textString = info.partName || morph.getName();\\n this.get('CategoryText').textString = info.partsSpaceName;\\n this.get('CommentText').textString = info.comment; \\n this.get('CommitMessageText').textString = '' \\n\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2283},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2282\":{\"this\":{\"__isSmartRef__\":true,\"id\":1803}},\"2283\":{\"user\":\"jenslincke\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":2284}},\"2284\":{\"isSerializedDate\":true,\"string\":\"Wed Oct 19 2011 14:46:10 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"2285\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2286},\"source\":\"function reset() {\\n this.setTarget(null)\\n \\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2287},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2286\":{\"this\":{\"__isSmartRef__\":true,\"id\":1803}},\"2287\":{\"user\":\"jenslincke\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":2288}},\"2288\":{\"isSerializedDate\":true,\"string\":\"Wed Oct 19 2011 14:45:36 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"2289\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2290},\"source\":\"function showDiff() {\\n this.target && this.target.showThreeWayDiff();\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2291},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2290\":{\"this\":{\"__isSmartRef__\":true,\"id\":1803}},\"2291\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":2292},\"user\":\"undefined\",\"tags\":[]},\"2292\":{\"isSerializedDate\":true,\"string\":\"Wed Mar 21 2012 14:45:16 GMT+0100 (Mitteleuropäische Zeit)\"},\"2293\":{\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":2294},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":2295},\"_BorderWidth\":0,\"_Fill\":null,\"_StrokeOpacity\":0,\"_BorderRadius\":0,\"_Extent\":{\"__isSmartRef__\":true,\"id\":2296},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"2294\":{\"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\"},\"2295\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"2296\":{\"x\":542,\"y\":242,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2297\":{\"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\"},\"2298\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1655},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"2299\":{\"adjustForNewBounds\":true},\"2300\":{\"x\":542,\"y\":242,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2301\":{\"x\":0,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2302\":{\"x\":1078,\"y\":80,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2303\":{\"partName\":\"PublishPartDialog\",\"requiredModules\":[],\"migrationLevel\":4,\"partsSpaceName\":\"PartsBin/BP2012\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"comment\":\"A dialog for publishing parts in the PartsBin.\",\"changes\":[{\"__isSmartRef__\":true,\"id\":2304},{\"__isSmartRef__\":true,\"id\":2306},{\"__isSmartRef__\":true,\"id\":2308},{\"__isSmartRef__\":true,\"id\":2310},{\"__isSmartRef__\":true,\"id\":2312},{\"__isSmartRef__\":true,\"id\":2314},{\"__isSmartRef__\":true,\"id\":2316}],\"revisionOnLoad\":147095,\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"2304\":{\"date\":{\"__isSmartRef__\":true,\"id\":2305},\"author\":\"undefined\",\"message\":\"init for change - don't remove on click\",\"id\":\"00A6DFFB-70D2-44A4-B5F9-0778E1CA5724\"},\"2305\":{\"isSerializedDate\":true,\"string\":\"Tue Mar 20 2012 12:04:27 GMT+0100 (Mitteleuropäische Zeit)\"},\"2306\":{\"date\":{\"__isSmartRef__\":true,\"id\":2307},\"author\":\"jenslincke\",\"message\":\"- fixed issue 283 (Reproduction: Open part, select publish from menu, focus part name input field in dialog, press enter.-> window pane disappears; window decoration stays; part is not published)\",\"id\":\"1A260BD5-E668-4BD4-B7A2-94E087AB4CE1\"},\"2307\":{\"isSerializedDate\":true,\"string\":\"Thu Jan 26 2012 12:10:41 GMT+0100 (Mitteleuropäische Zeit)\"},\"2308\":{\"date\":{\"__isSmartRef__\":true,\"id\":2309},\"author\":\"jenslincke\",\"message\":\"\"},\"2309\":{\"isSerializedDate\":true,\"string\":\"Fri Oct 28 2011 16:06:16 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"2310\":{\"date\":{\"__isSmartRef__\":true,\"id\":2311},\"author\":\"jenslincke\",\"message\":\"store an uuid when publishing an object\"},\"2311\":{\"isSerializedDate\":true,\"string\":\"Fri Oct 28 2011 15:15:02 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"2312\":{\"date\":{\"__isSmartRef__\":true,\"id\":2313},\"author\":\"jenslincke\",\"message\":\"\"},\"2313\":{\"isSerializedDate\":true,\"string\":\"Wed Oct 19 2011 14:52:26 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"2314\":{\"date\":{\"__isSmartRef__\":true,\"id\":2315},\"author\":\"jenslincke\",\"message\":\"first commit of Publish dialog using the publish dialog itself!\"},\"2315\":{\"isSerializedDate\":true,\"string\":\"Wed Oct 19 2011 14:54:16 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"2316\":{\"date\":{\"__isSmartRef__\":true,\"id\":2317},\"author\":\"undefined\",\"message\":\"\",\"id\":\"A5F4EACF-EF62-483F-B8B3-65966A895FA4\"},\"2317\":{\"isSerializedDate\":true,\"string\":\"Tue Mar 20 2012 13:00:03 GMT+0100 (Mitteleuropäische Zeit)\"},\"2318\":{\"x\":746.5,\"y\":280.5,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2319\":{\"x\":712,\"y\":542.5,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"2320\":{\"x\":479,\"y\":437,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2321\":{\"partName\":\"PublishPartPanePane\",\"requiredModules\":[],\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"2322\":{\"copyToPartsBin\":{\"__isSmartRef__\":true,\"id\":2323},\"onPublish\":{\"__isSmartRef__\":true,\"id\":2331},\"onCancel\":{\"__isSmartRef__\":true,\"id\":2335},\"setTarget\":{\"__isSmartRef__\":true,\"id\":2339},\"reset\":{\"__isSmartRef__\":true,\"id\":2343},\"showDiff\":{\"__isSmartRef__\":true,\"id\":2347},\"removeOnPublish\":{\"__isSmartRef__\":true,\"id\":2351},\"checkForUpdates\":{\"__isSmartRef__\":true,\"id\":2355},\"askForDiffViewer\":{\"__isSmartRef__\":true,\"id\":2359}},\"2323\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2324},\"source\":\"function copyToPartsBin(morph) {\\n var name = this.get('NameText').textString\\n\\n var info = morph.getPartsBinMetaInfo();\\n morph.setName(name);\\n\\n info.partsSpaceName = this.get('CategoryText').textString\\n info.comment = this.get('CommentText').textString\\n\\n if (! info.changes) info.changes = [];\\n var change = { \\n date: new Date(), \\n author: this.world().getUserName(), \\n message: this.get('CommitMessageText').textString,\\n id: Strings.newUUID()\\n }\\n info.changes.push(change) \\n\\n morph.copyToPartsBin();\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2329},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2324\":{\"this\":{\"__isSmartRef__\":true,\"id\":335},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":2325}},\"2325\":{\"$super\":{\"__isSmartRef__\":true,\"id\":2326}},\"2326\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2327},\"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\":2328},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2327\":{\"obj\":{\"__isSmartRef__\":true,\"id\":335},\"name\":\"copyToPartsBin\"},\"2328\":{},\"2329\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":2330},\"user\":\"jenslincke\",\"tags\":[]},\"2330\":{\"isSerializedDate\":true,\"string\":\"Fri Oct 28 2011 15:13:21 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"2331\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2332},\"source\":\"function onPublish() {\\n if (!this.target) alert(\\\"No target to upload\\\");\\n this.copyToPartsBin(this.target);\\n this.removeConnection = connect(this.target.getPartsBinMetaInfo(), 'revisionOnLoad', this, 'removeOnPublish')\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2333},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2332\":{\"this\":{\"__isSmartRef__\":true,\"id\":335}},\"2333\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":2334},\"user\":\"undefined\",\"tags\":[]},\"2334\":{\"isSerializedDate\":true,\"string\":\"Fri Mar 23 2012 13:49:32 GMT+0100 (Mitteleuropäische Zeit)\"},\"2335\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2336},\"source\":\"function onCancel() {\\n alertOK(\\\"cancel upload \\\") \\n this.owner.remove()\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2337},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2336\":{\"this\":{\"__isSmartRef__\":true,\"id\":335}},\"2337\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":2338},\"user\":\"jenslincke\",\"tags\":[]},\"2338\":{\"isSerializedDate\":true,\"string\":\"Wed Oct 19 2011 14:52:17 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"2339\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2340},\"source\":\"function setTarget(morph) {\\n this.target = morph \\n if (!morph) {\\n this.get('NameText').textString = '';\\n this.get('CategoryText').textString = '';\\n this.get('CommentText').textString = ''; \\n this.get('CommitMessageText').textString = '' \\n return\\n }\\n var info = this.target.getPartsBinMetaInfo();\\n this.get('NameText').textString = info.partName || morph.getName();\\n this.get('CategoryText').textString = info.partsSpaceName;\\n this.get('CommentText').textString = info.comment; \\n this.get('CommitMessageText').textString = '' \\n\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2341},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2340\":{\"this\":{\"__isSmartRef__\":true,\"id\":335}},\"2341\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":2342},\"user\":\"jenslincke\",\"tags\":[]},\"2342\":{\"isSerializedDate\":true,\"string\":\"Wed Oct 19 2011 14:46:10 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"2343\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2344},\"source\":\"function reset() {\\n this.setTarget(null)\\n \\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2345},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2344\":{\"this\":{\"__isSmartRef__\":true,\"id\":335}},\"2345\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":2346},\"user\":\"jenslincke\",\"tags\":[]},\"2346\":{\"isSerializedDate\":true,\"string\":\"Wed Oct 19 2011 14:45:36 GMT+0200 (Mitteleuropäische Sommerzeit)\"},\"2347\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2348},\"source\":\"function showDiff() {\\n if (this.target) {\\n if (typeof(this.target.showThreeWayDiff) === 'function') {\\n this.target.showThreeWayDiff();\\n }\\n else {\\n alert('Three Way Diff is not implemented yet')\\n }\\n }\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2349},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2348\":{\"this\":{\"__isSmartRef__\":true,\"id\":335}},\"2349\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":2350},\"user\":\"undefined\",\"tags\":[]},\"2350\":{\"isSerializedDate\":true,\"string\":\"Thu Mar 22 2012 10:32:37 GMT+0100 (Mitteleuropäische Zeit)\"},\"2351\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2352},\"source\":\"function removeOnPublish() {\\n this.removeConnection && this.removeConnection.disconnect();\\n this.owner.remove()\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2353},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2352\":{\"this\":{\"__isSmartRef__\":true,\"id\":335}},\"2353\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":2354},\"user\":\"undefined\",\"tags\":[]},\"2354\":{\"isSerializedDate\":true,\"string\":\"Fri Mar 23 2012 13:49:32 GMT+0100 (Mitteleuropäische Zeit)\"},\"2355\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2356},\"source\":\"function checkForUpdates() {\\n var space = lively.PartsBin.partsSpaceNamed(this.get('CategoryText').textString),\\n name = this.get('NameText').textString,\\n fileUrl = space.getURL().withFilename(encodeURI(name))+'.json';\\n\\n var webR = new WebResource(fileUrl);\\n \\n if (webR.exists()) {\\n var rev = webR.getHeadRevision().headRevision;\\n if (this.target.getPartsBinMetaInfo().revisionOnLoad == rev) \\n alertOK(\\\"No changes since last update.\\\")\\n else {\\n this.askForDiffViewer();\\n }\\n }\\n else \\n alertOK(\\\"Part does not exist in PartsBin.\\\") \\n \\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2357},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2356\":{\"this\":{\"__isSmartRef__\":true,\"id\":335}},\"2357\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":2358},\"user\":\"undefined\",\"tags\":[]},\"2358\":{\"isSerializedDate\":true,\"string\":\"Fri Mar 23 2012 15:12:03 GMT+0100 (Mitteleuropäische Zeit)\"},\"2359\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2360},\"source\":\"function askForDiffViewer() {\\n $world.confirm('A newer version of '+this.get('NameText').textString+' is available. Show diff?', function (bool) {bool && this.showDiff()}.bind(this))\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2361},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2360\":{\"this\":{\"__isSmartRef__\":true,\"id\":335}},\"2361\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":2362},\"user\":\"undefined\",\"tags\":[]},\"2362\":{\"isSerializedDate\":true,\"string\":\"Fri Mar 23 2012 15:08:43 GMT+0100 (Mitteleuropäische Zeit)\"},\"2363\":{\"resizeWidth\":true,\"resizeHeight\":true,\"adjustForNewBounds\":true},\"2364\":{\"x\":877.3655147884247,\"y\":442.97624136204485,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2365\":{\"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\"},\"2366\":{\"morph\":{\"__isSmartRef__\":true,\"id\":0},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"2367\":{\"x\":0,\"y\":0,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"2368\":{\"x\":583.4236186029176,\"y\":-13.858684727694055,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"2369\":{\"search\":{\"__isSmartRef__\":true,\"id\":2370},\"browse\":{\"__isSmartRef__\":true,\"id\":2374},\"reset\":{\"__isSmartRef__\":true,\"id\":2378},\"setSearch\":{\"__isSmartRef__\":true,\"id\":2382},\"emphasizeStringIn\":{\"__isSmartRef__\":true,\"id\":2385},\"withAllMethodsDo\":{\"__isSmartRef__\":true,\"id\":2388},\"itemsFromFinds\":{\"__isSmartRef__\":true,\"id\":2392},\"browseMethod\":{\"__isSmartRef__\":true,\"id\":2396},\"openMethodInSystemBrowser\":{\"__isSmartRef__\":true,\"id\":2400},\"findSourceModule\":{\"__isSmartRef__\":true,\"id\":2404},\"searchOnServer\":{\"__isSmartRef__\":true,\"id\":2408},\"showLayerDefinition\":{\"__isSmartRef__\":true,\"id\":2412}},\"2370\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2371},\"source\":\"function search(searchString) { \\n this.get('searchResultList').updateList([]);\\n this.get('sourceText').setTextString('');\\n if (!searchString || (searchString.length < 2)) {\\n this.get('sourceText').setTextString('\\\"' + searchString + '\\\" is to short');\\n return;\\n }\\n var finds = [];\\n var i=0;\\n var matches = function(s) {\\n return s.include(searchString)\\n } \\n\\n // var re = new RegExp(searchString)\\n var time = Functions.timeToRun(function() {\\n this.withAllMethodsDo(function(object, eaMethod, type, optParent) {\\n i++;\\n var name;\\n if (!object) return;\\n\\n if (object.constructor.prototype == object)\\n name = object.constructor.name\\n\\n if (object.name) name = object.name;\\n if (object.namespaceIdentifier)\\n name = object.namespaceIdentifier\\n\\n if (object.constructor.prototype != object)\\n name = name + \\\"(object)\\\"\\n\\n if ((object.constructor.prototype != object) && (object instanceof Morph))\\n name = object.name + \\\"(\\\" + object.id + \\\")\\\"\\n\\n if (object === Global)\\n name = \\\" \\\";\\n\\n if (type == \\\"layered\\\") {\\n \\n name = object._layered_object.constructor.type \\n + \\\" (\\\" + optParent.name + \\\")\\\" \\n \\n }\\n\\n var string = name + \\\": \\\" + eaMethod; \\n var item = {object: object, method: eaMethod, string: string, type: type};\\n if (type == \\\"layered\\\") {\\n item.layerName = optParent.name\\n }\\n\\n if (matches(eaMethod)) {\\n item.search= 'implementor',\\n finds.push(item)\\n return;\\n } \\n\\n var f = object[eaMethod];\\n if (!f || !f.getOriginal) return;\\n var source = String(f.getOriginal())\\n if (matches(source)){\\n item.search = 'sender'\\n finds.push(item)\\n } \\n })\\n }.bind(this))\\n this.get('sourceText').setTextString(\\\"search \\\" + i + \\\" methods, found \\\" \\n + finds.length + \\\" methods in \\\" + time + \\\"ms\\\");\\n var items = this.itemsFromFinds(finds)\\n this.get('searchResultList').updateList(items);\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2372},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2371\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"2372\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":2373},\"user\":\"undefined\",\"tags\":[]},\"2373\":{\"isSerializedDate\":true,\"string\":\"Thu Jan 19 2012 14:46:43 GMT+0100 (Mitteleuropäische Zeit)\"},\"2374\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2375},\"source\":\"function browse(methodItem) {\\n // methodItem = this.get('searchResultList').selection\\n if (! methodItem) return;\\n\\n // deal with non method findings....\\n if (methodItem.type == 'layer') {\\n this.showLayerDefinition(methodItem)\\n return\\n } \\n\\n // methodItem = this.get('searchResultList').selection\\n var methodName = methodItem.method;\\n var object = methodItem.object;\\n var orgFunc = object[methodName];\\n\\n if (!orgFunc || !orgFunc.getOriginal) {\\n this.get('sourceText').setTextString('no source');\\n return\\n }\\n orgFunc = orgFunc.getOriginal()\\n \\n this.targetFunction = orgFunc;\\n this.targetObject = object;\\n\\n var source = \\\"// changes here only affect runtime\\\\n\\\", \\n tab = lively.morphic.Text.prototype.tab;\\n if (methodItem.layerName) {\\n var partialMethod = object[methodName];\\n source += methodItem.layerName + \\\".refineClass(\\\" + \\n object._layered_object.constructor.type + \\\", {\\\\n\\\" + \\n tab + methodName + \\\": \\\" + partialMethod +\\\"\\\\n})\\\";\\n } else if (orgFunc.belongsToTrait) {\\n source += \\\"Trait('\\\" + orgFunc.belongsToTrait.name + \\\"', {\\\\n\\\" \\n + tab + methodName + \\\": \\\" + orgFunc +\\\"\\\\n})\\\";\\n } else if (orgFunc.declaredClass) {\\n source += orgFunc.declaredClass + \\\".addMethods({\\\\n\\\" \\n + tab + methodName + \\\": \\\" \\n + orgFunc + \\\"\\\\n});\\\"\\n } else if(methodItem.type == 'extend') {\\n // perhaps it is a an class object\\n source += \\\"Object.extend(\\\" + (object.type || object.namespaceIdentifier) \\n + \\\",{\\\\n\\\" + tab + methodName + \\\": \\\" \\n + orgFunc + \\\"\\\\n});\\\"\\n } else if(object.isMorph && (object.constructor.prototype !== object) ) {\\n // display as script\\n source = \\\"this.addScript(\\\" + orgFunc + \\\");\\\"\\n } else if(object === Global) {\\n // display as script\\n source += \\\"Object.extend(Global, {\\\\n\\\" + tab + methodName + \\\": \\\" +\\n orgFunc + \\\"\\\\n});\\\"\\n }\\n\\n this.get('sourceText').setTextString(source)\\n\\n module('lively.ide.SyntaxHighlighting').load(true);\\n this.get('sourceText').highlightJavaScriptSyntax();\\n\\n var searchText = this.get('searchText').textString;\\n var m = searchText.match(/[^a-zA-Z0-9_\\\\.]/g)\\n if(m) {\\n m.forEach(function (each) {\\n var escapedChar = '\\\\\\\\' + each;\\n var position = searchText.search(\\n new RegExp('[^\\\\\\\\\\\\\\\\]' + '\\\\\\\\' + each)) + 1;\\n searchText = searchText.substring(0,position) \\n + escapedChar + searchText.substr(position + 1);\\n });\\n }\\n this.get('sourceText').emphasizeRegex(new RegExp(searchText, 'g'), {color: Color.red});\\n\\n var info = '' + this.findSourceModule(orgFunc);\\n\\n if (orgFunc.belongsToTrait)\\n info += ' (' + orgFunc.belongsToTrait + \\\" in \\\" + orgFunc.belongsToTrait.sourceModule +\\\")\\\";\\n\\n this.get('infoText').setTextString(info)\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2376},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2375\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"2376\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":2377},\"user\":\"undefined\",\"tags\":[]},\"2377\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 13:55:34 GMT+0100 (Mitteleuropäische Zeit)\"},\"2378\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2379},\"source\":\"function reset() {\\n this.doNotSerialize = ['targetFunction', 'targetObject']\\n this.get('searchResultList').updateList([]);\\n this.get('searchResultList').setSelection(null);\\n this.get('searchText').setTextString('enter method name here');\\n this.get('sourceText').setTextString('no code');\\n this.get('infoText').setTextString('');\\n this.targetFunction = null;\\n this.targetObject = null;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2380},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2379\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"2380\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":2381},\"user\":\"undefined\",\"tags\":[]},\"2381\":{\"isSerializedDate\":true,\"string\":\"Fri Feb 03 2012 15:30:14 GMT+0100 (Mitteleuropäische Zeit)\"},\"2382\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2383},\"source\":\"function setSearch(searchString) {\\n this.get('searchText').setTextString(searchString);\\n this.search(searchString)\\n var list = this.get('searchResultList').getList();\\n if (list.length > 0) this.get('searchResultList').setSelection(list[0])\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2384},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2383\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"2384\":{},\"2385\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2386},\"source\":\"function emphasizeStringIn(morph, string, style) {\\n var m;\\n var re = new RegExp(string, \\\"g\\\");\\n while(m = re.exec(morph.textString)) {\\n var from = m.index,\\n to = m.index + m[0].length;\\n morph.emphasize(style, from, to)\\n }\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2387},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2386\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"2387\":{},\"2388\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2389},\"source\":\"function withAllMethodsDo(func) {\\n var visited = [];\\n\\n cop.allLayers().forEach(function(layer) {\\n func(eval(layer.namespaceName), layer.name, 'layer')\\n layer.layeredObjects().forEach(function(obj) {\\n var layerDef = cop.getLayerDefinitionForObject(layer, obj)\\n Functions.own(layerDef).forEach(function(eaMethod) {\\n func(layerDef, eaMethod, 'layered', layer)\\n });\\n });\\n }); \\n\\n\\n Functions.own(Global).forEach(function(eaMethod) {\\n func(Global, eaMethod, 'global')\\n }); \\n\\n this.world().withAllSubmorphsDo(function(ea) {\\n Functions.own(ea).forEach(function(eaMethod) {\\n func(ea, eaMethod, 'script')\\n }); \\n });\\n\\n Global.subNamespaces(true).forEach(function(ea) {\\n Functions.own(ea).forEach(function(eaMethod) {\\n func(ea, eaMethod, 'extend')\\n }); \\n });\\n\\n Global.classes(true).uniq().forEach(function(eaClass) {\\n Functions.own(eaClass).forEach(function(eaMethod) {\\n func(eaClass, eaMethod, 'extend')\\n }); \\n\\n Functions.own(eaClass.prototype).forEach(function(eaMethod) {\\n func(eaClass.prototype, eaMethod, 'class')\\n }) \\n })\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2390},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2389\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"2390\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":2391},\"user\":\"undefined\",\"tags\":[]},\"2391\":{\"isSerializedDate\":true,\"string\":\"Thu Jan 19 2012 14:41:57 GMT+0100 (Mitteleuropäische Zeit)\"},\"2392\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2393},\"source\":\"function itemsFromFinds(finds) {\\n var searchString = this.get('searchText').textString;\\n var items = finds.collect(function(ea) {\\n var pref = \\\"\\\" + ea.type + \\\" \\\";\\n if (ea.search == \\\"sender\\\") pref += \\\"full: \\\"\\n if (ea.search == \\\"implementor\\\") pref += \\\"name: \\\"\\n var string = pref + ea.string;\\n var func = ea.object[ea.method];\\n if (func.belongsToTrait) \\n string += ' / ' + func.belongsToTrait + '' \\n\\n var result = {\\n isListItem: true,\\n value: ea,\\n string: string,\\n doNotSerialize: ['value'],\\n priority: {implementor: \\\"B\\\", sender: \\\"C\\\"}[ea.search] || \\\"D\\\",\\n };\\n if (ea.method == searchString) result.priority = \\\"A\\\"\\n return result\\n })\\n items = items.sortBy(function(ea) {return ea.priority + ea.string})\\n return items\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2394},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2393\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"2394\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":2395},\"user\":\"undefined\",\"tags\":[]},\"2395\":{\"isSerializedDate\":true,\"string\":\"Fri Feb 03 2012 15:31:52 GMT+0100 (Mitteleuropäische Zeit)\"},\"2396\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2397},\"source\":\"function browseMethod() {\\n alertOK('browseMethod')\\n var methodItem = this.get('searchResultList').selection;\\n if (methodItem.type == 'layer') {\\n var layer = methodItem.object[methodItem.method];\\n this.openMethodInSystemBrowser(methodItem.method, \\n undefined, layer.sourceModule);\\n return\\n }\\n\\n if (!this.targetFunction) return;\\n var methodName = this.targetFunction.methodName || this.targetFunction.displayName; \\n if(this.targetFunction.declaredClass) {\\n var classObj = eval(this.targetFunction.declaredClass)\\n this.openMethodInSystemBrowser(classObj.type, methodName);\\n return;\\n }\\n if(this.targetFunction.belongsToTrait) {\\n this.openMethodInSystemBrowser(this.targetFunction.belongsToTrait.name, methodName);\\n return;\\n }\\n if(Class.isClass(this.targetObject)) {\\n this.openMethodInSystemBrowser(this.targetObject.type, methodName);\\n return;\\n }\\n if(this.targetObject.namespaceIdentifier) {\\n this.openMethodInSystemBrowser(this.targetObject.namespaceIdentifier, methodName);\\n return;\\n }\\n if(this.targetObject instanceof lively.morphic.Morph) {\\n var editor = this.world().openObjectEditorFor(this.targetObject);\\n editor.align(editor.bounds().center(), this.world().visibleBounds().center());\\n return;\\n }\\n if (Class.isClass(this.targetFunction)) {\\n // constructor\\n this.openMethodInSystemBrowser(this.targetFunction.displayName);\\n return;\\n }\\n \\n alertOK('not implemented yet for ' + this.targetFunction)\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2398},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2397\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"2398\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":2399},\"user\":\"undefined\",\"tags\":[]},\"2399\":{\"isSerializedDate\":true,\"string\":\"Thu Jan 19 2012 16:54:12 GMT+0100 (Mitteleuropäische Zeit)\"},\"2400\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2401},\"source\":\"function openMethodInSystemBrowser(objectName, methodName, optSourceModule) {\\n if (objectName)\\n objectName = objectName.replace(/^Global\\\\./,\\\"\\\");\\n // alertOK(\\\"browse \\\" + objectName + \\\":\\\" + methodName)\\n // objectName = 'SelectionMorphTrait', methodName = 'onDrag'\\n var sourceModule = optSourceModule ||\\n this.findSourceModule(this.targetFunction);\\n if (!sourceModule) \\n alert('could not browse, since no source module found!')\\n var uri = new URL(sourceModule.uri()),\\n relative = uri.relativePathFrom(new URL(Config.codeBase)),\\n moduleNode = lively.ide.startSourceControl().addModule(relative),\\n rootNode = moduleNode.ast();\\n\\n var fileFragments = rootNode.subElements(10).select(function(ea) {\\n var path = ea.getOwnerNamePath()\\n if (objectName == \\\"Global\\\")\\n return path.include(methodName);\\n return path.include(objectName) && (!methodName || path.include(methodName)) \\n });\\n \\n\\n\\n // alertOK(\\\"found following places to browse: \\\" + fileFragments)\\n if (fileFragments.length > 0) {\\n fileFragments[0].browseIt()\\n } else {\\n alert(\\\"browse failed. Nothing found for \\\" + objectName + \\\">>\\\" + methodName + \\\" in \\\" + sourceModule.uri());\\n rootNode.browseIt();\\n }\\n\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2402},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2401\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"2402\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":2403},\"user\":\"jenslincke\",\"tags\":[]},\"2403\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 09 2012 11:27:23 GMT+0100 (Mitteleuropäische Zeit)\"},\"2404\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2405},\"source\":\"function findSourceModule(funcObj) {\\n if (this.targetFunction.belongsToTrait) \\n return this.targetFunction.belongsToTrait.sourceModule\\n if (funcObj.sourceModule)\\n return funcObj.sourceModule;\\n // look in the class\\n if (!funcObj.sourceModule && funcObj.declaredClass) {\\n var classObj = eval(funcObj.declaredClass)\\n return classObj.sourceModule\\n }\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2406},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2405\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"2406\":{\"user\":\"jenslincke\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":2407}},\"2407\":{\"isSerializedDate\":true,\"string\":\"Fri Nov 04 2011 15:27:13 GMT+0100 (Mitteleuropäische Zeit)\"},\"2408\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2409},\"source\":\"function searchOnServer() {\\n var serverSearch = this.world().openPartItem('ServerSearch', 'PartsBin/Tools'); \\n serverSearch.setSearch(this.get('searchText').textString)\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2410},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2409\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"2410\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":2411},\"user\":\"jenslincke\",\"categories\":[]},\"2411\":{\"isSerializedDate\":true,\"string\":\"Fri Nov 18 2011 11:40:23 GMT+0100 (Mitteleuropäische Zeit)\"},\"2412\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":2413},\"source\":\"function showLayerDefinition(methodItem) {\\n var info = \\\"layer definition\\\" \\n var source = \\\"TODO: print layer def here...\\\"\\n this.get('infoText').setTextString(info)\\n this.get('sourceText').setTextString(source)\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":2414},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"2413\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"2414\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":2415},\"user\":\"undefined\",\"tags\":[]},\"2415\":{\"isSerializedDate\":true,\"string\":\"Thu Jan 19 2012 15:30:43 GMT+0100 (Mitteleuropäische Zeit)\"},\"isSimplifiedRegistry\":true}}","attributeConnections":[{"__isSmartRef__":true,"id":19396},{"__isSmartRef__":true,"id":19397}],"doNotSerialize":["$$json","$$loadedMetaInfo"],"doNotCopyProperties":["$$json","$$loadedMetaInfo"],"loadedMetaInfo":{"__isSmartRef__":true,"id":19041},"partVersions":[{"__isSmartRef__":true,"id":19398},{"__isSmartRef__":true,"id":19402},{"__isSmartRef__":true,"id":19406},{"__isSmartRef__":true,"id":19512},{"__isSmartRef__":true,"id":19516},{"__isSmartRef__":true,"id":19520},{"__isSmartRef__":true,"id":19524},{"__isSmartRef__":true,"id":19528},{"__isSmartRef__":true,"id":19532},{"__isSmartRef__":true,"id":19536}],"rev":148699,"part":{"__isSmartRef__":true,"id":18669},"__LivelyClassName__":"lively.PartsBin.PartItem","__SourceModuleName__":"Global.lively.PartsBin"},"19396":{"sourceObj":{"__isSmartRef__":true,"id":19395},"sourceAttrName":"json","targetObj":{"__isSmartRef__":true,"id":19395},"targetMethodName":"cachePartJSON","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"19397":{"sourceObj":{"__isSmartRef__":true,"id":19395},"sourceAttrName":"loadedMetaInfo","targetObj":{"__isSmartRef__":true,"id":19395},"targetMethodName":"cachePartMetaInfo","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"19398":{"rev":148699,"author":"bert","date":{"__isSmartRef__":true,"id":19399},"url":{"__isSmartRef__":true,"id":19400},"changes":[{"__isSmartRef__":true,"id":19401}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"19399":{"isSerializedDate":true,"string":"Wed Mar 28 2012 20:32:06 GMT+0200 (CEST)"},"19400":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/MethodFinderPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"19401":{"type":"S:modified","url":"/PartsBin/Dialogs/MethodFinderPane.json"},"19402":{"rev":147909,"author":"athomschke","date":{"__isSmartRef__":true,"id":19403},"url":{"__isSmartRef__":true,"id":19404},"changes":[{"__isSmartRef__":true,"id":19405}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"19403":{"isSerializedDate":true,"string":"Mon Mar 26 2012 11:08:11 GMT+0200 (CEST)"},"19404":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/MethodFinderPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"19405":{"type":"S:modified","url":"/PartsBin/Dialogs/MethodFinderPane.json"},"19406":{"rev":140039,"author":"fbo","date":{"__isSmartRef__":true,"id":19407},"url":{"__isSmartRef__":true,"id":19408},"changes":[{"__isSmartRef__":true,"id":19409},{"__isSmartRef__":true,"id":19410},{"__isSmartRef__":true,"id":19411},{"__isSmartRef__":true,"id":19412},{"__isSmartRef__":true,"id":19413},{"__isSmartRef__":true,"id":19414},{"__isSmartRef__":true,"id":19415},{"__isSmartRef__":true,"id":19416},{"__isSmartRef__":true,"id":19417},{"__isSmartRef__":true,"id":19418},{"__isSmartRef__":true,"id":19419},{"__isSmartRef__":true,"id":19420},{"__isSmartRef__":true,"id":19421},{"__isSmartRef__":true,"id":19422},{"__isSmartRef__":true,"id":19423},{"__isSmartRef__":true,"id":19424},{"__isSmartRef__":true,"id":19425},{"__isSmartRef__":true,"id":19426},{"__isSmartRef__":true,"id":19427},{"__isSmartRef__":true,"id":19428},{"__isSmartRef__":true,"id":19429},{"__isSmartRef__":true,"id":19430},{"__isSmartRef__":true,"id":19431},{"__isSmartRef__":true,"id":19432},{"__isSmartRef__":true,"id":19433},{"__isSmartRef__":true,"id":19434},{"__isSmartRef__":true,"id":19435},{"__isSmartRef__":true,"id":19436},{"__isSmartRef__":true,"id":19437},{"__isSmartRef__":true,"id":19438},{"__isSmartRef__":true,"id":19439},{"__isSmartRef__":true,"id":19440},{"__isSmartRef__":true,"id":19441},{"__isSmartRef__":true,"id":19442},{"__isSmartRef__":true,"id":19443},{"__isSmartRef__":true,"id":19444},{"__isSmartRef__":true,"id":19445},{"__isSmartRef__":true,"id":19446},{"__isSmartRef__":true,"id":19447},{"__isSmartRef__":true,"id":19448},{"__isSmartRef__":true,"id":19449},{"__isSmartRef__":true,"id":19450},{"__isSmartRef__":true,"id":19451},{"__isSmartRef__":true,"id":19452},{"__isSmartRef__":true,"id":19453},{"__isSmartRef__":true,"id":19454},{"__isSmartRef__":true,"id":19455},{"__isSmartRef__":true,"id":19456},{"__isSmartRef__":true,"id":19457},{"__isSmartRef__":true,"id":19458},{"__isSmartRef__":true,"id":19459},{"__isSmartRef__":true,"id":19460},{"__isSmartRef__":true,"id":19461},{"__isSmartRef__":true,"id":19462},{"__isSmartRef__":true,"id":19463},{"__isSmartRef__":true,"id":19464},{"__isSmartRef__":true,"id":19465},{"__isSmartRef__":true,"id":19466},{"__isSmartRef__":true,"id":19467},{"__isSmartRef__":true,"id":19468},{"__isSmartRef__":true,"id":19469},{"__isSmartRef__":true,"id":19470},{"__isSmartRef__":true,"id":19471},{"__isSmartRef__":true,"id":19472},{"__isSmartRef__":true,"id":19473},{"__isSmartRef__":true,"id":19474},{"__isSmartRef__":true,"id":19475},{"__isSmartRef__":true,"id":19476},{"__isSmartRef__":true,"id":19477},{"__isSmartRef__":true,"id":19478},{"__isSmartRef__":true,"id":19479},{"__isSmartRef__":true,"id":19480},{"__isSmartRef__":true,"id":19481},{"__isSmartRef__":true,"id":19482},{"__isSmartRef__":true,"id":19483},{"__isSmartRef__":true,"id":19484},{"__isSmartRef__":true,"id":19485},{"__isSmartRef__":true,"id":19486},{"__isSmartRef__":true,"id":19487},{"__isSmartRef__":true,"id":19488},{"__isSmartRef__":true,"id":19489},{"__isSmartRef__":true,"id":19490},{"__isSmartRef__":true,"id":19491},{"__isSmartRef__":true,"id":19492},{"__isSmartRef__":true,"id":19493},{"__isSmartRef__":true,"id":19494},{"__isSmartRef__":true,"id":19495},{"__isSmartRef__":true,"id":19496},{"__isSmartRef__":true,"id":19497},{"__isSmartRef__":true,"id":19498},{"__isSmartRef__":true,"id":19499},{"__isSmartRef__":true,"id":19500},{"__isSmartRef__":true,"id":19501},{"__isSmartRef__":true,"id":19502},{"__isSmartRef__":true,"id":19503},{"__isSmartRef__":true,"id":19504},{"__isSmartRef__":true,"id":19505},{"__isSmartRef__":true,"id":19506},{"__isSmartRef__":true,"id":19507},{"__isSmartRef__":true,"id":19508},{"__isSmartRef__":true,"id":19509},{"__isSmartRef__":true,"id":19510},{"__isSmartRef__":true,"id":19511}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"19407":{"isSerializedDate":true,"string":"Wed Feb 22 2012 22:26:12 GMT+0100 (CET)"},"19408":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/lively/lang/UUID.js","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"19409":{"type":"S:modified","url":"/core/lively/ast/Interpreter.js"},"19410":{"type":"S:added","url":null},"19411":{"type":"S:added","url":null},"19412":{"type":"S:modified","url":"/core/lively/OldModel.js"},"19413":{"type":"S:modified","url":"/core/lively/morphic/ScriptingSupport.js"},"19414":{"type":"S:added","url":null},"19415":{"type":"S:added","url":null},"19416":{"type":"S:deleted","url":null},"19417":{"type":"S:added","url":null},"19418":{"type":"S:modified","url":"/core/lively/ast/LivelyJSParser.js"},"19419":{"type":"S:modified","url":"/core/lively/morphic/EventExperiments.js"},"19420":{"type":"S:added","url":null},"19421":{"type":"S:modified","url":"/core/lively/Base.js"},"19422":{"type":"S:added","url":null},"19423":{"type":"S:added","url":null},"19424":{"type":"S:modified","url":"/core/lively/bootstrap.js"},"19425":{"type":"S:added","url":null},"19426":{"type":"S:added","url":null},"19427":{"type":"S:modified","url":"/core/lively/localconfig.js"},"19428":{"type":"S:modified","url":"/core/lively/PartsBin.js"},"19429":{"type":"S:modified","url":"/core/lively/ide/SystemBrowserNodes.js"},"19430":{"type":"S:modified","url":"/core/lively/morphic/tests/PathTests.js"},"19431":{"type":"S:added","url":null},"19432":{"type":"S:modified","url":"/core/lively/bindings/Core.js"},"19433":{"type":"S:added","url":null},"19434":{"type":"S:added","url":null},"19435":{"type":"S:modified","url":"/core/lively/Network.js"},"19436":{"type":"S:modified","url":"/core/lively/morphic/Core.js"},"19437":{"type":"S:added","url":null},"19438":{"type":"S:modified","url":"/core/lively/bindings.js"},"19439":{"type":"S:modified","url":"/core/lively/WidgetsTraits.js"},"19440":{"type":"S:modified","url":"/core/lively/morphic.js"},"19441":{"type":"S:added","url":null},"19442":{"type":"S:added","url":null},"19443":{"type":"S:added","url":null},"19444":{"type":"S:modified","url":"/core/lively/defaultconfig.js"},"19445":{"type":"S:added","url":null},"19446":{"type":"S:added","url":null},"19447":{"type":"S:modified","url":"/core/lively/morphic/Canvas.js"},"19448":{"type":"S:modified","url":"/core/lively/ast/generated/Translator.js"},"19449":{"type":"S:added","url":null},"19450":{"type":"S:modified","url":"/core/lively/ast/Parser.js"},"19451":{"type":"S:modified","url":"/core/lively/Main.js"},"19452":{"type":"S:modified","url":"/core/lively/morphic/tests/Morphic2.js"},"19453":{"type":"S:added","url":null},"19454":{"type":"S:modified","url":"/core/lively/morphic/tests/TabTests.js"},"19455":{"type":"S:modified","url":"/core/lively/persistence/Serializer.js"},"19456":{"type":"S:modified","url":"/core_version.json"},"19457":{"type":"S:added","url":null},"19458":{"type":"S:modified","url":"/core/lively/morphic/PathShapes.js"},"19459":{"type":"S:added","url":null},"19460":{"type":"S:added","url":null},"19461":{"type":"S:modified","url":"/core/lively/morphic/tests/Morphic.js"},"19462":{"type":"S:modified","url":"/core/lively/morphic/tests/DataGridTests.js"},"19463":{"type":"S:modified","url":"/core/lively/morphic/HTML.js"},"19464":{"type":"S:added","url":null},"19465":{"type":"S:added","url":null},"19466":{"type":"S:added","url":null},"19467":{"type":"S:modified","url":"/core/lively/ide/BrowserCommands.js"},"19468":{"type":"S:modified","url":"/core/lively/morphic/Widgets.js"},"19469":{"type":"S:modified","url":"/core/lively/morphic/tests/EventTests.js"},"19470":{"type":"S:modified","url":"/core/lively/ast/StackReification.js"},"19471":{"type":"S:modified","url":"/core/cop/CopBenchmark.js"},"19472":{"type":"S:deleted","url":null},"19473":{"type":"S:added","url":null},"19474":{"type":"S:modified","url":"/core/lively/Helper.js"},"19475":{"type":"S:modified","url":"/core/lively/morphic/MorphAddons.js"},"19476":{"type":"S:added","url":null},"19477":{"type":"S:modified","url":"/core/lively/morphic/tests/Connectors.js"},"19478":{"type":"S:modified","url":"/core/lively/morphic/Shapes.js"},"19479":{"type":"S:modified","url":"/core/lively/ide/SourceDatabase.js"},"19480":{"type":"S:added","url":null},"19481":{"type":"S:modified","url":"/core/lively/Tracing.js"},"19482":{"type":"S:added","url":null},"19483":{"type":"S:modified","url":"/core/lively/ast/Morphic.js"},"19484":{"type":"S:added","url":null},"19485":{"type":"S:added","url":null},"19486":{"type":"S:added","url":null},"19487":{"type":"S:modified","url":"/core/lively/TestFramework.js"},"19488":{"type":"S:modified","url":"/core/lively/ast/generated/Nodes.js"},"19489":{"type":"S:added","url":null},"19490":{"type":"S:modified","url":"/core/lively/morphic/TextCore.js"},"19491":{"type":"S:added","url":null},"19492":{"type":"S:modified","url":"/core/lively/ide.js"},"19493":{"type":"S:modified","url":"/core/cop/Tracing.js"},"19494":{"type":"S:modified","url":"/core/lively/ide/FileParsing.js"},"19495":{"type":"S:modified","url":"/core/lively/morphic/Events.js"},"19496":{"type":"S:modified","url":"/core/lively/morphic/Halos.js"},"19497":{"type":"S:added","url":null},"19498":{"type":"S:added","url":null},"19499":{"type":"S:modified","url":"/core/lively/morphic/Complete.js"},"19500":{"type":"S:added","url":null},"19501":{"type":"S:added","url":null},"19502":{"type":"S:added","url":null},"19503":{"type":"S:added","url":null},"19504":{"type":"S:added","url":null},"19505":{"type":"S:modified","url":"/core/lively/persistence/StandAlonePackaging.js"},"19506":{"type":"S:added","url":null},"19507":{"type":"S:modified","url":"/core/lively/ast/TestFramework.js"},"19508":{"type":"S:modified","url":"/core/lively/ide/SystemCodeBrowser.js"},"19509":{"type":"S:added","url":null},"19510":{"type":"S:added","url":null},"19511":{"type":"S:added","url":null},"19512":{"rev":135632,"author":"jenslincke","date":{"__isSmartRef__":true,"id":19513},"url":{"__isSmartRef__":true,"id":19514},"changes":[{"__isSmartRef__":true,"id":19515}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"19513":{"isSerializedDate":true,"string":"Thu Feb 09 2012 10:22:20 GMT+0100 (CET)"},"19514":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Dialogs/MethodFinderPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"19515":{"type":"S:modified","url":"/core/PartsBin/Dialogs/MethodFinderPane.json"},"19516":{"rev":132950,"author":"athomschke","date":{"__isSmartRef__":true,"id":19517},"url":{"__isSmartRef__":true,"id":19518},"changes":[{"__isSmartRef__":true,"id":19519}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"19517":{"isSerializedDate":true,"string":"Fri Feb 03 2012 15:52:10 GMT+0100 (CET)"},"19518":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Dialogs/MethodFinderPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"19519":{"type":"S:modified","url":"/core/PartsBin/Dialogs/MethodFinderPane.json"},"19520":{"rev":132917,"author":"jenslincke","date":{"__isSmartRef__":true,"id":19521},"url":{"__isSmartRef__":true,"id":19522},"changes":[{"__isSmartRef__":true,"id":19523}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"19521":{"isSerializedDate":true,"string":"Fri Feb 03 2012 15:31:21 GMT+0100 (CET)"},"19522":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Dialogs/MethodFinderPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"19523":{"type":"S:modified","url":"/core/PartsBin/Dialogs/MethodFinderPane.json"},"19524":{"rev":132911,"author":"jenslincke","date":{"__isSmartRef__":true,"id":19525},"url":{"__isSmartRef__":true,"id":19526},"changes":[{"__isSmartRef__":true,"id":19527}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"19525":{"isSerializedDate":true,"string":"Fri Feb 03 2012 15:27:38 GMT+0100 (CET)"},"19526":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Dialogs/MethodFinderPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"19527":{"type":"S:modified","url":"/core/PartsBin/Dialogs/MethodFinderPane.json"},"19528":{"rev":132876,"author":"jenslincke","date":{"__isSmartRef__":true,"id":19529},"url":{"__isSmartRef__":true,"id":19530},"changes":[{"__isSmartRef__":true,"id":19531}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"19529":{"isSerializedDate":true,"string":"Fri Feb 03 2012 14:43:26 GMT+0100 (CET)"},"19530":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Dialogs/MethodFinderPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"19531":{"type":"S:modified","url":"/core/PartsBin/Dialogs/MethodFinderPane.json"},"19532":{"rev":132872,"author":"jenslincke","date":{"__isSmartRef__":true,"id":19533},"url":{"__isSmartRef__":true,"id":19534},"changes":[{"__isSmartRef__":true,"id":19535}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"19533":{"isSerializedDate":true,"string":"Fri Feb 03 2012 14:37:08 GMT+0100 (CET)"},"19534":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Dialogs/MethodFinderPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"19535":{"type":"S:modified","url":"/core/PartsBin/Dialogs/MethodFinderPane.json"},"19536":{"rev":132869,"author":"jenslincke","date":{"__isSmartRef__":true,"id":19537},"url":{"__isSmartRef__":true,"id":19538},"changes":[{"__isSmartRef__":true,"id":19539}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"19537":{"isSerializedDate":true,"string":"Fri Feb 03 2012 14:35:20 GMT+0100 (CET)"},"19538":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Dialogs/MethodFinderPane.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"19539":{"type":"S:added","url":null},"19540":{"partsSpaceName":"PartsBin/Dialogs","name":"PublishPartDialog","part":{"__isSmartRef__":true,"id":19541},"json":"{\"id\":0,\"registry\":{\"0\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1},{\"__isSmartRef__\":true,\"id\":151},{\"__isSmartRef__\":true,\"id\":664}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":718},\"id\":\"BD18ABC3-C773-4121-B919-8E27D8B9E0A4\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":722},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":723},\"droppingEnabled\":true,\"halosEnabled\":true,\"__layered_draggingEnabled__\":true,\"layout\":{\"__isSmartRef__\":true,\"id\":724},\"LK2\":true,\"priorExtent\":{\"__isSmartRef__\":true,\"id\":725},\"targetMorph\":{\"__isSmartRef__\":true,\"id\":151},\"titleBar\":{\"__isSmartRef__\":true,\"id\":1},\"contentOffset\":{\"__isSmartRef__\":true,\"id\":726},\"collapsedTransform\":null,\"collapsedExtent\":null,\"expandedTransform\":null,\"expandedExtent\":null,\"ignoreEventsOnExpand\":false,\"highlighted\":false,\"prevDragPos\":{\"__isSmartRef__\":true,\"id\":727},\"isBeingDragged\":false,\"showsHalos\":false,\"name\":\"PublishPartDialog\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":728},\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":753}],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"_Position\":{\"__isSmartRef__\":true,\"id\":754},\"isCopyMorphRef\":true,\"morphRefId\":12,\"derivationIds\":[2879,\"91414FD8-3775-435F-96A6-39E0CB891CD7\",\"9CB574CD-94E3-465A-B85C-91F97E070BC3\",\"C9D390C2-399F-44AF-A316-A4A117E5F7B6\",\"0A0B9181-A04D-441B-944F-585ED335E81B\",\"DEDFDD48-51F2-4C04-9681-6B64D465BE14\",\"FD496905-E054-4BF1-B162-EB0F08C1C829\",\"7A7DC0E8-6CA2-49DC-A660-7E873F834AB2\",\"401B15D2-9AFF-4843-85A2-16186AFFDFD4\",\"D4692AD1-A7CA-4F57-A55F-B485279A8B90\",\"DDF6DDB6-572F-4DC7-911A-4F7E5F310189\",\"41BEABE5-C184-4F59-93F1-139F711489DC\",\"43B559FD-8DA9-41DE-91F3-B4DDD6788A58\",\"C6E534FD-BA26-4A2F-987E-2254EB4D1D7B\",\"7F7C3464-9B3C-4C47-B577-D69567B5AD63\"],\"moved\":true,\"minExtent\":{\"__isSmartRef__\":true,\"id\":755},\"headRevision\":147095,\"_ClipMode\":\"visible\",\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Window\",\"withoutLayers\":[\"Global.lively.morphic.GrabbingLayer\"]},\"1\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":2},{\"__isSmartRef__\":true,\"id\":16},{\"__isSmartRef__\":true,\"id\":63},{\"__isSmartRef__\":true,\"id\":98}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":134},\"id\":\"1EEB7A79-5546-44ED-929C-FA7B2F3352E9\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":146},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":147},\"droppingEnabled\":true,\"halosEnabled\":true,\"layout\":{\"__isSmartRef__\":true,\"id\":148},\"_Position\":{\"__isSmartRef__\":true,\"id\":149},\"windowMorph\":{\"__isSmartRef__\":true,\"id\":0},\"label\":{\"__isSmartRef__\":true,\"id\":2},\"closeButton\":{\"__isSmartRef__\":true,\"id\":16},\"menuButton\":{\"__isSmartRef__\":true,\"id\":63},\"collapseButton\":{\"__isSmartRef__\":true,\"id\":98},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":150},\"owner\":{\"__isSmartRef__\":true,\"id\":0},\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"derivationIds\":[2880,\"108B5871-F6C8-4442-82D1-F8776D2C85A2\",\"503529CB-0F23-4456-8597-CD5E86CF03F0\",\"4FB4914E-E245-4D67-BE3B-63091E2C8C95\",\"B69B0DCD-8CC6-4A06-B738-A12B5269CD7D\",\"6D1BAF1C-9402-44ED-A26B-9B74CF07DF60\",\"B4808FFA-4EA4-43B1-A7FC-0BEF063FC467\",\"C49A9265-2632-4101-BEB3-C57320C2187A\",\"0E3215D4-8AAB-4F52-8AD0-FC2EEC395A9A\",\"0B36C705-2DB1-4ECE-8E5D-164334FB519B\",\"305AE4E8-ADC7-4C81-BF54-3C180FEF414F\",\"D1F1142B-FB6A-475C-8903-13CCF46FCD5D\",\"5C6E462F-7D1A-4876-8D43-4374443981CD\",\"88DEBD44-6D08-4854-9CA8-A147B160BDAB\",\"4BF8EFA1-572E-4713-A755-97054D0EF029\"],\"_ClipMode\":\"visible\",\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.TitleBar\"},\"2\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":3},\"id\":\"4D639952-4608-44C7-A1CC-73DE757149C9\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":9},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":10}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":12},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"evalEnabled\":false,\"isLabel\":true,\"_HandStyle\":\"default\",\"layout\":{\"__isSmartRef__\":true,\"id\":13},\"_Align\":\"center\",\"eventsAreIgnored\":true,\"owner\":{\"__isSmartRef__\":true,\"id\":1},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":14},\"_MaxTextWidth\":420,\"_MinTextWidth\":420,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"_Position\":{\"__isSmartRef__\":true,\"id\":15},\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"derivationIds\":[2881,\"A06A709C-AD42-48D0-A66A-9C21EA4F4E66\",\"EE1A345D-476E-4E22-BE89-E59A0C11001B\",\"90634CE5-77D0-4064-961C-4CBADE59C6F8\",\"C26670E3-5765-406B-972F-888FD1EAF967\",\"E252D4C8-705A-4A40-B4E8-3638444DBAC4\",\"89C11EA9-F897-4A67-9CDD-A79FAF7B04F1\",\"1D2D6235-8732-4E39-829D-8C599DE39537\",\"4819892D-6CED-4387-A505-50ADEC598F02\",\"63A7D46C-A16B-464D-9315-8AD0CFC0FD20\",\"CA96C77F-AAE5-4A7A-9D8A-F4B2DFC9148D\",\"A1B3FB84-D9F7-45FA-9D28-FFDF2664D5BE\",\"DA408E78-CC3F-4430-9268-6C9365622D04\",\"960BDC3B-D0CF-4613-8E6B-5F26D733BD89\",\"7F5621B0-5A9D-4812-9108-85C0997AEE3F\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"3\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":4},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":5},\"_Extent\":{\"__isSmartRef__\":true,\"id\":6},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":7},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":8},\"_Fill\":null,\"_BorderRadius\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"4\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"5\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"6\":{\"x\":420,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"7\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"8\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"9\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"10\":{\"style\":{\"__isSmartRef__\":true,\"id\":11},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":2},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"Publish in PartsBin\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"11\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"12\":{\"morph\":{\"__isSmartRef__\":true,\"id\":2},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"13\":{\"resizeWidth\":true},\"14\":{\"x\":420,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"15\":{\"x\":20,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"16\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":17}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":29},\"id\":\"A95DD13F-8C05-4E35-9C89-5BBF4C0D1C71\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":45},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":46},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"accessibleInInactiveWindow\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":47},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":48},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":35},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":49},\"label\":{\"__isSmartRef__\":true,\"id\":17},\"owner\":{\"__isSmartRef__\":true,\"id\":1},\"layout\":{\"__isSmartRef__\":true,\"id\":58},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":59},{\"__isSmartRef__\":true,\"id\":61}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"prevScroll\":[0,0],\"derivationIds\":[2882,\"6FF08B49-B1B5-4E12-8CE8-DF895115627D\",\"7F48C6F9-BB0C-405E-991B-410F179F7FE6\",\"8405D63F-4E07-4FE8-9008-DD8AE000B5C8\",\"D81DD158-CA4D-44A9-B0A6-3FD7DF7EFD68\",\"B32CD4CF-CE28-40AB-8F9E-23E12B00C595\",\"581848BC-C01C-443F-B6AD-4A61CE8EB72E\",\"62393865-D1D9-40DE-B048-1249932ECD31\",\"8FB8E2BF-E816-4D6F-8E57-4D1FEAB65258\",\"BE49E07E-D7F5-4EB9-9CED-C5857E3E2E05\",\"8400BD9B-C243-4480-8B72-9881692A9AC4\",\"67A14C8D-9131-4F19-9649-DF83E2220076\",\"2B1EAF02-F491-4C0D-90C4-D0D118EF409B\",\"473E46FF-11E0-4875-80B6-8EE5D321E59F\",\"D1DA13CC-5998-4C2D-803A-094CC9251276\"],\"_ClipMode\":\"visible\",\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"17\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":18},\"id\":\"C397207D-9190-4230-96BF-6A91C483ED49\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":23},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":24}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":26},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":8,\"_Position\":{\"__isSmartRef__\":true,\"id\":27},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":28},\"_MaxTextWidth\":17,\"_MinTextWidth\":17,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":16},\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"derivationIds\":[2883,\"9FBA502B-65B1-4FF2-A0A6-9951E3C50B9C\",\"9F297DAE-65AA-45A3-AFAE-BD35F359E24A\",\"75386CDF-09C9-47F2-8762-F737A49FD645\",\"C43A7038-D61D-47C7-BFA8-8C8A77627643\",\"5BF20970-1750-47F6-8D9D-E7A798428D52\",\"74925934-1F3C-432E-BBD6-02C666263ED7\",\"C4BDF6D3-0621-4923-A192-E4488E7679D1\",\"376C89CF-A021-4CA6-A6AC-47177BFB2062\",\"878C6C67-6B17-432C-B06E-FBBC1FDADE0D\",\"D49A7E68-DC41-42E3-8DC4-073D080B4548\",\"557AD9C4-D5B4-49A0-9508-53CA902EA479\",\"10DA2DAE-51E0-4668-905A-C95891803AE7\",\"FE63ADA2-09D3-415B-90BE-D2B42D51C838\",\"B351C8F1-0939-47C8-8017-69AB7EAE3CFF\"],\"showsHalos\":false,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"18\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":19},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":20},\"_Extent\":{\"__isSmartRef__\":true,\"id\":21},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":22},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":8},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"19\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"20\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"21\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"22\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"23\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"24\":{\"style\":{\"__isSmartRef__\":true,\"id\":25},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":17},\"storedString\":\"X\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"25\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"26\":{\"morph\":{\"__isSmartRef__\":true,\"id\":17},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"27\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"28\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"29\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":30},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":31},\"_Extent\":{\"__isSmartRef__\":true,\"id\":32},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":33},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":34},\"_Fill\":{\"__isSmartRef__\":true,\"id\":35},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"30\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"31\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"32\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"33\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"34\":{\"r\":0.7411764705882353,\"g\":0.7450980392156863,\"b\":0.7529411764705882,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"35\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":36},{\"__isSmartRef__\":true,\"id\":38},{\"__isSmartRef__\":true,\"id\":40},{\"__isSmartRef__\":true,\"id\":42}],\"vector\":{\"__isSmartRef__\":true,\"id\":44},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"36\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":37}},\"37\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"38\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":39}},\"39\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"40\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":41}},\"41\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"42\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":43}},\"43\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"44\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"45\":{\"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\"},\"46\":{\"morph\":{\"__isSmartRef__\":true,\"id\":16},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"47\":{\"x\":459,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"48\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"49\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":50},{\"__isSmartRef__\":true,\"id\":52},{\"__isSmartRef__\":true,\"id\":54},{\"__isSmartRef__\":true,\"id\":56}],\"vector\":{\"__isSmartRef__\":true,\"id\":44},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"50\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":51}},\"51\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"52\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":53}},\"53\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"54\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":55}},\"55\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"56\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":57}},\"57\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"58\":{\"moveHorizontal\":true},\"59\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":16},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":0},\"targetMethodName\":\"getCloseHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":60},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"60\":{\"source\":{\"__isSmartRef__\":true,\"id\":16},\"target\":{\"__isSmartRef__\":true,\"id\":0}},\"61\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":16},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":0},\"targetMethodName\":\"initiateShutdown\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":62},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"62\":{\"source\":{\"__isSmartRef__\":true,\"id\":16},\"target\":{\"__isSmartRef__\":true,\"id\":0}},\"63\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":64}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":76},\"id\":\"0797CCF7-CD32-4ECC-A641-400C7287B414\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":81},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":82},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"accessibleInInactiveWindow\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":83},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":84},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":35},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":85},\"label\":{\"__isSmartRef__\":true,\"id\":64},\"owner\":{\"__isSmartRef__\":true,\"id\":1},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":94},{\"__isSmartRef__\":true,\"id\":96}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"derivationIds\":[2884,\"64F20257-1A1D-4B3E-97C4-BC5D1F1E14B5\",\"A377FFCE-0FDC-41B6-BD34-D9F0507B57DA\",\"7334352E-B497-4F10-8C06-FBE36AA778C7\",\"E8269870-961E-49ED-ACE6-3CB90CD1937A\",\"3182A6E6-F492-4D7F-B240-55DC62E7DDF9\",\"5983668D-3862-4DE4-8C9C-57903C2FF112\",\"7EA72C52-A5FE-49D7-B644-F1CF1E948B7A\",\"378BCE5E-C14D-460C-B7E5-BA2B832168F0\",\"3C395E36-6E1E-4715-AE14-CBAB23875359\",\"3A64C38B-ACDD-4EE3-9CB8-1CF3F5338FBC\",\"B5F36159-C71D-48E3-A1A9-7BDA18656622\",\"0E65BDFD-4304-4131-9821-83A87E58A857\",\"335EC22A-00F4-444F-A9A3-6FCC3D3B375B\",\"4C230C0D-A5D1-4E2E-9FB9-67140E87E5CF\"],\"_ClipMode\":\"visible\",\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"64\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":65},\"id\":\"115E4B3E-1C79-4A8A-BCF9-E132122C3995\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":70},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":71}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":73},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":8,\"_Position\":{\"__isSmartRef__\":true,\"id\":74},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":75},\"_MaxTextWidth\":17,\"_MinTextWidth\":17,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":63},\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"derivationIds\":[2885,\"EC48B50E-CD5B-46FB-BF78-484373EED980\",\"59F8AF9B-799B-413B-86B2-BFD03A4B2559\",\"F8293A60-E9DB-40E3-B202-D547939F8A8D\",\"30E16AEA-8638-441D-A4B6-A7F2EB4D1987\",\"012E89E5-818C-4BAE-B1DB-B01796C23183\",\"D8FA4A79-180A-4D30-B4C8-2AC5E176057B\",\"7184ABDF-8484-4658-8968-C1DD68EFFC46\",\"4BC7DE67-2773-45F7-BA0D-BB473B463C0B\",\"1350953C-3FB0-428F-ADAF-AB46A2A7743D\",\"677531C6-1A55-423B-AD8E-B0CF60EA6AE7\",\"7AC83B39-6446-453C-BE0C-3A985B6F29D7\",\"7F97ADF7-B704-42C0-98D2-BFA189A6C2B8\",\"692C1E4C-8458-4EB7-9179-457C75884C65\",\"5F49459C-26AA-49F6-8216-2CA3571A899B\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"65\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":66},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":67},\"_Extent\":{\"__isSmartRef__\":true,\"id\":68},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":69},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":8},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"66\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"67\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"68\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"69\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"70\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"71\":{\"style\":{\"__isSmartRef__\":true,\"id\":72},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":64},\"storedString\":\"M\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"72\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"73\":{\"morph\":{\"__isSmartRef__\":true,\"id\":64},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"74\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"75\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"76\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":77},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":78},\"_Extent\":{\"__isSmartRef__\":true,\"id\":79},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":80},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":34},\"_Fill\":{\"__isSmartRef__\":true,\"id\":35},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"77\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"78\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"79\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"80\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"81\":{\"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\"},\"82\":{\"morph\":{\"__isSmartRef__\":true,\"id\":63},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"83\":{\"x\":3,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"84\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"85\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":86},{\"__isSmartRef__\":true,\"id\":88},{\"__isSmartRef__\":true,\"id\":90},{\"__isSmartRef__\":true,\"id\":92}],\"vector\":{\"__isSmartRef__\":true,\"id\":44},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"86\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":87}},\"87\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"88\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":89}},\"89\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"90\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":91}},\"91\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"92\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":93}},\"93\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"94\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":63},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":0},\"targetMethodName\":\"getMenuHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":95},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"95\":{\"source\":{\"__isSmartRef__\":true,\"id\":63},\"target\":{\"__isSmartRef__\":true,\"id\":0}},\"96\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":63},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":0},\"targetMethodName\":\"showTargetMorphMenu\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":97},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"97\":{\"source\":{\"__isSmartRef__\":true,\"id\":63},\"target\":{\"__isSmartRef__\":true,\"id\":0}},\"98\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":99}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":111},\"id\":\"484A4F26-09F0-4A4E-90E4-A4A0A4C09ACE\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":116},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":117},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"accessibleInInactiveWindow\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":118},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":119},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":35},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":120},\"label\":{\"__isSmartRef__\":true,\"id\":99},\"owner\":{\"__isSmartRef__\":true,\"id\":1},\"layout\":{\"__isSmartRef__\":true,\"id\":129},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":130},{\"__isSmartRef__\":true,\"id\":132}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"prevScroll\":[0,0],\"derivationIds\":[2886,\"9FC4F0BE-916D-456B-AEC7-E6C1AC6040CA\",\"A0A4775F-7F2F-4563-840D-CAA5CB435D75\",\"C87D3EB9-4C3B-4230-9794-F5B71B528C74\",\"D62C35A2-6803-4217-9DFD-0E480D4B82AE\",\"D8274457-EA55-431C-BA2E-C227C335C1FB\",\"943A7D62-2DE4-42E8-AC93-4E68B660CEF2\",\"E83FFE4B-9181-44F7-A77C-84E5625F788A\",\"6A34C9A1-6B4C-430B-ACD4-6A29D0F20D42\",\"BD7F031B-2DEE-4151-ABD8-B5A513D25129\",\"AD3F7784-7CB8-4CFE-98B0-83A4D43542C7\",\"52BD4109-B6AE-4A69-83C9-19EB655F4780\",\"82224D11-CDCA-43C8-A6FD-E794D5917E70\",\"6DF19762-00E0-4952-9D0F-ED6A72B7580B\",\"BAE5C2EA-CE02-4EF6-AA20-1FCE523D6634\"],\"_ClipMode\":\"visible\",\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"99\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":100},\"id\":\"700A6EE7-EDB4-4DFF-9BFA-A2FEBA66E699\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":105},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":106}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":108},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":8,\"_Position\":{\"__isSmartRef__\":true,\"id\":109},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":110},\"_MaxTextWidth\":17,\"_MinTextWidth\":17,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":98},\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"derivationIds\":[2887,\"42347453-BADB-4DB0-9486-C479B704CD7C\",\"B0BBE9B3-B5DD-4E4F-A1AA-1C03BB1BFF4E\",\"8AE3BC44-F336-420E-A2E9-BBA0DC6A3D72\",\"3DC5BABC-5EF1-4FC6-805B-0FC1CC02282F\",\"C5E01762-30EA-4342-A348-F75EA6C33D11\",\"209EBE14-87CB-44C9-B8C0-1A74CE2ACDB6\",\"1A0CE8F3-7342-484C-BA10-2E8291158E44\",\"28A42BB4-7534-4B0D-BBE9-B4D3FDCF024F\",\"D5D7B12C-1731-4943-BD69-699C99C398E1\",\"DD22A464-4EB8-41F8-9103-DEE095D40932\",\"F16ED660-1D92-485E-B022-9FB466AC307F\",\"AA93DB0B-89EB-44EB-9D56-ADE75D275E62\",\"AB55C6ED-56F9-48F7-A4B1-6D3A6070E047\",\"0CCF4C25-456D-4FF1-89DC-F3601FC379FF\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"100\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":101},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":102},\"_Extent\":{\"__isSmartRef__\":true,\"id\":103},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":104},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":8},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"101\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"102\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"103\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"104\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"105\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"106\":{\"style\":{\"__isSmartRef__\":true,\"id\":107},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":99},\"storedString\":\"–\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"107\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"108\":{\"morph\":{\"__isSmartRef__\":true,\"id\":99},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"109\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"110\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"111\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":112},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":113},\"_Extent\":{\"__isSmartRef__\":true,\"id\":114},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":115},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":34},\"_Fill\":{\"__isSmartRef__\":true,\"id\":35},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"112\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"113\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"114\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"115\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"116\":{\"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\"},\"117\":{\"morph\":{\"__isSmartRef__\":true,\"id\":98},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"118\":{\"x\":440,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"119\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"120\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":121},{\"__isSmartRef__\":true,\"id\":123},{\"__isSmartRef__\":true,\"id\":125},{\"__isSmartRef__\":true,\"id\":127}],\"vector\":{\"__isSmartRef__\":true,\"id\":44},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"121\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":122}},\"122\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"123\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":124}},\"124\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"125\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":126}},\"126\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"127\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":128}},\"128\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"129\":{\"moveHorizontal\":true},\"130\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":98},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":0},\"targetMethodName\":\"getCollapseHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":131},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"131\":{\"source\":{\"__isSmartRef__\":true,\"id\":98},\"target\":{\"__isSmartRef__\":true,\"id\":0}},\"132\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":98},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":0},\"targetMethodName\":\"toggleCollapse\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":133},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"133\":{\"source\":{\"__isSmartRef__\":true,\"id\":98},\"target\":{\"__isSmartRef__\":true,\"id\":0}},\"134\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":135},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":136},\"_Extent\":{\"__isSmartRef__\":true,\"id\":137},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":138},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":139},\"_Fill\":{\"__isSmartRef__\":true,\"id\":140},\"_StrokeOpacity\":1,\"_BorderRadius\":\"8px 8px 0px 0px\",\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"135\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"136\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"137\":{\"x\":479,\"y\":22,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"138\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"139\":{\"r\":0.4,\"g\":0.4,\"b\":0.4,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"140\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":141},{\"__isSmartRef__\":true,\"id\":143}],\"vector\":{\"__isSmartRef__\":true,\"id\":145},\"__LivelyClassName__\":\"lively.morphic.LinearGradient\",\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\"},\"141\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":142}},\"142\":{\"r\":1,\"g\":1,\"b\":1,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"143\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":144}},\"144\":{\"r\":0.6400000000000001,\"g\":0.6400000000000001,\"b\":0.6400000000000001,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"145\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__LivelyClassName__\":\"Rectangle\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"146\":{\"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\"},\"147\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"148\":{\"resizeWidth\":true,\"adjustForNewBounds\":true},\"149\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"150\":{\"x\":479,\"y\":22,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"151\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":152},{\"__isSmartRef__\":true,\"id\":168},{\"__isSmartRef__\":true,\"id\":184},{\"__isSmartRef__\":true,\"id\":201},{\"__isSmartRef__\":true,\"id\":217},{\"__isSmartRef__\":true,\"id\":233},{\"__isSmartRef__\":true,\"id\":250},{\"__isSmartRef__\":true,\"id\":266},{\"__isSmartRef__\":true,\"id\":350},{\"__isSmartRef__\":true,\"id\":433},{\"__isSmartRef__\":true,\"id\":449},{\"__isSmartRef__\":true,\"id\":465}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":515},\"id\":\"C97C0E53-522D-414C-9555-2228E8BA8F71\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":522},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":523},\"droppingEnabled\":true,\"halosEnabled\":true,\"isLockOwner\":false,\"layout\":{\"__isSmartRef__\":true,\"id\":524},\"attributeConnections\":[],\"ownerApp\":{\"__isSmartRef__\":true,\"id\":525},\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.Core\",\"name\":\"PublishPartPanePane\",\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":619},\"isBeingDragged\":false,\"prevScroll\":[0,0],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":620},\"grabbingEnabled\":false,\"_Position\":{\"__isSmartRef__\":true,\"id\":621},\"owner\":{\"__isSmartRef__\":true,\"id\":0},\"target\":null,\"derivationIds\":[2888,\"7CD647EF-2BB4-4CD9-9D3B-4EE7BC59ECC2\",\"B983FB4F-9323-4304-9603-5615E93C6C42\",\"E738FAD5-9C83-4390-B193-06C21B6E51B0\",\"5ED6DC7B-74C2-4149-BF56-1622F302C51E\",\"B125F66F-9D66-44AC-A04B-E3A1CB7C1474\",\"8DD88D93-D7DB-4957-A724-C19836CD8C03\",\"1405B5AF-8461-4497-952D-024E06F6F395\",\"7CD3B3FE-D49D-436B-A738-6F960136F93C\",\"C28EE17A-8653-4C4E-AEAA-89B45CB54684\",\"97E867C3-A9EC-42CF-916F-788C94BE0955\",\"8DBA20C0-E93B-4679-BD70-63D956C8D56B\",\"03F1C6E5-5D38-4B2A-B96A-7545B2EA78A4\",\"101E56F8-6494-4A33-A341-C532CBE53645\",\"7B5BEA4B-7600-495A-8017-6D2CED2DFC29\"],\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":622},\"_ClipMode\":\"visible\",\"_Rotation\":0,\"_Scale\":1,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":623},\"__LivelyClassName__\":\"lively.morphic.Box\",\"withLayers\":[\"Global.lively.morphic.GrabbingLayer\"]},\"152\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":153},\"id\":\"238498B0-5A4F-416E-9ED6-096FE9C41557\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":160},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":161}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":163},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":true,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":164},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":165},\"_MaxTextWidth\":164,\"_MinTextWidth\":164,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"isInputLine\":true,\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"owner\":{\"__isSmartRef__\":true,\"id\":151},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"showsHalos\":false,\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":166},\"previousSelection\":[1,1],\"priorSelectionRange\":[0,10],\"isLockOwner\":false,\"name\":\"NameText\",\"isCopyMorphRef\":true,\"morphRefId\":1,\"derivationIds\":[2889,\"9A8B5C1C-95BB-40F5-B9EF-B89DD5451B64\",\"C49BF160-BBBE-422E-BDDC-B9A98A72ABFF\",\"42B7E940-3BB5-4B79-B5D8-E4C8E780FF3B\",\"50B247C7-D8F3-4CF5-BD3F-2A2867827CF1\",\"674DADA8-0E51-4FAB-8522-A9D91F270267\",\"105181E3-2D4E-49C3-9C63-13D1F9E311AB\",\"54D6890B-898B-44EC-8BDF-688522764BD8\",\"A8821E63-E9F3-4FE1-94FC-897C0E64A537\",\"1A1BA90B-CA62-4F00-8A36-CC210F473907\",\"E8C3B7B8-5E66-4470-A4B0-C4103AA45358\",\"95511FB8-0146-4A7A-900F-72D7EE65877A\",\"7DA33C42-0FC5-4616-B97B-FA67332B7859\",\"D05E45C6-2CC5-44AB-B3FD-904395A33093\",\"83AF3D18-D412-4D65-B8FD-51A225F1371F\"],\"savedTextString\":\"CommitMessageTest1\",\"isBeingDragged\":false,\"charsReplaced\":\"7\",\"lastFindLoc\":2,\"layout\":{\"__isSmartRef__\":true,\"id\":167},\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"153\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":154},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":155},\"_Extent\":{\"__isSmartRef__\":true,\"id\":156},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":157},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":158},\"_Fill\":{\"__isSmartRef__\":true,\"id\":159},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"154\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"155\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"156\":{\"x\":174,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"157\":{\"x\":4,\"y\":2,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"158\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"159\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"160\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"161\":{\"style\":{\"__isSmartRef__\":true,\"id\":162},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":152},\"storedString\":\"Anonymous\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"162\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"163\":{\"morph\":{\"__isSmartRef__\":true,\"id\":152},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"164\":{\"x\":10,\"y\":50,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"165\":{\"x\":174,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"166\":{\"x\":119,\"y\":-15,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"167\":{\"adjustForNewBounds\":true,\"resizeWidth\":true},\"168\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":169},\"id\":\"392D7685-0EDA-4891-9220-82C9DC2C3CCD\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":176},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":177}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":179},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":true,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":180},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":181},\"_MaxTextWidth\":444,\"_MinTextWidth\":444,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"isInputLine\":true,\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"showsHalos\":false,\"name\":\"CommitMessageText\",\"owner\":{\"__isSmartRef__\":true,\"id\":151},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":182},\"previousSelection\":[0,15],\"priorSelectionRange\":[0,0],\"charsReplaced\":\"CommitMessageTest1\",\"lastFindLoc\":18,\"isLockOwner\":false,\"isBeingDragged\":false,\"derivationIds\":[2890,\"40048B1D-9547-4EA6-AB66-31168A1C9FAE\",\"8A0DE790-FA6C-41C9-BA2B-84397DA3F39E\",\"DCFEEBC9-D891-408E-A103-19356A96070F\",\"EAEE386C-B48C-44E1-B80C-6830217A2FC6\",\"6CABE716-A9A0-4BED-ACA6-4C0C9C6C8E5E\",\"C2DC6D12-6F98-4236-AA47-1BD438BE5E56\",\"BFEBFDBE-0C30-407F-9B3C-B45A27971468\",\"923C751C-6180-4C96-A3FC-42A8AF1B4298\",\"0D556A07-77CA-478F-95B3-E3051804BF9C\",\"D952B070-654E-40FA-9076-7E8156C9C87C\",\"2EB5AAE4-7C54-466F-8C70-E3BD1E218C90\",\"D6863F0B-0CE5-401F-9646-2A748564AB54\",\"B422EE4A-2E17-4752-812B-1DFCDFBFE4D4\",\"52701E3E-E7F1-4A2F-B8FE-2115D0544509\"],\"savedTextString\":\"\",\"layout\":{\"__isSmartRef__\":true,\"id\":183},\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"169\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":170},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":171},\"_Extent\":{\"__isSmartRef__\":true,\"id\":172},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":173},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":174},\"_Fill\":{\"__isSmartRef__\":true,\"id\":175},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"170\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"171\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"172\":{\"x\":454,\"y\":102,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"173\":{\"x\":4,\"y\":2,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"174\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"175\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"176\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"177\":{\"style\":{\"__isSmartRef__\":true,\"id\":178},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":168},\"storedString\":\"no comment\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"178\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"179\":{\"morph\":{\"__isSmartRef__\":true,\"id\":168},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"180\":{\"x\":10,\"y\":260,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"181\":{\"x\":454,\"y\":103,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"182\":{\"x\":351,\"y\":-17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"183\":{\"resizeWidth\":true,\"resizeHeight\":true},\"184\":{\"submorphs\":[],\"scripts\":[],\"id\":\"A5589A0F-6873-4F7B-ACEE-A7C2706973BC\",\"shape\":{\"__isSmartRef__\":true,\"id\":185},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":true,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":191},\"_MaxTextWidth\":114,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":188},\"showsHalos\":false,\"_FontSize\":12,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"Text5\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":192},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":193}],\"charsReplaced\":\"some text \",\"lastFindLoc\":10,\"priorSelectionRange\":[0,4],\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":195},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":196},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":197},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_Padding\":{\"__isSmartRef__\":true,\"id\":198},\"_ClipMode\":\"visible\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"owner\":{\"__isSmartRef__\":true,\"id\":151},\"_MinTextWidth\":114,\"_MinTextHeight\":null,\"previousSelection\":[3,3],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":199},\"isLockOwner\":false,\"isBeingDragged\":false,\"derivationIds\":[2891,\"E101CA30-35F9-42F0-A46C-28671530C787\",\"CE7E7640-C507-43BF-88EF-C4ACE8CCF564\",\"F04823B9-5B0B-4CCA-B8F7-00BD8608ED16\",\"DD4402A8-C90A-4187-92DA-813F59FF86E6\",\"90452494-6B16-4189-8CC1-4EB76FCCCBC9\",\"A1BA43C9-3B13-4744-893E-8B39CEDA44D3\",\"A4DDC2E9-14D8-4DA1-A960-4BB1DF3A45CD\",\"97027388-2CC6-4B87-880F-D9048C0EAB5A\",\"97A71E75-471E-4C94-879E-0ECD50A4DA7D\",\"B952E46A-0593-4861-A364-746D14830709\",\"CFEB54E4-C6B5-4DEC-9C82-93FEC6192DF8\",\"8F33B7B6-1D97-4422-9D4C-562576803FAE\",\"EE6FBA69-D693-41BD-A1D6-7852A30ADE28\",\"D0A85886-302D-46FB-8139-F28D0A45D0E2\"],\"layout\":{\"__isSmartRef__\":true,\"id\":200},\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"185\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":186},\"_Extent\":{\"__isSmartRef__\":true,\"id\":187},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":188},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":189},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":190},\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"186\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"187\":{\"x\":114,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"188\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"189\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"190\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"191\":{\"x\":10,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"192\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":4,\"comment\":\"a simple text morph\",\"partName\":\"Text\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"193\":{\"style\":{\"__isSmartRef__\":true,\"id\":194},\"morph\":{\"__isSmartRef__\":true,\"id\":184},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":184},\"storedString\":\"name\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"194\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"italics\":\"italic\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"195\":{\"x\":114,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"196\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"197\":{\"morph\":{\"__isSmartRef__\":true,\"id\":184},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"198\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"199\":{\"x\":78,\"y\":-3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"200\":{\"moveHorizontal\":false},\"201\":{\"submorphs\":[],\"scripts\":[],\"id\":\"0D191BF2-AA67-4F93-94C2-A719DA9CC670\",\"shape\":{\"__isSmartRef__\":true,\"id\":202},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":true,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":208},\"_MaxTextWidth\":250,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":205},\"showsHalos\":false,\"_FontSize\":12,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"Text6\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":209},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":210}],\"charsReplaced\":\"changes\",\"lastFindLoc\":7,\"priorSelectionRange\":[0,14],\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":212},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":213},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":214},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_Padding\":{\"__isSmartRef__\":true,\"id\":215},\"_ClipMode\":\"visible\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"_MinTextWidth\":250,\"_MinTextHeight\":null,\"previousSelection\":[0,14],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":216},\"owner\":{\"__isSmartRef__\":true,\"id\":151},\"isLockOwner\":false,\"derivationIds\":[2892,\"E5DC0070-3EA2-4212-9AA7-E3C865547E5E\",\"809E256F-82F6-4A22-B614-DE8C08FA5970\",\"272C0F9A-E7EF-4ECE-851D-08ACB35EA24D\",\"8AA544F8-6F47-454D-AE18-A264ACDEFA7E\",\"8374F17A-0E7E-4436-931A-1BA6E7CEAB7D\",\"2FA9E6A8-96E0-4B11-B3BE-D625991003B4\",\"EF4AC0A8-BC6A-4E7E-A4A1-838717896172\",\"7E58BFFB-E384-4B68-A4C8-A32E7A93B8FC\",\"BFCA8D00-622E-4E2D-998E-56C8E2DB8351\",\"0DD88B54-97A9-4F81-BEC4-474DB9D20DF5\",\"6400C374-D5C5-4AF3-BDD4-466198D5C4BA\",\"6AB467AF-2289-4696-B2B0-AF36BFC54FDA\",\"1E30FC69-CA06-403F-AE8B-4A12304F1FEB\",\"EB7FBB3F-8989-4980-9DA2-4D10CB466437\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"202\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":203},\"_Extent\":{\"__isSmartRef__\":true,\"id\":204},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":205},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":206},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":207},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"203\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"204\":{\"x\":250,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"205\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"206\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"207\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"208\":{\"x\":10,\"y\":240,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"209\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":4,\"comment\":\"a simple text morph\",\"partName\":\"Text\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"210\":{\"style\":{\"__isSmartRef__\":true,\"id\":211},\"morph\":{\"__isSmartRef__\":true,\"id\":201},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":201},\"storedString\":\"commit message\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"211\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"italics\":\"italic\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"212\":{\"x\":250,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"213\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"214\":{\"morph\":{\"__isSmartRef__\":true,\"id\":201},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"215\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"216\":{\"x\":174,\"y\":-21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"217\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":218},\"id\":\"BD1B8949-BF8B-4B64-A2A5-95E8919FD98B\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":225},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":226}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":228},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":true,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":229},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":230},\"_MaxTextWidth\":250,\"_MinTextWidth\":250,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"isInputLine\":true,\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"showsHalos\":false,\"name\":\"CategoryText\",\"owner\":{\"__isSmartRef__\":true,\"id\":151},\"previousSelection\":[0,14],\"priorSelectionRange\":[5,5],\"charsReplaced\":\"CommitMessageTest1\",\"lastFindLoc\":18,\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":231},\"isLockOwner\":false,\"derivationIds\":[2893,\"FBE4B17F-DC2B-4783-899B-CF1B051F14D9\",\"A2C45BC5-C44B-4AEA-A29E-ADE3DAF08638\",\"640BD984-1AB2-45B8-BCEC-AB32A6199D68\",\"BE2E06DB-4DFC-4628-9FED-8F3E87D18E07\",\"6D28F6C5-8D27-4A2D-A13E-55172343909B\",\"9537F96B-5D0E-47CF-9435-5850919DA5A2\",\"B8516280-8A31-4C9E-A9EF-3C058FB084E5\",\"0A41986D-4F2B-4D8B-8A35-AEB659C5D25A\",\"7A7E3053-DA4F-465C-B558-5138BE382156\",\"7024A970-16E6-4DE1-9BD6-6DC50779F4AA\",\"181F12CB-A2A2-4A98-A3B0-9CAC859DFC66\",\"B6176017-4E7E-463E-82DF-DFC54EB00EC9\",\"2956D5AA-C488-4F2E-AEDF-6D795EEECAB3\",\"DB745EE2-3FE0-42B6-8D29-E2B6215E2B17\"],\"savedTextString\":\"PartsBin/Basic\",\"layout\":{\"__isSmartRef__\":true,\"id\":232},\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"218\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":219},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":220},\"_Extent\":{\"__isSmartRef__\":true,\"id\":221},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":222},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":223},\"_Fill\":{\"__isSmartRef__\":true,\"id\":224},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"219\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"220\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"221\":{\"x\":260,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"222\":{\"x\":4,\"y\":2,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"223\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"224\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"225\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"226\":{\"style\":{\"__isSmartRef__\":true,\"id\":227},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":217},\"storedString\":\"Default\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"227\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"228\":{\"morph\":{\"__isSmartRef__\":true,\"id\":217},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"229\":{\"x\":204,\"y\":50,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"230\":{\"x\":260,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"231\":{\"x\":132,\"y\":-13,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"232\":{\"resizeWidth\":false,\"moveHorizontal\":true},\"233\":{\"submorphs\":[],\"scripts\":[],\"id\":\"037F2BD3-0CFD-4A28-AF42-35D6DEC633C0\",\"shape\":{\"__isSmartRef__\":true,\"id\":234},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":true,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":240},\"_MaxTextWidth\":114,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":237},\"showsHalos\":false,\"_FontSize\":12,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"Text7\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":241},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":242}],\"charsReplaced\":\"name\",\"lastFindLoc\":4,\"priorSelectionRange\":[0,8],\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":244},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":245},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":246},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_Padding\":{\"__isSmartRef__\":true,\"id\":247},\"_ClipMode\":\"visible\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"_MinTextWidth\":114,\"_MinTextHeight\":null,\"previousSelection\":[2,2],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":248},\"owner\":{\"__isSmartRef__\":true,\"id\":151},\"isLockOwner\":false,\"isBeingDragged\":false,\"derivationIds\":[2894,\"75F41AE1-CA7A-48D0-AE2C-7AAF6101B89C\",\"CB87A9FB-0776-4109-BDE0-0E8C61F1626C\",\"954BD4D6-BBF2-4D3C-94CA-21A38F66F449\",\"5C78A757-B050-43F1-B4CF-26CE9CC58B03\",\"A90A2B0B-A1A7-4F19-8FFB-1D98E8CF7BE6\",\"181AA91A-3D90-4322-ACB9-3D707A3994E0\",\"8A6171C0-493C-475F-B974-54B0FE5DD81C\",\"246AA662-2B7A-4ABE-AB30-734548540344\",\"708636F1-5D64-47AD-B72E-1E255924638B\",\"3C7D4704-AD28-4978-B6A1-2646B7BAA9B3\",\"D7754A0E-4F0E-4363-907A-4743D1254104\",\"CBD21E5F-99E6-4DDA-BF27-42D3424DB513\",\"BBA77A6C-FD26-4279-8919-1A8114C6F035\",\"BB158E68-208B-4E62-81D2-9B057CA86DBF\"],\"layout\":{\"__isSmartRef__\":true,\"id\":249},\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"234\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":235},\"_Extent\":{\"__isSmartRef__\":true,\"id\":236},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":237},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":238},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":239},\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"235\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"236\":{\"x\":114,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"237\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"238\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"239\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"240\":{\"x\":205,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"241\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":4,\"comment\":\"a simple text morph\",\"partName\":\"Text\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"242\":{\"style\":{\"__isSmartRef__\":true,\"id\":243},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":233},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"category\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"243\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"italics\":\"italic\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"244\":{\"x\":114,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"245\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"246\":{\"morph\":{\"__isSmartRef__\":true,\"id\":233},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"247\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"248\":{\"x\":87,\"y\":-11,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"249\":{\"moveVertical\":false,\"moveHorizontal\":true},\"250\":{\"submorphs\":[],\"scripts\":[],\"id\":\"BBDFAB6B-53A5-4C6F-BF60-3B29C30AECCF\",\"shape\":{\"__isSmartRef__\":true,\"id\":251},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":true,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":257},\"_MaxTextWidth\":325,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":254},\"showsHalos\":false,\"_FontSize\":12,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"Text8\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":258},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":259}],\"charsReplaced\":\"Publish Object in PartsBin\",\"lastFindLoc\":26,\"priorSelectionRange\":[0,36],\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":261},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":262},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":263},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_Padding\":{\"__isSmartRef__\":true,\"id\":264},\"_ClipMode\":\"visible\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"_MinTextWidth\":325,\"_MinTextHeight\":null,\"previousSelection\":[0,36],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":265},\"owner\":{\"__isSmartRef__\":true,\"id\":151},\"isLockOwner\":false,\"isBeingDragged\":false,\"derivationIds\":[2895,\"3AFBC971-95B4-48C4-888D-22FCBB742090\",\"D0394F71-EBB2-452A-A71F-D172D5B1CAD6\",\"79EDAC74-BD6B-42B1-BBBA-71B07578D1E0\",\"C19A8344-D637-44B7-BB1F-FD0153E5A62B\",\"9C41963E-088E-48CA-9CAA-572564F7CA69\",\"F9411AD0-B890-4EA9-9222-209167943D0D\",\"BF073247-EC88-4664-A2E2-A5E520CFD169\",\"3C9640D6-8AED-4E2A-87F1-8F94D4E9F1B7\",\"01AB4BED-5CFA-4FDE-9D09-535678684FC5\",\"929E4D49-C1D6-4DB2-B2E9-562DE9C7861C\",\"CF0E2CD7-7316-4423-80BC-485A9F57DDBD\",\"62300CE2-71BF-4F7E-AC36-4D3DCEA754B5\",\"4180FEEB-3566-4FAA-BF0A-0F21B049922B\",\"A397C34C-C857-4CF3-8D36-F9C6A51978D7\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"251\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":252},\"_Extent\":{\"__isSmartRef__\":true,\"id\":253},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":254},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":255},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":256},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"252\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"253\":{\"x\":325,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"254\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"255\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"256\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"257\":{\"x\":10,\"y\":10,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"258\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":4,\"comment\":\"a simple text morph\",\"partName\":\"Text\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"259\":{\"style\":{\"__isSmartRef__\":true,\"id\":260},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":250},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"Upload part to the shared repository\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"260\":{\"italics\":\"normal\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"261\":{\"x\":325,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"262\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"263\":{\"morph\":{\"__isSmartRef__\":true,\"id\":250},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"264\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"265\":{\"x\":221,\"y\":-12,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"266\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":267}],\"scripts\":[],\"id\":\"741803B0-4054-48F3-823E-04D50A704085\",\"shape\":{\"__isSmartRef__\":true,\"id\":282},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":286},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":298},\"label\":{\"__isSmartRef__\":true,\"id\":267},\"name\":\"Button\",\"showsHalos\":false,\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":307},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":308}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":344},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":345},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":346},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":347},\"_Position\":{\"__isSmartRef__\":true,\"id\":348},\"owner\":{\"__isSmartRef__\":true,\"id\":151},\"derivationIds\":[2896,\"40384C75-EF01-4AAD-AA1C-A7C19EDB6A0F\",\"21376B8E-78CF-456D-87AA-4D62D86B16D2\",\"E9336A59-C7BF-4C91-88B0-0D0477AA75AE\",\"A5E21E04-05F3-4A15-AAFA-55946EEC5F80\",\"28512033-1B92-4388-B125-1C3DCE6D560F\",\"A7B2B1EE-CD9D-4B35-828A-8F1DE0A24BFC\",\"2E2676E6-1ACE-478E-A54F-49E5754BF3B4\",\"E0DE5483-F457-472E-825E-B6AF8056A1C9\",\"EFBD20B8-E9F6-4777-AA08-A2DA3C8E3E70\",\"D7EF09B6-7888-4F5B-BCEF-E68021A415D6\",\"7FBF982F-F25A-45D8-922E-09822EAC94CE\",\"CBC56727-1E95-4C35-9241-E2876D5B0481\",\"EE9C4AEC-448E-4355-AE9B-D9C3C648F6B4\",\"AAD76550-B8F6-48FF-B41F-B67FB753D845\"],\"layout\":{\"__isSmartRef__\":true,\"id\":349},\"_ClipMode\":\"visible\",\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"267\":{\"submorphs\":[],\"scripts\":[],\"id\":\"E5464D79-8548-4E65-8C48-D9046F121681\",\"shape\":{\"__isSmartRef__\":true,\"id\":268},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":274},\"_MaxTextWidth\":101,\"_MaxTextHeight\":null,\"textStyle\":null,\"padding\":{\"__isSmartRef__\":true,\"id\":275},\"_Padding\":{\"__isSmartRef__\":true,\"id\":276},\"owner\":{\"__isSmartRef__\":true,\"id\":266},\"isLabel\":true,\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"_ClipMode\":\"hidden\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":277},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":278}],\"_Align\":\"center\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":280},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":281},\"_HandStyle\":\"default\",\"_PointerEvents\":\"none\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_MinTextWidth\":101,\"_MinTextHeight\":null,\"derivationIds\":[2897,\"92EB5E70-61BB-4A71-942C-A34A20789B2F\",\"A9C9F9CF-1BAC-4074-A093-4EB0C3C90866\",\"2FE50303-6361-4A70-9BD5-0D8D1C8B5176\",\"D774C172-7EE9-40AE-9949-340BA8EDBD37\",\"9B5186A1-2B8E-406C-B165-05F327435DC2\",\"9D4948C2-2429-4333-8F3D-89BB96D33894\",\"748160AD-0FF7-4E89-9BB5-486870332207\",\"944E6E30-642C-448D-BBFE-03835C34628C\",\"254F8208-565C-4C75-A5F5-00426CEB4B73\",\"501AF004-4601-4260-8B81-C8F07DB46A9D\",\"A8CA8FB2-5C27-4E5A-8EC1-6697FE1FF0DD\",\"8517C0CE-CE66-435A-B522-21B2A78DFEE9\",\"3CA33CEB-8ACD-4C69-A01F-254F6D1DA196\",\"B1DA64A1-C447-44F0-8186-BB6E6E7DF3CB\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"268\":{\"position\":{\"__isSmartRef__\":true,\"id\":269},\"_Extent\":{\"__isSmartRef__\":true,\"id\":270},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":271},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":272},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":273},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"269\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"270\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"271\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"272\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"273\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"274\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"275\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"276\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"277\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"278\":{\"style\":{\"__isSmartRef__\":true,\"id\":279},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":267},\"storedString\":\"cancel\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"279\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"280\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"281\":{\"morph\":{\"__isSmartRef__\":true,\"id\":267},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"282\":{\"position\":{\"__isSmartRef__\":true,\"id\":283},\"_Extent\":{\"__isSmartRef__\":true,\"id\":284},\"_BorderWidth\":1.1840000000000002,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":285},\"_Fill\":{\"__isSmartRef__\":true,\"id\":286},\"_BorderRadius\":5.2,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":296},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":297},\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"283\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"284\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"285\":{\"r\":0.839,\"g\":0.839,\"b\":0.839,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"286\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":287},{\"__isSmartRef__\":true,\"id\":289},{\"__isSmartRef__\":true,\"id\":291},{\"__isSmartRef__\":true,\"id\":293}],\"vector\":{\"__isSmartRef__\":true,\"id\":295},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"287\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":288}},\"288\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"289\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":290}},\"290\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"291\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":292}},\"292\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"293\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":294}},\"294\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"295\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"296\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"297\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"298\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":299},{\"__isSmartRef__\":true,\"id\":301},{\"__isSmartRef__\":true,\"id\":303},{\"__isSmartRef__\":true,\"id\":305}],\"vector\":{\"__isSmartRef__\":true,\"id\":295},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"299\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":300}},\"300\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"301\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":302}},\"302\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"303\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":304}},\"304\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"305\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":306}},\"306\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"307\":{\"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\"},\"308\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":266},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":151},\"targetMethodName\":\"onCancel\",\"visualConnector\":{\"__isSmartRef__\":true,\"id\":309},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"309\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":310}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":325},\"id\":352,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":332},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":333},\"droppingEnabled\":true,\"halosEnabled\":true,\"owner\":null,\"controlPoints\":[{\"__isSmartRef__\":true,\"id\":334},{\"__isSmartRef__\":true,\"id\":335}],\"con\":{\"__isSmartRef__\":true,\"id\":308},\"showsMorphMenu\":true,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":336},\"__LivelyClassName__\":\"lively.morphic.Path\"},\"310\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":311},\"id\":353,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":322},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":323},\"droppingEnabled\":true,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":324},\"owner\":{\"__isSmartRef__\":true,\"id\":309},\"_Rotation\":-2.716760490670451,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.Path\"},\"311\":{\"dontChangeShape\":false,\"cachedVertices\":null,\"_PathElements\":[{\"__isSmartRef__\":true,\"id\":312},{\"__isSmartRef__\":true,\"id\":313},{\"__isSmartRef__\":true,\"id\":314},{\"__isSmartRef__\":true,\"id\":315}],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":316},\"_ClipMode\":\"visible\",\"_Position\":{\"__isSmartRef__\":true,\"id\":317},\"_Extent\":{\"__isSmartRef__\":true,\"id\":318},\"_Padding\":{\"__isSmartRef__\":true,\"id\":319},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":320},\"_Fill\":{\"__isSmartRef__\":true,\"id\":321},\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Path\"},\"312\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.MoveTo\"},\"313\":{\"isAbsolute\":true,\"x\":0,\"y\":12,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"314\":{\"isAbsolute\":true,\"x\":16,\"y\":6,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"315\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"316\":{\"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\"},\"317\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"318\":{\"x\":16,\"y\":12,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"319\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"320\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"321\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"322\":{\"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\"},\"323\":{\"morph\":{\"__isSmartRef__\":true,\"id\":310},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"324\":{\"x\":0.5,\"y\":0.5,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"325\":{\"dontChangeShape\":false,\"cachedVertices\":null,\"_PathElements\":[{\"__isSmartRef__\":true,\"id\":326},{\"__isSmartRef__\":true,\"id\":327}],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":328},\"_ClipMode\":\"visible\",\"_Position\":{\"__isSmartRef__\":true,\"id\":329},\"_Extent\":{\"__isSmartRef__\":true,\"id\":330},\"_Padding\":{\"__isSmartRef__\":true,\"id\":331},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":320},\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Path\"},\"326\":{\"isAbsolute\":true,\"x\":420,\"y\":190,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.MoveTo\"},\"327\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"328\":{\"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\"},\"329\":{\"x\":-0.5,\"y\":-0.5,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"330\":{\"x\":421,\"y\":191,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"331\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"332\":{\"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\"},\"333\":{\"morph\":{\"__isSmartRef__\":true,\"id\":309},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"334\":{\"morph\":{\"__isSmartRef__\":true,\"id\":309},\"index\":0,\"connectedMagnet\":null,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.ControlPoint\"},\"335\":{\"morph\":{\"__isSmartRef__\":true,\"id\":309},\"index\":1,\"connectedMagnet\":null,\"marker\":{\"__isSmartRef__\":true,\"id\":310},\"markerDirection\":\"prev\",\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.ControlPoint\"},\"336\":{\"morphMenuItems\":{\"__isSmartRef__\":true,\"id\":337}},\"337\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":338},\"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\":343},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"338\":{\"this\":{\"__isSmartRef__\":true,\"id\":309},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":339}},\"339\":{\"$super\":{\"__isSmartRef__\":true,\"id\":340}},\"340\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":341},\"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\":342},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"341\":{\"obj\":{\"__isSmartRef__\":true,\"id\":309},\"name\":\"morphMenuItems\"},\"342\":{},\"343\":{},\"344\":{\"x\":101,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"345\":{\"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\"},\"346\":{\"morph\":{\"__isSmartRef__\":true,\"id\":266},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"347\":{\"x\":77,\"y\":-5,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"348\":{\"x\":355,\"y\":378,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"349\":{\"moveVertical\":true,\"moveHorizontal\":true},\"350\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":351}],\"scripts\":[],\"id\":\"6F234AFA-11CA-48C1-841A-536E5A48FE21\",\"shape\":{\"__isSmartRef__\":true,\"id\":366},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":370},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":382},\"label\":{\"__isSmartRef__\":true,\"id\":351},\"name\":\"Button1\",\"showsHalos\":false,\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":391},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":392}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":427},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":428},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":429},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":430},\"_Position\":{\"__isSmartRef__\":true,\"id\":431},\"owner\":{\"__isSmartRef__\":true,\"id\":151},\"derivationIds\":[2898,\"9D27A522-4E3D-482F-97CF-3CA3247A3999\",\"4EBF07AD-25C0-4034-BC06-31F137F70FA1\",\"DC6D6B8E-37AE-4815-A81A-AC7071124A26\",\"42DF6D49-8482-40A3-B901-512013BB5C75\",\"0D3EB4E1-46E7-4B1E-8273-6432575F84B5\",\"733427E4-0BB2-4FB7-917C-4A3D98C50589\",\"001872CD-CE26-4A7A-AB1F-3EFF5AC6D6A3\",\"2FFB821F-9334-4125-8541-31C21E305B78\",\"A3635A2F-B9AE-4CAA-A07F-76E90A2AF718\",\"ACE7DD81-434E-40D4-A12D-CB728F4CFA61\",\"15D1D871-417C-444D-B7E7-4556C755A914\",\"AEC9FEB8-505A-4D19-9C25-747D78D04F17\",\"38C38B49-0343-41FA-BC14-2FAF64266DB0\",\"55C4703F-8F22-4BB7-A09A-4186B8A404F2\"],\"layout\":{\"__isSmartRef__\":true,\"id\":432},\"_ClipMode\":\"visible\",\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"351\":{\"submorphs\":[],\"scripts\":[],\"id\":\"34136BAA-3143-44E9-AA72-B7030E66E400\",\"shape\":{\"__isSmartRef__\":true,\"id\":352},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":358},\"_MaxTextWidth\":101,\"_MaxTextHeight\":null,\"textStyle\":null,\"padding\":{\"__isSmartRef__\":true,\"id\":359},\"_Padding\":{\"__isSmartRef__\":true,\"id\":360},\"owner\":{\"__isSmartRef__\":true,\"id\":350},\"isLabel\":true,\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"_ClipMode\":\"hidden\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":361},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":362}],\"_Align\":\"center\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":364},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":365},\"_HandStyle\":\"default\",\"_PointerEvents\":\"none\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_MinTextWidth\":101,\"_MinTextHeight\":null,\"derivationIds\":[2899,\"4F00D1F5-B85C-479E-BDDE-322DF2F432A3\",\"5E7BC7AC-9EF9-4CF5-9196-A542A26534CA\",\"46616896-CA46-4B43-B694-9FB001B32989\",\"F73D407C-A72D-414B-AB8D-1E28025BCA1C\",\"C5B395F9-BF24-4FA7-87D3-03E9AE9C4E45\",\"ECEC7694-EF15-4DE7-A847-9DB2D4B99B3C\",\"AE0EC189-A810-44FB-948F-F8667AF67929\",\"CC950242-2CF1-48D3-B3C3-EF03073D145F\",\"181712FB-04E9-40DA-ABEF-E711AC15A136\",\"08CA5C5C-AAE0-4E6D-BFA4-04C9735965CC\",\"F06603E2-E026-4DB9-B64F-71C0F6BE4CAA\",\"5F5EDDF1-7355-4EE9-8286-9B0FC87B4A34\",\"79E77E86-9ABD-4417-A260-E0CAABA3925E\",\"11030354-936E-4E5D-BEB5-643D96C0CE06\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"352\":{\"position\":{\"__isSmartRef__\":true,\"id\":353},\"_Extent\":{\"__isSmartRef__\":true,\"id\":354},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":355},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":356},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":357},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"353\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"354\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"355\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"356\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"357\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"358\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"359\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"360\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"361\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"362\":{\"style\":{\"__isSmartRef__\":true,\"id\":363},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":351},\"storedString\":\"publish\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"363\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"364\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"365\":{\"morph\":{\"__isSmartRef__\":true,\"id\":351},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"366\":{\"position\":{\"__isSmartRef__\":true,\"id\":367},\"_Extent\":{\"__isSmartRef__\":true,\"id\":368},\"_BorderWidth\":1.1840000000000002,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":369},\"_Fill\":{\"__isSmartRef__\":true,\"id\":370},\"_BorderRadius\":5.2,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":380},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":381},\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"367\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"368\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"369\":{\"r\":0.839,\"g\":0.839,\"b\":0.839,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"370\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":371},{\"__isSmartRef__\":true,\"id\":373},{\"__isSmartRef__\":true,\"id\":375},{\"__isSmartRef__\":true,\"id\":377}],\"vector\":{\"__isSmartRef__\":true,\"id\":379},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"371\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":372}},\"372\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"373\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":374}},\"374\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"375\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":376}},\"376\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"377\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":378}},\"378\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"379\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"380\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"381\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"382\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":383},{\"__isSmartRef__\":true,\"id\":385},{\"__isSmartRef__\":true,\"id\":387},{\"__isSmartRef__\":true,\"id\":389}],\"vector\":{\"__isSmartRef__\":true,\"id\":379},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"383\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":384}},\"384\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"385\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":386}},\"386\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"387\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":388}},\"388\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"389\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":390}},\"390\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"391\":{\"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\"},\"392\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":350},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":151},\"targetMethodName\":\"onPublish\",\"visualConnector\":{\"__isSmartRef__\":true,\"id\":393},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"393\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":394}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":408},\"id\":139,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":415},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":416},\"droppingEnabled\":true,\"halosEnabled\":true,\"owner\":null,\"controlPoints\":[{\"__isSmartRef__\":true,\"id\":417},{\"__isSmartRef__\":true,\"id\":418}],\"con\":{\"__isSmartRef__\":true,\"id\":392},\"showsMorphMenu\":true,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":419},\"__LivelyClassName__\":\"lively.morphic.Path\"},\"394\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":395},\"id\":140,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":405},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":406},\"droppingEnabled\":true,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":407},\"owner\":{\"__isSmartRef__\":true,\"id\":393},\"_Rotation\":-2.5917394709132084,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.Path\"},\"395\":{\"dontChangeShape\":false,\"cachedVertices\":null,\"_PathElements\":[{\"__isSmartRef__\":true,\"id\":396},{\"__isSmartRef__\":true,\"id\":397},{\"__isSmartRef__\":true,\"id\":398},{\"__isSmartRef__\":true,\"id\":399}],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":400},\"_ClipMode\":\"visible\",\"_Position\":{\"__isSmartRef__\":true,\"id\":401},\"_Extent\":{\"__isSmartRef__\":true,\"id\":402},\"_Padding\":{\"__isSmartRef__\":true,\"id\":403},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":320},\"_Fill\":{\"__isSmartRef__\":true,\"id\":404},\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Path\"},\"396\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.MoveTo\"},\"397\":{\"isAbsolute\":true,\"x\":0,\"y\":12,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"398\":{\"isAbsolute\":true,\"x\":16,\"y\":6,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"399\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"400\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\",\"getPathNode\":\"getPathNodeHTML\",\"setPathElements\":\"setPathElementsHTML\",\"getPathBounds\":\"getPathBoundsHTML\",\"getTotalLength\":\"getTotalLengthHTML\",\"getPointAtTotalLength\":\"getPointAtTotalLengthHTML\"},\"401\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"402\":{\"x\":16,\"y\":12,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"403\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"404\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"405\":{\"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\"},\"406\":{\"morph\":{\"__isSmartRef__\":true,\"id\":394},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"407\":{\"x\":0.5,\"y\":0.5,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"408\":{\"dontChangeShape\":false,\"cachedVertices\":null,\"_PathElements\":[{\"__isSmartRef__\":true,\"id\":409},{\"__isSmartRef__\":true,\"id\":410}],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":411},\"_ClipMode\":\"visible\",\"_Position\":{\"__isSmartRef__\":true,\"id\":412},\"_Extent\":{\"__isSmartRef__\":true,\"id\":413},\"_Padding\":{\"__isSmartRef__\":true,\"id\":414},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":320},\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Path\"},\"409\":{\"isAbsolute\":true,\"x\":310,\"y\":190,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.MoveTo\"},\"410\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"411\":{\"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\"},\"412\":{\"x\":-0.5,\"y\":-0.5,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"413\":{\"x\":311,\"y\":191,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"414\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"415\":{\"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\"},\"416\":{\"morph\":{\"__isSmartRef__\":true,\"id\":393},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"417\":{\"morph\":{\"__isSmartRef__\":true,\"id\":393},\"index\":0,\"connectedMagnet\":null,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.ControlPoint\"},\"418\":{\"morph\":{\"__isSmartRef__\":true,\"id\":393},\"index\":1,\"connectedMagnet\":null,\"marker\":{\"__isSmartRef__\":true,\"id\":394},\"markerDirection\":\"prev\",\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.ControlPoint\"},\"419\":{\"morphMenuItems\":{\"__isSmartRef__\":true,\"id\":420}},\"420\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":421},\"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\":426},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"421\":{\"this\":{\"__isSmartRef__\":true,\"id\":393},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":422}},\"422\":{\"$super\":{\"__isSmartRef__\":true,\"id\":423}},\"423\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":424},\"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\":425},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"424\":{\"obj\":{\"__isSmartRef__\":true,\"id\":393},\"name\":\"morphMenuItems\"},\"425\":{},\"426\":{},\"427\":{\"x\":101,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"428\":{\"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\"},\"429\":{\"morph\":{\"__isSmartRef__\":true,\"id\":350},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"430\":{\"x\":62,\"y\":-12,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"431\":{\"x\":245,\"y\":378,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"432\":{\"moveVertical\":true,\"moveHorizontal\":true},\"433\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":434},\"id\":\"5D4C09DA-AAFB-4330-8646-23901C1FDB84\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":441},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":442}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":444},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":true,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":445},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":446},\"_MaxTextWidth\":445,\"_MinTextWidth\":445,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"isInputLine\":true,\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"showsHalos\":false,\"name\":\"CommentText\",\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":447},\"previousSelection\":[0,46],\"priorSelectionRange\":[0,0],\"charsReplaced\":\"CommitMessageTest1\",\"lastFindLoc\":18,\"isLockOwner\":false,\"isBeingDragged\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":151},\"derivationIds\":[2900,\"7E82C349-9FC9-48B5-B84C-30E99FC40DF2\",\"A07EAFD3-B03B-4E4C-BC72-FB29F65F543A\",\"888FB55C-0365-4B40-A9B4-33FD19FA1E91\",\"37AE3F7E-8AF9-413E-BDB9-796C3CE0C0A6\",\"C19CF401-2869-429B-8C7E-3679F2C07B10\",\"16D31632-3C1B-4388-9753-E178F4D74EC3\",\"CE8B7F8B-0B5D-4A03-AFA0-CB5E4A9EE815\",\"A0B7AE1E-340F-4786-A906-37B5D92B955E\",\"6FB3DD7F-E27E-4C14-B6A7-87EE557243E3\",\"8C9DC597-8FB3-409F-9F92-43E22D1EE113\",\"96E19549-1C58-47D1-AABB-06F24696272A\",\"20261F28-5D7A-4D9C-9F1F-79FC901C5E5F\",\"9596C6D2-BEBD-47B3-B8A0-CD4AEBEF927D\",\"420AC273-AA29-49EC-A1C7-C0E272006666\"],\"savedTextString\":\"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!\",\"layout\":{\"__isSmartRef__\":true,\"id\":448},\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"434\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":435},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":436},\"_Extent\":{\"__isSmartRef__\":true,\"id\":437},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":438},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":439},\"_Fill\":{\"__isSmartRef__\":true,\"id\":440},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"435\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"436\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"437\":{\"x\":455,\"y\":120,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"438\":{\"x\":4,\"y\":2,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"439\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"440\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"441\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"442\":{\"style\":{\"__isSmartRef__\":true,\"id\":443},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":433},\"storedString\":\"no comment\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"443\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"444\":{\"morph\":{\"__isSmartRef__\":true,\"id\":433},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"445\":{\"x\":10,\"y\":110,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"446\":{\"x\":455,\"y\":120,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"447\":{\"x\":346,\"y\":-16,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"448\":{\"resizeWidth\":true},\"449\":{\"submorphs\":[],\"scripts\":[],\"id\":\"08ABC4D8-386F-404A-AB0C-E90DC2E84DC0\",\"shape\":{\"__isSmartRef__\":true,\"id\":450},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":true,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":456},\"_MaxTextWidth\":250,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":453},\"showsHalos\":false,\"_FontSize\":12,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"Text9\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":457},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":458}],\"charsReplaced\":\"commit message\",\"lastFindLoc\":14,\"priorSelectionRange\":[0,14],\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":460},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":461},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":462},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_Padding\":{\"__isSmartRef__\":true,\"id\":463},\"_ClipMode\":\"visible\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"_MinTextWidth\":250,\"_MinTextHeight\":null,\"previousSelection\":[0,6],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":464},\"isLockOwner\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":151},\"derivationIds\":[2901,\"8E267E15-1052-4F9C-B863-B733384EF1DA\",\"851C46B4-347F-4AE4-9C04-C321E7CC8EA5\",\"D33CE057-77D6-4CCC-90F9-867C622B3572\",\"F9BFA4FE-D786-4384-B9F8-89EEA1D41685\",\"95D3D9C3-CA8D-42A5-833B-30E01D630A4A\",\"9FC24DFC-050E-423E-A017-2D5704509876\",\"1EF71F38-5BCB-4C26-AB60-E2105330181C\",\"7D191F0F-E475-47CF-BABE-55A543C7158D\",\"F6ACFDD6-981C-4170-82C4-1AA9C3090741\",\"092A05B9-0347-411B-8E2A-89272FF7A531\",\"ABE15D91-8819-412F-9FAA-FC6A2F8AD14A\",\"1F266812-1C31-4C6F-9676-B9E59DEA4864\",\"F99A2F51-81DC-4D7F-93A2-84EFBFBC119F\",\"7C9D55B3-6BFC-4DE2-B574-F4A3A11ECF00\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"450\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":451},\"_Extent\":{\"__isSmartRef__\":true,\"id\":452},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":453},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":454},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":455},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"451\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"452\":{\"x\":250,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"453\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"454\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"455\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"456\":{\"x\":10,\"y\":90,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"457\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":4,\"comment\":\"a simple text morph\",\"partName\":\"Text\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"458\":{\"style\":{\"__isSmartRef__\":true,\"id\":459},\"morph\":{\"__isSmartRef__\":true,\"id\":449},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":449},\"storedString\":\"comment\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"459\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"italics\":\"italic\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"460\":{\"x\":250,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"461\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"462\":{\"morph\":{\"__isSmartRef__\":true,\"id\":449},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"463\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"464\":{\"x\":163,\"y\":-17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"465\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":466}],\"scripts\":[],\"id\":\"9E97E660-33C2-4D79-9407-0794A939EBC2\",\"shape\":{\"__isSmartRef__\":true,\"id\":481},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":485},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":497},\"label\":{\"__isSmartRef__\":true,\"id\":466},\"name\":\"DiffButton\",\"showsHalos\":false,\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":506},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":507}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":509},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":510},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":511},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":512},\"_Position\":{\"__isSmartRef__\":true,\"id\":513},\"derivationIds\":[2898,\"9D27A522-4E3D-482F-97CF-3CA3247A3999\",\"4EBF07AD-25C0-4034-BC06-31F137F70FA1\",\"DC6D6B8E-37AE-4815-A81A-AC7071124A26\",\"42DF6D49-8482-40A3-B901-512013BB5C75\",\"132901B3-F9F2-482D-99E6-40EAECDCEF13\",\"7BC760E1-232D-4654-8D89-3E2AF9B63E8A\",\"10CF8C2D-EC10-4718-9BB8-A4D765C25CA2\",\"E1457927-6D7F-4C43-A0D3-4606E937C36C\",\"B2BCD5A8-36BB-4202-B2F1-480CA22D151C\",\"16C66256-7472-4B33-A3FC-D41E1123E484\",\"9D6EC181-02A4-4AA3-9511-97B61299072E\",\"514B5C5C-2E93-4CD5-913F-C4210C8D3803\",\"A4836A2F-5B4D-4F0C-BA65-6DF7DB4D4262\",\"DD94CDA9-6F9F-4B4F-9D75-C57314BFD093\",\"AB91D3DA-E1FA-400A-813B-C9670264E72F\"],\"owner\":{\"__isSmartRef__\":true,\"id\":151},\"layout\":{\"__isSmartRef__\":true,\"id\":514},\"_ClipMode\":\"visible\",\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"466\":{\"submorphs\":[],\"scripts\":[],\"id\":\"D81DC308-8273-4F17-A7C0-849953D6454B\",\"shape\":{\"__isSmartRef__\":true,\"id\":467},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":473},\"_MaxTextWidth\":150,\"_MaxTextHeight\":null,\"textStyle\":null,\"padding\":{\"__isSmartRef__\":true,\"id\":474},\"_Padding\":{\"__isSmartRef__\":true,\"id\":475},\"owner\":{\"__isSmartRef__\":true,\"id\":465},\"isLabel\":true,\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"_ClipMode\":\"hidden\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":476},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":477}],\"_Align\":\"center\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":479},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":480},\"_HandStyle\":\"default\",\"_PointerEvents\":\"none\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_MinTextWidth\":150,\"_MinTextHeight\":null,\"derivationIds\":[2899,\"4F00D1F5-B85C-479E-BDDE-322DF2F432A3\",\"5E7BC7AC-9EF9-4CF5-9196-A542A26534CA\",\"46616896-CA46-4B43-B694-9FB001B32989\",\"F73D407C-A72D-414B-AB8D-1E28025BCA1C\",\"E34F55EC-06D3-4965-A0D2-625CA896E3B7\",\"2C75B823-DD52-427F-A501-B824B4C4AFFF\",\"B4D1CBE5-9DEA-4728-8803-CCD541086497\",\"6E0FBCF8-EAA4-4635-A092-F3A690EE9EF7\",\"89A9C61E-62E5-4DC5-9ABB-48A97517BF54\",\"7481FBBB-A4A7-4F5E-A153-60033229DE49\",\"FEBD2158-DF74-4EDF-BD2A-2C5A19DDF177\",\"129B298F-732B-46E2-AB44-60B8E8AC2378\",\"92CFB2AD-D63D-4DD7-A729-6D0962A7C5FC\",\"BC6FB6FB-EF63-4C39-9668-0462E42556C2\",\"8BE2159A-9EB3-44EC-8BAD-0CF297F58645\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"467\":{\"position\":{\"__isSmartRef__\":true,\"id\":468},\"_Extent\":{\"__isSmartRef__\":true,\"id\":469},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":470},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":471},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":472},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"468\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"469\":{\"x\":150,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"470\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"471\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"472\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"473\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"474\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"475\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"476\":{\"x\":150,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"477\":{\"style\":{\"__isSmartRef__\":true,\"id\":478},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":466},\"storedString\":\"check for updates\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"478\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"479\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"480\":{\"morph\":{\"__isSmartRef__\":true,\"id\":466},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"481\":{\"position\":{\"__isSmartRef__\":true,\"id\":482},\"_Extent\":{\"__isSmartRef__\":true,\"id\":483},\"_BorderWidth\":1.1840000000000002,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":484},\"_Fill\":{\"__isSmartRef__\":true,\"id\":485},\"_BorderRadius\":5.2,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":495},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":496},\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"482\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"483\":{\"x\":150,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"484\":{\"r\":0.839,\"g\":0.839,\"b\":0.839,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"485\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":486},{\"__isSmartRef__\":true,\"id\":488},{\"__isSmartRef__\":true,\"id\":490},{\"__isSmartRef__\":true,\"id\":492}],\"vector\":{\"__isSmartRef__\":true,\"id\":494},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"486\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":487}},\"487\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"488\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":489}},\"489\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"490\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":491}},\"491\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"492\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":493}},\"493\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"494\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"495\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"496\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"497\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":498},{\"__isSmartRef__\":true,\"id\":500},{\"__isSmartRef__\":true,\"id\":502},{\"__isSmartRef__\":true,\"id\":504}],\"vector\":{\"__isSmartRef__\":true,\"id\":494},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"498\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":499}},\"499\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"500\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":501}},\"501\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"502\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":503}},\"503\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"504\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":505}},\"505\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"506\":{\"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\"},\"507\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":465},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":151},\"targetMethodName\":\"checkForUpdates\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":508},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"508\":{\"source\":{\"__isSmartRef__\":true,\"id\":465},\"target\":{\"__isSmartRef__\":true,\"id\":151}},\"509\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"510\":{\"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\"},\"511\":{\"morph\":{\"__isSmartRef__\":true,\"id\":465},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"512\":{\"x\":69.5,\"y\":-18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"513\":{\"x\":10,\"y\":378,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"514\":{\"moveVertical\":true},\"515\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":516},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":517},\"_Extent\":{\"__isSmartRef__\":true,\"id\":518},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":519},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":520},\"_Fill\":{\"__isSmartRef__\":true,\"id\":521},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"516\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"517\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"518\":{\"x\":479,\"y\":415,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"519\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"520\":{\"r\":0.372,\"g\":0.369,\"b\":0.372,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"521\":{\"r\":0.8235294117647058,\"g\":0.8235294117647058,\"b\":0.8235294117647058,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"522\":{\"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\"},\"523\":{\"morph\":{\"__isSmartRef__\":true,\"id\":151},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"524\":{\"adjustForNewBounds\":true,\"resizeWidth\":true,\"resizeHeight\":true},\"525\":{\"message\":\"Please enter a name for the part\",\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":526}],\"doNotSerialize\":[\"$$result\"],\"doNotCopyProperties\":[\"$$result\"],\"defaultInput\":\"CommitMessageTest1\",\"panel\":{\"__isSmartRef__\":true,\"id\":151},\"label\":{\"__isSmartRef__\":true,\"id\":527},\"cancelButton\":{\"__isSmartRef__\":true,\"id\":539},\"okButton\":{\"__isSmartRef__\":true,\"id\":585},\"inputText\":{\"__isSmartRef__\":true,\"id\":152},\"view\":{\"__isSmartRef__\":true,\"id\":151},\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"result\":\"CommitMessageTest1\",\"__LivelyClassName__\":\"lively.morphic.PromptDialog\"},\"526\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":525},\"sourceAttrName\":\"result\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":525},\"targetMethodName\":\"triggerCallback\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"527\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":528},\"id\":3220,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":533},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":534}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":536},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":false,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":537},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":538},\"_MaxTextWidth\":null,\"_MinTextWidth\":null,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":null,\"isLabel\":true,\"_HandStyle\":\"default\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"showsHalos\":false,\"isCopyMorphRef\":true,\"morphRefId\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"528\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":529},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":530},\"_Extent\":{\"__isSmartRef__\":true,\"id\":531},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":157},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":158},\"_Fill\":{\"__isSmartRef__\":true,\"id\":532},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"529\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"530\":{\"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\"},\"531\":{\"x\":226,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"532\":{\"r\":1,\"g\":1,\"b\":1,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"533\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"534\":{\"style\":{\"__isSmartRef__\":true,\"id\":535},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":527},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"535\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"536\":{\"morph\":{\"__isSmartRef__\":true,\"id\":527},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"537\":{\"x\":4,\"y\":4,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"538\":{\"x\":226,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"539\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":540},\"id\":6793,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":556},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":557},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":558},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":559},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":546},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":560},\"label\":{\"__isSmartRef__\":true,\"id\":569},\"layout\":{\"__isSmartRef__\":true,\"id\":581},\"owner\":null,\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":582},{\"__isSmartRef__\":true,\"id\":583}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"isCopyMorphRef\":true,\"morphRefId\":1,\"isLockOwner\":false,\"showsHalos\":false,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"540\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":541},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":542},\"_Extent\":{\"__isSmartRef__\":true,\"id\":543},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":544},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":545},\"_Fill\":{\"__isSmartRef__\":true,\"id\":546},\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"541\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"542\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"543\":{\"x\":60,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"544\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"545\":{\"r\":0.7411764705882353,\"g\":0.7450980392156863,\"b\":0.7529411764705882,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"546\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":547},{\"__isSmartRef__\":true,\"id\":549},{\"__isSmartRef__\":true,\"id\":551},{\"__isSmartRef__\":true,\"id\":553}],\"vector\":{\"__isSmartRef__\":true,\"id\":555},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"547\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":548}},\"548\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"549\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":550}},\"550\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"551\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":552}},\"552\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"553\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":554}},\"554\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"555\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"556\":{\"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\"},\"557\":{\"morph\":{\"__isSmartRef__\":true,\"id\":539},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"558\":{\"x\":478,\"y\":187,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"559\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"560\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":561},{\"__isSmartRef__\":true,\"id\":563},{\"__isSmartRef__\":true,\"id\":565},{\"__isSmartRef__\":true,\"id\":567}],\"vector\":{\"__isSmartRef__\":true,\"id\":555},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"561\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":562}},\"562\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"563\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":564}},\"564\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"565\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":566}},\"566\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"567\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":568}},\"568\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"569\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":570},\"id\":6794,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":575},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":576}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":578},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":579},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":580},\"_MaxTextWidth\":60,\"_MinTextWidth\":60,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":null,\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"isLockOwner\":false,\"showsHalos\":false,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"570\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":571},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":572},\"_Extent\":{\"__isSmartRef__\":true,\"id\":573},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":574},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":158},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"571\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"572\":{\"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\"},\"573\":{\"x\":60,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"574\":{\"x\":0,\"y\":6,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"575\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"576\":{\"style\":{\"__isSmartRef__\":true,\"id\":577},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":569},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"577\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"578\":{\"morph\":{\"__isSmartRef__\":true,\"id\":569},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"579\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"580\":{\"x\":60,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"581\":{\"moveVertical\":true,\"moveHorizontal\":true},\"582\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":539},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":525},\"targetMethodName\":\"removeTopLevel\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"583\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":539},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":525},\"targetMethodName\":\"result\",\"converter\":null,\"converterString\":\"function () { return null }\",\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":584},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"584\":{\"source\":{\"__isSmartRef__\":true,\"id\":539},\"target\":{\"__isSmartRef__\":true,\"id\":525}},\"585\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":586},\"id\":6795,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":591},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":592},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":593},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":594},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":546},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":595},\"label\":{\"__isSmartRef__\":true,\"id\":604},\"layout\":{\"__isSmartRef__\":true,\"id\":616},\"owner\":null,\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":617},{\"__isSmartRef__\":true,\"id\":618}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"isCopyMorphRef\":true,\"morphRefId\":2,\"isLockOwner\":false,\"showsHalos\":false,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"586\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":587},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":588},\"_Extent\":{\"__isSmartRef__\":true,\"id\":589},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":590},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":545},\"_Fill\":{\"__isSmartRef__\":true,\"id\":546},\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"587\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"588\":{\"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\"},\"589\":{\"x\":60,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"590\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"591\":{\"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\"},\"592\":{\"morph\":{\"__isSmartRef__\":true,\"id\":585},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"593\":{\"x\":414,\"y\":187,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"594\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"595\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":596},{\"__isSmartRef__\":true,\"id\":598},{\"__isSmartRef__\":true,\"id\":600},{\"__isSmartRef__\":true,\"id\":602}],\"vector\":{\"__isSmartRef__\":true,\"id\":555},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"596\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":597}},\"597\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"598\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":599}},\"599\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"600\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":601}},\"601\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"602\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":603}},\"603\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"604\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":605},\"id\":6796,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":610},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":611}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":613},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":614},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":615},\"_MaxTextWidth\":60,\"_MinTextWidth\":60,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":null,\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"isLockOwner\":false,\"showsHalos\":false,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"605\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":606},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":607},\"_Extent\":{\"__isSmartRef__\":true,\"id\":608},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":609},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":158},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"606\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"607\":{\"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\"},\"608\":{\"x\":60,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"609\":{\"x\":0,\"y\":6,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"610\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"611\":{\"style\":{\"__isSmartRef__\":true,\"id\":612},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":604},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"612\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"613\":{\"morph\":{\"__isSmartRef__\":true,\"id\":604},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"614\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"615\":{\"x\":60,\"y\":30,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"616\":{\"moveVertical\":true,\"moveHorizontal\":true},\"617\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":585},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":525},\"targetMethodName\":\"removeTopLevel\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"618\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":585},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":152},\"targetMethodName\":\"doSave\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"619\":{\"x\":479,\"y\":415,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"620\":{\"x\":365,\"y\":-16,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"621\":{\"x\":0,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"622\":{\"partName\":\"PublishPartPanePane\",\"requiredModules\":[],\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"623\":{\"copyToPartsBin\":{\"__isSmartRef__\":true,\"id\":624},\"onPublish\":{\"__isSmartRef__\":true,\"id\":632},\"onCancel\":{\"__isSmartRef__\":true,\"id\":636},\"setTarget\":{\"__isSmartRef__\":true,\"id\":640},\"reset\":{\"__isSmartRef__\":true,\"id\":644},\"showDiff\":{\"__isSmartRef__\":true,\"id\":648},\"checkForUpdates\":{\"__isSmartRef__\":true,\"id\":652},\"askForDiffViewer\":{\"__isSmartRef__\":true,\"id\":656},\"onRemove\":{\"__isSmartRef__\":true,\"id\":660}},\"624\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":625},\"source\":\"function copyToPartsBin(morph) {\\n var name = this.get('NameText').textString\\n\\n var info = morph.getPartsBinMetaInfo();\\n morph.setName(name);\\n\\n info.partsSpaceName = this.get('CategoryText').textString\\n info.comment = this.get('CommentText').textString\\n\\n if (! info.changes) info.changes = [];\\n var change = { \\n date: new Date(), \\n author: this.world().getUserName(), \\n message: this.get('CommitMessageText').textString,\\n id: Strings.newUUID()\\n }\\n info.changes.push(change) \\n\\n morph.copyToPartsBin();\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":630},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"625\":{\"this\":{\"__isSmartRef__\":true,\"id\":151},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":626}},\"626\":{\"$super\":{\"__isSmartRef__\":true,\"id\":627}},\"627\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":628},\"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\":629},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"628\":{\"obj\":{\"__isSmartRef__\":true,\"id\":151},\"name\":\"copyToPartsBin\"},\"629\":{},\"630\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":631},\"user\":\"jenslincke\",\"tags\":[]},\"631\":{\"isSerializedDate\":true,\"string\":\"Fri Oct 28 2011 15:13:21 GMT+0200 (CEST)\"},\"632\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":633},\"source\":\"function onPublish() {\\n if (!this.target) alert(\\\"No target to upload\\\");\\n this.copyToPartsBin(this.target);\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":634},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"633\":{\"this\":{\"__isSmartRef__\":true,\"id\":151}},\"634\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":635},\"user\":\"undefined\",\"tags\":[]},\"635\":{\"isSerializedDate\":true,\"string\":\"Thu Mar 29 2012 15:46:31 GMT+0200 (CEST)\"},\"636\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":637},\"source\":\"function onCancel() {\\n alertOK(\\\"cancel upload \\\") \\n this.owner.remove()\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":638},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"637\":{\"this\":{\"__isSmartRef__\":true,\"id\":151}},\"638\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":639},\"user\":\"jenslincke\",\"tags\":[]},\"639\":{\"isSerializedDate\":true,\"string\":\"Wed Oct 19 2011 14:52:17 GMT+0200 (CEST)\"},\"640\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":641},\"source\":\"function setTarget(morph) {\\n this.target = morph \\n if (!morph) {\\n this.get('NameText').textString = 'Anonymous';\\n this.get('CategoryText').textString = 'Default';\\n this.get('CommentText').textString = 'no comment'; \\n this.get('CommitMessageText').textString = 'no comment' \\n return\\n }\\n var info = this.target.getPartsBinMetaInfo();\\n this.get('NameText').textString = info.partName || morph.getName();\\n if (info.partsSpaceName) this.get('CategoryText').textString = info.partsSpaceName;\\n if (info.comment) this.get('CommentText').textString = info.comment; \\n\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":642},\"__LivelyClassName__\":\"lively.Closure\",\"__SourceModuleName__\":\"Global.lively.lang.Closure\"},\"641\":{\"this\":{\"__isSmartRef__\":true,\"id\":151}},\"642\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":643},\"user\":\"jenslincke\",\"tags\":[]},\"643\":{\"isSerializedDate\":true,\"string\":\"Fri Apr 20 2012 11:59:07 GMT+0200 (CEST)\"},\"644\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":645},\"source\":\"function reset() {\\n this.setTarget(null)\\n \\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":646},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"645\":{\"this\":{\"__isSmartRef__\":true,\"id\":151}},\"646\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":647},\"user\":\"jenslincke\",\"tags\":[]},\"647\":{\"isSerializedDate\":true,\"string\":\"Wed Oct 19 2011 14:45:36 GMT+0200 (CEST)\"},\"648\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":649},\"source\":\"function showDiff() {\\n if (this.target) {\\n if (typeof(this.target.showThreeWayDiff) === 'function') {\\n this.target.showThreeWayDiff();\\n }\\n else {\\n alert('Three Way Diff is not implemented yet')\\n }\\n }\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":650},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"649\":{\"this\":{\"__isSmartRef__\":true,\"id\":151}},\"650\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":651},\"user\":\"undefined\",\"tags\":[]},\"651\":{\"isSerializedDate\":true,\"string\":\"Thu Mar 22 2012 10:32:37 GMT+0100 (CET)\"},\"652\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":653},\"source\":\"function checkForUpdates() {\\n var space = lively.PartsBin.partsSpaceNamed(this.get('CategoryText').textString),\\n name = this.get('NameText').textString,\\n fileUrl = space.getURL().withFilename(encodeURI(name))+'.json';\\n\\n var webR = new WebResource(fileUrl);\\n \\n if (webR.exists()) {\\n var rev = webR.getHeadRevision().headRevision;\\n if (this.target.getPartsBinMetaInfo().revisionOnLoad == rev) \\n alertOK(\\\"No changes since last update.\\\")\\n else {\\n this.askForDiffViewer();\\n }\\n }\\n else \\n alertOK(\\\"Part does not exist in PartsBin.\\\") \\n \\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":654},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"653\":{\"this\":{\"__isSmartRef__\":true,\"id\":151}},\"654\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":655},\"user\":\"undefined\",\"tags\":[]},\"655\":{\"isSerializedDate\":true,\"string\":\"Fri Mar 23 2012 15:12:03 GMT+0100 (CET)\"},\"656\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":657},\"source\":\"function askForDiffViewer() {\\n $world.confirm('A newer version of '+this.get('NameText').textString+' is available. Show diff?', function (bool) {bool && this.showDiff()}.bind(this))\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":658},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"657\":{\"this\":{\"__isSmartRef__\":true,\"id\":151}},\"658\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":659},\"user\":\"undefined\",\"tags\":[]},\"659\":{\"isSerializedDate\":true,\"string\":\"Fri Mar 23 2012 15:08:43 GMT+0100 (CET)\"},\"660\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":661},\"source\":\"function onRemove() {\\n $world.publishPartDialog && $world.publishPartDialog.remove()\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":662},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"661\":{\"this\":{\"__isSmartRef__\":true,\"id\":151}},\"662\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":663},\"user\":\"undefined\",\"tags\":[]},\"663\":{\"isSerializedDate\":true,\"string\":\"Thu Mar 29 2012 15:54:34 GMT+0200 (CEST)\"},\"664\":{\"submorphs\":[],\"scripts\":[],\"id\":\"06D7E052-8590-4522-B7F3-1A59D4B017E7\",\"shape\":{\"__isSmartRef__\":true,\"id\":665},\"droppingEnabled\":true,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":672},\"showsHalos\":false,\"name\":\"ResizeCorner\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":673},\"__SourceModuleName__\":\"Global.lively.morphic.Core\",\"draggingEnabled\":true,\"dragStartPoint\":null,\"originalExtent\":{\"__isSmartRef__\":true,\"id\":674},\"originalTargetExtent\":null,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":675},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":676},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":677},\"originalTargetInnerBounds\":null,\"isResizeCorner\":true,\"relativeOrigin\":null,\"derivationIds\":[7147,\"16E962DF-21E9-4FE6-8B9B-953F0E908113\",\"ADD0B5C0-0DC6-4D8E-9C2A-0EC7E3C71F21\",\"F0667EB1-BF07-4E63-BA56-99189F82C865\",\"DFDE68D2-3731-46DE-ADC8-56E32998CE07\",\"D914121B-05B0-490E-A9F7-FE9AB53455A3\",\"685BF0CF-E831-4670-98CD-A84F0E9D3C1A\",\"7F4A1B67-C3C5-4398-9FC6-EEECF75FF81D\",\"ABACD15A-2A09-48B6-91CF-E5BD3A9974FB\"],\"moved\":true,\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":678}],\"doNotSerialize\":[\"$$cornerName\"],\"doNotCopyProperties\":[\"$$cornerName\"],\"originalTargetBounds\":null,\"owner\":{\"__isSmartRef__\":true,\"id\":0},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":679},\"cornerName\":\"bottomRight\",\"_ClipMode\":\"visible\",\"_Rotation\":0,\"_Scale\":1,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":680},\"__LivelyClassName__\":\"lively.morphic.Box\"},\"665\":{\"position\":{\"__isSmartRef__\":true,\"id\":666},\"_Extent\":{\"__isSmartRef__\":true,\"id\":667},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":668},\"_Fill\":{\"__isSmartRef__\":true,\"id\":669},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":670},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":671},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"666\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"667\":{\"x\":10,\"y\":10,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"668\":{\"r\":0.568,\"g\":0.568,\"b\":0.568,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"669\":{\"r\":0.258,\"g\":0.258,\"b\":0.258,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"670\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"671\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"672\":{\"x\":469,\"y\":427,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"673\":{\"partsSpaceName\":\"PartsBin/Widgets/\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":2,\"comment\":\"Resize an object without using halos.\",\"partName\":\"ResizeCorner\",\"revisionOnLoad\":140152,\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"674\":{\"x\":239,\"y\":138,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"675\":{\"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\"},\"676\":{\"morph\":{\"__isSmartRef__\":true,\"id\":664},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"677\":{\"x\":10,\"y\":10,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"678\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":664},\"sourceAttrName\":\"cornerName\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":664},\"targetMethodName\":\"alignToOwner\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"679\":{\"x\":42,\"y\":-10,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"680\":{\"onDrag\":{\"__isSmartRef__\":true,\"id\":681},\"onDragEnd\":{\"__isSmartRef__\":true,\"id\":689},\"onDragStart\":{\"__isSmartRef__\":true,\"id\":697},\"reset\":{\"__isSmartRef__\":true,\"id\":705},\"morphMenuItems\":{\"__isSmartRef__\":true,\"id\":708},\"alignToOwner\":{\"__isSmartRef__\":true,\"id\":715}},\"681\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":682},\"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\":687},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"682\":{\"this\":{\"__isSmartRef__\":true,\"id\":664},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":683}},\"683\":{\"$super\":{\"__isSmartRef__\":true,\"id\":684}},\"684\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":685},\"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\":686},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"685\":{\"obj\":{\"__isSmartRef__\":true,\"id\":664},\"name\":\"onDrag\"},\"686\":{},\"687\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":688},\"user\":\"sstamm\",\"tags\":[]},\"688\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 23 2012 12:08:52 GMT+0100 (CET)\"},\"689\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":690},\"source\":\"function onDragEnd(evt) {\\n this.dragStartPoint = null;\\n this.originalTargetBounds = null;\\n this.relativeOrigin = null;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":695},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"690\":{\"this\":{\"__isSmartRef__\":true,\"id\":664},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":691}},\"691\":{\"$super\":{\"__isSmartRef__\":true,\"id\":692}},\"692\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":693},\"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\":694},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"693\":{\"obj\":{\"__isSmartRef__\":true,\"id\":664},\"name\":\"onDragEnd\"},\"694\":{},\"695\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":696},\"user\":\"sstamm\",\"tags\":[]},\"696\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 23 2012 12:09:00 GMT+0100 (CET)\"},\"697\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":698},\"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\":703},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"698\":{\"this\":{\"__isSmartRef__\":true,\"id\":664},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":699}},\"699\":{\"$super\":{\"__isSmartRef__\":true,\"id\":700}},\"700\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":701},\"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\":702},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"701\":{\"obj\":{\"__isSmartRef__\":true,\"id\":664},\"name\":\"onDragStart\"},\"702\":{},\"703\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":704},\"user\":\"sstamm\",\"tags\":[]},\"704\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 23 2012 12:08:40 GMT+0100 (CET)\"},\"705\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":706},\"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\":707},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"706\":{\"this\":{\"__isSmartRef__\":true,\"id\":664}},\"707\":{},\"708\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":709},\"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\":714},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"709\":{\"this\":{\"__isSmartRef__\":true,\"id\":664},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":710}},\"710\":{\"$super\":{\"__isSmartRef__\":true,\"id\":711}},\"711\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":712},\"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\":713},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"712\":{\"obj\":{\"__isSmartRef__\":true,\"id\":664},\"name\":\"morphMenuItems\"},\"713\":{},\"714\":{},\"715\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":716},\"source\":\"function alignToOwner() {\\n this.align(this.bounds()[this.cornerName](), this.owner.shape.bounds()[this.cornerName]() )\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":717},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"716\":{\"this\":{\"__isSmartRef__\":true,\"id\":664}},\"717\":{},\"718\":{\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":719},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":720},\"_BorderWidth\":0,\"_Fill\":null,\"_StrokeOpacity\":0,\"_BorderRadius\":0,\"_Extent\":{\"__isSmartRef__\":true,\"id\":721},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"719\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"720\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"721\":{\"x\":479,\"y\":437,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"722\":{\"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\"},\"723\":{\"morph\":{\"__isSmartRef__\":true,\"id\":0},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"724\":{\"adjustForNewBounds\":true},\"725\":{\"x\":479,\"y\":437,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"726\":{\"x\":0,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"727\":{\"x\":1059,\"y\":485,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"728\":{\"partName\":\"PublishPartDialog\",\"requiredModules\":[],\"migrationLevel\":4,\"partsSpaceName\":\"PartsBin/Dialogs/\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"comment\":\"A dialog for publishing parts in the PartsBin.\",\"changes\":[{\"__isSmartRef__\":true,\"id\":729},{\"__isSmartRef__\":true,\"id\":731},{\"__isSmartRef__\":true,\"id\":733},{\"__isSmartRef__\":true,\"id\":735},{\"__isSmartRef__\":true,\"id\":737},{\"__isSmartRef__\":true,\"id\":739},{\"__isSmartRef__\":true,\"id\":741},{\"__isSmartRef__\":true,\"id\":743},{\"__isSmartRef__\":true,\"id\":745},{\"__isSmartRef__\":true,\"id\":747},{\"__isSmartRef__\":true,\"id\":749},{\"__isSmartRef__\":true,\"id\":751}],\"revisionOnLoad\":154051,\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"729\":{\"date\":{\"__isSmartRef__\":true,\"id\":730},\"author\":\"undefined\",\"message\":\"resetted view\",\"id\":\"61086210-FA8D-49B7-9E8F-E1E202A9ECD7\"},\"730\":{\"isSerializedDate\":true,\"string\":\"Wed Mar 21 2012 14:50:23 GMT+0100 (CET)\"},\"731\":{\"date\":{\"__isSmartRef__\":true,\"id\":732},\"author\":\"undefined\",\"message\":\"added show diff button\",\"id\":\"93AC78DB-FFE8-40AC-B8FC-34B0936B39A7\"},\"732\":{\"isSerializedDate\":true,\"string\":\"Wed Mar 21 2012 14:49:44 GMT+0100 (CET)\"},\"733\":{\"date\":{\"__isSmartRef__\":true,\"id\":734},\"author\":\"undefined\",\"message\":\"\",\"id\":\"A5F4EACF-EF62-483F-B8B3-65966A895FA4\"},\"734\":{\"isSerializedDate\":true,\"string\":\"Tue Mar 20 2012 13:00:03 GMT+0100 (CET)\"},\"735\":{\"date\":{\"__isSmartRef__\":true,\"id\":736},\"author\":\"jenslincke\",\"message\":\"first commit of Publish dialog using the publish dialog itself!\"},\"736\":{\"isSerializedDate\":true,\"string\":\"Wed Oct 19 2011 14:54:16 GMT+0200 (CEST)\"},\"737\":{\"date\":{\"__isSmartRef__\":true,\"id\":738},\"author\":\"jenslincke\",\"message\":\"\"},\"738\":{\"isSerializedDate\":true,\"string\":\"Wed Oct 19 2011 14:52:26 GMT+0200 (CEST)\"},\"739\":{\"date\":{\"__isSmartRef__\":true,\"id\":740},\"author\":\"jenslincke\",\"message\":\"store an uuid when publishing an object\"},\"740\":{\"isSerializedDate\":true,\"string\":\"Fri Oct 28 2011 15:15:02 GMT+0200 (CEST)\"},\"741\":{\"date\":{\"__isSmartRef__\":true,\"id\":742},\"author\":\"jenslincke\",\"message\":\"\"},\"742\":{\"isSerializedDate\":true,\"string\":\"Fri Oct 28 2011 16:06:16 GMT+0200 (CEST)\"},\"743\":{\"date\":{\"__isSmartRef__\":true,\"id\":744},\"author\":\"jenslincke\",\"message\":\"- fixed issue 283 (Reproduction: Open part, select publish from menu, focus part name input field in dialog, press enter.-> window pane disappears; window decoration stays; part is not published)\",\"id\":\"1A260BD5-E668-4BD4-B7A2-94E087AB4CE1\"},\"744\":{\"isSerializedDate\":true,\"string\":\"Thu Jan 26 2012 12:10:41 GMT+0100 (CET)\"},\"745\":{\"date\":{\"__isSmartRef__\":true,\"id\":746},\"author\":\"undefined\",\"message\":\"init for change - don't remove on click\",\"id\":\"00A6DFFB-70D2-44A4-B5F9-0778E1CA5724\"},\"746\":{\"isSerializedDate\":true,\"string\":\"Tue Mar 20 2012 12:04:27 GMT+0100 (CET)\"},\"747\":{\"date\":{\"__isSmartRef__\":true,\"id\":748},\"author\":\"undefined\",\"message\":\"added possibility to show diff and adapted to new publishing workflow (check for overwrites)\",\"id\":\"2BD37BED-1605-4FD2-8D2C-25552A379B49\"},\"748\":{\"isSerializedDate\":true,\"string\":\"Thu Mar 22 2012 10:30:02 GMT+0100 (CET)\"},\"749\":{\"date\":{\"__isSmartRef__\":true,\"id\":750},\"author\":\"jenslincke\",\"message\":\"\",\"id\":\"23593A2A-E5EC-4545-8C3B-5299DF4BF7C6\"},\"750\":{\"isSerializedDate\":true,\"string\":\"Fri Apr 20 2012 11:59:16 GMT+0200 (CEST)\"},\"751\":{\"date\":{\"__isSmartRef__\":true,\"id\":752},\"author\":\"jenslincke\",\"message\":\"no comment\",\"id\":\"63A665C6-963D-46F7-AE7A-9B0A5374164A\"},\"752\":{\"isSerializedDate\":true,\"string\":\"Fri Apr 20 2012 11:59:24 GMT+0200 (CEST)\"},\"753\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":0},\"sourceAttrName\":\"remove\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":151},\"targetMethodName\":\"onRemove\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"754\":{\"x\":0,\"y\":0,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"755\":{\"x\":479,\"y\":437,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"isSimplifiedRegistry\":true}}","attributeConnections":[{"__isSmartRef__":true,"id":20292},{"__isSmartRef__":true,"id":20293}],"doNotSerialize":["$$json","$$loadedMetaInfo"],"doNotCopyProperties":["$$json","$$loadedMetaInfo"],"loadedMetaInfo":{"__isSmartRef__":true,"id":20268},"partVersions":[{"__isSmartRef__":true,"id":20294},{"__isSmartRef__":true,"id":20298},{"__isSmartRef__":true,"id":20302},{"__isSmartRef__":true,"id":20306},{"__isSmartRef__":true,"id":20310},{"__isSmartRef__":true,"id":20314},{"__isSmartRef__":true,"id":20318},{"__isSmartRef__":true,"id":20322},{"__isSmartRef__":true,"id":20326},{"__isSmartRef__":true,"id":20330},{"__isSmartRef__":true,"id":20334},{"__isSmartRef__":true,"id":20338},{"__isSmartRef__":true,"id":20342},{"__isSmartRef__":true,"id":20346},{"__isSmartRef__":true,"id":20452},{"__isSmartRef__":true,"id":20456},{"__isSmartRef__":true,"id":20460},{"__isSmartRef__":true,"id":21050},{"__isSmartRef__":true,"id":21055},{"__isSmartRef__":true,"id":21059},{"__isSmartRef__":true,"id":21063},{"__isSmartRef__":true,"id":21067},{"__isSmartRef__":true,"id":21071},{"__isSmartRef__":true,"id":21075},{"__isSmartRef__":true,"id":21079},{"__isSmartRef__":true,"id":21083},{"__isSmartRef__":true,"id":21087},{"__isSmartRef__":true,"id":21091},{"__isSmartRef__":true,"id":21095},{"__isSmartRef__":true,"id":21099},{"__isSmartRef__":true,"id":21103}],"rev":154052,"__LivelyClassName__":"lively.PartsBin.PartItem","__SourceModuleName__":"Global.lively.PartsBin"},"19541":{"submorphs":[{"__isSmartRef__":true,"id":19542},{"__isSmartRef__":true,"id":19691},{"__isSmartRef__":true,"id":20204}],"scripts":[],"shape":{"__isSmartRef__":true,"id":20258},"id":"44D8B40C-6FEF-49BD-AE56-E70FA2E4728C","renderContextTable":{"__isSmartRef__":true,"id":20262},"eventHandler":{"__isSmartRef__":true,"id":20263},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":20264},"LK2":true,"priorExtent":{"__isSmartRef__":true,"id":20265},"targetMorph":{"__isSmartRef__":true,"id":19691},"titleBar":{"__isSmartRef__":true,"id":19542},"contentOffset":{"__isSmartRef__":true,"id":20266},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"highlighted":true,"prevDragPos":{"__isSmartRef__":true,"id":20267},"isBeingDragged":false,"showsHalos":false,"name":"PublishPartDialog","partsBinMetaInfo":{"__isSmartRef__":true,"id":20268},"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[{"__isSmartRef__":true,"id":20289}],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"_Position":{"__isSmartRef__":true,"id":20290},"isCopyMorphRef":true,"morphRefId":12,"derivationIds":[2879,"91414FD8-3775-435F-96A6-39E0CB891CD7","9CB574CD-94E3-465A-B85C-91F97E070BC3","C9D390C2-399F-44AF-A316-A4A117E5F7B6","0A0B9181-A04D-441B-944F-585ED335E81B","DEDFDD48-51F2-4C04-9681-6B64D465BE14","FD496905-E054-4BF1-B162-EB0F08C1C829","7A7DC0E8-6CA2-49DC-A660-7E873F834AB2","401B15D2-9AFF-4843-85A2-16186AFFDFD4","D4692AD1-A7CA-4F57-A55F-B485279A8B90","DDF6DDB6-572F-4DC7-911A-4F7E5F310189","41BEABE5-C184-4F59-93F1-139F711489DC","43B559FD-8DA9-41DE-91F3-B4DDD6788A58","C6E534FD-BA26-4A2F-987E-2254EB4D1D7B","7F7C3464-9B3C-4C47-B577-D69567B5AD63","BD18ABC3-C773-4121-B919-8E27D8B9E0A4"],"moved":true,"minExtent":{"__isSmartRef__":true,"id":20291},"headRevision":147095,"_ClipMode":"visible","_Rotation":0,"_Scale":1,"owner":null,"__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"19542":{"submorphs":[{"__isSmartRef__":true,"id":19543},{"__isSmartRef__":true,"id":19557},{"__isSmartRef__":true,"id":19604},{"__isSmartRef__":true,"id":19639}],"scripts":[],"shape":{"__isSmartRef__":true,"id":19675},"id":"F677E473-9BA8-4C96-9BCC-07704312F32C","renderContextTable":{"__isSmartRef__":true,"id":19686},"eventHandler":{"__isSmartRef__":true,"id":19687},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":19688},"_Position":{"__isSmartRef__":true,"id":19689},"windowMorph":{"__isSmartRef__":true,"id":19541},"label":{"__isSmartRef__":true,"id":19543},"closeButton":{"__isSmartRef__":true,"id":19557},"menuButton":{"__isSmartRef__":true,"id":19604},"collapseButton":{"__isSmartRef__":true,"id":19639},"priorExtent":{"__isSmartRef__":true,"id":19690},"owner":{"__isSmartRef__":true,"id":19541},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"derivationIds":[2880,"108B5871-F6C8-4442-82D1-F8776D2C85A2","503529CB-0F23-4456-8597-CD5E86CF03F0","4FB4914E-E245-4D67-BE3B-63091E2C8C95","B69B0DCD-8CC6-4A06-B738-A12B5269CD7D","6D1BAF1C-9402-44ED-A26B-9B74CF07DF60","B4808FFA-4EA4-43B1-A7FC-0BEF063FC467","C49A9265-2632-4101-BEB3-C57320C2187A","0E3215D4-8AAB-4F52-8AD0-FC2EEC395A9A","0B36C705-2DB1-4ECE-8E5D-164334FB519B","305AE4E8-ADC7-4C81-BF54-3C180FEF414F","D1F1142B-FB6A-475C-8903-13CCF46FCD5D","5C6E462F-7D1A-4876-8D43-4374443981CD","88DEBD44-6D08-4854-9CA8-A147B160BDAB","4BF8EFA1-572E-4713-A755-97054D0EF029","1EEB7A79-5546-44ED-929C-FA7B2F3352E9"],"_ClipMode":"visible","_Scale":1,"__LivelyClassName__":"lively.morphic.TitleBar"},"19543":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":19544},"id":"AD925069-43EA-4D8D-9E2C-9F55E1DF2CAD","renderContextTable":{"__isSmartRef__":true,"id":19550},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":19551}],"eventHandler":{"__isSmartRef__":true,"id":19553},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":19554},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":19542},"priorExtent":{"__isSmartRef__":true,"id":19555},"_MaxTextWidth":420,"_MinTextWidth":420,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":19556},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"derivationIds":[2881,"A06A709C-AD42-48D0-A66A-9C21EA4F4E66","EE1A345D-476E-4E22-BE89-E59A0C11001B","90634CE5-77D0-4064-961C-4CBADE59C6F8","C26670E3-5765-406B-972F-888FD1EAF967","E252D4C8-705A-4A40-B4E8-3638444DBAC4","89C11EA9-F897-4A67-9CDD-A79FAF7B04F1","1D2D6235-8732-4E39-829D-8C599DE39537","4819892D-6CED-4387-A505-50ADEC598F02","63A7D46C-A16B-464D-9315-8AD0CFC0FD20","CA96C77F-AAE5-4A7A-9D8A-F4B2DFC9148D","A1B3FB84-D9F7-45FA-9D28-FFDF2664D5BE","DA408E78-CC3F-4430-9268-6C9365622D04","960BDC3B-D0CF-4613-8E6B-5F26D733BD89","7F5621B0-5A9D-4812-9108-85C0997AEE3F","4D639952-4608-44C7-A1CC-73DE757149C9"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"19544":{"_Position":{"__isSmartRef__":true,"id":19545},"renderContextTable":{"__isSmartRef__":true,"id":19546},"_Extent":{"__isSmartRef__":true,"id":19547},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":19548},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":19549},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19545":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19546":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19547":{"x":420,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19548":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19549":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19550":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"19551":{"style":{"__isSmartRef__":true,"id":19552},"chunkOwner":{"__isSmartRef__":true,"id":19543},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Publish in PartsBin","__LivelyClassName__":"lively.morphic.TextChunk"},"19552":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"19553":{"morph":{"__isSmartRef__":true,"id":19543},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19554":{"resizeWidth":true},"19555":{"x":420,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19556":{"x":20,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19557":{"submorphs":[{"__isSmartRef__":true,"id":19558}],"scripts":[],"shape":{"__isSmartRef__":true,"id":19570},"id":"1062844E-E8C7-4C16-A504-3955034987D1","renderContextTable":{"__isSmartRef__":true,"id":19586},"eventHandler":{"__isSmartRef__":true,"id":19587},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":19588},"priorExtent":{"__isSmartRef__":true,"id":19589},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":19576},"lighterFill":{"__isSmartRef__":true,"id":19590},"label":{"__isSmartRef__":true,"id":19558},"owner":{"__isSmartRef__":true,"id":19542},"layout":{"__isSmartRef__":true,"id":19599},"attributeConnections":[{"__isSmartRef__":true,"id":19600},{"__isSmartRef__":true,"id":19602}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","prevScroll":[0,0],"derivationIds":[2882,"6FF08B49-B1B5-4E12-8CE8-DF895115627D","7F48C6F9-BB0C-405E-991B-410F179F7FE6","8405D63F-4E07-4FE8-9008-DD8AE000B5C8","D81DD158-CA4D-44A9-B0A6-3FD7DF7EFD68","B32CD4CF-CE28-40AB-8F9E-23E12B00C595","581848BC-C01C-443F-B6AD-4A61CE8EB72E","62393865-D1D9-40DE-B048-1249932ECD31","8FB8E2BF-E816-4D6F-8E57-4D1FEAB65258","BE49E07E-D7F5-4EB9-9CED-C5857E3E2E05","8400BD9B-C243-4480-8B72-9881692A9AC4","67A14C8D-9131-4F19-9649-DF83E2220076","2B1EAF02-F491-4C0D-90C4-D0D118EF409B","473E46FF-11E0-4875-80B6-8EE5D321E59F","D1DA13CC-5998-4C2D-803A-094CC9251276","A95DD13F-8C05-4E35-9C89-5BBF4C0D1C71"],"_ClipMode":"visible","_Scale":1,"__LivelyClassName__":"lively.morphic.WindowControl"},"19558":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":19559},"id":"CC492CE7-2ADA-4386-8427-7E4251A48864","renderContextTable":{"__isSmartRef__":true,"id":19564},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":19565}],"eventHandler":{"__isSmartRef__":true,"id":19567},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":19568},"priorExtent":{"__isSmartRef__":true,"id":19569},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":19557},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"derivationIds":[2883,"9FBA502B-65B1-4FF2-A0A6-9951E3C50B9C","9F297DAE-65AA-45A3-AFAE-BD35F359E24A","75386CDF-09C9-47F2-8762-F737A49FD645","C43A7038-D61D-47C7-BFA8-8C8A77627643","5BF20970-1750-47F6-8D9D-E7A798428D52","74925934-1F3C-432E-BBD6-02C666263ED7","C4BDF6D3-0621-4923-A192-E4488E7679D1","376C89CF-A021-4CA6-A6AC-47177BFB2062","878C6C67-6B17-432C-B06E-FBBC1FDADE0D","D49A7E68-DC41-42E3-8DC4-073D080B4548","557AD9C4-D5B4-49A0-9508-53CA902EA479","10DA2DAE-51E0-4668-905A-C95891803AE7","FE63ADA2-09D3-415B-90BE-D2B42D51C838","B351C8F1-0939-47C8-8017-69AB7EAE3CFF","C397207D-9190-4230-96BF-6A91C483ED49"],"showsHalos":false,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"19559":{"_Position":{"__isSmartRef__":true,"id":19560},"renderContextTable":{"__isSmartRef__":true,"id":19561},"_Extent":{"__isSmartRef__":true,"id":19562},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":19563},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":19549},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19560":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19561":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19562":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19563":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19564":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"19565":{"style":{"__isSmartRef__":true,"id":19566},"chunkOwner":{"__isSmartRef__":true,"id":19558},"storedString":"X","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"19566":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"19567":{"morph":{"__isSmartRef__":true,"id":19558},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19568":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19569":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19570":{"_Position":{"__isSmartRef__":true,"id":19571},"renderContextTable":{"__isSmartRef__":true,"id":19572},"_Extent":{"__isSmartRef__":true,"id":19573},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":19574},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":19575},"_Fill":{"__isSmartRef__":true,"id":19576},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19571":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19572":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19573":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19574":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19575":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19576":{"stops":[{"__isSmartRef__":true,"id":19577},{"__isSmartRef__":true,"id":19579},{"__isSmartRef__":true,"id":19581},{"__isSmartRef__":true,"id":19583}],"vector":{"__isSmartRef__":true,"id":19585},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"19577":{"offset":0,"color":{"__isSmartRef__":true,"id":19578}},"19578":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19579":{"offset":0.4,"color":{"__isSmartRef__":true,"id":19580}},"19580":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19581":{"offset":0.6,"color":{"__isSmartRef__":true,"id":19582}},"19582":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19583":{"offset":1,"color":{"__isSmartRef__":true,"id":19584}},"19584":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19585":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19586":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"19587":{"morph":{"__isSmartRef__":true,"id":19557},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19588":{"x":459,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19589":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19590":{"stops":[{"__isSmartRef__":true,"id":19591},{"__isSmartRef__":true,"id":19593},{"__isSmartRef__":true,"id":19595},{"__isSmartRef__":true,"id":19597}],"vector":{"__isSmartRef__":true,"id":19585},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"19591":{"offset":0,"color":{"__isSmartRef__":true,"id":19592}},"19592":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19593":{"offset":0.4,"color":{"__isSmartRef__":true,"id":19594}},"19594":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19595":{"offset":0.6,"color":{"__isSmartRef__":true,"id":19596}},"19596":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19597":{"offset":1,"color":{"__isSmartRef__":true,"id":19598}},"19598":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19599":{"moveHorizontal":true},"19600":{"sourceObj":{"__isSmartRef__":true,"id":19557},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":19541},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":19601},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"19601":{"source":{"__isSmartRef__":true,"id":19557},"target":{"__isSmartRef__":true,"id":19541}},"19602":{"sourceObj":{"__isSmartRef__":true,"id":19557},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":19541},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":19603},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"19603":{"source":{"__isSmartRef__":true,"id":19557},"target":{"__isSmartRef__":true,"id":19541}},"19604":{"submorphs":[{"__isSmartRef__":true,"id":19605}],"scripts":[],"shape":{"__isSmartRef__":true,"id":19617},"id":"91D415D3-86FD-44A1-8954-84E0182A5193","renderContextTable":{"__isSmartRef__":true,"id":19622},"eventHandler":{"__isSmartRef__":true,"id":19623},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":19624},"priorExtent":{"__isSmartRef__":true,"id":19625},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":19576},"lighterFill":{"__isSmartRef__":true,"id":19626},"label":{"__isSmartRef__":true,"id":19605},"owner":{"__isSmartRef__":true,"id":19542},"attributeConnections":[{"__isSmartRef__":true,"id":19635},{"__isSmartRef__":true,"id":19637}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[2884,"64F20257-1A1D-4B3E-97C4-BC5D1F1E14B5","A377FFCE-0FDC-41B6-BD34-D9F0507B57DA","7334352E-B497-4F10-8C06-FBE36AA778C7","E8269870-961E-49ED-ACE6-3CB90CD1937A","3182A6E6-F492-4D7F-B240-55DC62E7DDF9","5983668D-3862-4DE4-8C9C-57903C2FF112","7EA72C52-A5FE-49D7-B644-F1CF1E948B7A","378BCE5E-C14D-460C-B7E5-BA2B832168F0","3C395E36-6E1E-4715-AE14-CBAB23875359","3A64C38B-ACDD-4EE3-9CB8-1CF3F5338FBC","B5F36159-C71D-48E3-A1A9-7BDA18656622","0E65BDFD-4304-4131-9821-83A87E58A857","335EC22A-00F4-444F-A9A3-6FCC3D3B375B","4C230C0D-A5D1-4E2E-9FB9-67140E87E5CF","0797CCF7-CD32-4ECC-A641-400C7287B414"],"_ClipMode":"visible","_Scale":1,"__LivelyClassName__":"lively.morphic.WindowControl"},"19605":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":19606},"id":"F739D51F-DE39-411B-AD97-33B281728992","renderContextTable":{"__isSmartRef__":true,"id":19611},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":19612}],"eventHandler":{"__isSmartRef__":true,"id":19614},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":19615},"priorExtent":{"__isSmartRef__":true,"id":19616},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":19604},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[2885,"EC48B50E-CD5B-46FB-BF78-484373EED980","59F8AF9B-799B-413B-86B2-BFD03A4B2559","F8293A60-E9DB-40E3-B202-D547939F8A8D","30E16AEA-8638-441D-A4B6-A7F2EB4D1987","012E89E5-818C-4BAE-B1DB-B01796C23183","D8FA4A79-180A-4D30-B4C8-2AC5E176057B","7184ABDF-8484-4658-8968-C1DD68EFFC46","4BC7DE67-2773-45F7-BA0D-BB473B463C0B","1350953C-3FB0-428F-ADAF-AB46A2A7743D","677531C6-1A55-423B-AD8E-B0CF60EA6AE7","7AC83B39-6446-453C-BE0C-3A985B6F29D7","7F97ADF7-B704-42C0-98D2-BFA189A6C2B8","692C1E4C-8458-4EB7-9179-457C75884C65","5F49459C-26AA-49F6-8216-2CA3571A899B","115E4B3E-1C79-4A8A-BCF9-E132122C3995"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"19606":{"_Position":{"__isSmartRef__":true,"id":19607},"renderContextTable":{"__isSmartRef__":true,"id":19608},"_Extent":{"__isSmartRef__":true,"id":19609},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":19610},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":19549},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19607":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19608":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19609":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19610":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19611":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"19612":{"style":{"__isSmartRef__":true,"id":19613},"chunkOwner":{"__isSmartRef__":true,"id":19605},"storedString":"M","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"19613":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"19614":{"morph":{"__isSmartRef__":true,"id":19605},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19615":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19616":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19617":{"_Position":{"__isSmartRef__":true,"id":19618},"renderContextTable":{"__isSmartRef__":true,"id":19619},"_Extent":{"__isSmartRef__":true,"id":19620},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":19621},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":19575},"_Fill":{"__isSmartRef__":true,"id":19576},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19618":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19619":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19620":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19621":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19622":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"19623":{"morph":{"__isSmartRef__":true,"id":19604},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19624":{"x":3,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19625":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19626":{"stops":[{"__isSmartRef__":true,"id":19627},{"__isSmartRef__":true,"id":19629},{"__isSmartRef__":true,"id":19631},{"__isSmartRef__":true,"id":19633}],"vector":{"__isSmartRef__":true,"id":19585},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"19627":{"offset":0,"color":{"__isSmartRef__":true,"id":19628}},"19628":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19629":{"offset":0.4,"color":{"__isSmartRef__":true,"id":19630}},"19630":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19631":{"offset":0.6,"color":{"__isSmartRef__":true,"id":19632}},"19632":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19633":{"offset":1,"color":{"__isSmartRef__":true,"id":19634}},"19634":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19635":{"sourceObj":{"__isSmartRef__":true,"id":19604},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":19541},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":19636},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"19636":{"source":{"__isSmartRef__":true,"id":19604},"target":{"__isSmartRef__":true,"id":19541}},"19637":{"sourceObj":{"__isSmartRef__":true,"id":19604},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":19541},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":19638},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"19638":{"source":{"__isSmartRef__":true,"id":19604},"target":{"__isSmartRef__":true,"id":19541}},"19639":{"submorphs":[{"__isSmartRef__":true,"id":19640}],"scripts":[],"shape":{"__isSmartRef__":true,"id":19652},"id":"2934851C-ABBD-480F-95E3-9BFF429DB205","renderContextTable":{"__isSmartRef__":true,"id":19657},"eventHandler":{"__isSmartRef__":true,"id":19658},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":19659},"priorExtent":{"__isSmartRef__":true,"id":19660},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":19576},"lighterFill":{"__isSmartRef__":true,"id":19661},"label":{"__isSmartRef__":true,"id":19640},"owner":{"__isSmartRef__":true,"id":19542},"layout":{"__isSmartRef__":true,"id":19670},"attributeConnections":[{"__isSmartRef__":true,"id":19671},{"__isSmartRef__":true,"id":19673}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","prevScroll":[0,0],"derivationIds":[2886,"9FC4F0BE-916D-456B-AEC7-E6C1AC6040CA","A0A4775F-7F2F-4563-840D-CAA5CB435D75","C87D3EB9-4C3B-4230-9794-F5B71B528C74","D62C35A2-6803-4217-9DFD-0E480D4B82AE","D8274457-EA55-431C-BA2E-C227C335C1FB","943A7D62-2DE4-42E8-AC93-4E68B660CEF2","E83FFE4B-9181-44F7-A77C-84E5625F788A","6A34C9A1-6B4C-430B-ACD4-6A29D0F20D42","BD7F031B-2DEE-4151-ABD8-B5A513D25129","AD3F7784-7CB8-4CFE-98B0-83A4D43542C7","52BD4109-B6AE-4A69-83C9-19EB655F4780","82224D11-CDCA-43C8-A6FD-E794D5917E70","6DF19762-00E0-4952-9D0F-ED6A72B7580B","BAE5C2EA-CE02-4EF6-AA20-1FCE523D6634","484A4F26-09F0-4A4E-90E4-A4A0A4C09ACE"],"_ClipMode":"visible","_Scale":1,"__LivelyClassName__":"lively.morphic.WindowControl"},"19640":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":19641},"id":"0C0D1337-69AA-47CC-96DA-3D3B9E66B8D4","renderContextTable":{"__isSmartRef__":true,"id":19646},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":19647}],"eventHandler":{"__isSmartRef__":true,"id":19649},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":19650},"priorExtent":{"__isSmartRef__":true,"id":19651},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":19639},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"derivationIds":[2887,"42347453-BADB-4DB0-9486-C479B704CD7C","B0BBE9B3-B5DD-4E4F-A1AA-1C03BB1BFF4E","8AE3BC44-F336-420E-A2E9-BBA0DC6A3D72","3DC5BABC-5EF1-4FC6-805B-0FC1CC02282F","C5E01762-30EA-4342-A348-F75EA6C33D11","209EBE14-87CB-44C9-B8C0-1A74CE2ACDB6","1A0CE8F3-7342-484C-BA10-2E8291158E44","28A42BB4-7534-4B0D-BBE9-B4D3FDCF024F","D5D7B12C-1731-4943-BD69-699C99C398E1","DD22A464-4EB8-41F8-9103-DEE095D40932","F16ED660-1D92-485E-B022-9FB466AC307F","AA93DB0B-89EB-44EB-9D56-ADE75D275E62","AB55C6ED-56F9-48F7-A4B1-6D3A6070E047","0CCF4C25-456D-4FF1-89DC-F3601FC379FF","700A6EE7-EDB4-4DFF-9BFA-A2FEBA66E699"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"19641":{"_Position":{"__isSmartRef__":true,"id":19642},"renderContextTable":{"__isSmartRef__":true,"id":19643},"_Extent":{"__isSmartRef__":true,"id":19644},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":19645},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":19549},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19642":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19643":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19644":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19645":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19646":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"19647":{"style":{"__isSmartRef__":true,"id":19648},"chunkOwner":{"__isSmartRef__":true,"id":19640},"storedString":"–","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"19648":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"19649":{"morph":{"__isSmartRef__":true,"id":19640},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19650":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19651":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19652":{"_Position":{"__isSmartRef__":true,"id":19653},"renderContextTable":{"__isSmartRef__":true,"id":19654},"_Extent":{"__isSmartRef__":true,"id":19655},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":19656},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":19575},"_Fill":{"__isSmartRef__":true,"id":19576},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19653":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19654":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19655":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19656":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19657":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"19658":{"morph":{"__isSmartRef__":true,"id":19639},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19659":{"x":440,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19660":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19661":{"stops":[{"__isSmartRef__":true,"id":19662},{"__isSmartRef__":true,"id":19664},{"__isSmartRef__":true,"id":19666},{"__isSmartRef__":true,"id":19668}],"vector":{"__isSmartRef__":true,"id":19585},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"19662":{"offset":0,"color":{"__isSmartRef__":true,"id":19663}},"19663":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19664":{"offset":0.4,"color":{"__isSmartRef__":true,"id":19665}},"19665":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19666":{"offset":0.6,"color":{"__isSmartRef__":true,"id":19667}},"19667":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19668":{"offset":1,"color":{"__isSmartRef__":true,"id":19669}},"19669":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19670":{"moveHorizontal":true},"19671":{"sourceObj":{"__isSmartRef__":true,"id":19639},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":19541},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":19672},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"19672":{"source":{"__isSmartRef__":true,"id":19639},"target":{"__isSmartRef__":true,"id":19541}},"19673":{"sourceObj":{"__isSmartRef__":true,"id":19639},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":19541},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":19674},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"19674":{"source":{"__isSmartRef__":true,"id":19639},"target":{"__isSmartRef__":true,"id":19541}},"19675":{"_Position":{"__isSmartRef__":true,"id":19676},"renderContextTable":{"__isSmartRef__":true,"id":19677},"_Extent":{"__isSmartRef__":true,"id":19678},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":19679},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":19680},"_Fill":{"__isSmartRef__":true,"id":19681},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19676":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19677":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19678":{"x":479,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19679":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19680":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19681":{"stops":[{"__isSmartRef__":true,"id":19682},{"__isSmartRef__":true,"id":19684}],"vector":{"__isSmartRef__":true,"id":797},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"19682":{"offset":0,"color":{"__isSmartRef__":true,"id":19683}},"19683":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19684":{"offset":1,"color":{"__isSmartRef__":true,"id":19685}},"19685":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19686":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"19687":{"morph":{"__isSmartRef__":true,"id":19542},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19688":{"resizeWidth":true,"adjustForNewBounds":true},"19689":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19690":{"x":479,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19691":{"submorphs":[{"__isSmartRef__":true,"id":19692},{"__isSmartRef__":true,"id":19708},{"__isSmartRef__":true,"id":19724},{"__isSmartRef__":true,"id":19741},{"__isSmartRef__":true,"id":19757},{"__isSmartRef__":true,"id":19773},{"__isSmartRef__":true,"id":19790},{"__isSmartRef__":true,"id":19806},{"__isSmartRef__":true,"id":19890},{"__isSmartRef__":true,"id":19973},{"__isSmartRef__":true,"id":19989},{"__isSmartRef__":true,"id":20005}],"scripts":[],"shape":{"__isSmartRef__":true,"id":20055},"id":"41BDDDE1-590D-4038-A8F1-AEBDEA1B70F3","renderContextTable":{"__isSmartRef__":true,"id":20062},"eventHandler":{"__isSmartRef__":true,"id":20063},"droppingEnabled":true,"halosEnabled":true,"isLockOwner":false,"layout":{"__isSmartRef__":true,"id":20064},"attributeConnections":[],"ownerApp":{"__isSmartRef__":true,"id":20065},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Core","name":"PublishPartPanePane","doNotSerialize":[],"doNotCopyProperties":[],"priorExtent":{"__isSmartRef__":true,"id":20159},"isBeingDragged":false,"prevScroll":[0,0],"distanceToDragEvent":{"__isSmartRef__":true,"id":20160},"grabbingEnabled":false,"_Position":{"__isSmartRef__":true,"id":20161},"owner":{"__isSmartRef__":true,"id":19541},"target":{"__isSmartRef__":true,"id":1371},"derivationIds":[2888,"7CD647EF-2BB4-4CD9-9D3B-4EE7BC59ECC2","B983FB4F-9323-4304-9603-5615E93C6C42","E738FAD5-9C83-4390-B193-06C21B6E51B0","5ED6DC7B-74C2-4149-BF56-1622F302C51E","B125F66F-9D66-44AC-A04B-E3A1CB7C1474","8DD88D93-D7DB-4957-A724-C19836CD8C03","1405B5AF-8461-4497-952D-024E06F6F395","7CD3B3FE-D49D-436B-A738-6F960136F93C","C28EE17A-8653-4C4E-AEAA-89B45CB54684","97E867C3-A9EC-42CF-916F-788C94BE0955","8DBA20C0-E93B-4679-BD70-63D956C8D56B","03F1C6E5-5D38-4B2A-B96A-7545B2EA78A4","101E56F8-6494-4A33-A341-C532CBE53645","7B5BEA4B-7600-495A-8017-6D2CED2DFC29","C97C0E53-522D-414C-9555-2228E8BA8F71"],"partsBinMetaInfo":{"__isSmartRef__":true,"id":20162},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":20163},"__LivelyClassName__":"lively.morphic.Box","withLayers":["Global.lively.morphic.GrabbingLayer"]},"19692":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":19693},"id":"6DDECAE1-E2B9-4938-A72D-08A88BCBCF53","renderContextTable":{"__isSmartRef__":true,"id":19700},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":19701}],"eventHandler":{"__isSmartRef__":true,"id":19703},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":19704},"priorExtent":{"__isSmartRef__":true,"id":19705},"_MaxTextWidth":164,"_MinTextWidth":164,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isInputLine":true,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":19691},"__SourceModuleName__":"Global.lively.morphic.TextCore","showsHalos":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":19706},"previousSelection":[1,1],"priorSelectionRange":[0,10],"isLockOwner":false,"name":"NameText","isCopyMorphRef":true,"morphRefId":1,"derivationIds":[2889,"9A8B5C1C-95BB-40F5-B9EF-B89DD5451B64","C49BF160-BBBE-422E-BDDC-B9A98A72ABFF","42B7E940-3BB5-4B79-B5D8-E4C8E780FF3B","50B247C7-D8F3-4CF5-BD3F-2A2867827CF1","674DADA8-0E51-4FAB-8522-A9D91F270267","105181E3-2D4E-49C3-9C63-13D1F9E311AB","54D6890B-898B-44EC-8BDF-688522764BD8","A8821E63-E9F3-4FE1-94FC-897C0E64A537","1A1BA90B-CA62-4F00-8A36-CC210F473907","E8C3B7B8-5E66-4470-A4B0-C4103AA45358","95511FB8-0146-4A7A-900F-72D7EE65877A","7DA33C42-0FC5-4616-B97B-FA67332B7859","D05E45C6-2CC5-44AB-B3FD-904395A33093","83AF3D18-D412-4D65-B8FD-51A225F1371F","238498B0-5A4F-416E-9ED6-096FE9C41557"],"savedTextString":"CommitMessageTest1","isBeingDragged":false,"charsReplaced":"7","lastFindLoc":2,"layout":{"__isSmartRef__":true,"id":19707},"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"19693":{"_Position":{"__isSmartRef__":true,"id":19694},"renderContextTable":{"__isSmartRef__":true,"id":19695},"_Extent":{"__isSmartRef__":true,"id":19696},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":19697},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":19698},"_Fill":{"__isSmartRef__":true,"id":19699},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19694":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19695":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19696":{"x":174,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19697":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19698":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19699":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19700":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"19701":{"style":{"__isSmartRef__":true,"id":19702},"chunkOwner":{"__isSmartRef__":true,"id":19692},"storedString":"FightMenu","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"19702":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"19703":{"morph":{"__isSmartRef__":true,"id":19692},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19704":{"x":10,"y":50,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19705":{"x":174,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19706":{"x":119,"y":-15,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19707":{"adjustForNewBounds":true,"resizeWidth":true},"19708":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":19709},"id":"D8B87DC0-73EC-4731-901F-04E42A930E50","renderContextTable":{"__isSmartRef__":true,"id":19716},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":19717}],"eventHandler":{"__isSmartRef__":true,"id":19719},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":19720},"priorExtent":{"__isSmartRef__":true,"id":19721},"_MaxTextWidth":444,"_MinTextWidth":444,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isInputLine":true,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.TextCore","showsHalos":false,"name":"CommitMessageText","owner":{"__isSmartRef__":true,"id":19691},"distanceToDragEvent":{"__isSmartRef__":true,"id":19722},"previousSelection":[10,10],"charsReplaced":"no comment","lastFindLoc":10,"isLockOwner":false,"isBeingDragged":false,"derivationIds":[2890,"40048B1D-9547-4EA6-AB66-31168A1C9FAE","8A0DE790-FA6C-41C9-BA2B-84397DA3F39E","DCFEEBC9-D891-408E-A103-19356A96070F","EAEE386C-B48C-44E1-B80C-6830217A2FC6","6CABE716-A9A0-4BED-ACA6-4C0C9C6C8E5E","C2DC6D12-6F98-4236-AA47-1BD438BE5E56","BFEBFDBE-0C30-407F-9B3C-B45A27971468","923C751C-6180-4C96-A3FC-42A8AF1B4298","0D556A07-77CA-478F-95B3-E3051804BF9C","D952B070-654E-40FA-9076-7E8156C9C87C","2EB5AAE4-7C54-466F-8C70-E3BD1E218C90","D6863F0B-0CE5-401F-9646-2A748564AB54","B422EE4A-2E17-4752-812B-1DFCDFBFE4D4","52701E3E-E7F1-4A2F-B8FE-2115D0544509","392D7685-0EDA-4891-9220-82C9DC2C3CCD"],"savedTextString":"","layout":{"__isSmartRef__":true,"id":19723},"_Rotation":0,"_Scale":1,"priorSelectionRange":[0,10],"__LivelyClassName__":"lively.morphic.Text"},"19709":{"_Position":{"__isSmartRef__":true,"id":19710},"renderContextTable":{"__isSmartRef__":true,"id":19711},"_Extent":{"__isSmartRef__":true,"id":19712},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":19713},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":19714},"_Fill":{"__isSmartRef__":true,"id":19715},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19710":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19711":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19712":{"x":454,"y":102,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19713":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19714":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19715":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19716":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"19717":{"style":{"__isSmartRef__":true,"id":19718},"chunkOwner":{"__isSmartRef__":true,"id":19708},"storedString":"removing stuff","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"19718":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"19719":{"morph":{"__isSmartRef__":true,"id":19708},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19720":{"x":10,"y":260,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19721":{"x":454,"y":102,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19722":{"x":351,"y":-17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19723":{"resizeWidth":true,"resizeHeight":true},"19724":{"submorphs":[],"scripts":[],"id":"DD6C64A6-872D-4948-881F-20031CFB08E2","shape":{"__isSmartRef__":true,"id":19725},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":19731},"_MaxTextWidth":114,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":19728},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text5","partsBinMetaInfo":{"__isSmartRef__":true,"id":19732},"textChunks":[{"__isSmartRef__":true,"id":19733}],"charsReplaced":"some text ","lastFindLoc":10,"priorSelectionRange":[0,4],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":19735},"renderContextTable":{"__isSmartRef__":true,"id":19736},"eventHandler":{"__isSmartRef__":true,"id":19737},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":19738},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":19691},"_MinTextWidth":114,"_MinTextHeight":null,"previousSelection":[3,3],"distanceToDragEvent":{"__isSmartRef__":true,"id":19739},"isLockOwner":false,"isBeingDragged":false,"derivationIds":[2891,"E101CA30-35F9-42F0-A46C-28671530C787","CE7E7640-C507-43BF-88EF-C4ACE8CCF564","F04823B9-5B0B-4CCA-B8F7-00BD8608ED16","DD4402A8-C90A-4187-92DA-813F59FF86E6","90452494-6B16-4189-8CC1-4EB76FCCCBC9","A1BA43C9-3B13-4744-893E-8B39CEDA44D3","A4DDC2E9-14D8-4DA1-A960-4BB1DF3A45CD","97027388-2CC6-4B87-880F-D9048C0EAB5A","97A71E75-471E-4C94-879E-0ECD50A4DA7D","B952E46A-0593-4861-A364-746D14830709","CFEB54E4-C6B5-4DEC-9C82-93FEC6192DF8","8F33B7B6-1D97-4422-9D4C-562576803FAE","EE6FBA69-D693-41BD-A1D6-7852A30ADE28","D0A85886-302D-46FB-8139-F28D0A45D0E2","A5589A0F-6873-4F7B-ACEE-A7C2706973BC"],"layout":{"__isSmartRef__":true,"id":19740},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"19725":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":19726},"_Extent":{"__isSmartRef__":true,"id":19727},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":19728},"renderContextTable":{"__isSmartRef__":true,"id":19729},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":19730},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19726":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19727":{"x":114,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19728":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19729":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19730":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19731":{"x":10,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19732":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"19733":{"style":{"__isSmartRef__":true,"id":19734},"morph":{"__isSmartRef__":true,"id":19724},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":19724},"storedString":"name","__LivelyClassName__":"lively.morphic.TextChunk"},"19734":{"__SourceModuleName__":"Global.lively.morphic.TextCore","italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis"},"19735":{"x":114,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19736":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"19737":{"morph":{"__isSmartRef__":true,"id":19724},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19738":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19739":{"x":78,"y":-3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19740":{"moveHorizontal":false},"19741":{"submorphs":[],"scripts":[],"id":"22659EE5-2CA5-4B28-A856-3FBF41C477F0","shape":{"__isSmartRef__":true,"id":19742},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":19748},"_MaxTextWidth":250,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":19745},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text6","partsBinMetaInfo":{"__isSmartRef__":true,"id":19749},"textChunks":[{"__isSmartRef__":true,"id":19750}],"charsReplaced":"changes","lastFindLoc":7,"priorSelectionRange":[0,14],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":19752},"renderContextTable":{"__isSmartRef__":true,"id":19753},"eventHandler":{"__isSmartRef__":true,"id":19754},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":19755},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":250,"_MinTextHeight":null,"previousSelection":[0,14],"distanceToDragEvent":{"__isSmartRef__":true,"id":19756},"owner":{"__isSmartRef__":true,"id":19691},"isLockOwner":false,"derivationIds":[2892,"E5DC0070-3EA2-4212-9AA7-E3C865547E5E","809E256F-82F6-4A22-B614-DE8C08FA5970","272C0F9A-E7EF-4ECE-851D-08ACB35EA24D","8AA544F8-6F47-454D-AE18-A264ACDEFA7E","8374F17A-0E7E-4436-931A-1BA6E7CEAB7D","2FA9E6A8-96E0-4B11-B3BE-D625991003B4","EF4AC0A8-BC6A-4E7E-A4A1-838717896172","7E58BFFB-E384-4B68-A4C8-A32E7A93B8FC","BFCA8D00-622E-4E2D-998E-56C8E2DB8351","0DD88B54-97A9-4F81-BEC4-474DB9D20DF5","6400C374-D5C5-4AF3-BDD4-466198D5C4BA","6AB467AF-2289-4696-B2B0-AF36BFC54FDA","1E30FC69-CA06-403F-AE8B-4A12304F1FEB","EB7FBB3F-8989-4980-9DA2-4D10CB466437","0D191BF2-AA67-4F93-94C2-A719DA9CC670"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"19742":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":19743},"_Extent":{"__isSmartRef__":true,"id":19744},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":19745},"renderContextTable":{"__isSmartRef__":true,"id":19746},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":19747},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19743":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19744":{"x":250,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19745":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19746":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19747":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19748":{"x":10,"y":240,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19749":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"19750":{"style":{"__isSmartRef__":true,"id":19751},"morph":{"__isSmartRef__":true,"id":19741},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":19741},"storedString":"commit message","__LivelyClassName__":"lively.morphic.TextChunk"},"19751":{"__SourceModuleName__":"Global.lively.morphic.TextCore","italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis"},"19752":{"x":250,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19753":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"19754":{"morph":{"__isSmartRef__":true,"id":19741},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19755":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19756":{"x":174,"y":-21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19757":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":19758},"id":"7109BF32-F732-4C8C-A248-6B0E70D734C9","renderContextTable":{"__isSmartRef__":true,"id":19765},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":19766}],"eventHandler":{"__isSmartRef__":true,"id":19768},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":19769},"priorExtent":{"__isSmartRef__":true,"id":19770},"_MaxTextWidth":250,"_MinTextWidth":250,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isInputLine":true,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.TextCore","showsHalos":false,"name":"CategoryText","owner":{"__isSmartRef__":true,"id":19691},"previousSelection":[0,14],"priorSelectionRange":[5,5],"charsReplaced":"CommitMessageTest1","lastFindLoc":18,"distanceToDragEvent":{"__isSmartRef__":true,"id":19771},"isLockOwner":false,"derivationIds":[2893,"FBE4B17F-DC2B-4783-899B-CF1B051F14D9","A2C45BC5-C44B-4AEA-A29E-ADE3DAF08638","640BD984-1AB2-45B8-BCEC-AB32A6199D68","BE2E06DB-4DFC-4628-9FED-8F3E87D18E07","6D28F6C5-8D27-4A2D-A13E-55172343909B","9537F96B-5D0E-47CF-9435-5850919DA5A2","B8516280-8A31-4C9E-A9EF-3C058FB084E5","0A41986D-4F2B-4D8B-8A35-AEB659C5D25A","7A7E3053-DA4F-465C-B558-5138BE382156","7024A970-16E6-4DE1-9BD6-6DC50779F4AA","181F12CB-A2A2-4A98-A3B0-9CAC859DFC66","B6176017-4E7E-463E-82DF-DFC54EB00EC9","2956D5AA-C488-4F2E-AEDF-6D795EEECAB3","DB745EE2-3FE0-42B6-8D29-E2B6215E2B17","BD1B8949-BF8B-4B64-A2A5-95E8919FD98B"],"savedTextString":"PartsBin/Basic","layout":{"__isSmartRef__":true,"id":19772},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"19758":{"_Position":{"__isSmartRef__":true,"id":19759},"renderContextTable":{"__isSmartRef__":true,"id":19760},"_Extent":{"__isSmartRef__":true,"id":19761},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":19762},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":19763},"_Fill":{"__isSmartRef__":true,"id":19764},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19759":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19760":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19761":{"x":260,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19762":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19763":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19764":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19765":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"19766":{"style":{"__isSmartRef__":true,"id":19767},"chunkOwner":{"__isSmartRef__":true,"id":19757},"storedString":"PartsBin/FreedomOfSpeech/","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"19767":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"19768":{"morph":{"__isSmartRef__":true,"id":19757},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19769":{"x":204,"y":50,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19770":{"x":260,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19771":{"x":132,"y":-13,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19772":{"resizeWidth":false,"moveHorizontal":true},"19773":{"submorphs":[],"scripts":[],"id":"DAC757AD-D4D9-487D-B968-0606FE9CBEC3","shape":{"__isSmartRef__":true,"id":19774},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":19780},"_MaxTextWidth":114,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":19777},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text7","partsBinMetaInfo":{"__isSmartRef__":true,"id":19781},"textChunks":[{"__isSmartRef__":true,"id":19782}],"charsReplaced":"name","lastFindLoc":4,"priorSelectionRange":[0,8],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":19784},"renderContextTable":{"__isSmartRef__":true,"id":19785},"eventHandler":{"__isSmartRef__":true,"id":19786},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":19787},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":114,"_MinTextHeight":null,"previousSelection":[2,2],"distanceToDragEvent":{"__isSmartRef__":true,"id":19788},"owner":{"__isSmartRef__":true,"id":19691},"isLockOwner":false,"isBeingDragged":false,"derivationIds":[2894,"75F41AE1-CA7A-48D0-AE2C-7AAF6101B89C","CB87A9FB-0776-4109-BDE0-0E8C61F1626C","954BD4D6-BBF2-4D3C-94CA-21A38F66F449","5C78A757-B050-43F1-B4CF-26CE9CC58B03","A90A2B0B-A1A7-4F19-8FFB-1D98E8CF7BE6","181AA91A-3D90-4322-ACB9-3D707A3994E0","8A6171C0-493C-475F-B974-54B0FE5DD81C","246AA662-2B7A-4ABE-AB30-734548540344","708636F1-5D64-47AD-B72E-1E255924638B","3C7D4704-AD28-4978-B6A1-2646B7BAA9B3","D7754A0E-4F0E-4363-907A-4743D1254104","CBD21E5F-99E6-4DDA-BF27-42D3424DB513","BBA77A6C-FD26-4279-8919-1A8114C6F035","BB158E68-208B-4E62-81D2-9B057CA86DBF","037F2BD3-0CFD-4A28-AF42-35D6DEC633C0"],"layout":{"__isSmartRef__":true,"id":19789},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"19774":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":19775},"_Extent":{"__isSmartRef__":true,"id":19776},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":19777},"renderContextTable":{"__isSmartRef__":true,"id":19778},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":19779},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19775":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19776":{"x":114,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19777":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19778":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19779":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19780":{"x":205,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19781":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"19782":{"style":{"__isSmartRef__":true,"id":19783},"chunkOwner":{"__isSmartRef__":true,"id":19773},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"category","__LivelyClassName__":"lively.morphic.TextChunk"},"19783":{"__SourceModuleName__":"Global.lively.morphic.TextCore","italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis"},"19784":{"x":114,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19785":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"19786":{"morph":{"__isSmartRef__":true,"id":19773},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19787":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19788":{"x":87,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19789":{"moveVertical":false,"moveHorizontal":true},"19790":{"submorphs":[],"scripts":[],"id":"229DD826-B09A-43A9-8778-0EED58B3F122","shape":{"__isSmartRef__":true,"id":19791},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":19797},"_MaxTextWidth":325,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":19794},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text8","partsBinMetaInfo":{"__isSmartRef__":true,"id":19798},"textChunks":[{"__isSmartRef__":true,"id":19799}],"charsReplaced":"Publish Object in PartsBin","lastFindLoc":26,"priorSelectionRange":[0,36],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":19801},"renderContextTable":{"__isSmartRef__":true,"id":19802},"eventHandler":{"__isSmartRef__":true,"id":19803},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":19804},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":325,"_MinTextHeight":null,"previousSelection":[0,36],"distanceToDragEvent":{"__isSmartRef__":true,"id":19805},"owner":{"__isSmartRef__":true,"id":19691},"isLockOwner":false,"isBeingDragged":false,"derivationIds":[2895,"3AFBC971-95B4-48C4-888D-22FCBB742090","D0394F71-EBB2-452A-A71F-D172D5B1CAD6","79EDAC74-BD6B-42B1-BBBA-71B07578D1E0","C19A8344-D637-44B7-BB1F-FD0153E5A62B","9C41963E-088E-48CA-9CAA-572564F7CA69","F9411AD0-B890-4EA9-9222-209167943D0D","BF073247-EC88-4664-A2E2-A5E520CFD169","3C9640D6-8AED-4E2A-87F1-8F94D4E9F1B7","01AB4BED-5CFA-4FDE-9D09-535678684FC5","929E4D49-C1D6-4DB2-B2E9-562DE9C7861C","CF0E2CD7-7316-4423-80BC-485A9F57DDBD","62300CE2-71BF-4F7E-AC36-4D3DCEA754B5","4180FEEB-3566-4FAA-BF0A-0F21B049922B","A397C34C-C857-4CF3-8D36-F9C6A51978D7","BBDFAB6B-53A5-4C6F-BF60-3B29C30AECCF"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"19791":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":19792},"_Extent":{"__isSmartRef__":true,"id":19793},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":19794},"renderContextTable":{"__isSmartRef__":true,"id":19795},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":19796},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19792":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19793":{"x":325,"y":19,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19794":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19795":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19796":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19797":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19798":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"19799":{"style":{"__isSmartRef__":true,"id":19800},"chunkOwner":{"__isSmartRef__":true,"id":19790},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Upload part to the shared repository","__LivelyClassName__":"lively.morphic.TextChunk"},"19800":{"italics":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"19801":{"x":325,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19802":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"19803":{"morph":{"__isSmartRef__":true,"id":19790},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19804":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19805":{"x":221,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19806":{"submorphs":[{"__isSmartRef__":true,"id":19807}],"scripts":[],"id":"BE5143FA-B122-492E-B37A-45209A539296","shape":{"__isSmartRef__":true,"id":19822},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":19826},"lighterFill":{"__isSmartRef__":true,"id":19838},"label":{"__isSmartRef__":true,"id":19807},"name":"Button","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":19847},"attributeConnections":[{"__isSmartRef__":true,"id":19848}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":19884},"renderContextTable":{"__isSmartRef__":true,"id":19885},"eventHandler":{"__isSmartRef__":true,"id":19886},"distanceToDragEvent":{"__isSmartRef__":true,"id":19887},"_Position":{"__isSmartRef__":true,"id":19888},"owner":{"__isSmartRef__":true,"id":19691},"derivationIds":[2896,"40384C75-EF01-4AAD-AA1C-A7C19EDB6A0F","21376B8E-78CF-456D-87AA-4D62D86B16D2","E9336A59-C7BF-4C91-88B0-0D0477AA75AE","A5E21E04-05F3-4A15-AAFA-55946EEC5F80","28512033-1B92-4388-B125-1C3DCE6D560F","A7B2B1EE-CD9D-4B35-828A-8F1DE0A24BFC","2E2676E6-1ACE-478E-A54F-49E5754BF3B4","E0DE5483-F457-472E-825E-B6AF8056A1C9","EFBD20B8-E9F6-4777-AA08-A2DA3C8E3E70","D7EF09B6-7888-4F5B-BCEF-E68021A415D6","7FBF982F-F25A-45D8-922E-09822EAC94CE","CBC56727-1E95-4C35-9241-E2876D5B0481","EE9C4AEC-448E-4355-AE9B-D9C3C648F6B4","AAD76550-B8F6-48FF-B41F-B67FB753D845","741803B0-4054-48F3-823E-04D50A704085"],"layout":{"__isSmartRef__":true,"id":19889},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"19807":{"submorphs":[],"scripts":[],"id":"1D4CDF39-B26B-4AD6-98FC-1D6F5643F2F0","shape":{"__isSmartRef__":true,"id":19808},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":19814},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":19815},"_Padding":{"__isSmartRef__":true,"id":19816},"owner":{"__isSmartRef__":true,"id":19806},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":19817},"textChunks":[{"__isSmartRef__":true,"id":19818}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":19820},"eventHandler":{"__isSmartRef__":true,"id":19821},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":101,"_MinTextHeight":null,"derivationIds":[2897,"92EB5E70-61BB-4A71-942C-A34A20789B2F","A9C9F9CF-1BAC-4074-A093-4EB0C3C90866","2FE50303-6361-4A70-9BD5-0D8D1C8B5176","D774C172-7EE9-40AE-9949-340BA8EDBD37","9B5186A1-2B8E-406C-B165-05F327435DC2","9D4948C2-2429-4333-8F3D-89BB96D33894","748160AD-0FF7-4E89-9BB5-486870332207","944E6E30-642C-448D-BBFE-03835C34628C","254F8208-565C-4C75-A5F5-00426CEB4B73","501AF004-4601-4260-8B81-C8F07DB46A9D","A8CA8FB2-5C27-4E5A-8EC1-6697FE1FF0DD","8517C0CE-CE66-435A-B522-21B2A78DFEE9","3CA33CEB-8ACD-4C69-A01F-254F6D1DA196","B1DA64A1-C447-44F0-8186-BB6E6E7DF3CB","E5464D79-8548-4E65-8C48-D9046F121681"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"19808":{"position":{"__isSmartRef__":true,"id":19809},"_Extent":{"__isSmartRef__":true,"id":19810},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":19811},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":19812},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":19813},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19809":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19810":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19811":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19812":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19813":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19814":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19815":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19816":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19817":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19818":{"style":{"__isSmartRef__":true,"id":19819},"chunkOwner":{"__isSmartRef__":true,"id":19807},"storedString":"cancel","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"19819":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"19820":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"19821":{"morph":{"__isSmartRef__":true,"id":19807},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19822":{"position":{"__isSmartRef__":true,"id":19823},"_Extent":{"__isSmartRef__":true,"id":19824},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":19825},"_Fill":{"__isSmartRef__":true,"id":19826},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":19836},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":19837},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19823":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19824":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19825":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19826":{"stops":[{"__isSmartRef__":true,"id":19827},{"__isSmartRef__":true,"id":19829},{"__isSmartRef__":true,"id":19831},{"__isSmartRef__":true,"id":19833}],"vector":{"__isSmartRef__":true,"id":19835},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"19827":{"offset":0,"color":{"__isSmartRef__":true,"id":19828}},"19828":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19829":{"offset":0.4,"color":{"__isSmartRef__":true,"id":19830}},"19830":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19831":{"offset":0.6,"color":{"__isSmartRef__":true,"id":19832}},"19832":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19833":{"offset":1,"color":{"__isSmartRef__":true,"id":19834}},"19834":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19835":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19836":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19837":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19838":{"stops":[{"__isSmartRef__":true,"id":19839},{"__isSmartRef__":true,"id":19841},{"__isSmartRef__":true,"id":19843},{"__isSmartRef__":true,"id":19845}],"vector":{"__isSmartRef__":true,"id":19835},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"19839":{"offset":0,"color":{"__isSmartRef__":true,"id":19840}},"19840":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19841":{"offset":0.4,"color":{"__isSmartRef__":true,"id":19842}},"19842":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19843":{"offset":0.6,"color":{"__isSmartRef__":true,"id":19844}},"19844":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19845":{"offset":1,"color":{"__isSmartRef__":true,"id":19846}},"19846":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19847":{"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"},"19848":{"sourceObj":{"__isSmartRef__":true,"id":19806},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":19691},"targetMethodName":"onCancel","visualConnector":{"__isSmartRef__":true,"id":19849},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"19849":{"submorphs":[{"__isSmartRef__":true,"id":19850}],"scripts":[],"shape":{"__isSmartRef__":true,"id":19865},"id":352,"renderContextTable":{"__isSmartRef__":true,"id":19872},"eventHandler":{"__isSmartRef__":true,"id":19873},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":19874},{"__isSmartRef__":true,"id":19875}],"con":{"__isSmartRef__":true,"id":19848},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":19876},"__LivelyClassName__":"lively.morphic.Path"},"19850":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":19851},"id":353,"renderContextTable":{"__isSmartRef__":true,"id":19862},"eventHandler":{"__isSmartRef__":true,"id":19863},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":19864},"owner":{"__isSmartRef__":true,"id":19849},"_Rotation":-2.716760490670451,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"19851":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":19852},{"__isSmartRef__":true,"id":19853},{"__isSmartRef__":true,"id":19854},{"__isSmartRef__":true,"id":19855}],"renderContextTable":{"__isSmartRef__":true,"id":19856},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":19857},"_Extent":{"__isSmartRef__":true,"id":19858},"_Padding":{"__isSmartRef__":true,"id":19859},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":19860},"_Fill":{"__isSmartRef__":true,"id":19861},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"19852":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"19853":{"isAbsolute":true,"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"19854":{"isAbsolute":true,"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"19855":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"19856":{"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"},"19857":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19858":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19859":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19860":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19861":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19862":{"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"},"19863":{"morph":{"__isSmartRef__":true,"id":19850},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19864":{"x":0.5,"y":0.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19865":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":19866},{"__isSmartRef__":true,"id":19867}],"renderContextTable":{"__isSmartRef__":true,"id":19868},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":19869},"_Extent":{"__isSmartRef__":true,"id":19870},"_Padding":{"__isSmartRef__":true,"id":19871},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":19860},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"19866":{"isAbsolute":true,"x":420,"y":190,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"19867":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"19868":{"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"},"19869":{"x":-0.5,"y":-0.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19870":{"x":421,"y":191,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19871":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19872":{"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"},"19873":{"morph":{"__isSmartRef__":true,"id":19849},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19874":{"morph":{"__isSmartRef__":true,"id":19849},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"19875":{"morph":{"__isSmartRef__":true,"id":19849},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":19850},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"19876":{"morphMenuItems":{"__isSmartRef__":true,"id":19877}},"19877":{"varMapping":{"__isSmartRef__":true,"id":19878},"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":19883},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19878":{"this":{"__isSmartRef__":true,"id":19849},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":19879}},"19879":{"$super":{"__isSmartRef__":true,"id":19880}},"19880":{"varMapping":{"__isSmartRef__":true,"id":19881},"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":19882},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19881":{"obj":{"__isSmartRef__":true,"id":19849},"name":"morphMenuItems"},"19882":{},"19883":{},"19884":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19885":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"19886":{"morph":{"__isSmartRef__":true,"id":19806},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19887":{"x":77,"y":-5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19888":{"x":355,"y":378,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19889":{"moveVertical":true,"moveHorizontal":true},"19890":{"submorphs":[{"__isSmartRef__":true,"id":19891}],"scripts":[],"id":"61E8B1F4-E67D-4D02-9CA0-958ABE4657A4","shape":{"__isSmartRef__":true,"id":19906},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":19910},"lighterFill":{"__isSmartRef__":true,"id":19922},"label":{"__isSmartRef__":true,"id":19891},"name":"Button1","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":19931},"attributeConnections":[{"__isSmartRef__":true,"id":19932}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":19967},"renderContextTable":{"__isSmartRef__":true,"id":19968},"eventHandler":{"__isSmartRef__":true,"id":19969},"distanceToDragEvent":{"__isSmartRef__":true,"id":19970},"_Position":{"__isSmartRef__":true,"id":19971},"owner":{"__isSmartRef__":true,"id":19691},"derivationIds":[2898,"9D27A522-4E3D-482F-97CF-3CA3247A3999","4EBF07AD-25C0-4034-BC06-31F137F70FA1","DC6D6B8E-37AE-4815-A81A-AC7071124A26","42DF6D49-8482-40A3-B901-512013BB5C75","0D3EB4E1-46E7-4B1E-8273-6432575F84B5","733427E4-0BB2-4FB7-917C-4A3D98C50589","001872CD-CE26-4A7A-AB1F-3EFF5AC6D6A3","2FFB821F-9334-4125-8541-31C21E305B78","A3635A2F-B9AE-4CAA-A07F-76E90A2AF718","ACE7DD81-434E-40D4-A12D-CB728F4CFA61","15D1D871-417C-444D-B7E7-4556C755A914","AEC9FEB8-505A-4D19-9C25-747D78D04F17","38C38B49-0343-41FA-BC14-2FAF64266DB0","55C4703F-8F22-4BB7-A09A-4186B8A404F2","6F234AFA-11CA-48C1-841A-536E5A48FE21"],"layout":{"__isSmartRef__":true,"id":19972},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"19891":{"submorphs":[],"scripts":[],"id":"E2302B65-3AE2-478A-A710-BCDB8D97E582","shape":{"__isSmartRef__":true,"id":19892},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":19898},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":19899},"_Padding":{"__isSmartRef__":true,"id":19900},"owner":{"__isSmartRef__":true,"id":19890},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":19901},"textChunks":[{"__isSmartRef__":true,"id":19902}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":19904},"eventHandler":{"__isSmartRef__":true,"id":19905},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":101,"_MinTextHeight":null,"derivationIds":[2899,"4F00D1F5-B85C-479E-BDDE-322DF2F432A3","5E7BC7AC-9EF9-4CF5-9196-A542A26534CA","46616896-CA46-4B43-B694-9FB001B32989","F73D407C-A72D-414B-AB8D-1E28025BCA1C","C5B395F9-BF24-4FA7-87D3-03E9AE9C4E45","ECEC7694-EF15-4DE7-A847-9DB2D4B99B3C","AE0EC189-A810-44FB-948F-F8667AF67929","CC950242-2CF1-48D3-B3C3-EF03073D145F","181712FB-04E9-40DA-ABEF-E711AC15A136","08CA5C5C-AAE0-4E6D-BFA4-04C9735965CC","F06603E2-E026-4DB9-B64F-71C0F6BE4CAA","5F5EDDF1-7355-4EE9-8286-9B0FC87B4A34","79E77E86-9ABD-4417-A260-E0CAABA3925E","11030354-936E-4E5D-BEB5-643D96C0CE06","34136BAA-3143-44E9-AA72-B7030E66E400"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"19892":{"position":{"__isSmartRef__":true,"id":19893},"_Extent":{"__isSmartRef__":true,"id":19894},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":19895},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":19896},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":19897},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19893":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19894":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19895":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19896":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19897":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19898":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19899":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19900":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19901":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19902":{"style":{"__isSmartRef__":true,"id":19903},"chunkOwner":{"__isSmartRef__":true,"id":19891},"storedString":"publish","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"19903":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"19904":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"19905":{"morph":{"__isSmartRef__":true,"id":19891},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19906":{"position":{"__isSmartRef__":true,"id":19907},"_Extent":{"__isSmartRef__":true,"id":19908},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":19909},"_Fill":{"__isSmartRef__":true,"id":19910},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":19920},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":19921},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19907":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19908":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19909":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19910":{"stops":[{"__isSmartRef__":true,"id":19911},{"__isSmartRef__":true,"id":19913},{"__isSmartRef__":true,"id":19915},{"__isSmartRef__":true,"id":19917}],"vector":{"__isSmartRef__":true,"id":19919},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"19911":{"offset":0,"color":{"__isSmartRef__":true,"id":19912}},"19912":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19913":{"offset":0.4,"color":{"__isSmartRef__":true,"id":19914}},"19914":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19915":{"offset":0.6,"color":{"__isSmartRef__":true,"id":19916}},"19916":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19917":{"offset":1,"color":{"__isSmartRef__":true,"id":19918}},"19918":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19919":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19920":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19921":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19922":{"stops":[{"__isSmartRef__":true,"id":19923},{"__isSmartRef__":true,"id":19925},{"__isSmartRef__":true,"id":19927},{"__isSmartRef__":true,"id":19929}],"vector":{"__isSmartRef__":true,"id":19919},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"19923":{"offset":0,"color":{"__isSmartRef__":true,"id":19924}},"19924":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19925":{"offset":0.4,"color":{"__isSmartRef__":true,"id":19926}},"19926":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19927":{"offset":0.6,"color":{"__isSmartRef__":true,"id":19928}},"19928":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19929":{"offset":1,"color":{"__isSmartRef__":true,"id":19930}},"19930":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19931":{"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"},"19932":{"sourceObj":{"__isSmartRef__":true,"id":19890},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":19691},"targetMethodName":"onPublish","visualConnector":{"__isSmartRef__":true,"id":19933},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"19933":{"submorphs":[{"__isSmartRef__":true,"id":19934}],"scripts":[],"shape":{"__isSmartRef__":true,"id":19948},"id":139,"renderContextTable":{"__isSmartRef__":true,"id":19955},"eventHandler":{"__isSmartRef__":true,"id":19956},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":19957},{"__isSmartRef__":true,"id":19958}],"con":{"__isSmartRef__":true,"id":19932},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":19959},"__LivelyClassName__":"lively.morphic.Path"},"19934":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":19935},"id":140,"renderContextTable":{"__isSmartRef__":true,"id":19945},"eventHandler":{"__isSmartRef__":true,"id":19946},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":19947},"owner":{"__isSmartRef__":true,"id":19933},"_Rotation":-2.5917394709132084,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"19935":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":19936},{"__isSmartRef__":true,"id":19937},{"__isSmartRef__":true,"id":19938},{"__isSmartRef__":true,"id":19939}],"renderContextTable":{"__isSmartRef__":true,"id":19940},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":19941},"_Extent":{"__isSmartRef__":true,"id":19942},"_Padding":{"__isSmartRef__":true,"id":19943},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":19860},"_Fill":{"__isSmartRef__":true,"id":19944},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"19936":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"19937":{"isAbsolute":true,"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"19938":{"isAbsolute":true,"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"19939":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"19940":{"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"},"19941":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19942":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19943":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19944":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19945":{"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"},"19946":{"morph":{"__isSmartRef__":true,"id":19934},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19947":{"x":0.5,"y":0.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19948":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":19949},{"__isSmartRef__":true,"id":19950}],"renderContextTable":{"__isSmartRef__":true,"id":19951},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":19952},"_Extent":{"__isSmartRef__":true,"id":19953},"_Padding":{"__isSmartRef__":true,"id":19954},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":19860},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"19949":{"isAbsolute":true,"x":310,"y":190,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"19950":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"19951":{"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"},"19952":{"x":-0.5,"y":-0.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19953":{"x":311,"y":191,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19954":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19955":{"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"},"19956":{"morph":{"__isSmartRef__":true,"id":19933},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19957":{"morph":{"__isSmartRef__":true,"id":19933},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"19958":{"morph":{"__isSmartRef__":true,"id":19933},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":19934},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"19959":{"morphMenuItems":{"__isSmartRef__":true,"id":19960}},"19960":{"varMapping":{"__isSmartRef__":true,"id":19961},"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":19966},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19961":{"this":{"__isSmartRef__":true,"id":19933},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":19962}},"19962":{"$super":{"__isSmartRef__":true,"id":19963}},"19963":{"varMapping":{"__isSmartRef__":true,"id":19964},"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":19965},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"19964":{"obj":{"__isSmartRef__":true,"id":19933},"name":"morphMenuItems"},"19965":{},"19966":{},"19967":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19968":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"19969":{"morph":{"__isSmartRef__":true,"id":19890},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19970":{"x":62,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19971":{"x":245,"y":378,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19972":{"moveVertical":true,"moveHorizontal":true},"19973":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":19974},"id":"5FA71813-FA3D-4EEA-870A-C8C0AAF23273","renderContextTable":{"__isSmartRef__":true,"id":19981},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":19982}],"eventHandler":{"__isSmartRef__":true,"id":19984},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":19985},"priorExtent":{"__isSmartRef__":true,"id":19986},"_MaxTextWidth":445,"_MinTextWidth":445,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isInputLine":true,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.TextCore","showsHalos":false,"name":"CommentText","distanceToDragEvent":{"__isSmartRef__":true,"id":19987},"previousSelection":[0,46],"priorSelectionRange":[0,0],"charsReplaced":"CommitMessageTest1","lastFindLoc":18,"isLockOwner":false,"isBeingDragged":false,"owner":{"__isSmartRef__":true,"id":19691},"derivationIds":[2900,"7E82C349-9FC9-48B5-B84C-30E99FC40DF2","A07EAFD3-B03B-4E4C-BC72-FB29F65F543A","888FB55C-0365-4B40-A9B4-33FD19FA1E91","37AE3F7E-8AF9-413E-BDB9-796C3CE0C0A6","C19CF401-2869-429B-8C7E-3679F2C07B10","16D31632-3C1B-4388-9753-E178F4D74EC3","CE8B7F8B-0B5D-4A03-AFA0-CB5E4A9EE815","A0B7AE1E-340F-4786-A906-37B5D92B955E","6FB3DD7F-E27E-4C14-B6A7-87EE557243E3","8C9DC597-8FB3-409F-9F92-43E22D1EE113","96E19549-1C58-47D1-AABB-06F24696272A","20261F28-5D7A-4D9C-9F1F-79FC901C5E5F","9596C6D2-BEBD-47B3-B8A0-CD4AEBEF927D","420AC273-AA29-49EC-A1C7-C0E272006666","5D4C09DA-AAFB-4330-8646-23901C1FDB84"],"savedTextString":"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!","layout":{"__isSmartRef__":true,"id":19988},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"19974":{"_Position":{"__isSmartRef__":true,"id":19975},"renderContextTable":{"__isSmartRef__":true,"id":19976},"_Extent":{"__isSmartRef__":true,"id":19977},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":19978},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":19979},"_Fill":{"__isSmartRef__":true,"id":19980},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19975":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19976":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19977":{"x":455,"y":120,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19978":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19979":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19980":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19981":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"19982":{"style":{"__isSmartRef__":true,"id":19983},"chunkOwner":{"__isSmartRef__":true,"id":19973},"storedString":"no comment","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"19983":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"19984":{"morph":{"__isSmartRef__":true,"id":19973},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"19985":{"x":10,"y":110,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19986":{"x":455,"y":120,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19987":{"x":346,"y":-16,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19988":{"resizeWidth":true},"19989":{"submorphs":[],"scripts":[],"id":"4DD105F0-98D1-4D9A-83E5-88098B2EDC87","shape":{"__isSmartRef__":true,"id":19990},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":19996},"_MaxTextWidth":250,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":19993},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text9","partsBinMetaInfo":{"__isSmartRef__":true,"id":19997},"textChunks":[{"__isSmartRef__":true,"id":19998}],"charsReplaced":"commit message","lastFindLoc":14,"priorSelectionRange":[0,14],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":20000},"renderContextTable":{"__isSmartRef__":true,"id":20001},"eventHandler":{"__isSmartRef__":true,"id":20002},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":20003},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":250,"_MinTextHeight":null,"previousSelection":[0,6],"distanceToDragEvent":{"__isSmartRef__":true,"id":20004},"isLockOwner":false,"owner":{"__isSmartRef__":true,"id":19691},"derivationIds":[2901,"8E267E15-1052-4F9C-B863-B733384EF1DA","851C46B4-347F-4AE4-9C04-C321E7CC8EA5","D33CE057-77D6-4CCC-90F9-867C622B3572","F9BFA4FE-D786-4384-B9F8-89EEA1D41685","95D3D9C3-CA8D-42A5-833B-30E01D630A4A","9FC24DFC-050E-423E-A017-2D5704509876","1EF71F38-5BCB-4C26-AB60-E2105330181C","7D191F0F-E475-47CF-BABE-55A543C7158D","F6ACFDD6-981C-4170-82C4-1AA9C3090741","092A05B9-0347-411B-8E2A-89272FF7A531","ABE15D91-8819-412F-9FAA-FC6A2F8AD14A","1F266812-1C31-4C6F-9676-B9E59DEA4864","F99A2F51-81DC-4D7F-93A2-84EFBFBC119F","7C9D55B3-6BFC-4DE2-B574-F4A3A11ECF00","08ABC4D8-386F-404A-AB0C-E90DC2E84DC0"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"19990":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":19991},"_Extent":{"__isSmartRef__":true,"id":19992},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":19993},"renderContextTable":{"__isSmartRef__":true,"id":19994},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":19995},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19991":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19992":{"x":250,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"19993":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"19994":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"19995":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"19996":{"x":10,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19997":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"19998":{"style":{"__isSmartRef__":true,"id":19999},"morph":{"__isSmartRef__":true,"id":19989},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":19989},"storedString":"comment","__LivelyClassName__":"lively.morphic.TextChunk"},"19999":{"__SourceModuleName__":"Global.lively.morphic.TextCore","italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis"},"20000":{"x":250,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20001":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"20002":{"morph":{"__isSmartRef__":true,"id":19989},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"20003":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"20004":{"x":163,"y":-17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20005":{"submorphs":[{"__isSmartRef__":true,"id":20006}],"scripts":[],"id":"4404EAB5-0D74-4F39-BE23-02420527E031","shape":{"__isSmartRef__":true,"id":20021},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":20025},"lighterFill":{"__isSmartRef__":true,"id":20037},"label":{"__isSmartRef__":true,"id":20006},"name":"DiffButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":20046},"attributeConnections":[{"__isSmartRef__":true,"id":20047}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":20049},"renderContextTable":{"__isSmartRef__":true,"id":20050},"eventHandler":{"__isSmartRef__":true,"id":20051},"distanceToDragEvent":{"__isSmartRef__":true,"id":20052},"_Position":{"__isSmartRef__":true,"id":20053},"derivationIds":[2898,"9D27A522-4E3D-482F-97CF-3CA3247A3999","4EBF07AD-25C0-4034-BC06-31F137F70FA1","DC6D6B8E-37AE-4815-A81A-AC7071124A26","42DF6D49-8482-40A3-B901-512013BB5C75","132901B3-F9F2-482D-99E6-40EAECDCEF13","7BC760E1-232D-4654-8D89-3E2AF9B63E8A","10CF8C2D-EC10-4718-9BB8-A4D765C25CA2","E1457927-6D7F-4C43-A0D3-4606E937C36C","B2BCD5A8-36BB-4202-B2F1-480CA22D151C","16C66256-7472-4B33-A3FC-D41E1123E484","9D6EC181-02A4-4AA3-9511-97B61299072E","514B5C5C-2E93-4CD5-913F-C4210C8D3803","A4836A2F-5B4D-4F0C-BA65-6DF7DB4D4262","DD94CDA9-6F9F-4B4F-9D75-C57314BFD093","AB91D3DA-E1FA-400A-813B-C9670264E72F","9E97E660-33C2-4D79-9407-0794A939EBC2"],"owner":{"__isSmartRef__":true,"id":19691},"layout":{"__isSmartRef__":true,"id":20054},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"20006":{"submorphs":[],"scripts":[],"id":"FAEA5AA4-DEA0-43A1-8AC4-2EE823EDFD1E","shape":{"__isSmartRef__":true,"id":20007},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":20013},"_MaxTextWidth":150,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":20014},"_Padding":{"__isSmartRef__":true,"id":20015},"owner":{"__isSmartRef__":true,"id":20005},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":20016},"textChunks":[{"__isSmartRef__":true,"id":20017}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":20019},"eventHandler":{"__isSmartRef__":true,"id":20020},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":150,"_MinTextHeight":null,"derivationIds":[2899,"4F00D1F5-B85C-479E-BDDE-322DF2F432A3","5E7BC7AC-9EF9-4CF5-9196-A542A26534CA","46616896-CA46-4B43-B694-9FB001B32989","F73D407C-A72D-414B-AB8D-1E28025BCA1C","E34F55EC-06D3-4965-A0D2-625CA896E3B7","2C75B823-DD52-427F-A501-B824B4C4AFFF","B4D1CBE5-9DEA-4728-8803-CCD541086497","6E0FBCF8-EAA4-4635-A092-F3A690EE9EF7","89A9C61E-62E5-4DC5-9ABB-48A97517BF54","7481FBBB-A4A7-4F5E-A153-60033229DE49","FEBD2158-DF74-4EDF-BD2A-2C5A19DDF177","129B298F-732B-46E2-AB44-60B8E8AC2378","92CFB2AD-D63D-4DD7-A729-6D0962A7C5FC","BC6FB6FB-EF63-4C39-9668-0462E42556C2","8BE2159A-9EB3-44EC-8BAD-0CF297F58645","D81DC308-8273-4F17-A7C0-849953D6454B"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"20007":{"position":{"__isSmartRef__":true,"id":20008},"_Extent":{"__isSmartRef__":true,"id":20009},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":20010},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":20011},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":20012},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"20008":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20009":{"x":150,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"20010":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20011":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"20012":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"20013":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20014":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"20015":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"20016":{"x":150,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20017":{"style":{"__isSmartRef__":true,"id":20018},"chunkOwner":{"__isSmartRef__":true,"id":20006},"storedString":"check for updates","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"20018":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"20019":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"20020":{"morph":{"__isSmartRef__":true,"id":20006},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"20021":{"position":{"__isSmartRef__":true,"id":20022},"_Extent":{"__isSmartRef__":true,"id":20023},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":20024},"_Fill":{"__isSmartRef__":true,"id":20025},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":20035},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":20036},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"20022":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20023":{"x":150,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20024":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20025":{"stops":[{"__isSmartRef__":true,"id":20026},{"__isSmartRef__":true,"id":20028},{"__isSmartRef__":true,"id":20030},{"__isSmartRef__":true,"id":20032}],"vector":{"__isSmartRef__":true,"id":20034},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"20026":{"offset":0,"color":{"__isSmartRef__":true,"id":20027}},"20027":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20028":{"offset":0.4,"color":{"__isSmartRef__":true,"id":20029}},"20029":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20030":{"offset":0.6,"color":{"__isSmartRef__":true,"id":20031}},"20031":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20032":{"offset":1,"color":{"__isSmartRef__":true,"id":20033}},"20033":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20034":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"20035":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"20036":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"20037":{"stops":[{"__isSmartRef__":true,"id":20038},{"__isSmartRef__":true,"id":20040},{"__isSmartRef__":true,"id":20042},{"__isSmartRef__":true,"id":20044}],"vector":{"__isSmartRef__":true,"id":20034},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"20038":{"offset":0,"color":{"__isSmartRef__":true,"id":20039}},"20039":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20040":{"offset":0.4,"color":{"__isSmartRef__":true,"id":20041}},"20041":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20042":{"offset":0.6,"color":{"__isSmartRef__":true,"id":20043}},"20043":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20044":{"offset":1,"color":{"__isSmartRef__":true,"id":20045}},"20045":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20046":{"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"},"20047":{"sourceObj":{"__isSmartRef__":true,"id":20005},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":19691},"targetMethodName":"checkForUpdates","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":20048},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"20048":{"source":{"__isSmartRef__":true,"id":20005},"target":{"__isSmartRef__":true,"id":19691}},"20049":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20050":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"20051":{"morph":{"__isSmartRef__":true,"id":20005},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"20052":{"x":69.5,"y":-18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20053":{"x":10,"y":378,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20054":{"moveVertical":true},"20055":{"_Position":{"__isSmartRef__":true,"id":20056},"renderContextTable":{"__isSmartRef__":true,"id":20057},"_Extent":{"__isSmartRef__":true,"id":20058},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":20059},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":20060},"_Fill":{"__isSmartRef__":true,"id":20061},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"20056":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20057":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"20058":{"x":479,"y":415,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20059":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"20060":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20061":{"r":0.8235294117647058,"g":0.8235294117647058,"b":0.8235294117647058,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"20062":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"20063":{"morph":{"__isSmartRef__":true,"id":19691},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"20064":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"20065":{"message":"Please enter a name for the part","attributeConnections":[{"__isSmartRef__":true,"id":20066}],"doNotSerialize":["$$result"],"doNotCopyProperties":["$$result"],"defaultInput":"CommitMessageTest1","panel":{"__isSmartRef__":true,"id":19691},"label":{"__isSmartRef__":true,"id":20067},"cancelButton":{"__isSmartRef__":true,"id":20079},"okButton":{"__isSmartRef__":true,"id":20125},"inputText":{"__isSmartRef__":true,"id":19692},"view":{"__isSmartRef__":true,"id":19691},"__SourceModuleName__":"Global.lively.morphic.Widgets","result":"CommitMessageTest1","__LivelyClassName__":"lively.morphic.PromptDialog"},"20066":{"sourceObj":{"__isSmartRef__":true,"id":20065},"sourceAttrName":"result","targetObj":{"__isSmartRef__":true,"id":20065},"targetMethodName":"triggerCallback","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"20067":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":20068},"id":3220,"renderContextTable":{"__isSmartRef__":true,"id":20073},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":20074}],"eventHandler":{"__isSmartRef__":true,"id":20076},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":20077},"priorExtent":{"__isSmartRef__":true,"id":20078},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"isCopyMorphRef":true,"morphRefId":1,"__LivelyClassName__":"lively.morphic.Text"},"20068":{"_Position":{"__isSmartRef__":true,"id":20069},"renderContextTable":{"__isSmartRef__":true,"id":20070},"_Extent":{"__isSmartRef__":true,"id":20071},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":19697},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":19698},"_Fill":{"__isSmartRef__":true,"id":20072},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"20069":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20070":{"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"},"20071":{"x":226,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20072":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20073":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"20074":{"style":{"__isSmartRef__":true,"id":20075},"chunkOwner":{"__isSmartRef__":true,"id":20067},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"20075":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"20076":{"morph":{"__isSmartRef__":true,"id":20067},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"20077":{"x":4,"y":4,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20078":{"x":226,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20079":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":20080},"id":6793,"renderContextTable":{"__isSmartRef__":true,"id":20096},"eventHandler":{"__isSmartRef__":true,"id":20097},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":20098},"priorExtent":{"__isSmartRef__":true,"id":20099},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":20086},"lighterFill":{"__isSmartRef__":true,"id":20100},"label":{"__isSmartRef__":true,"id":20109},"layout":{"__isSmartRef__":true,"id":20121},"owner":null,"attributeConnections":[{"__isSmartRef__":true,"id":20122},{"__isSmartRef__":true,"id":20123}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","isCopyMorphRef":true,"morphRefId":1,"isLockOwner":false,"showsHalos":false,"__LivelyClassName__":"lively.morphic.Button"},"20080":{"_Position":{"__isSmartRef__":true,"id":20081},"renderContextTable":{"__isSmartRef__":true,"id":20082},"_Extent":{"__isSmartRef__":true,"id":20083},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":20084},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":20085},"_Fill":{"__isSmartRef__":true,"id":20086},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"20081":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20082":{"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"},"20083":{"x":60,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20084":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"20085":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20086":{"stops":[{"__isSmartRef__":true,"id":20087},{"__isSmartRef__":true,"id":20089},{"__isSmartRef__":true,"id":20091},{"__isSmartRef__":true,"id":20093}],"vector":{"__isSmartRef__":true,"id":20095},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"20087":{"offset":0,"color":{"__isSmartRef__":true,"id":20088}},"20088":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20089":{"offset":0.4,"color":{"__isSmartRef__":true,"id":20090}},"20090":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20091":{"offset":0.6,"color":{"__isSmartRef__":true,"id":20092}},"20092":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20093":{"offset":1,"color":{"__isSmartRef__":true,"id":20094}},"20094":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20095":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"20096":{"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"},"20097":{"morph":{"__isSmartRef__":true,"id":20079},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"20098":{"x":478,"y":187,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20099":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20100":{"stops":[{"__isSmartRef__":true,"id":20101},{"__isSmartRef__":true,"id":20103},{"__isSmartRef__":true,"id":20105},{"__isSmartRef__":true,"id":20107}],"vector":{"__isSmartRef__":true,"id":20095},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"20101":{"offset":0,"color":{"__isSmartRef__":true,"id":20102}},"20102":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20103":{"offset":0.4,"color":{"__isSmartRef__":true,"id":20104}},"20104":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20105":{"offset":0.6,"color":{"__isSmartRef__":true,"id":20106}},"20106":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20107":{"offset":1,"color":{"__isSmartRef__":true,"id":20108}},"20108":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20109":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":20110},"id":6794,"renderContextTable":{"__isSmartRef__":true,"id":20115},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":20116}],"eventHandler":{"__isSmartRef__":true,"id":20118},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":20119},"priorExtent":{"__isSmartRef__":true,"id":20120},"_MaxTextWidth":60,"_MinTextWidth":60,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":null,"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLockOwner":false,"showsHalos":false,"__LivelyClassName__":"lively.morphic.Text"},"20110":{"_Position":{"__isSmartRef__":true,"id":20111},"renderContextTable":{"__isSmartRef__":true,"id":20112},"_Extent":{"__isSmartRef__":true,"id":20113},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":20114},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":19698},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"20111":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20112":{"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"},"20113":{"x":60,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20114":{"x":0,"y":6,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"20115":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"20116":{"style":{"__isSmartRef__":true,"id":20117},"chunkOwner":{"__isSmartRef__":true,"id":20109},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"20117":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"20118":{"morph":{"__isSmartRef__":true,"id":20109},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"20119":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20120":{"x":60,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20121":{"moveVertical":true,"moveHorizontal":true},"20122":{"sourceObj":{"__isSmartRef__":true,"id":20079},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":20065},"targetMethodName":"removeTopLevel","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"20123":{"sourceObj":{"__isSmartRef__":true,"id":20079},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":20065},"targetMethodName":"result","converter":null,"converterString":"function () { return null }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":20124},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"20124":{"source":{"__isSmartRef__":true,"id":20079},"target":{"__isSmartRef__":true,"id":20065}},"20125":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":20126},"id":6795,"renderContextTable":{"__isSmartRef__":true,"id":20131},"eventHandler":{"__isSmartRef__":true,"id":20132},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":20133},"priorExtent":{"__isSmartRef__":true,"id":20134},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":20086},"lighterFill":{"__isSmartRef__":true,"id":20135},"label":{"__isSmartRef__":true,"id":20144},"layout":{"__isSmartRef__":true,"id":20156},"owner":null,"attributeConnections":[{"__isSmartRef__":true,"id":20157},{"__isSmartRef__":true,"id":20158}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","isCopyMorphRef":true,"morphRefId":2,"isLockOwner":false,"showsHalos":false,"__LivelyClassName__":"lively.morphic.Button"},"20126":{"_Position":{"__isSmartRef__":true,"id":20127},"renderContextTable":{"__isSmartRef__":true,"id":20128},"_Extent":{"__isSmartRef__":true,"id":20129},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":20130},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":20085},"_Fill":{"__isSmartRef__":true,"id":20086},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"20127":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20128":{"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"},"20129":{"x":60,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20130":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"20131":{"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"},"20132":{"morph":{"__isSmartRef__":true,"id":20125},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"20133":{"x":414,"y":187,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20134":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20135":{"stops":[{"__isSmartRef__":true,"id":20136},{"__isSmartRef__":true,"id":20138},{"__isSmartRef__":true,"id":20140},{"__isSmartRef__":true,"id":20142}],"vector":{"__isSmartRef__":true,"id":20095},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"20136":{"offset":0,"color":{"__isSmartRef__":true,"id":20137}},"20137":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20138":{"offset":0.4,"color":{"__isSmartRef__":true,"id":20139}},"20139":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20140":{"offset":0.6,"color":{"__isSmartRef__":true,"id":20141}},"20141":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20142":{"offset":1,"color":{"__isSmartRef__":true,"id":20143}},"20143":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20144":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":20145},"id":6796,"renderContextTable":{"__isSmartRef__":true,"id":20150},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":20151}],"eventHandler":{"__isSmartRef__":true,"id":20153},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":20154},"priorExtent":{"__isSmartRef__":true,"id":20155},"_MaxTextWidth":60,"_MinTextWidth":60,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":null,"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLockOwner":false,"showsHalos":false,"__LivelyClassName__":"lively.morphic.Text"},"20145":{"_Position":{"__isSmartRef__":true,"id":20146},"renderContextTable":{"__isSmartRef__":true,"id":20147},"_Extent":{"__isSmartRef__":true,"id":20148},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":20149},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":19698},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"20146":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20147":{"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"},"20148":{"x":60,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20149":{"x":0,"y":6,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"20150":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"20151":{"style":{"__isSmartRef__":true,"id":20152},"chunkOwner":{"__isSmartRef__":true,"id":20144},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"20152":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"20153":{"morph":{"__isSmartRef__":true,"id":20144},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"20154":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20155":{"x":60,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20156":{"moveVertical":true,"moveHorizontal":true},"20157":{"sourceObj":{"__isSmartRef__":true,"id":20125},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":20065},"targetMethodName":"removeTopLevel","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"20158":{"sourceObj":{"__isSmartRef__":true,"id":20125},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":19692},"targetMethodName":"doSave","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"20159":{"x":479,"y":415,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20160":{"x":365,"y":-16,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20161":{"x":0,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20162":{"partName":"PublishPartPanePane","requiredModules":[],"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"20163":{"copyToPartsBin":{"__isSmartRef__":true,"id":20164},"onPublish":{"__isSmartRef__":true,"id":20172},"onCancel":{"__isSmartRef__":true,"id":20176},"setTarget":{"__isSmartRef__":true,"id":20180},"reset":{"__isSmartRef__":true,"id":20184},"showDiff":{"__isSmartRef__":true,"id":20188},"checkForUpdates":{"__isSmartRef__":true,"id":20192},"askForDiffViewer":{"__isSmartRef__":true,"id":20196},"onRemove":{"__isSmartRef__":true,"id":20200}},"20164":{"varMapping":{"__isSmartRef__":true,"id":20165},"source":"function copyToPartsBin(morph) {\n var name = this.get('NameText').textString\n\n var info = morph.getPartsBinMetaInfo();\n morph.setName(name);\n\n info.partsSpaceName = this.get('CategoryText').textString\n info.comment = this.get('CommentText').textString\n\n if (! info.changes) info.changes = [];\n var change = { \n date: new Date(), \n author: this.world().getUserName(), \n message: this.get('CommitMessageText').textString,\n id: Strings.newUUID()\n }\n info.changes.push(change) \n\n morph.copyToPartsBin();\n}","funcProperties":{"__isSmartRef__":true,"id":20170},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"20165":{"this":{"__isSmartRef__":true,"id":19691},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":20166}},"20166":{"$super":{"__isSmartRef__":true,"id":20167}},"20167":{"varMapping":{"__isSmartRef__":true,"id":20168},"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":20169},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"20168":{"obj":{"__isSmartRef__":true,"id":19691},"name":"copyToPartsBin"},"20169":{},"20170":{"timestamp":{"__isSmartRef__":true,"id":20171},"user":"jenslincke","tags":[]},"20171":{"isSerializedDate":true,"string":"Fri Oct 28 2011 15:13:21 GMT+0200 (CEST)"},"20172":{"varMapping":{"__isSmartRef__":true,"id":20173},"source":"function onPublish() {\n if (!this.target) alert(\"No target to upload\");\n this.copyToPartsBin(this.target);\n}","funcProperties":{"__isSmartRef__":true,"id":20174},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"20173":{"this":{"__isSmartRef__":true,"id":19691}},"20174":{"timestamp":{"__isSmartRef__":true,"id":20175},"user":"undefined","tags":[]},"20175":{"isSerializedDate":true,"string":"Thu Mar 29 2012 15:46:31 GMT+0200 (CEST)"},"20176":{"varMapping":{"__isSmartRef__":true,"id":20177},"source":"function onCancel() {\n alertOK(\"cancel upload \") \n this.owner.remove()\n}","funcProperties":{"__isSmartRef__":true,"id":20178},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"20177":{"this":{"__isSmartRef__":true,"id":19691}},"20178":{"timestamp":{"__isSmartRef__":true,"id":20179},"user":"jenslincke","tags":[]},"20179":{"isSerializedDate":true,"string":"Wed Oct 19 2011 14:52:17 GMT+0200 (CEST)"},"20180":{"varMapping":{"__isSmartRef__":true,"id":20181},"source":"function setTarget(morph) {\n this.target = morph \n if (!morph) {\n this.get('NameText').textString = 'Anonymous';\n this.get('CategoryText').textString = 'Default';\n this.get('CommentText').textString = 'no comment'; \n this.get('CommitMessageText').textString = 'no comment' \n return\n }\n var info = this.target.getPartsBinMetaInfo();\n this.get('NameText').textString = info.partName || morph.getName();\n if (info.partsSpaceName) this.get('CategoryText').textString = info.partsSpaceName;\n if (info.comment) this.get('CommentText').textString = info.comment; \n\n}","funcProperties":{"__isSmartRef__":true,"id":20182},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"20181":{"this":{"__isSmartRef__":true,"id":19691}},"20182":{"timestamp":{"__isSmartRef__":true,"id":20183},"user":"jenslincke","tags":[]},"20183":{"isSerializedDate":true,"string":"Fri Apr 20 2012 11:59:07 GMT+0200 (CEST)"},"20184":{"varMapping":{"__isSmartRef__":true,"id":20185},"source":"function reset() {\n this.setTarget(null)\n \n}","funcProperties":{"__isSmartRef__":true,"id":20186},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"20185":{"this":{"__isSmartRef__":true,"id":19691}},"20186":{"timestamp":{"__isSmartRef__":true,"id":20187},"user":"jenslincke","tags":[]},"20187":{"isSerializedDate":true,"string":"Wed Oct 19 2011 14:45:36 GMT+0200 (CEST)"},"20188":{"varMapping":{"__isSmartRef__":true,"id":20189},"source":"function showDiff() {\n if (this.target) {\n if (typeof(this.target.showThreeWayDiff) === 'function') {\n this.target.showThreeWayDiff();\n }\n else {\n alert('Three Way Diff is not implemented yet')\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":20190},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"20189":{"this":{"__isSmartRef__":true,"id":19691}},"20190":{"timestamp":{"__isSmartRef__":true,"id":20191},"user":"undefined","tags":[]},"20191":{"isSerializedDate":true,"string":"Thu Mar 22 2012 10:32:37 GMT+0100 (CET)"},"20192":{"varMapping":{"__isSmartRef__":true,"id":20193},"source":"function checkForUpdates() {\n var space = lively.PartsBin.partsSpaceNamed(this.get('CategoryText').textString),\n name = this.get('NameText').textString,\n fileUrl = space.getURL().withFilename(encodeURI(name))+'.json';\n\n var webR = new WebResource(fileUrl);\n \n if (webR.exists()) {\n var rev = webR.getHeadRevision().headRevision;\n if (this.target.getPartsBinMetaInfo().revisionOnLoad == rev) \n alertOK(\"No changes since last update.\")\n else {\n this.askForDiffViewer();\n }\n }\n else \n alertOK(\"Part does not exist in PartsBin.\") \n \n}","funcProperties":{"__isSmartRef__":true,"id":20194},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"20193":{"this":{"__isSmartRef__":true,"id":19691}},"20194":{"timestamp":{"__isSmartRef__":true,"id":20195},"user":"undefined","tags":[]},"20195":{"isSerializedDate":true,"string":"Fri Mar 23 2012 15:12:03 GMT+0100 (CET)"},"20196":{"varMapping":{"__isSmartRef__":true,"id":20197},"source":"function askForDiffViewer() {\n $world.confirm('A newer version of '+this.get('NameText').textString+' is available. Show diff?', function (bool) {bool && this.showDiff()}.bind(this))\n}","funcProperties":{"__isSmartRef__":true,"id":20198},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"20197":{"this":{"__isSmartRef__":true,"id":19691}},"20198":{"timestamp":{"__isSmartRef__":true,"id":20199},"user":"undefined","tags":[]},"20199":{"isSerializedDate":true,"string":"Fri Mar 23 2012 15:08:43 GMT+0100 (CET)"},"20200":{"varMapping":{"__isSmartRef__":true,"id":20201},"source":"function onRemove() {\n $world.publishPartDialog && $world.publishPartDialog.remove()\n}","funcProperties":{"__isSmartRef__":true,"id":20202},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"20201":{"this":{"__isSmartRef__":true,"id":19691}},"20202":{"timestamp":{"__isSmartRef__":true,"id":20203},"user":"undefined","tags":[]},"20203":{"isSerializedDate":true,"string":"Thu Mar 29 2012 15:54:34 GMT+0200 (CEST)"},"20204":{"submorphs":[],"scripts":[],"id":"78FA7410-D7C5-45DB-8B12-E4D65F1DED56","shape":{"__isSmartRef__":true,"id":20205},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":20212},"showsHalos":false,"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":20213},"__SourceModuleName__":"Global.lively.morphic.Core","draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":20214},"originalTargetExtent":null,"renderContextTable":{"__isSmartRef__":true,"id":20215},"eventHandler":{"__isSmartRef__":true,"id":20216},"priorExtent":{"__isSmartRef__":true,"id":20217},"originalTargetInnerBounds":null,"isResizeCorner":true,"relativeOrigin":null,"derivationIds":[7147,"16E962DF-21E9-4FE6-8B9B-953F0E908113","ADD0B5C0-0DC6-4D8E-9C2A-0EC7E3C71F21","F0667EB1-BF07-4E63-BA56-99189F82C865","DFDE68D2-3731-46DE-ADC8-56E32998CE07","D914121B-05B0-490E-A9F7-FE9AB53455A3","685BF0CF-E831-4670-98CD-A84F0E9D3C1A","7F4A1B67-C3C5-4398-9FC6-EEECF75FF81D","ABACD15A-2A09-48B6-91CF-E5BD3A9974FB","06D7E052-8590-4522-B7F3-1A59D4B017E7"],"moved":true,"attributeConnections":[{"__isSmartRef__":true,"id":20218}],"doNotSerialize":["$$cornerName"],"doNotCopyProperties":["$$cornerName"],"originalTargetBounds":null,"owner":{"__isSmartRef__":true,"id":19541},"distanceToDragEvent":{"__isSmartRef__":true,"id":20219},"cornerName":"bottomRight","_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":20220},"__LivelyClassName__":"lively.morphic.Box"},"20205":{"position":{"__isSmartRef__":true,"id":20206},"_Extent":{"__isSmartRef__":true,"id":20207},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":20208},"_Fill":{"__isSmartRef__":true,"id":20209},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":20210},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":20211},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"20206":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20207":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20208":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"20209":{"r":0.258,"g":0.258,"b":0.258,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"20210":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"20211":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"20212":{"x":469,"y":427,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20213":{"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Resize an object without using halos.","partName":"ResizeCorner","revisionOnLoad":140152,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"20214":{"x":239,"y":138,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20215":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"20216":{"morph":{"__isSmartRef__":true,"id":20204},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"20217":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20218":{"sourceObj":{"__isSmartRef__":true,"id":20204},"sourceAttrName":"cornerName","targetObj":{"__isSmartRef__":true,"id":20204},"targetMethodName":"alignToOwner","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"20219":{"x":42,"y":-10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20220":{"onDrag":{"__isSmartRef__":true,"id":20221},"onDragEnd":{"__isSmartRef__":true,"id":20229},"onDragStart":{"__isSmartRef__":true,"id":20237},"reset":{"__isSmartRef__":true,"id":20245},"morphMenuItems":{"__isSmartRef__":true,"id":20248},"alignToOwner":{"__isSmartRef__":true,"id":20255}},"20221":{"varMapping":{"__isSmartRef__":true,"id":20222},"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":20227},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"20222":{"this":{"__isSmartRef__":true,"id":20204},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":20223}},"20223":{"$super":{"__isSmartRef__":true,"id":20224}},"20224":{"varMapping":{"__isSmartRef__":true,"id":20225},"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":20226},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"20225":{"obj":{"__isSmartRef__":true,"id":20204},"name":"onDrag"},"20226":{},"20227":{"timestamp":{"__isSmartRef__":true,"id":20228},"user":"sstamm","tags":[]},"20228":{"isSerializedDate":true,"string":"Thu Feb 23 2012 12:08:52 GMT+0100 (CET)"},"20229":{"varMapping":{"__isSmartRef__":true,"id":20230},"source":"function onDragEnd(evt) {\n this.dragStartPoint = null;\n this.originalTargetBounds = null;\n this.relativeOrigin = null;\n}","funcProperties":{"__isSmartRef__":true,"id":20235},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"20230":{"this":{"__isSmartRef__":true,"id":20204},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":20231}},"20231":{"$super":{"__isSmartRef__":true,"id":20232}},"20232":{"varMapping":{"__isSmartRef__":true,"id":20233},"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":20234},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"20233":{"obj":{"__isSmartRef__":true,"id":20204},"name":"onDragEnd"},"20234":{},"20235":{"timestamp":{"__isSmartRef__":true,"id":20236},"user":"sstamm","tags":[]},"20236":{"isSerializedDate":true,"string":"Thu Feb 23 2012 12:09:00 GMT+0100 (CET)"},"20237":{"varMapping":{"__isSmartRef__":true,"id":20238},"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":20243},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"20238":{"this":{"__isSmartRef__":true,"id":20204},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":20239}},"20239":{"$super":{"__isSmartRef__":true,"id":20240}},"20240":{"varMapping":{"__isSmartRef__":true,"id":20241},"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":20242},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"20241":{"obj":{"__isSmartRef__":true,"id":20204},"name":"onDragStart"},"20242":{},"20243":{"timestamp":{"__isSmartRef__":true,"id":20244},"user":"sstamm","tags":[]},"20244":{"isSerializedDate":true,"string":"Thu Feb 23 2012 12:08:40 GMT+0100 (CET)"},"20245":{"varMapping":{"__isSmartRef__":true,"id":20246},"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":20247},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"20246":{"this":{"__isSmartRef__":true,"id":20204}},"20247":{},"20248":{"varMapping":{"__isSmartRef__":true,"id":20249},"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":20254},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"20249":{"this":{"__isSmartRef__":true,"id":20204},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":20250}},"20250":{"$super":{"__isSmartRef__":true,"id":20251}},"20251":{"varMapping":{"__isSmartRef__":true,"id":20252},"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":20253},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"20252":{"obj":{"__isSmartRef__":true,"id":20204},"name":"morphMenuItems"},"20253":{},"20254":{},"20255":{"varMapping":{"__isSmartRef__":true,"id":20256},"source":"function alignToOwner() {\n this.align(this.bounds()[this.cornerName](), this.owner.shape.bounds()[this.cornerName]() )\n}","funcProperties":{"__isSmartRef__":true,"id":20257},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"20256":{"this":{"__isSmartRef__":true,"id":20204}},"20257":{},"20258":{"renderContextTable":{"__isSmartRef__":true,"id":20259},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":20260},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":20261},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"20259":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"20260":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"20261":{"x":479,"y":437,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20262":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"20263":{"morph":{"__isSmartRef__":true,"id":19541},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"20264":{"adjustForNewBounds":true},"20265":{"x":479,"y":437,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20266":{"x":0,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20267":{"x":1059,"y":485,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20268":{"partName":"PublishPartDialog","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Dialogs","__SourceModuleName__":"Global.lively.PartsBin","comment":"A dialog for publishing parts in the PartsBin.","changes":[{"__isSmartRef__":true,"id":20269},{"__isSmartRef__":true,"id":20271},{"__isSmartRef__":true,"id":20273},{"__isSmartRef__":true,"id":20275},{"__isSmartRef__":true,"id":20277},{"__isSmartRef__":true,"id":20279},{"__isSmartRef__":true,"id":20281},{"__isSmartRef__":true,"id":20283},{"__isSmartRef__":true,"id":20285},{"__isSmartRef__":true,"id":20287}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"20269":{"date":{"__isSmartRef__":true,"id":20270},"author":"undefined","message":"resetted view","id":"61086210-FA8D-49B7-9E8F-E1E202A9ECD7"},"20270":{"isSerializedDate":true,"string":"Wed Mar 21 2012 14:50:23 GMT+0100 (CET)"},"20271":{"date":{"__isSmartRef__":true,"id":20272},"author":"undefined","message":"added show diff button","id":"93AC78DB-FFE8-40AC-B8FC-34B0936B39A7"},"20272":{"isSerializedDate":true,"string":"Wed Mar 21 2012 14:49:44 GMT+0100 (CET)"},"20273":{"date":{"__isSmartRef__":true,"id":20274},"author":"undefined","message":"","id":"A5F4EACF-EF62-483F-B8B3-65966A895FA4"},"20274":{"isSerializedDate":true,"string":"Tue Mar 20 2012 13:00:03 GMT+0100 (CET)"},"20275":{"date":{"__isSmartRef__":true,"id":20276},"author":"jenslincke","message":"first commit of Publish dialog using the publish dialog itself!"},"20276":{"isSerializedDate":true,"string":"Wed Oct 19 2011 14:54:16 GMT+0200 (CEST)"},"20277":{"date":{"__isSmartRef__":true,"id":20278},"author":"jenslincke","message":""},"20278":{"isSerializedDate":true,"string":"Wed Oct 19 2011 14:52:26 GMT+0200 (CEST)"},"20279":{"date":{"__isSmartRef__":true,"id":20280},"author":"jenslincke","message":"store an uuid when publishing an object"},"20280":{"isSerializedDate":true,"string":"Fri Oct 28 2011 15:15:02 GMT+0200 (CEST)"},"20281":{"date":{"__isSmartRef__":true,"id":20282},"author":"jenslincke","message":""},"20282":{"isSerializedDate":true,"string":"Fri Oct 28 2011 16:06:16 GMT+0200 (CEST)"},"20283":{"date":{"__isSmartRef__":true,"id":20284},"author":"jenslincke","message":"- fixed issue 283 (Reproduction: Open part, select publish from menu, focus part name input field in dialog, press enter.-> window pane disappears; window decoration stays; part is not published)","id":"1A260BD5-E668-4BD4-B7A2-94E087AB4CE1"},"20284":{"isSerializedDate":true,"string":"Thu Jan 26 2012 12:10:41 GMT+0100 (CET)"},"20285":{"date":{"__isSmartRef__":true,"id":20286},"author":"undefined","message":"init for change - don't remove on click","id":"00A6DFFB-70D2-44A4-B5F9-0778E1CA5724"},"20286":{"isSerializedDate":true,"string":"Tue Mar 20 2012 12:04:27 GMT+0100 (CET)"},"20287":{"date":{"__isSmartRef__":true,"id":20288},"author":"undefined","message":"added possibility to show diff and adapted to new publishing workflow (check for overwrites)","id":"2BD37BED-1605-4FD2-8D2C-25552A379B49"},"20288":{"isSerializedDate":true,"string":"Thu Mar 22 2012 10:30:02 GMT+0100 (CET)"},"20289":{"sourceObj":{"__isSmartRef__":true,"id":19541},"sourceAttrName":"remove","targetObj":{"__isSmartRef__":true,"id":19691},"targetMethodName":"onRemove","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"20290":{"x":554,"y":181.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"20291":{"x":479,"y":437,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20292":{"sourceObj":{"__isSmartRef__":true,"id":19540},"sourceAttrName":"json","targetObj":{"__isSmartRef__":true,"id":19540},"targetMethodName":"cachePartJSON","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"20293":{"sourceObj":{"__isSmartRef__":true,"id":19540},"sourceAttrName":"loadedMetaInfo","targetObj":{"__isSmartRef__":true,"id":19540},"targetMethodName":"cachePartMetaInfo","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"20294":{"rev":154052,"author":"jenslincke","date":{"__isSmartRef__":true,"id":20295},"url":{"__isSmartRef__":true,"id":20296},"changes":[{"__isSmartRef__":true,"id":20297}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"20295":{"isSerializedDate":true,"string":"Fri Apr 20 2012 09:49:14 GMT+0200 (CEST)"},"20296":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"20297":{"type":"S:modified","url":"/PartsBin/Dialogs/PublishPartDialog.json"},"20298":{"rev":154051,"author":"jenslincke","date":{"__isSmartRef__":true,"id":20299},"url":{"__isSmartRef__":true,"id":20300},"changes":[{"__isSmartRef__":true,"id":20301}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"20299":{"isSerializedDate":true,"string":"Fri Apr 20 2012 09:49:06 GMT+0200 (CEST)"},"20300":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"20301":{"type":"S:modified","url":"/PartsBin/Dialogs/PublishPartDialog.json"},"20302":{"rev":154049,"author":"jenslincke","date":{"__isSmartRef__":true,"id":20303},"url":{"__isSmartRef__":true,"id":20304},"changes":[{"__isSmartRef__":true,"id":20305}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"20303":{"isSerializedDate":true,"string":"Fri Apr 20 2012 09:46:02 GMT+0200 (CEST)"},"20304":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"20305":{"type":"S:modified","url":"/PartsBin/Dialogs/PublishPartDialog.json"},"20306":{"rev":154048,"author":"jenslincke","date":{"__isSmartRef__":true,"id":20307},"url":{"__isSmartRef__":true,"id":20308},"changes":[{"__isSmartRef__":true,"id":20309}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"20307":{"isSerializedDate":true,"string":"Fri Apr 20 2012 09:44:07 GMT+0200 (CEST)"},"20308":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"20309":{"type":"S:modified","url":"/PartsBin/Dialogs/PublishPartDialog.json"},"20310":{"rev":148936,"author":"athomschke","date":{"__isSmartRef__":true,"id":20311},"url":{"__isSmartRef__":true,"id":20312},"changes":[{"__isSmartRef__":true,"id":20313}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"20311":{"isSerializedDate":true,"string":"Thu Mar 29 2012 13:46:23 GMT+0200 (CEST)"},"20312":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"20313":{"type":"S:modified","url":"/PartsBin/Dialogs/PublishPartDialog.json"},"20314":{"rev":148932,"author":"athomschke","date":{"__isSmartRef__":true,"id":20315},"url":{"__isSmartRef__":true,"id":20316},"changes":[{"__isSmartRef__":true,"id":20317}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"20315":{"isSerializedDate":true,"string":"Thu Mar 29 2012 13:38:48 GMT+0200 (CEST)"},"20316":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"20317":{"type":"S:modified","url":"/PartsBin/Dialogs/PublishPartDialog.json"},"20318":{"rev":148693,"author":"bert","date":{"__isSmartRef__":true,"id":20319},"url":{"__isSmartRef__":true,"id":20320},"changes":[{"__isSmartRef__":true,"id":20321}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"20319":{"isSerializedDate":true,"string":"Wed Mar 28 2012 20:31:56 GMT+0200 (CEST)"},"20320":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"20321":{"type":"S:modified","url":"/PartsBin/Dialogs/PublishPartDialog.json"},"20322":{"rev":147792,"author":"athomschke","date":{"__isSmartRef__":true,"id":20323},"url":{"__isSmartRef__":true,"id":20324},"changes":[{"__isSmartRef__":true,"id":20325}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"20323":{"isSerializedDate":true,"string":"Fri Mar 23 2012 15:10:57 GMT+0100 (CET)"},"20324":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"20325":{"type":"S:modified","url":"/PartsBin/Dialogs/PublishPartDialog.json"},"20326":{"rev":147791,"author":"athomschke","date":{"__isSmartRef__":true,"id":20327},"url":{"__isSmartRef__":true,"id":20328},"changes":[{"__isSmartRef__":true,"id":20329}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"20327":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:57:07 GMT+0100 (CET)"},"20328":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"20329":{"type":"S:modified","url":"/PartsBin/Dialogs/PublishPartDialog.json"},"20330":{"rev":147759,"author":"athomschke","date":{"__isSmartRef__":true,"id":20331},"url":{"__isSmartRef__":true,"id":20332},"changes":[{"__isSmartRef__":true,"id":20333}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"20331":{"isSerializedDate":true,"string":"Fri Mar 23 2012 14:04:37 GMT+0100 (CET)"},"20332":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"20333":{"type":"S:modified","url":"/PartsBin/Dialogs/PublishPartDialog.json"},"20334":{"rev":147662,"author":"athomschke","date":{"__isSmartRef__":true,"id":20335},"url":{"__isSmartRef__":true,"id":20336},"changes":[{"__isSmartRef__":true,"id":20337}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"20335":{"isSerializedDate":true,"string":"Fri Mar 23 2012 12:42:29 GMT+0100 (CET)"},"20336":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"20337":{"type":"S:modified","url":"/PartsBin/Dialogs/PublishPartDialog.json"},"20338":{"rev":147264,"author":"athomschke","date":{"__isSmartRef__":true,"id":20339},"url":{"__isSmartRef__":true,"id":20340},"changes":[{"__isSmartRef__":true,"id":20341}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"20339":{"isSerializedDate":true,"string":"Thu Mar 22 2012 09:25:06 GMT+0100 (CET)"},"20340":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"20341":{"type":"S:modified","url":"/PartsBin/Dialogs/PublishPartDialog.json"},"20342":{"rev":147260,"author":"athomschke","date":{"__isSmartRef__":true,"id":20343},"url":{"__isSmartRef__":true,"id":20344},"changes":[{"__isSmartRef__":true,"id":20345}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"20343":{"isSerializedDate":true,"string":"Thu Mar 22 2012 09:22:09 GMT+0100 (CET)"},"20344":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"20345":{"type":"S:modified","url":"/PartsBin/Dialogs/PublishPartDialog.json"},"20346":{"rev":140039,"author":"fbo","date":{"__isSmartRef__":true,"id":20347},"url":{"__isSmartRef__":true,"id":20348},"changes":[{"__isSmartRef__":true,"id":20349},{"__isSmartRef__":true,"id":20350},{"__isSmartRef__":true,"id":20351},{"__isSmartRef__":true,"id":20352},{"__isSmartRef__":true,"id":20353},{"__isSmartRef__":true,"id":20354},{"__isSmartRef__":true,"id":20355},{"__isSmartRef__":true,"id":20356},{"__isSmartRef__":true,"id":20357},{"__isSmartRef__":true,"id":20358},{"__isSmartRef__":true,"id":20359},{"__isSmartRef__":true,"id":20360},{"__isSmartRef__":true,"id":20361},{"__isSmartRef__":true,"id":20362},{"__isSmartRef__":true,"id":20363},{"__isSmartRef__":true,"id":20364},{"__isSmartRef__":true,"id":20365},{"__isSmartRef__":true,"id":20366},{"__isSmartRef__":true,"id":20367},{"__isSmartRef__":true,"id":20368},{"__isSmartRef__":true,"id":20369},{"__isSmartRef__":true,"id":20370},{"__isSmartRef__":true,"id":20371},{"__isSmartRef__":true,"id":20372},{"__isSmartRef__":true,"id":20373},{"__isSmartRef__":true,"id":20374},{"__isSmartRef__":true,"id":20375},{"__isSmartRef__":true,"id":20376},{"__isSmartRef__":true,"id":20377},{"__isSmartRef__":true,"id":20378},{"__isSmartRef__":true,"id":20379},{"__isSmartRef__":true,"id":20380},{"__isSmartRef__":true,"id":20381},{"__isSmartRef__":true,"id":20382},{"__isSmartRef__":true,"id":20383},{"__isSmartRef__":true,"id":20384},{"__isSmartRef__":true,"id":20385},{"__isSmartRef__":true,"id":20386},{"__isSmartRef__":true,"id":20387},{"__isSmartRef__":true,"id":20388},{"__isSmartRef__":true,"id":20389},{"__isSmartRef__":true,"id":20390},{"__isSmartRef__":true,"id":20391},{"__isSmartRef__":true,"id":20392},{"__isSmartRef__":true,"id":20393},{"__isSmartRef__":true,"id":20394},{"__isSmartRef__":true,"id":20395},{"__isSmartRef__":true,"id":20396},{"__isSmartRef__":true,"id":20397},{"__isSmartRef__":true,"id":20398},{"__isSmartRef__":true,"id":20399},{"__isSmartRef__":true,"id":20400},{"__isSmartRef__":true,"id":20401},{"__isSmartRef__":true,"id":20402},{"__isSmartRef__":true,"id":20403},{"__isSmartRef__":true,"id":20404},{"__isSmartRef__":true,"id":20405},{"__isSmartRef__":true,"id":20406},{"__isSmartRef__":true,"id":20407},{"__isSmartRef__":true,"id":20408},{"__isSmartRef__":true,"id":20409},{"__isSmartRef__":true,"id":20410},{"__isSmartRef__":true,"id":20411},{"__isSmartRef__":true,"id":20412},{"__isSmartRef__":true,"id":20413},{"__isSmartRef__":true,"id":20414},{"__isSmartRef__":true,"id":20415},{"__isSmartRef__":true,"id":20416},{"__isSmartRef__":true,"id":20417},{"__isSmartRef__":true,"id":20418},{"__isSmartRef__":true,"id":20419},{"__isSmartRef__":true,"id":20420},{"__isSmartRef__":true,"id":20421},{"__isSmartRef__":true,"id":20422},{"__isSmartRef__":true,"id":20423},{"__isSmartRef__":true,"id":20424},{"__isSmartRef__":true,"id":20425},{"__isSmartRef__":true,"id":20426},{"__isSmartRef__":true,"id":20427},{"__isSmartRef__":true,"id":20428},{"__isSmartRef__":true,"id":20429},{"__isSmartRef__":true,"id":20430},{"__isSmartRef__":true,"id":20431},{"__isSmartRef__":true,"id":20432},{"__isSmartRef__":true,"id":20433},{"__isSmartRef__":true,"id":20434},{"__isSmartRef__":true,"id":20435},{"__isSmartRef__":true,"id":20436},{"__isSmartRef__":true,"id":20437},{"__isSmartRef__":true,"id":20438},{"__isSmartRef__":true,"id":20439},{"__isSmartRef__":true,"id":20440},{"__isSmartRef__":true,"id":20441},{"__isSmartRef__":true,"id":20442},{"__isSmartRef__":true,"id":20443},{"__isSmartRef__":true,"id":20444},{"__isSmartRef__":true,"id":20445},{"__isSmartRef__":true,"id":20446},{"__isSmartRef__":true,"id":20447},{"__isSmartRef__":true,"id":20448},{"__isSmartRef__":true,"id":20449},{"__isSmartRef__":true,"id":20450},{"__isSmartRef__":true,"id":20451}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"20347":{"isSerializedDate":true,"string":"Wed Feb 22 2012 22:26:12 GMT+0100 (CET)"},"20348":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/lively/lang/UUID.js","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"20349":{"type":"S:modified","url":"/core/lively/ast/Interpreter.js"},"20350":{"type":"S:added","url":null},"20351":{"type":"S:added","url":null},"20352":{"type":"S:modified","url":"/core/lively/OldModel.js"},"20353":{"type":"S:modified","url":"/core/lively/morphic/ScriptingSupport.js"},"20354":{"type":"S:added","url":null},"20355":{"type":"S:added","url":null},"20356":{"type":"S:deleted","url":null},"20357":{"type":"S:added","url":null},"20358":{"type":"S:modified","url":"/core/lively/ast/LivelyJSParser.js"},"20359":{"type":"S:modified","url":"/core/lively/morphic/EventExperiments.js"},"20360":{"type":"S:added","url":null},"20361":{"type":"S:modified","url":"/core/lively/Base.js"},"20362":{"type":"S:added","url":null},"20363":{"type":"S:added","url":null},"20364":{"type":"S:modified","url":"/core/lively/bootstrap.js"},"20365":{"type":"S:added","url":null},"20366":{"type":"S:added","url":null},"20367":{"type":"S:modified","url":"/core/lively/localconfig.js"},"20368":{"type":"S:modified","url":"/core/lively/PartsBin.js"},"20369":{"type":"S:modified","url":"/core/lively/ide/SystemBrowserNodes.js"},"20370":{"type":"S:modified","url":"/core/lively/morphic/tests/PathTests.js"},"20371":{"type":"S:added","url":null},"20372":{"type":"S:modified","url":"/core/lively/bindings/Core.js"},"20373":{"type":"S:added","url":null},"20374":{"type":"S:added","url":null},"20375":{"type":"S:modified","url":"/core/lively/Network.js"},"20376":{"type":"S:modified","url":"/core/lively/morphic/Core.js"},"20377":{"type":"S:added","url":null},"20378":{"type":"S:modified","url":"/core/lively/bindings.js"},"20379":{"type":"S:modified","url":"/core/lively/WidgetsTraits.js"},"20380":{"type":"S:modified","url":"/core/lively/morphic.js"},"20381":{"type":"S:added","url":null},"20382":{"type":"S:added","url":null},"20383":{"type":"S:added","url":null},"20384":{"type":"S:modified","url":"/core/lively/defaultconfig.js"},"20385":{"type":"S:added","url":null},"20386":{"type":"S:added","url":null},"20387":{"type":"S:modified","url":"/core/lively/morphic/Canvas.js"},"20388":{"type":"S:modified","url":"/core/lively/ast/generated/Translator.js"},"20389":{"type":"S:added","url":null},"20390":{"type":"S:modified","url":"/core/lively/ast/Parser.js"},"20391":{"type":"S:modified","url":"/core/lively/Main.js"},"20392":{"type":"S:modified","url":"/core/lively/morphic/tests/Morphic2.js"},"20393":{"type":"S:added","url":null},"20394":{"type":"S:modified","url":"/core/lively/morphic/tests/TabTests.js"},"20395":{"type":"S:modified","url":"/core/lively/persistence/Serializer.js"},"20396":{"type":"S:modified","url":"/core_version.json"},"20397":{"type":"S:added","url":null},"20398":{"type":"S:modified","url":"/core/lively/morphic/PathShapes.js"},"20399":{"type":"S:added","url":null},"20400":{"type":"S:added","url":null},"20401":{"type":"S:modified","url":"/core/lively/morphic/tests/Morphic.js"},"20402":{"type":"S:modified","url":"/core/lively/morphic/tests/DataGridTests.js"},"20403":{"type":"S:modified","url":"/core/lively/morphic/HTML.js"},"20404":{"type":"S:added","url":null},"20405":{"type":"S:added","url":null},"20406":{"type":"S:added","url":null},"20407":{"type":"S:modified","url":"/core/lively/ide/BrowserCommands.js"},"20408":{"type":"S:modified","url":"/core/lively/morphic/Widgets.js"},"20409":{"type":"S:modified","url":"/core/lively/morphic/tests/EventTests.js"},"20410":{"type":"S:modified","url":"/core/lively/ast/StackReification.js"},"20411":{"type":"S:modified","url":"/core/cop/CopBenchmark.js"},"20412":{"type":"S:deleted","url":null},"20413":{"type":"S:added","url":null},"20414":{"type":"S:modified","url":"/core/lively/Helper.js"},"20415":{"type":"S:modified","url":"/core/lively/morphic/MorphAddons.js"},"20416":{"type":"S:added","url":null},"20417":{"type":"S:modified","url":"/core/lively/morphic/tests/Connectors.js"},"20418":{"type":"S:modified","url":"/core/lively/morphic/Shapes.js"},"20419":{"type":"S:modified","url":"/core/lively/ide/SourceDatabase.js"},"20420":{"type":"S:added","url":null},"20421":{"type":"S:modified","url":"/core/lively/Tracing.js"},"20422":{"type":"S:added","url":null},"20423":{"type":"S:modified","url":"/core/lively/ast/Morphic.js"},"20424":{"type":"S:added","url":null},"20425":{"type":"S:added","url":null},"20426":{"type":"S:added","url":null},"20427":{"type":"S:modified","url":"/core/lively/TestFramework.js"},"20428":{"type":"S:modified","url":"/core/lively/ast/generated/Nodes.js"},"20429":{"type":"S:added","url":null},"20430":{"type":"S:modified","url":"/core/lively/morphic/TextCore.js"},"20431":{"type":"S:added","url":null},"20432":{"type":"S:modified","url":"/core/lively/ide.js"},"20433":{"type":"S:modified","url":"/core/cop/Tracing.js"},"20434":{"type":"S:modified","url":"/core/lively/ide/FileParsing.js"},"20435":{"type":"S:modified","url":"/core/lively/morphic/Events.js"},"20436":{"type":"S:modified","url":"/core/lively/morphic/Halos.js"},"20437":{"type":"S:added","url":null},"20438":{"type":"S:added","url":null},"20439":{"type":"S:modified","url":"/core/lively/morphic/Complete.js"},"20440":{"type":"S:added","url":null},"20441":{"type":"S:added","url":null},"20442":{"type":"S:added","url":null},"20443":{"type":"S:added","url":null},"20444":{"type":"S:added","url":null},"20445":{"type":"S:modified","url":"/core/lively/persistence/StandAlonePackaging.js"},"20446":{"type":"S:added","url":null},"20447":{"type":"S:modified","url":"/core/lively/ast/TestFramework.js"},"20448":{"type":"S:modified","url":"/core/lively/ide/SystemCodeBrowser.js"},"20449":{"type":"S:added","url":null},"20450":{"type":"S:added","url":null},"20451":{"type":"S:added","url":null},"20452":{"rev":130233,"author":"jenslincke","date":{"__isSmartRef__":true,"id":20453},"url":{"__isSmartRef__":true,"id":20454},"changes":[{"__isSmartRef__":true,"id":20455}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"20453":{"isSerializedDate":true,"string":"Thu Jan 26 2012 11:06:02 GMT+0100 (CET)"},"20454":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Dialogs/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"20455":{"type":"S:modified","url":"/core/PartsBin/Dialogs/PublishPartDialog.json"},"20456":{"rev":112325,"author":"jenslincke","date":{"__isSmartRef__":true,"id":20457},"url":{"__isSmartRef__":true,"id":20458},"changes":[{"__isSmartRef__":true,"id":20459}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"20457":{"isSerializedDate":true,"string":"Fri Oct 28 2011 14:05:49 GMT+0200 (CEST)"},"20458":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Dialogs/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"20459":{"type":"S:modified","url":"/core/PartsBin/Dialogs/PublishPartDialog.json"},"20460":{"rev":112200,"author":"lauritz","date":{"__isSmartRef__":true,"id":20461},"url":{"__isSmartRef__":true,"id":20462},"changes":[{"__isSmartRef__":true,"id":20463},{"__isSmartRef__":true,"id":20464},{"__isSmartRef__":true,"id":20465},{"__isSmartRef__":true,"id":20466},{"__isSmartRef__":true,"id":20467},{"__isSmartRef__":true,"id":20468},{"__isSmartRef__":true,"id":20469},{"__isSmartRef__":true,"id":20470},{"__isSmartRef__":true,"id":20471},{"__isSmartRef__":true,"id":20472},{"__isSmartRef__":true,"id":20473},{"__isSmartRef__":true,"id":20474},{"__isSmartRef__":true,"id":20475},{"__isSmartRef__":true,"id":20476},{"__isSmartRef__":true,"id":20477},{"__isSmartRef__":true,"id":20478},{"__isSmartRef__":true,"id":20479},{"__isSmartRef__":true,"id":20480},{"__isSmartRef__":true,"id":20481},{"__isSmartRef__":true,"id":20482},{"__isSmartRef__":true,"id":20483},{"__isSmartRef__":true,"id":20484},{"__isSmartRef__":true,"id":20485},{"__isSmartRef__":true,"id":20486},{"__isSmartRef__":true,"id":20487},{"__isSmartRef__":true,"id":20488},{"__isSmartRef__":true,"id":20489},{"__isSmartRef__":true,"id":20490},{"__isSmartRef__":true,"id":20491},{"__isSmartRef__":true,"id":20492},{"__isSmartRef__":true,"id":20493},{"__isSmartRef__":true,"id":20494},{"__isSmartRef__":true,"id":20495},{"__isSmartRef__":true,"id":20496},{"__isSmartRef__":true,"id":20497},{"__isSmartRef__":true,"id":20498},{"__isSmartRef__":true,"id":20499},{"__isSmartRef__":true,"id":20500},{"__isSmartRef__":true,"id":20501},{"__isSmartRef__":true,"id":20502},{"__isSmartRef__":true,"id":20503},{"__isSmartRef__":true,"id":20504},{"__isSmartRef__":true,"id":20505},{"__isSmartRef__":true,"id":20506},{"__isSmartRef__":true,"id":20507},{"__isSmartRef__":true,"id":20508},{"__isSmartRef__":true,"id":20509},{"__isSmartRef__":true,"id":20510},{"__isSmartRef__":true,"id":20511},{"__isSmartRef__":true,"id":20512},{"__isSmartRef__":true,"id":20513},{"__isSmartRef__":true,"id":20514},{"__isSmartRef__":true,"id":20515},{"__isSmartRef__":true,"id":20516},{"__isSmartRef__":true,"id":20517},{"__isSmartRef__":true,"id":20518},{"__isSmartRef__":true,"id":20519},{"__isSmartRef__":true,"id":20520},{"__isSmartRef__":true,"id":20521},{"__isSmartRef__":true,"id":20522},{"__isSmartRef__":true,"id":20523},{"__isSmartRef__":true,"id":20524},{"__isSmartRef__":true,"id":20525},{"__isSmartRef__":true,"id":20526},{"__isSmartRef__":true,"id":20527},{"__isSmartRef__":true,"id":20528},{"__isSmartRef__":true,"id":20529},{"__isSmartRef__":true,"id":20530},{"__isSmartRef__":true,"id":20531},{"__isSmartRef__":true,"id":20532},{"__isSmartRef__":true,"id":20533},{"__isSmartRef__":true,"id":20534},{"__isSmartRef__":true,"id":20535},{"__isSmartRef__":true,"id":20536},{"__isSmartRef__":true,"id":20537},{"__isSmartRef__":true,"id":20538},{"__isSmartRef__":true,"id":20539},{"__isSmartRef__":true,"id":20540},{"__isSmartRef__":true,"id":20541},{"__isSmartRef__":true,"id":20542},{"__isSmartRef__":true,"id":20543},{"__isSmartRef__":true,"id":20544},{"__isSmartRef__":true,"id":20545},{"__isSmartRef__":true,"id":20546},{"__isSmartRef__":true,"id":20547},{"__isSmartRef__":true,"id":20548},{"__isSmartRef__":true,"id":20549},{"__isSmartRef__":true,"id":20550},{"__isSmartRef__":true,"id":20551},{"__isSmartRef__":true,"id":20552},{"__isSmartRef__":true,"id":20553},{"__isSmartRef__":true,"id":20554},{"__isSmartRef__":true,"id":20555},{"__isSmartRef__":true,"id":20556},{"__isSmartRef__":true,"id":20557},{"__isSmartRef__":true,"id":20558},{"__isSmartRef__":true,"id":20559},{"__isSmartRef__":true,"id":20560},{"__isSmartRef__":true,"id":20561},{"__isSmartRef__":true,"id":20562},{"__isSmartRef__":true,"id":20563},{"__isSmartRef__":true,"id":20564},{"__isSmartRef__":true,"id":20565},{"__isSmartRef__":true,"id":20566},{"__isSmartRef__":true,"id":20567},{"__isSmartRef__":true,"id":20568},{"__isSmartRef__":true,"id":20569},{"__isSmartRef__":true,"id":20570},{"__isSmartRef__":true,"id":20571},{"__isSmartRef__":true,"id":20572},{"__isSmartRef__":true,"id":20573},{"__isSmartRef__":true,"id":20574},{"__isSmartRef__":true,"id":20575},{"__isSmartRef__":true,"id":20576},{"__isSmartRef__":true,"id":20577},{"__isSmartRef__":true,"id":20578},{"__isSmartRef__":true,"id":20579},{"__isSmartRef__":true,"id":20580},{"__isSmartRef__":true,"id":20581},{"__isSmartRef__":true,"id":20582},{"__isSmartRef__":true,"id":20583},{"__isSmartRef__":true,"id":20584},{"__isSmartRef__":true,"id":20585},{"__isSmartRef__":true,"id":20586},{"__isSmartRef__":true,"id":20587},{"__isSmartRef__":true,"id":20588},{"__isSmartRef__":true,"id":20589},{"__isSmartRef__":true,"id":20590},{"__isSmartRef__":true,"id":20591},{"__isSmartRef__":true,"id":20592},{"__isSmartRef__":true,"id":20593},{"__isSmartRef__":true,"id":20594},{"__isSmartRef__":true,"id":20595},{"__isSmartRef__":true,"id":20596},{"__isSmartRef__":true,"id":20597},{"__isSmartRef__":true,"id":20598},{"__isSmartRef__":true,"id":20599},{"__isSmartRef__":true,"id":20600},{"__isSmartRef__":true,"id":20601},{"__isSmartRef__":true,"id":20602},{"__isSmartRef__":true,"id":20603},{"__isSmartRef__":true,"id":20604},{"__isSmartRef__":true,"id":20605},{"__isSmartRef__":true,"id":20606},{"__isSmartRef__":true,"id":20607},{"__isSmartRef__":true,"id":20608},{"__isSmartRef__":true,"id":20609},{"__isSmartRef__":true,"id":20610},{"__isSmartRef__":true,"id":20611},{"__isSmartRef__":true,"id":20612},{"__isSmartRef__":true,"id":20613},{"__isSmartRef__":true,"id":20614},{"__isSmartRef__":true,"id":20615},{"__isSmartRef__":true,"id":20616},{"__isSmartRef__":true,"id":20617},{"__isSmartRef__":true,"id":20618},{"__isSmartRef__":true,"id":20619},{"__isSmartRef__":true,"id":20620},{"__isSmartRef__":true,"id":20621},{"__isSmartRef__":true,"id":20622},{"__isSmartRef__":true,"id":20623},{"__isSmartRef__":true,"id":20624},{"__isSmartRef__":true,"id":20625},{"__isSmartRef__":true,"id":20626},{"__isSmartRef__":true,"id":20627},{"__isSmartRef__":true,"id":20628},{"__isSmartRef__":true,"id":20629},{"__isSmartRef__":true,"id":20630},{"__isSmartRef__":true,"id":20631},{"__isSmartRef__":true,"id":20632},{"__isSmartRef__":true,"id":20633},{"__isSmartRef__":true,"id":20634},{"__isSmartRef__":true,"id":20635},{"__isSmartRef__":true,"id":20636},{"__isSmartRef__":true,"id":20637},{"__isSmartRef__":true,"id":20638},{"__isSmartRef__":true,"id":20639},{"__isSmartRef__":true,"id":20640},{"__isSmartRef__":true,"id":20641},{"__isSmartRef__":true,"id":20642},{"__isSmartRef__":true,"id":20643},{"__isSmartRef__":true,"id":20644},{"__isSmartRef__":true,"id":20645},{"__isSmartRef__":true,"id":20646},{"__isSmartRef__":true,"id":20647},{"__isSmartRef__":true,"id":20648},{"__isSmartRef__":true,"id":20649},{"__isSmartRef__":true,"id":20650},{"__isSmartRef__":true,"id":20651},{"__isSmartRef__":true,"id":20652},{"__isSmartRef__":true,"id":20653},{"__isSmartRef__":true,"id":20654},{"__isSmartRef__":true,"id":20655},{"__isSmartRef__":true,"id":20656},{"__isSmartRef__":true,"id":20657},{"__isSmartRef__":true,"id":20658},{"__isSmartRef__":true,"id":20659},{"__isSmartRef__":true,"id":20660},{"__isSmartRef__":true,"id":20661},{"__isSmartRef__":true,"id":20662},{"__isSmartRef__":true,"id":20663},{"__isSmartRef__":true,"id":20664},{"__isSmartRef__":true,"id":20665},{"__isSmartRef__":true,"id":20666},{"__isSmartRef__":true,"id":20667},{"__isSmartRef__":true,"id":20668},{"__isSmartRef__":true,"id":20669},{"__isSmartRef__":true,"id":20670},{"__isSmartRef__":true,"id":20671},{"__isSmartRef__":true,"id":20672},{"__isSmartRef__":true,"id":20673},{"__isSmartRef__":true,"id":20674},{"__isSmartRef__":true,"id":20675},{"__isSmartRef__":true,"id":20676},{"__isSmartRef__":true,"id":20677},{"__isSmartRef__":true,"id":20678},{"__isSmartRef__":true,"id":20679},{"__isSmartRef__":true,"id":20680},{"__isSmartRef__":true,"id":20681},{"__isSmartRef__":true,"id":20682},{"__isSmartRef__":true,"id":20683},{"__isSmartRef__":true,"id":20684},{"__isSmartRef__":true,"id":20685},{"__isSmartRef__":true,"id":20686},{"__isSmartRef__":true,"id":20687},{"__isSmartRef__":true,"id":20688},{"__isSmartRef__":true,"id":20689},{"__isSmartRef__":true,"id":20690},{"__isSmartRef__":true,"id":20691},{"__isSmartRef__":true,"id":20692},{"__isSmartRef__":true,"id":20693},{"__isSmartRef__":true,"id":20694},{"__isSmartRef__":true,"id":20695},{"__isSmartRef__":true,"id":20696},{"__isSmartRef__":true,"id":20697},{"__isSmartRef__":true,"id":20698},{"__isSmartRef__":true,"id":20699},{"__isSmartRef__":true,"id":20700},{"__isSmartRef__":true,"id":20701},{"__isSmartRef__":true,"id":20702},{"__isSmartRef__":true,"id":20703},{"__isSmartRef__":true,"id":20704},{"__isSmartRef__":true,"id":20705},{"__isSmartRef__":true,"id":20706},{"__isSmartRef__":true,"id":20707},{"__isSmartRef__":true,"id":20708},{"__isSmartRef__":true,"id":20709},{"__isSmartRef__":true,"id":20710},{"__isSmartRef__":true,"id":20711},{"__isSmartRef__":true,"id":20712},{"__isSmartRef__":true,"id":20713},{"__isSmartRef__":true,"id":20714},{"__isSmartRef__":true,"id":20715},{"__isSmartRef__":true,"id":20716},{"__isSmartRef__":true,"id":20717},{"__isSmartRef__":true,"id":20718},{"__isSmartRef__":true,"id":20719},{"__isSmartRef__":true,"id":20720},{"__isSmartRef__":true,"id":20721},{"__isSmartRef__":true,"id":20722},{"__isSmartRef__":true,"id":20723},{"__isSmartRef__":true,"id":20724},{"__isSmartRef__":true,"id":20725},{"__isSmartRef__":true,"id":20726},{"__isSmartRef__":true,"id":20727},{"__isSmartRef__":true,"id":20728},{"__isSmartRef__":true,"id":20729},{"__isSmartRef__":true,"id":20730},{"__isSmartRef__":true,"id":20731},{"__isSmartRef__":true,"id":20732},{"__isSmartRef__":true,"id":20733},{"__isSmartRef__":true,"id":20734},{"__isSmartRef__":true,"id":20735},{"__isSmartRef__":true,"id":20736},{"__isSmartRef__":true,"id":20737},{"__isSmartRef__":true,"id":20738},{"__isSmartRef__":true,"id":20739},{"__isSmartRef__":true,"id":20740},{"__isSmartRef__":true,"id":20741},{"__isSmartRef__":true,"id":20742},{"__isSmartRef__":true,"id":20743},{"__isSmartRef__":true,"id":20744},{"__isSmartRef__":true,"id":20745},{"__isSmartRef__":true,"id":20746},{"__isSmartRef__":true,"id":20747},{"__isSmartRef__":true,"id":20748},{"__isSmartRef__":true,"id":20749},{"__isSmartRef__":true,"id":20750},{"__isSmartRef__":true,"id":20751},{"__isSmartRef__":true,"id":20752},{"__isSmartRef__":true,"id":20753},{"__isSmartRef__":true,"id":20754},{"__isSmartRef__":true,"id":20755},{"__isSmartRef__":true,"id":20756},{"__isSmartRef__":true,"id":20757},{"__isSmartRef__":true,"id":20758},{"__isSmartRef__":true,"id":20759},{"__isSmartRef__":true,"id":20760},{"__isSmartRef__":true,"id":20761},{"__isSmartRef__":true,"id":20762},{"__isSmartRef__":true,"id":20763},{"__isSmartRef__":true,"id":20764},{"__isSmartRef__":true,"id":20765},{"__isSmartRef__":true,"id":20766},{"__isSmartRef__":true,"id":20767},{"__isSmartRef__":true,"id":20768},{"__isSmartRef__":true,"id":20769},{"__isSmartRef__":true,"id":20770},{"__isSmartRef__":true,"id":20771},{"__isSmartRef__":true,"id":20772},{"__isSmartRef__":true,"id":20773},{"__isSmartRef__":true,"id":20774},{"__isSmartRef__":true,"id":20775},{"__isSmartRef__":true,"id":20776},{"__isSmartRef__":true,"id":20777},{"__isSmartRef__":true,"id":20778},{"__isSmartRef__":true,"id":20779},{"__isSmartRef__":true,"id":20780},{"__isSmartRef__":true,"id":20781},{"__isSmartRef__":true,"id":20782},{"__isSmartRef__":true,"id":20783},{"__isSmartRef__":true,"id":20784},{"__isSmartRef__":true,"id":20785},{"__isSmartRef__":true,"id":20786},{"__isSmartRef__":true,"id":20787},{"__isSmartRef__":true,"id":20788},{"__isSmartRef__":true,"id":20789},{"__isSmartRef__":true,"id":20790},{"__isSmartRef__":true,"id":20791},{"__isSmartRef__":true,"id":20792},{"__isSmartRef__":true,"id":20793},{"__isSmartRef__":true,"id":20794},{"__isSmartRef__":true,"id":20795},{"__isSmartRef__":true,"id":20796},{"__isSmartRef__":true,"id":20797},{"__isSmartRef__":true,"id":20798},{"__isSmartRef__":true,"id":20799},{"__isSmartRef__":true,"id":20800},{"__isSmartRef__":true,"id":20801},{"__isSmartRef__":true,"id":20802},{"__isSmartRef__":true,"id":20803},{"__isSmartRef__":true,"id":20804},{"__isSmartRef__":true,"id":20805},{"__isSmartRef__":true,"id":20806},{"__isSmartRef__":true,"id":20807},{"__isSmartRef__":true,"id":20808},{"__isSmartRef__":true,"id":20809},{"__isSmartRef__":true,"id":20810},{"__isSmartRef__":true,"id":20811},{"__isSmartRef__":true,"id":20812},{"__isSmartRef__":true,"id":20813},{"__isSmartRef__":true,"id":20814},{"__isSmartRef__":true,"id":20815},{"__isSmartRef__":true,"id":20816},{"__isSmartRef__":true,"id":20817},{"__isSmartRef__":true,"id":20818},{"__isSmartRef__":true,"id":20819},{"__isSmartRef__":true,"id":20820},{"__isSmartRef__":true,"id":20821},{"__isSmartRef__":true,"id":20822},{"__isSmartRef__":true,"id":20823},{"__isSmartRef__":true,"id":20824},{"__isSmartRef__":true,"id":20825},{"__isSmartRef__":true,"id":20826},{"__isSmartRef__":true,"id":20827},{"__isSmartRef__":true,"id":20828},{"__isSmartRef__":true,"id":20829},{"__isSmartRef__":true,"id":20830},{"__isSmartRef__":true,"id":20831},{"__isSmartRef__":true,"id":20832},{"__isSmartRef__":true,"id":20833},{"__isSmartRef__":true,"id":20834},{"__isSmartRef__":true,"id":20835},{"__isSmartRef__":true,"id":20836},{"__isSmartRef__":true,"id":20837},{"__isSmartRef__":true,"id":20838},{"__isSmartRef__":true,"id":20839},{"__isSmartRef__":true,"id":20840},{"__isSmartRef__":true,"id":20841},{"__isSmartRef__":true,"id":20842},{"__isSmartRef__":true,"id":20843},{"__isSmartRef__":true,"id":20844},{"__isSmartRef__":true,"id":20845},{"__isSmartRef__":true,"id":20846},{"__isSmartRef__":true,"id":20847},{"__isSmartRef__":true,"id":20848},{"__isSmartRef__":true,"id":20849},{"__isSmartRef__":true,"id":20850},{"__isSmartRef__":true,"id":20851},{"__isSmartRef__":true,"id":20852},{"__isSmartRef__":true,"id":20853},{"__isSmartRef__":true,"id":20854},{"__isSmartRef__":true,"id":20855},{"__isSmartRef__":true,"id":20856},{"__isSmartRef__":true,"id":20857},{"__isSmartRef__":true,"id":20858},{"__isSmartRef__":true,"id":20859},{"__isSmartRef__":true,"id":20860},{"__isSmartRef__":true,"id":20861},{"__isSmartRef__":true,"id":20862},{"__isSmartRef__":true,"id":20863},{"__isSmartRef__":true,"id":20864},{"__isSmartRef__":true,"id":20865},{"__isSmartRef__":true,"id":20866},{"__isSmartRef__":true,"id":20867},{"__isSmartRef__":true,"id":20868},{"__isSmartRef__":true,"id":20869},{"__isSmartRef__":true,"id":20870},{"__isSmartRef__":true,"id":20871},{"__isSmartRef__":true,"id":20872},{"__isSmartRef__":true,"id":20873},{"__isSmartRef__":true,"id":20874},{"__isSmartRef__":true,"id":20875},{"__isSmartRef__":true,"id":20876},{"__isSmartRef__":true,"id":20877},{"__isSmartRef__":true,"id":20878},{"__isSmartRef__":true,"id":20879},{"__isSmartRef__":true,"id":20880},{"__isSmartRef__":true,"id":20881},{"__isSmartRef__":true,"id":20882},{"__isSmartRef__":true,"id":20883},{"__isSmartRef__":true,"id":20884},{"__isSmartRef__":true,"id":20885},{"__isSmartRef__":true,"id":20886},{"__isSmartRef__":true,"id":20887},{"__isSmartRef__":true,"id":20888},{"__isSmartRef__":true,"id":20889},{"__isSmartRef__":true,"id":20890},{"__isSmartRef__":true,"id":20891},{"__isSmartRef__":true,"id":20892},{"__isSmartRef__":true,"id":20893},{"__isSmartRef__":true,"id":20894},{"__isSmartRef__":true,"id":20895},{"__isSmartRef__":true,"id":20896},{"__isSmartRef__":true,"id":20897},{"__isSmartRef__":true,"id":20898},{"__isSmartRef__":true,"id":20899},{"__isSmartRef__":true,"id":20900},{"__isSmartRef__":true,"id":20901},{"__isSmartRef__":true,"id":20902},{"__isSmartRef__":true,"id":20903},{"__isSmartRef__":true,"id":20904},{"__isSmartRef__":true,"id":20905},{"__isSmartRef__":true,"id":20906},{"__isSmartRef__":true,"id":20907},{"__isSmartRef__":true,"id":20908},{"__isSmartRef__":true,"id":20909},{"__isSmartRef__":true,"id":20910},{"__isSmartRef__":true,"id":20911},{"__isSmartRef__":true,"id":20912},{"__isSmartRef__":true,"id":20913},{"__isSmartRef__":true,"id":20914},{"__isSmartRef__":true,"id":20915},{"__isSmartRef__":true,"id":20916},{"__isSmartRef__":true,"id":20917},{"__isSmartRef__":true,"id":20918},{"__isSmartRef__":true,"id":20919},{"__isSmartRef__":true,"id":20920},{"__isSmartRef__":true,"id":20921},{"__isSmartRef__":true,"id":20922},{"__isSmartRef__":true,"id":20923},{"__isSmartRef__":true,"id":20924},{"__isSmartRef__":true,"id":20925},{"__isSmartRef__":true,"id":20926},{"__isSmartRef__":true,"id":20927},{"__isSmartRef__":true,"id":20928},{"__isSmartRef__":true,"id":20929},{"__isSmartRef__":true,"id":20930},{"__isSmartRef__":true,"id":20931},{"__isSmartRef__":true,"id":20932},{"__isSmartRef__":true,"id":20933},{"__isSmartRef__":true,"id":20934},{"__isSmartRef__":true,"id":20935},{"__isSmartRef__":true,"id":20936},{"__isSmartRef__":true,"id":20937},{"__isSmartRef__":true,"id":20938},{"__isSmartRef__":true,"id":20939},{"__isSmartRef__":true,"id":20940},{"__isSmartRef__":true,"id":20941},{"__isSmartRef__":true,"id":20942},{"__isSmartRef__":true,"id":20943},{"__isSmartRef__":true,"id":20944},{"__isSmartRef__":true,"id":20945},{"__isSmartRef__":true,"id":20946},{"__isSmartRef__":true,"id":20947},{"__isSmartRef__":true,"id":20948},{"__isSmartRef__":true,"id":20949},{"__isSmartRef__":true,"id":20950},{"__isSmartRef__":true,"id":20951},{"__isSmartRef__":true,"id":20952},{"__isSmartRef__":true,"id":20953},{"__isSmartRef__":true,"id":20954},{"__isSmartRef__":true,"id":20955},{"__isSmartRef__":true,"id":20956},{"__isSmartRef__":true,"id":20957},{"__isSmartRef__":true,"id":20958},{"__isSmartRef__":true,"id":20959},{"__isSmartRef__":true,"id":20960},{"__isSmartRef__":true,"id":20961},{"__isSmartRef__":true,"id":20962},{"__isSmartRef__":true,"id":20963},{"__isSmartRef__":true,"id":20964},{"__isSmartRef__":true,"id":20965},{"__isSmartRef__":true,"id":20966},{"__isSmartRef__":true,"id":20967},{"__isSmartRef__":true,"id":20968},{"__isSmartRef__":true,"id":20969},{"__isSmartRef__":true,"id":20970},{"__isSmartRef__":true,"id":20971},{"__isSmartRef__":true,"id":20972},{"__isSmartRef__":true,"id":20973},{"__isSmartRef__":true,"id":20974},{"__isSmartRef__":true,"id":20975},{"__isSmartRef__":true,"id":20976},{"__isSmartRef__":true,"id":20977},{"__isSmartRef__":true,"id":20978},{"__isSmartRef__":true,"id":20979},{"__isSmartRef__":true,"id":20980},{"__isSmartRef__":true,"id":20981},{"__isSmartRef__":true,"id":20982},{"__isSmartRef__":true,"id":20983},{"__isSmartRef__":true,"id":20984},{"__isSmartRef__":true,"id":20985},{"__isSmartRef__":true,"id":20986},{"__isSmartRef__":true,"id":20987},{"__isSmartRef__":true,"id":20988},{"__isSmartRef__":true,"id":20989},{"__isSmartRef__":true,"id":20990},{"__isSmartRef__":true,"id":20991},{"__isSmartRef__":true,"id":20992},{"__isSmartRef__":true,"id":20993},{"__isSmartRef__":true,"id":20994},{"__isSmartRef__":true,"id":20995},{"__isSmartRef__":true,"id":20996},{"__isSmartRef__":true,"id":20997},{"__isSmartRef__":true,"id":20998},{"__isSmartRef__":true,"id":20999},{"__isSmartRef__":true,"id":21000},{"__isSmartRef__":true,"id":21001},{"__isSmartRef__":true,"id":21002},{"__isSmartRef__":true,"id":21003},{"__isSmartRef__":true,"id":21004},{"__isSmartRef__":true,"id":21005},{"__isSmartRef__":true,"id":21006},{"__isSmartRef__":true,"id":21007},{"__isSmartRef__":true,"id":21008},{"__isSmartRef__":true,"id":21009},{"__isSmartRef__":true,"id":21010},{"__isSmartRef__":true,"id":21011},{"__isSmartRef__":true,"id":21012},{"__isSmartRef__":true,"id":21013},{"__isSmartRef__":true,"id":21014},{"__isSmartRef__":true,"id":21015},{"__isSmartRef__":true,"id":21016},{"__isSmartRef__":true,"id":21017},{"__isSmartRef__":true,"id":21018},{"__isSmartRef__":true,"id":21019},{"__isSmartRef__":true,"id":21020},{"__isSmartRef__":true,"id":21021},{"__isSmartRef__":true,"id":21022},{"__isSmartRef__":true,"id":21023},{"__isSmartRef__":true,"id":21024},{"__isSmartRef__":true,"id":21025},{"__isSmartRef__":true,"id":21026},{"__isSmartRef__":true,"id":21027},{"__isSmartRef__":true,"id":21028},{"__isSmartRef__":true,"id":21029},{"__isSmartRef__":true,"id":21030},{"__isSmartRef__":true,"id":21031},{"__isSmartRef__":true,"id":21032},{"__isSmartRef__":true,"id":21033},{"__isSmartRef__":true,"id":21034},{"__isSmartRef__":true,"id":21035},{"__isSmartRef__":true,"id":21036},{"__isSmartRef__":true,"id":21037},{"__isSmartRef__":true,"id":21038},{"__isSmartRef__":true,"id":21039},{"__isSmartRef__":true,"id":21040},{"__isSmartRef__":true,"id":21041},{"__isSmartRef__":true,"id":21042},{"__isSmartRef__":true,"id":21043},{"__isSmartRef__":true,"id":21044},{"__isSmartRef__":true,"id":21045},{"__isSmartRef__":true,"id":21046},{"__isSmartRef__":true,"id":21047},{"__isSmartRef__":true,"id":21048},{"__isSmartRef__":true,"id":21049}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"20461":{"isSerializedDate":true,"string":"Fri Oct 28 2011 01:02:08 GMT+0200 (CEST)"},"20462":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/users/lauritz/miniprojects/annotationPart.xhtml","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"20463":{"type":"S:modified","url":"/users/jennek/start.xhtml"},"20464":{"type":"S:modified","url":"/users/Dan/Piano.xhtml"},"20465":{"type":"S:modified","url":"/users/sofia/documentation.xhtml"},"20466":{"type":"S:modified","url":"/users/cschuster/presentation.xhtml"},"20467":{"type":"S:modified","url":"/demos/LiveWeb/NewCPUVisualization.xhtml"},"20468":{"type":"S:modified","url":"/users/lauritz/start.xhtml"},"20469":{"type":"S:modified","url":"/core/lively/bootstrap.js"},"20470":{"type":"S:modified","url":"/draft/NewWorld/ServerPart.xhtml"},"20471":{"type":"S:modified","url":"/users/sofia/georgi/ButtonPrototypes.xhtml"},"20472":{"type":"S:modified","url":"/draft/NewWorld/NotetakingApp.xhtml"},"20473":{"type":"S:modified","url":"/projects/CodeDB2/info_documents.xhtml"},"20474":{"type":"S:modified","url":"/users/cschuster/hello.xhtml"},"20475":{"type":"S:modified","url":"/users/fbo/layoutNoEpiMorphs.xhtml"},"20476":{"type":"S:modified","url":"/issues/110527_RichTextGetsLost.xhtml"},"20477":{"type":"S:modified","url":"/users/fbo/boxTestRange.xhtml"},"20478":{"type":"S:modified","url":"/demos/LiveWeb/CPUVisualization.xhtml"},"20479":{"type":"S:modified","url":"/demos/contextjs/Syntax.xhtml"},"20480":{"type":"S:modified","url":"/draft/NewWorld/Connectors.xhtml"},"20481":{"type":"S:modified","url":"/users/sofia/documentationXXX.xhtml"},"20482":{"type":"S:modified","url":"/demos/VisualConnect.xhtml"},"20483":{"type":"S:modified","url":"/users/MrSteve/Test1.xhtml"},"20484":{"type":"S:modified","url":"/issues/110614_ClickingOnLinesHackIsBroken.xhtml"},"20485":{"type":"S:modified","url":"/ChangeLog.xhtml"},"20486":{"type":"S:modified","url":"/gettingStarted.xhtml"},"20487":{"type":"S:modified","url":"/users/martin/oldWorkspace.xhtml"},"20488":{"type":"S:modified","url":"/demos/Clean.xhtml"},"20489":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/prototypeSaved.xhtml"},"20490":{"type":"S:modified","url":"/issues/110613_ConnectorsAreBroken.xhtml"},"20491":{"type":"S:modified","url":"/draft/NewWorld/ModuleDependencies.xhtml"},"20492":{"type":"S:modified","url":"/issues/fixed/110412_ListDroppingBroken.xhtml"},"20493":{"type":"S:modified","url":"/demos/LiveWeb/Empty.xhtml"},"20494":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/dev2.xhtml"},"20495":{"type":"S:modified","url":"/users/fbo/dropJournalBug.xhtml"},"20496":{"type":"S:modified","url":"/users/tfleig/start.xhtml"},"20497":{"type":"S:modified","url":"/specs/Scrolling.xhtml"},"20498":{"type":"S:modified","url":"/users/fbo/dataGridTests.xhtml"},"20499":{"type":"S:modified","url":"/users/tmohr/newWorld2.xhtml"},"20500":{"type":"S:modified","url":"/users/sofia/georgi/new_world.xhtml"},"20501":{"type":"S:modified","url":"/users/tmohr/slide5.xhtml"},"20502":{"type":"S:modified","url":"/users/fbo/constraintLayoutExampleSerialized.xhtml"},"20503":{"type":"S:modified","url":"/draft/NewWorld/TextBugfixes.xhtml"},"20504":{"type":"S:modified","url":"/users/ahold/new/usertracking.xhtml"},"20505":{"type":"S:modified","url":"/issues/110512_WrappingTextInTextMorph.xhtml"},"20506":{"type":"S:modified","url":"/users/constantin/doku.xhtml"},"20507":{"type":"S:modified","url":"/users/Dan/PartsBin.xhtml"},"20508":{"type":"S:modified","url":"/users/fbo/chat.xhtml"},"20509":{"type":"S:modified","url":"/users/Dan/NewPresentation.xhtml"},"20510":{"type":"S:modified","url":"/users/markoroeder/TablePartDev.xhtml"},"20511":{"type":"S:modified","url":"/users/fbo/renderingHooks.xhtml"},"20512":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/prototype_saved.xhtml"},"20513":{"type":"S:modified","url":"/users/bert/start.xhtml"},"20514":{"type":"S:modified","url":"/users/Dan/TestWorld.xhtml"},"20515":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksHubert.xhtml"},"20516":{"type":"S:modified","url":"/issues/110603_SvgRenderIsNotYetGoodEnoughForOurIcons.xhtml"},"20517":{"type":"S:modified","url":"/issues/111006_DisableGrabbingDoesNotDisableGrabbing.xhtml"},"20518":{"type":"S:modified","url":"/users/robertkrahn/writing.xhtml"},"20519":{"type":"S:modified","url":"/issues/111020_ClassBrowserPartShouldRememberChanges.xhtml"},"20520":{"type":"S:modified","url":"/users/ahold/serverDevNew.xhtml"},"20521":{"type":"S:modified","url":"/demos/LiveWeb/LiveWebSummary.xhtml"},"20522":{"type":"S:modified","url":"/users/lauritz/miniprojects/jQueryEffects.xhtml"},"20523":{"type":"S:modified","url":"/users/Dan/BorderTest.xhtml"},"20524":{"type":"S:modified","url":"/draft/NewWorld/PartsBin.xhtml"},"20525":{"type":"S:modified","url":"/users/sofia/georgi/splitter.xhtml"},"20526":{"type":"S:modified","url":"/users/martin/stats.xhtml"},"20527":{"type":"S:modified","url":"/users/ahold/newWorld.xhtml"},"20528":{"type":"S:modified","url":"/draft/NewWorld/SVGLines.xhtml"},"20529":{"type":"S:added","url":null},"20530":{"type":"S:modified","url":"/issues/fixed/110507_CommentsForParts.xhtml"},"20531":{"type":"S:modified","url":"/demos/contextjs/OpenImplementation.xhtml"},"20532":{"type":"S:modified","url":"/users/Dan/QBF2Ba.xhtml"},"20533":{"type":"S:modified","url":"/users/fbo/welcome.xhtml"},"20534":{"type":"S:modified","url":"/issues/111026_CouchDB>>saveDoesNotAskForCredentialsInSafari.xhtml"},"20535":{"type":"S:modified","url":"/users/martin/measurements/FAQ.xhtml"},"20536":{"type":"S:modified","url":"/users/gerald24/temp.xhtml"},"20537":{"type":"S:modified","url":"/users/markoroeder/MetadataVisualization.xhtml"},"20538":{"type":"S:modified","url":"/demos/WorldSerializationGraph.xhtml"},"20539":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/ImageDroppin.xhtml"},"20540":{"type":"S:modified","url":"/users/Dan/LiveWeb-NewLayout.xhtml"},"20541":{"type":"S:modified","url":"/core/lively/DOMAbstraction.js"},"20542":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/Slider.xhtml"},"20543":{"type":"S:modified","url":"/demos/ScriptingClock.xhtml"},"20544":{"type":"S:modified","url":"/issues/111017_BrowsingSubmorphsWithObjectExplorerBroken.xhtml"},"20545":{"type":"S:modified","url":"/users/Dan/Tutorial1.xhtml"},"20546":{"type":"S:modified","url":"/users/fbo/empty3.xhtml"},"20547":{"type":"S:modified","url":"/demos/visualizations/FPSProtovis.xhtml"},"20548":{"type":"S:modified","url":"/draft/NewWorld/ObjectTracerPart.xhtml"},"20549":{"type":"S:modified","url":"/issues/110629_SlideoverlayIsBrokenAfterSavingItHidden.xhtml"},"20550":{"type":"S:modified","url":"/users/markoroeder/GOTY2011.xhtml"},"20551":{"type":"S:modified","url":"/users/fbo/DraftLayout.xhtml"},"20552":{"type":"S:modified","url":"/users/fbo/onMouseMoveRefactoring.xhtml"},"20553":{"type":"S:modified","url":"/users/Dan/PM/ScripterDev.xhtml"},"20554":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksSebastian.xhtml"},"20555":{"type":"S:modified","url":"/users/fbo/DataTables.xhtml"},"20556":{"type":"S:modified","url":"/users/fbo/myLineWorld.xhtml"},"20557":{"type":"S:modified","url":"/issues/110526_ConnectorsInTheNewWorld.xhtml"},"20558":{"type":"S:modified","url":"/users/Dan/PM/FormLayoutExpt.xhtml"},"20559":{"type":"S:modified","url":"/users/Dan/MyQBF.xhtml"},"20560":{"type":"S:modified","url":"/users/Dan/LiveWeb2.xhtml"},"20561":{"type":"S:modified","url":"/users/fbo/layoutPlaceholdersForDragging.xhtml"},"20562":{"type":"S:modified","url":"/webwerkstatt.xhtml"},"20563":{"type":"S:modified","url":"/users/sofia/georgi/Versions.xhtml"},"20564":{"type":"S:modified","url":"/issues/fixed/110506_CompletelyEmphasizedTextDoesNotSerialize.xhtml"},"20565":{"type":"S:modified","url":"/issues/110518_ShadowOfAMorphDoesNotReflectRotation.xhtml"},"20566":{"type":"S:modified","url":"/users/olmeca/start.xhtml"},"20567":{"type":"S:modified","url":"/users/sofia/martin/3.xhtml"},"20568":{"type":"S:modified","url":"/issues/110514_DontShowEditCursorForHalosMenusEtc.xhtml"},"20569":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/Lists.xhtml"},"20570":{"type":"S:modified","url":"/users/fbo/layoutDragSnap.xhtml"},"20571":{"type":"S:modified","url":"/users/sofia/georgi/new.xhtml"},"20572":{"type":"S:modified","url":"/users/mkilling/ikuh.xhtml"},"20573":{"type":"S:modified","url":"/draft/NewWorld/ClassBrowser.xhtml"},"20574":{"type":"S:modified","url":"/users/fbo/xamppInstaller.xhtml"},"20575":{"type":"S:modified","url":"/users/Kat/QBF2B.xhtml"},"20576":{"type":"S:modified","url":"/demos/visualizations/protovis.xhtml"},"20577":{"type":"S:modified","url":"/users/NikolaySuslov/start.xhtml"},"20578":{"type":"S:modified","url":"/documentation/Lively2Installation.xhtml"},"20579":{"type":"S:modified","url":"/issues/110518_ProblemToOpenDialogs.xhtml"},"20580":{"type":"S:modified","url":"/users/sofia/learning_prototype_js.xhtml"},"20581":{"type":"S:modified","url":"/issues/110809_AsScriptOfMethodDoesNotChangeFunctionName.xhtml"},"20582":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksBenjamin.xhtml"},"20583":{"type":"S:modified","url":"/users/sofia/video1.xhtml"},"20584":{"type":"S:modified","url":"/empty.xhtml"},"20585":{"type":"S:modified","url":"/demos/LiveWeb/LiveWeb.xhtml"},"20586":{"type":"S:modified","url":"/users/cschuster/start.xhtml"},"20587":{"type":"S:modified","url":"/issues/fixed/110509_WorldMenuDoesNotWork.xhtml"},"20588":{"type":"S:modified","url":"/users/Dan/QuickBrownFox.xhtml"},"20589":{"type":"S:modified","url":"/projects/Lively2/Minimal.xhtml"},"20590":{"type":"S:modified","url":"/issues/111005_LineIssues.xhtml"},"20591":{"type":"S:modified","url":"/issues/fixed/110506_PartsbinHasNoAddOrRemoveCategoryButtons.xhtml"},"20592":{"type":"S:modified","url":"/users/sofia/experiments/css_theming.xhtml"},"20593":{"type":"S:modified","url":"/documentation/videoTutorials/110630_CPUVis.xhtml"},"20594":{"type":"S:modified","url":"/users/template/start.xhtml"},"20595":{"type":"S:modified","url":"/documentation/Traits.xhtml"},"20596":{"type":"S:modified","url":"/issues/110717_ShapeOffsetMakesEventsGoMad.xhtml"},"20597":{"type":"S:modified","url":"/users/fbo/jQueryUi.xhtml"},"20598":{"type":"S:modified","url":"/users/robertkrahn/nonexisting.xhtml"},"20599":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/DroppingForImport.xhtml"},"20600":{"type":"S:modified","url":"/cleanup.xhtml"},"20601":{"type":"S:modified","url":"/issues/110522_ListAndTextScrollWorldAfterReachingTheirScrollBounds.xhtml"},"20602":{"type":"S:modified","url":"/projects/BP2012/simple.xhtml"},"20603":{"type":"S:modified","url":"/issues/110831_ScrolingWithNewClippingCodeDoesNotWork.xhtml"},"20604":{"type":"S:modified","url":"/issues/110923_ProtovisVisualizationBroken.xhtml"},"20605":{"type":"S:modified","url":"/issues/111019_PublishingPartsWithCommitMessages.xhtml"},"20606":{"type":"S:modified","url":"/demos/visualizations/jsl4tv-world-000.xhtml"},"20607":{"type":"S:modified","url":"/users/markoroeder/SVN2CodeDB.xhtml"},"20608":{"type":"S:modified","url":"/users/sofia/trac_tickets_pavel.xhtml"},"20609":{"type":"S:modified","url":"/projects/BP2012/2011-11-02-talk.xhtml"},"20610":{"type":"S:modified","url":"/users/fbo/dojoWorld.xhtml"},"20611":{"type":"S:modified","url":"/users/Dan/NewPresentation2.xhtml"},"20612":{"type":"S:modified","url":"/users/tmohr/slide6.xhtml"},"20613":{"type":"S:modified","url":"/projects/DebuggingJS/draft.xhtml"},"20614":{"type":"S:modified","url":"/draft/NewWorld/DirectGrabDragAndCopy.xhtml"},"20615":{"type":"S:modified","url":"/users/sofia/protovis.xhtml"},"20616":{"type":"S:modified","url":"/blank.xhtml"},"20617":{"type":"S:modified","url":"/users/robertkrahn/testCPUVis.xhtml"},"20618":{"type":"S:modified","url":"/projects/Lively2/Converting.xhtml"},"20619":{"type":"S:modified","url":"/users/andyburnett/start.xhtml"},"20620":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/RichText.xhtml"},"20621":{"type":"S:modified","url":"/draft/NewWorld/Presentations.xhtml"},"20622":{"type":"S:modified","url":"/users/robertkrahn/garminExport.xhtml"},"20623":{"type":"S:modified","url":"/tests.xhtml"},"20624":{"type":"S:modified","url":"/issues/110625_PartUploadBroken.xhtml"},"20625":{"type":"S:modified","url":"/issues/fixed/110517_ConnectionsWantToAccessClosureValues.xhtml"},"20626":{"type":"S:modified","url":"/users/markoroeder/DataVisualization.xhtml"},"20627":{"type":"S:modified","url":"/draft/NewWorld/PartsBinSearch.xhtml"},"20628":{"type":"S:modified","url":"/issues/110529_InsertingSomethingInTextRemovesFocus.xhtml"},"20629":{"type":"S:modified","url":"/issues/110512_ListSelectionInScbDoesNotWorkCorrectly.xhtml"},"20630":{"type":"S:modified","url":"/issues/111017_StaticBindingOfSuperInClosures.xhtml"},"20631":{"type":"S:modified","url":"/demos/contextjs/flattening.xhtml"},"20632":{"type":"S:modified","url":"/issues/110511_LinesCannotBeClicked.xhtml"},"20633":{"type":"S:modified","url":"/users/lauritz/miniprojects/gettingStarted.xhtml"},"20634":{"type":"S:modified","url":"/users/markoroeder/Part2Class.xhtml"},"20635":{"type":"S:modified","url":"/users/Dan/EmptyWorld2.xhtml"},"20636":{"type":"S:modified","url":"/projects/LivelyKernel/nextSteps.xhtml"},"20637":{"type":"S:modified","url":"/users/wlcleveland/start.xhtml"},"20638":{"type":"S:modified","url":"/users/swart/start.xhtml"},"20639":{"type":"S:modified","url":"/users/Dan/QBF2Bb.xhtml"},"20640":{"type":"S:modified","url":"/users/tmohr/slide1.xhtml"},"20641":{"type":"S:modified","url":"/users/robertkrahn/DetermineModuleDependencies.xhtml"},"20642":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksHubert2.xhtml"},"20643":{"type":"S:modified","url":"/projects/CodeDB2/info_restructuring.xhtml"},"20644":{"type":"S:modified","url":"/users/Dan/PM/DemoForm.xhtml"},"20645":{"type":"S:modified","url":"/issues/110728_GraffleLayerGrabsWorld.xhtml"},"20646":{"type":"S:modified","url":"/users/Dan/Activities1.xhtml"},"20647":{"type":"S:modified","url":"/users/tmohr/emtpy.xhtml"},"20648":{"type":"S:modified","url":"/documentation/ElProfesor.xhtml"},"20649":{"type":"S:modified","url":"/issues/111022_TheExplorerScrollingIsBroken.xhtml"},"20650":{"type":"S:modified","url":"/users/Dan/WindowPlay.xhtml"},"20651":{"type":"S:modified","url":"/users/martin/Measurements.xhtml"},"20652":{"type":"S:modified","url":"/users/fbo/layoutCycle.xhtml"},"20653":{"type":"S:modified","url":"/documentation/7funthings.xhtml"},"20654":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/jensWorld.xhtml"},"20655":{"type":"S:modified","url":"/users/iho/start.xhtml"},"20656":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/NewMorphicIntroduction.xhtml"},"20657":{"type":"S:modified","url":"/BrokenWorldRepairSite.xhtml"},"20658":{"type":"S:modified","url":"/users/fbo/serverDevPlayground.xhtml"},"20659":{"type":"S:modified","url":"/users/ahold/TrackerDev.xhtml"},"20660":{"type":"S:modified","url":"/users/Dan/LiveWeb3.xhtml"},"20661":{"type":"S:modified","url":"/documentation/Template.xhtml"},"20662":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/secondWorld.xhtml"},"20663":{"type":"S:modified","url":"/documentation/ContextJS.xhtml"},"20664":{"type":"S:modified","url":"/projects/CodeDB2/CodeDB2Dev.xhtml"},"20665":{"type":"S:modified","url":"/users/markoroeder/GrammarTesting.xhtml"},"20666":{"type":"S:modified","url":"/documentation/ScriptingTutorial.xhtml"},"20667":{"type":"S:modified","url":"/users/fbo/deserializeMorphs.xhtml"},"20668":{"type":"S:modified","url":"/issues/110722_ClipModeShouldClipMorphsInTheirBounds.xhtml"},"20669":{"type":"S:modified","url":"/documentation/videoTutorials/110714_NodeJSServerCreation.xhtml"},"20670":{"type":"S:modified","url":"/users/fbo/scrollFixes.xhtml"},"20671":{"type":"S:modified","url":"/users/fbo/empty.xhtml"},"20672":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksConrad.xhtml"},"20673":{"type":"S:modified","url":"/users/keith/deadly.xhtml"},"20674":{"type":"S:modified","url":"/users/robertkrahn/nonexisting2.xhtml"},"20675":{"type":"S:modified","url":"/users/Dan/QBFa.xhtml"},"20676":{"type":"S:modified","url":"/users/cschuster/debugging2.xhtml"},"20677":{"type":"S:modified","url":"/users/fbo/SlickGrid.xhtml"},"20678":{"type":"S:modified","url":"/users/constantin/Snake.xhtml"},"20679":{"type":"S:modified","url":"/documentation/worlds.xhtml"},"20680":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/firstWorld2.xhtml"},"20681":{"type":"S:modified","url":"/issues/110609_TabIndentionForBulletPoints.xhtml"},"20682":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksAstrid.xhtml"},"20683":{"type":"S:modified","url":"/users/sofia/video2.xhtml"},"20684":{"type":"S:modified","url":"/users/keith/notes.xhtml"},"20685":{"type":"S:modified","url":"/issues/110528_ClickBehaviorOfScbIsStrange.xhtml"},"20686":{"type":"S:modified","url":"/demos/Parts.xhtml"},"20687":{"type":"S:modified","url":"/demos/WhereArePeopleFrom.xhtml"},"20688":{"type":"S:modified","url":"/issues/110510_MorphsAreDroppedWhenDndedFromPartsbin.xhtml"},"20689":{"type":"S:modified","url":"/users/fbo/jqueryTabulate.xhtml"},"20690":{"type":"S:modified","url":"/issues/111026_CustomFormattedBinsInPartsBin.xhtml"},"20691":{"type":"S:modified","url":"/users/fbo/learningLively2.xhtml"},"20692":{"type":"S:modified","url":"/issues/111017_svgIssues.xhtml"},"20693":{"type":"S:modified","url":"/users/markoroeder/NewStreamwork.xhtml"},"20694":{"type":"S:modified","url":"/users/markoroeder/MapImport.xhtml"},"20695":{"type":"S:modified","url":"/documentation/Serialization-Interface.xhtml"},"20696":{"type":"S:modified","url":"/issues/fixed/110511_DroppablebehaviorParts.xhtml"},"20697":{"type":"S:modified","url":"/users/markoroeder/newDraft.xhtml"},"20698":{"type":"S:modified","url":"/projects/Lively2/ReleasePlanning.xhtml"},"20699":{"type":"S:modified","url":"/draft/NewWorld/LinesAndCurves.xhtml"},"20700":{"type":"S:modified","url":"/users/Dan/HaloExpt.xhtml"},"20701":{"type":"S:modified","url":"/issues/110921_DropshadowIsOff.xhtml"},"20702":{"type":"S:modified","url":"/users/keith/versionControl.xhtml"},"20703":{"type":"S:modified","url":"/issues/111021_HowToStoreObjectsOnTheServer.xhtml"},"20704":{"type":"S:modified","url":"/documentation/videoTutorials/SystemBrowserDiffingVersions.xhtml"},"20705":{"type":"S:modified","url":"/users/fbo/blank.xhtml"},"20706":{"type":"S:modified","url":"/demos/Clock.xhtml"},"20707":{"type":"S:modified","url":"/users/fbo/scrolling.xhtml"},"20708":{"type":"S:modified","url":"/users/markoroeder/DraftInfoItem.xhtml"},"20709":{"type":"S:modified","url":"/documentation/HowConnectWorks.xhtml"},"20710":{"type":"S:modified","url":"/users/fbo/layoutTests.xhtml"},"20711":{"type":"S:modified","url":"/issues/fixed/110407_NoScriptEditorInNewWorld.xhtml"},"20712":{"type":"S:modified","url":"/projects/BP2012/Requests.xhtml"},"20713":{"type":"S:modified","url":"/users/template/pleaseDoNotChangeOrRemoveWorldsInThisDirectory.xhtml"},"20714":{"type":"S:modified","url":"/users/fbo/journalBug.xhtml"},"20715":{"type":"S:modified","url":"/issues/110701_VisualBindingToStarBroken.xhtml"},"20716":{"type":"S:modified","url":"/users/tmohr/slide7.xhtml"},"20717":{"type":"S:modified","url":"/issues/110723_PathBroken.xhtml"},"20718":{"type":"S:modified","url":"/demos/MyNewWikiPage.xhtml"},"20719":{"type":"S:modified","url":"/issues/fixed/110510_SafariWontOpenToolsFromPartsbin.xhtml"},"20720":{"type":"S:modified","url":"/issues/110720_FirefoxCannotDisplaySvgBasedMorphs.xhtml"},"20721":{"type":"S:modified","url":"/draft/NewWorld/RichText.xhtml"},"20722":{"type":"S:modified","url":"/users/alexwarth/start.xhtml"},"20723":{"type":"S:modified","url":"/draft/NewWorld/SimpleBrowser.xhtml"},"20724":{"type":"S:modified","url":"/draft/NewWorld/OldMorphicObjectConversion.xhtml"},"20725":{"type":"S:modified","url":"/documentation/profesores.xhtml"},"20726":{"type":"S:modified","url":"/documentation/videoTutorials/template.xhtml"},"20727":{"type":"S:modified","url":"/issues/110629_WindmillDoesNotShowInThePartsBin.xhtml"},"20728":{"type":"S:modified","url":"/issues/110519_PasteBug.xhtml"},"20729":{"type":"S:modified","url":"/draft/NewWorld/Engine.xhtml"},"20730":{"type":"S:modified","url":"/draft/NewWorld/ProgressForRequests.xhtml"},"20731":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/Sliders.xhtml"},"20732":{"type":"S:modified","url":"/users/tmohr/bespin.xhtml"},"20733":{"type":"S:modified","url":"/users/fbo/scrollPlayground.xhtml"},"20734":{"type":"S:modified","url":"/users/tfleig/test1.xhtml"},"20735":{"type":"S:modified","url":"/users/fbo/gitSetup.xhtml"},"20736":{"type":"S:modified","url":"/users/constantin/start.xhtml"},"20737":{"type":"S:modified","url":"/users/Dan/Test.xhtml"},"20738":{"type":"S:modified","url":"/issues/110630_MenusLeaveVisibleBounds.xhtml"},"20739":{"type":"S:modified","url":"/projects/CodeDB2/playground_tilman.xhtml"},"20740":{"type":"S:modified","url":"/users/ohshima/start.xhtml"},"20741":{"type":"S:modified","url":"/issues/110704_MapsAreBlacksAfterDeserialization.xhtml"},"20742":{"type":"S:modified","url":"/users/Kat/MyQBF.xhtml"},"20743":{"type":"S:modified","url":"/users/markoroeder/SerializationDebug.xhtml"},"20744":{"type":"S:modified","url":"/issues/111012_BorderWidthIssue.xhtml"},"20745":{"type":"S:modified","url":"/users/mzimmerm/etoys-development-notes.xhtml"},"20746":{"type":"S:modified","url":"/users/Dan/EngineTest.xhtml"},"20747":{"type":"S:modified","url":"/users/tmohr/slide2.xhtml"},"20748":{"type":"S:modified","url":"/users/sofia/protovisPrototype.xhtml"},"20749":{"type":"S:modified","url":"/users/sofia/sofia/georgi/new_world.xhtml"},"20750":{"type":"S:modified","url":"/documentation/FAQ.xhtml"},"20751":{"type":"S:modified","url":"/demos/contextjs/SimpleObjectTracing.xhtml"},"20752":{"type":"S:modified","url":"/users/Dan/PM/Dan.xhtml"},"20753":{"type":"S:modified","url":"/issues/fixed/110518_PartsbinMoveIsNoRealMove.xhtml"},"20754":{"type":"S:modified","url":"/sandbox/sandbox-dgc.xhtml"},"20755":{"type":"S:modified","url":"/issues/110610_AddNewMethodBroken.xhtml"},"20756":{"type":"S:modified","url":"/users/Dan/CC.xhtml"},"20757":{"type":"S:modified","url":"/draft/NewWorld/StringsAsRichText.xhtml"},"20758":{"type":"S:modified","url":"/issues/110704_ClickingOnProtoVisDrawing.xhtml"},"20759":{"type":"S:modified","url":"/users/fbo/layoutGrid.xhtml"},"20760":{"type":"S:modified","url":"/users/Dan/Garbage.xhtml"},"20761":{"type":"S:modified","url":"/welcome.xhtml"},"20762":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/textEditor.xhtml"},"20763":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/prototypeQBF.xhtml"},"20764":{"type":"S:modified","url":"/documentation/videoTutorials/110429_TextAttributes.xhtml"},"20765":{"type":"S:modified","url":"/users/fbo/pongServer.xhtml"},"20766":{"type":"S:modified","url":"/users/miku/start.xhtml"},"20767":{"type":"S:modified","url":"/users/Dan/PM/Lively2.xhtml"},"20768":{"type":"S:modified","url":"/users/cschuster/dev-alpha.xhtml"},"20769":{"type":"S:modified","url":"/users/Dan/PM/PowerPointNot.xhtml"},"20770":{"type":"S:modified","url":"/users/fbo/layoutConfigurator.xhtml"},"20771":{"type":"S:modified","url":"/draft/NewWorld/Diffing.xhtml"},"20772":{"type":"S:modified","url":"/issues/110604_GriddingDoesNotWorkRight.xhtml"},"20773":{"type":"S:modified","url":"/issues/110927_TranslationAndPositionAreNotEqualWhenMorphHasAOwnerWithModifiedOrigin.xhtml"},"20774":{"type":"S:modified","url":"/issues/110809_ChangeOrRemovedScriptsAfterSerializationWrong.xhtml"},"20775":{"type":"S:modified","url":"/issues/110729_ShowHaloItemDuringHaloAction.xhtml"},"20776":{"type":"S:modified","url":"/users/tmohr/demo.xhtml"},"20777":{"type":"S:modified","url":"/documentation/overview.xhtml"},"20778":{"type":"S:modified","url":"/demos/LiveWeb/iPad.xhtml"},"20779":{"type":"S:modified","url":"/issues/110628_MorphOffsetsAfterGrabbingAreBroken.xhtml"},"20780":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/SCBMigration.xhtml"},"20781":{"type":"S:modified","url":"/users/Dan/LiveWeb4.xhtml"},"20782":{"type":"S:modified","url":"/users/olmeca/olmeca3.xhtml"},"20783":{"type":"S:deleted","url":null},"20784":{"type":"S:modified","url":"/issues/111026_AccessingVersionsUsesWrongURLAndVersionCombination.xhtml"},"20785":{"type":"S:modified","url":"/users/sofia/sofia/georgi/video_experiments1.xhtml"},"20786":{"type":"S:modified","url":"/users/wlcleveland/shadowworld.xhtml"},"20787":{"type":"S:modified","url":"/users/mzimmerm/mz-world-from-start-xhtml.xhtml"},"20788":{"type":"S:modified","url":"/users/Dan/FormLayoutExpt.xhtml.xhtml"},"20789":{"type":"S:modified","url":"/users/robertkrahn/writeSite.xhtml"},"20790":{"type":"S:modified","url":"/draft/NewWorld/CurveDrafting.xhtml"},"20791":{"type":"S:modified","url":"/draft/NewWorld/ParseApacheServerLog.xhtml"},"20792":{"type":"S:modified","url":"/issues/fixed/110516_EnterAtTextEndDoesNotAddLineBreak.xhtml"},"20793":{"type":"S:modified","url":"/projects/BP2012/h2.xhtml"},"20794":{"type":"S:modified","url":"/draft/NewWorld/110521_BetterLists.xhtml"},"20795":{"type":"S:modified","url":"/users/Dan/PM/layoutExpts.xhtml"},"20796":{"type":"S:modified","url":"/users/test50/start.xhtml"},"20797":{"type":"S:modified","url":"/MovePages.xhtml"},"20798":{"type":"S:modified","url":"/documentation/Rendering.xhtml"},"20799":{"type":"S:modified","url":"/users/fbo/layoutPlayground.xhtml"},"20800":{"type":"S:modified","url":"/users/martin/measurements/webwerkstatt.xhtml"},"20801":{"type":"S:modified","url":"/issues/111005_MouseMoveChangesFocus.xhtml"},"20802":{"type":"S:modified","url":"/documentation/videoTutorials/110419_ManipulateMorphs.xhtml"},"20803":{"type":"S:modified","url":"/projects/Lively2/Release.xhtml"},"20804":{"type":"S:modified","url":"/issues/110523_RelayMouseEventsToMorphBeneath.xhtml"},"20805":{"type":"S:modified","url":"/users/tmohr/myNewWorld.xhtml"},"20806":{"type":"S:modified","url":"/users/robertkrahn/thingsToExplain.xhtml"},"20807":{"type":"S:modified","url":"/users/fbo/start.xhtml"},"20808":{"type":"S:modified","url":"/issues/110511_WeHaveNoCheckbox.xhtml"},"20809":{"type":"S:modified","url":"/users/Dan/PM/FormsDraft1.xhtml"},"20810":{"type":"S:modified","url":"/users/Dan/EmptyWorld.xhtml"},"20811":{"type":"S:modified","url":"/users/sofia/georgi/empty.xhtml"},"20812":{"type":"S:modified","url":"/issues/110609_AccidentalGrabbing.xhtml"},"20813":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/NewMorphicDevelopment.xhtml"},"20814":{"type":"S:modified","url":"/users/lauritz/personal/snippets.xhtml"},"20815":{"type":"S:modified","url":"/users/lauritz/personal/thoughts.xhtml"},"20816":{"type":"S:modified","url":"/users/Dan/NewEmptyWorld.xhtml"},"20817":{"type":"S:modified","url":"/users/markoroeder/DOMRemovalPlugin.xhtml"},"20818":{"type":"S:modified","url":"/documentation/LivelyInstallation.xhtml"},"20819":{"type":"S:modified","url":"/issues/110530_MakeSyntaxHighlightingFaster.xhtml"},"20820":{"type":"S:modified","url":"/users/lauritz/miniprojects/pongClient.xhtml"},"20821":{"type":"S:modified","url":"/issues/110831_ButtonLabelsAreNotCenteredAnymore.xhtml"},"20822":{"type":"S:modified","url":"/sandbox/ColorfulWindmills.xhtml"},"20823":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/todo.xhtml"},"20824":{"type":"S:modified","url":"/users/robertkrahn/simple.xhtml"},"20825":{"type":"S:modified","url":"/issues/111004_SavingAnEmptyTextObjectSetsTheStringToUndefined.xhtml"},"20826":{"type":"S:modified","url":"/issues/TextDebugWorld.xhtml"},"20827":{"type":"S:modified","url":"/documentation/ShortcutList.xhtml"},"20828":{"type":"S:modified","url":"/users/tmohr/slide8.xhtml"},"20829":{"type":"S:modified","url":"/issues/110522_ClickingTheScrollbarInListsDoesNotWork.xhtml"},"20830":{"type":"S:modified","url":"/draft/NewWorld/ObjectSerializationGraph.xhtml"},"20831":{"type":"S:modified","url":"/users/Dan/TextTest.xhtml"},"20832":{"type":"S:modified","url":"/users/dtornow/start.xhtml"},"20833":{"type":"S:modified","url":"/projects/BP2012/start.xhtml"},"20834":{"type":"S:modified","url":"/users/Dan/Empty.xhtml"},"20835":{"type":"S:modified","url":"/users/keith/start.xhtml"},"20836":{"type":"S:modified","url":"/users/gerald24/start.xhtml"},"20837":{"type":"S:modified","url":"/documentation/videoTutorial.xhtml"},"20838":{"type":"S:modified","url":"/draft/NewWorld/DraftSelection.xhtml"},"20839":{"type":"S:modified","url":"/demos/LiveWeb/Pheonix.xhtml"},"20840":{"type":"S:modified","url":"/users/ahold/siteTracking.xhtml"},"20841":{"type":"S:modified","url":"/issues/110608_GetterAndSettersInIe9.xhtml"},"20842":{"type":"S:modified","url":"/users/iho/1.xhtml"},"20843":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/bootstrap.xhtml"},"20844":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasks.xhtml"},"20845":{"type":"S:modified","url":"/users/Dan/PM/FormsScripter.xhtml"},"20846":{"type":"S:modified","url":"/users/fbo/cassowary.xhtml"},"20847":{"type":"S:modified","url":"/users/MrSteve/start.xhtml"},"20848":{"type":"S:modified","url":"/issues/CreateIssuePage.xhtml"},"20849":{"type":"S:modified","url":"/users/fbo/xamppInstallerWindows.xhtml"},"20850":{"type":"S:modified","url":"/users/Dan/PM/Phoenix.xhtml"},"20851":{"type":"S:modified","url":"/users/tmohr/WebGL.xhtml"},"20852":{"type":"S:modified","url":"/documentation/PartsBin.xhtml"},"20853":{"type":"S:modified","url":"/users/mzimmerm/start.xhtml"},"20854":{"type":"S:modified","url":"/users/markoroeder/SequenceDiagram.xhtml"},"20855":{"type":"S:modified","url":"/demos/Wiki.xhtml"},"20856":{"type":"S:modified","url":"/documentation/Events.xhtml"},"20857":{"type":"S:modified","url":"/users/tmohr/slide3.xhtml"},"20858":{"type":"S:modified","url":"/users/hjust/blank.xhtml"},"20859":{"type":"S:modified","url":"/Lively2.xhtml"},"20860":{"type":"S:modified","url":"/users/tfleig/template.xhtml"},"20861":{"type":"S:modified","url":"/issues/111021_PianoDoesNotMakeASound.xhtml"},"20862":{"type":"S:modified","url":"/issues/fixed/110426_NewStatusMessagesWithMore.xhtml"},"20863":{"type":"S:modified","url":"/users/martin/tests.xhtml"},"20864":{"type":"S:modified","url":"/users/sofia/empty.xhtml"},"20865":{"type":"S:modified","url":"/issues/110601_PartsDoNotLoadThereRequireModulesOnWorldLoad.xhtml"},"20866":{"type":"S:modified","url":"/draft/NewWorld/Sliders.xhtml"},"20867":{"type":"S:modified","url":"/users/davidorban/start.xhtml"},"20868":{"type":"S:modified","url":"/users/orjan/start.xhtml"},"20869":{"type":"S:modified","url":"/users/Dan/PM/FormLayoutExpt-Final.xhtml"},"20870":{"type":"S:modified","url":"/users/sofia/video.xhtml"},"20871":{"type":"S:modified","url":"/demos/contextjs/PersonExample.xhtml"},"20872":{"type":"S:modified","url":"/users/zeebeedee/start.xhtml"},"20873":{"type":"S:modified","url":"/users/robertkrahn/textRain.xhtml"},"20874":{"type":"S:modified","url":"/users/fbo/databaseForms.xhtml"},"20875":{"type":"S:modified","url":"/draft/NewWorld/DraftUploadPDFs.xhtml"},"20876":{"type":"S:modified","url":"/users/olmeca/olmeca4.xhtml"},"20877":{"type":"S:modified","url":"/users/lauritz/miniprojects/livelyExplorer.xhtml"},"20878":{"type":"S:modified","url":"/documentation/videoTutorials/110421_CreatingVideoTutorials.xhtml"},"20879":{"type":"S:modified","url":"/draft/NewWorld/MartinsObjectDiffInNewWorlds.xhtml"},"20880":{"type":"S:modified","url":"/users/Dan/LineTest.xhtml"},"20881":{"type":"S:modified","url":"/draft/NewWorld/Translator.xhtml"},"20882":{"type":"S:modified","url":"/documentation/Styles.xhtml"},"20883":{"type":"S:modified","url":"/draft/NewWorld/MorphOrigin.xhtml"},"20884":{"type":"S:modified","url":"/screenshots.xhtml"},"20885":{"type":"S:modified","url":"/users/Dan/LiveWeb.xhtml"},"20886":{"type":"S:modified","url":"/demos/AntotherPageWithAClock.xhtml"},"20887":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/halloJens2.xhtml"},"20888":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/improvingTheWebPag.xhtml"},"20889":{"type":"S:modified","url":"/users/fbo/constraintLayoutExample.xhtml"},"20890":{"type":"S:modified","url":"/documentation/TutorialList.xhtml"},"20891":{"type":"S:modified","url":"/draft/NewWorld/MakeEventsTriggerOnCapture.xhtml"},"20892":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/prototype.xhtml"},"20893":{"type":"S:modified","url":"/users/Dan/PM/FormLayoutExpt-bk.xhtml"},"20894":{"type":"S:modified","url":"/users/Dan/QBF.xhtml"},"20895":{"type":"S:modified","url":"/users/tmohr/slides.xhtml"},"20896":{"type":"S:modified","url":"/users/Dan/ButtonTest.xhtml"},"20897":{"type":"S:modified","url":"/users/fbo/textInVbox.xhtml"},"20898":{"type":"S:modified","url":"/users/sofia/externalShapeExample.xhtml"},"20899":{"type":"S:modified","url":"/users/hjust/playground.xhtml"},"20900":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/halloJens.xhtml"},"20901":{"type":"S:modified","url":"/users/tmohr/morphSpecificRendering.xhtml"},"20902":{"type":"S:modified","url":"/users/fbo/dataGrid.xhtml"},"20903":{"type":"S:modified","url":"/issues/111020_HighlightTheTargetOfDropping.xhtml"},"20904":{"type":"S:modified","url":"/users/mzimmerm/help.xhtml"},"20905":{"type":"S:modified","url":"/users/fbo/jqGrid.xhtml"},"20906":{"type":"S:modified","url":"/projects/CodeDB2/contents.xhtml"},"20907":{"type":"S:modified","url":"/demos/PartsBin.xhtml"},"20908":{"type":"S:modified","url":"/users/sofia/martin/empty.xhtml"},"20909":{"type":"S:modified","url":"/users/markoroeder/research/Internship.xhtml"},"20910":{"type":"S:modified","url":"/users/tmohr/NewWorld.xhtml"},"20911":{"type":"S:modified","url":"/users/bert/sandbox.xhtml"},"20912":{"type":"S:modified","url":"/draft/NewWorld/GoogleMaps.xhtml"},"20913":{"type":"S:modified","url":"/demos/contextjs/NewContents.xhtml"},"20914":{"type":"S:modified","url":"/users/fbo/meteora.xhtml"},"20915":{"type":"S:modified","url":"/users/Dan/PM/Forms.xhtml"},"20916":{"type":"S:modified","url":"/issues/draft/NewWorld/CurveDrafting_EmbeddableWorld.xhtml"},"20917":{"type":"S:modified","url":"/projects/LivelyHelping/draftLK2.xhtml"},"20918":{"type":"S:modified","url":"/users/lauritz/miniprojects/objectEditor.xhtml"},"20919":{"type":"S:modified","url":"/users/fbo/blank2.xhtml"},"20920":{"type":"S:modified","url":"/issues/110509_ConnectionsInputsGetStackedUp.xhtml"},"20921":{"type":"S:modified","url":"/draft/NewWorld/SimpleLayout.xhtml"},"20922":{"type":"S:modified","url":"/users/mkilling/iKuh2.xhtml"},"20923":{"type":"S:modified","url":"/users/fbo/profesorControls.xhtml"},"20924":{"type":"S:modified","url":"/documentation/Serialization-Overview.xhtml"},"20925":{"type":"S:modified","url":"/users/sofia/georgi/PropertySheet.xhtml"},"20926":{"type":"S:modified","url":"/users/sofia/martin/1.xhtml"},"20927":{"type":"S:modified","url":"/issues/110828_HaloInfoLabelsWontShowUp.xhtml"},"20928":{"type":"S:modified","url":"/users/sofia/georgi/styles.xhtml"},"20929":{"type":"S:modified","url":"/users/fbo/doc/profesores.xhtml"},"20930":{"type":"S:modified","url":"/users/markoroeder/MorphicProtoVis2.xhtml"},"20931":{"type":"S:modified","url":"/issues/110516_EnterAtTextEndDoesNotAddLineBreak.xhtml"},"20932":{"type":"S:modified","url":"/projects/Lively2/LivelyMap.xhtml"},"20933":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/colorFiel.xhtml"},"20934":{"type":"S:modified","url":"/users/tmohr/slide9.xhtml"},"20935":{"type":"S:modified","url":"/issues/110518_TextAttributesBreakOnPaste.xhtml"},"20936":{"type":"S:modified","url":"/demos/LiveWeb/VisualBindings.xhtml"},"20937":{"type":"S:modified","url":"/documentation/Layout.xhtml"},"20938":{"type":"S:modified","url":"/documentation/repository.xhtml"},"20939":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/DontOverwriteChangedFile.xhtml"},"20940":{"type":"S:modified","url":"/users/Dan/Tests/TextTest.xhtml"},"20941":{"type":"S:modified","url":"/issues/fixed/110412_NewSimpleBrowser.xhtml"},"20942":{"type":"S:modified","url":"/users/fbo/proposedUiFixes.xhtml"},"20943":{"type":"S:modified","url":"/issues/NewTemplate.xhtml"},"20944":{"type":"S:modified","url":"/documentation/SVNOnServer.xhtml"},"20945":{"type":"S:modified","url":"/issues/110524_PartsSerializeTheirWorldsSometimes.xhtml"},"20946":{"type":"S:modified","url":"/users/Dan/PM/May.xhtml"},"20947":{"type":"S:modified","url":"/documentation/ignoreOrDisableEvents.xhtml"},"20948":{"type":"S:modified","url":"/issues/110522_FixSubmorphOrderWhenAddingMorphs.xhtml"},"20949":{"type":"S:modified","url":"/users/Dan/CCbkup.xhtml"},"20950":{"type":"S:modified","url":"/users/Dan/LiveWeb2-bk.xhtml"},"20951":{"type":"S:modified","url":"/issues/110704_DontGrabTextWithJensFancyGrabber.xhtml"},"20952":{"type":"S:modified","url":"/users/lauritz/blank.xhtml"},"20953":{"type":"S:modified","url":"/draft/NewWorld/Dragging.xhtml"},"20954":{"type":"S:modified","url":"/users/lauritz/personal/todo.xhtml"},"20955":{"type":"S:modified","url":"/users/fbo/flexigrid.xhtml"},"20956":{"type":"S:modified","url":"/draft/NewWorld/LatestFileChangeViewer.xhtml"},"20957":{"type":"S:modified","url":"/issues/fixed/110729_QucikBrownFoxBackspaceBug.xhtml"},"20958":{"type":"S:modified","url":"/users/lauritz/miniprojects/elProfesorWerkstatt.xhtml"},"20959":{"type":"S:modified","url":"/documentation/VisualBindings.xhtml"},"20960":{"type":"S:modified","url":"/users/robertkrahn/notexisting.xhtml"},"20961":{"type":"S:modified","url":"/draft/NewWorld/TreeMap.xhtml"},"20962":{"type":"S:modified","url":"/draft/NewWorld/Empty.xhtml"},"20963":{"type":"S:modified","url":"/users/Dan/QBF2B.xhtml"},"20964":{"type":"S:modified","url":"/issues/111019_MergingVersionsOfAnObject.xhtml"},"20965":{"type":"S:modified","url":"/issues/110619_SerializingMorphsThatAreNotInTheSceneGraphGivesStrangeErrors.xhtml"},"20966":{"type":"S:modified","url":"/users/lauritz/test.xhtml"},"20967":{"type":"S:modified","url":"/users/tilman.giese/start.xhtml"},"20968":{"type":"S:modified","url":"/users/tmohr/slide4.xhtml"},"20969":{"type":"S:modified","url":"/sandbox/PartsBin.xhtml"},"20970":{"type":"S:modified","url":"/users/markoroeder/DraftObjectExplorer.xhtml"},"20971":{"type":"S:modified","url":"/demos/WhereArePeopleFrom2.xhtml"},"20972":{"type":"S:modified","url":"/projects/CodeDB2/SVN2CodeDB.xhtml"},"20973":{"type":"S:modified","url":"/users/fbo/sqliteQueryServer.xhtml"},"20974":{"type":"S:modified","url":"/issues/fixed/110513_ScrollingWhenSearching.xhtml"},"20975":{"type":"S:modified","url":"/users/lauritz/miniprojects/bugFixing/referencedTextBug.xhtml"},"20976":{"type":"S:modified","url":"/issues/fixed/111020_ScrollingInScripteditorIsBroken.xhtml"},"20977":{"type":"S:modified","url":"/issues/110513_FindMethodsShouldSearchInClassMethodsAndObjects.xhtml"},"20978":{"type":"S:modified","url":"/draft/NewWorld/NewTestWidgetAgain.xhtml"},"20979":{"type":"S:modified","url":"/users/Dan/DansSlideOverview.xhtml"},"20980":{"type":"S:modified","url":"/users/fbo/exportCore.xhtml"},"20981":{"type":"S:modified","url":"/users/olmeca/olmeca.xhtml"},"20982":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/firstWorld.xhtml"},"20983":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/SearchSourceCodeWidge.xhtml"},"20984":{"type":"S:modified","url":"/users/Dan/CircleTest.xhtml"},"20985":{"type":"S:modified","url":"/users/Dan/Tests/SerializationTest2.xhtml"},"20986":{"type":"S:modified","url":"/users/fbo/sandbox.xhtml"},"20987":{"type":"S:modified","url":"/issues/110728_BackspaceTriggersBrowserBack.xhtml"},"20988":{"type":"S:modified","url":"/users/markoroeder/empty.xhtml"},"20989":{"type":"S:modified","url":"/draft/NewWorld/DropStyles.xhtml"},"20990":{"type":"S:modified","url":"/issues/fixed/110513_MakeSyntaxHighlightingWorkInNewWorld.xhtml"},"20991":{"type":"S:modified","url":"/users/MrSteve/lorenzo.start.xhtml"},"20992":{"type":"S:modified","url":"/users/Dan/PM/LiveWeb.xhtml"},"20993":{"type":"S:modified","url":"/users/Dan/PM/FormLayoutExpt-start.xhtml"},"20994":{"type":"S:modified","url":"/draft/NewWorld/ScriptEditor.xhtml"},"20995":{"type":"S:modified","url":"/users/mzimmerm/test-build-simple-webapp.xhtml"},"20996":{"type":"S:modified","url":"/issues/110628_SettingTetAttributesDoesNotAlwaysWork.xhtml"},"20997":{"type":"S:modified","url":"/users/lauritz/miniprojects/spiel.xhtml"},"20998":{"type":"S:modified","url":"/users/robertkrahn/DraftPresentation.xhtml"},"20999":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/layouting.xhtml"},"21000":{"type":"S:modified","url":"/users/Dan/Tests/SerializationTest.xhtml"},"21001":{"type":"S:modified","url":"/users/lauritz/miniprojects/spikes/connectedExplorer.xhtml"},"21002":{"type":"S:modified","url":"/users/fbo/nodejsServerDevelopment.xhtml"},"21003":{"type":"S:modified","url":"/draft/NewWorld/QBFForPartsBin.xhtml"},"21004":{"type":"S:modified","url":"/issues/fixed/110628_CommandAndCurlyBracketGoesBackInBrowserHistory.xhtml"},"21005":{"type":"S:modified","url":"/users/lauritz/miniprojects/connections.xhtml"},"21006":{"type":"S:modified","url":"/users/ahold/start.xhtml"},"21007":{"type":"S:modified","url":"/users/markus/FileBrowser.xhtml"},"21008":{"type":"S:modified","url":"/demos/LiveWeb/CPUVisualizationFinal.xhtml"},"21009":{"type":"S:modified","url":"/users/fbo/jsUiWidgetLibResearch.xhtml"},"21010":{"type":"S:modified","url":"/users/fbo/constraintLayout.xhtml"},"21011":{"type":"S:modified","url":"/users/Dan/Tests/LineTest.xhtml"},"21012":{"type":"S:modified","url":"/sandbox/sandbox.xhtml"},"21013":{"type":"S:modified","url":"/users/fbo/versionControl.xhtml"},"21014":{"type":"S:modified","url":"/draft/NewWorld/CreateDirWhenSaving.xhtml"},"21015":{"type":"S:modified","url":"/demos/Lively2.xhtml"},"21016":{"type":"S:modified","url":"/users/fbo/userIsolationAndGit.xhtml"},"21017":{"type":"S:modified","url":"/draft/NewWorld/KeyboardFocusForMorphs.xhtml"},"21018":{"type":"S:modified","url":"/users/fbo/dwarfcassowaryExample2.xhtml"},"21019":{"type":"S:modified","url":"/users/oudenampsen/start.xhtml"},"21020":{"type":"S:modified","url":"/issues/110517_VlayoutShouldGrowAndShrink.xhtml"},"21021":{"type":"S:modified","url":"/users/fbo/dwarfcassowaryExample.xhtml"},"21022":{"type":"S:modified","url":"/users/tmohr/ace.xhtml"},"21023":{"type":"S:modified","url":"/users/fbo/empty2.xhtml"},"21024":{"type":"S:modified","url":"/users/martin/Workspace.xhtml"},"21025":{"type":"S:modified","url":"/users/Dan/Bug-List.xhtml"},"21026":{"type":"S:modified","url":"/users/Dan/QuickBrownFoxx.xhtml"},"21027":{"type":"S:modified","url":"/demos/LiveWeb/ServerScripting.xhtml"},"21028":{"type":"S:modified","url":"/demos/contextjs/WordCompletion.xhtml"},"21029":{"type":"S:modified","url":"/issues/110715_PartModuleRequirementsAreNotLoadedOnWorldLoad.xhtml"},"21030":{"type":"S:modified","url":"/users/fbo/fabiansTickets.xhtml"},"21031":{"type":"S:modified","url":"/issues/111020_ViewOfTextFieldsAfterSaving.xhtml"},"21032":{"type":"S:modified","url":"/users/martin/Template.xhtml"},"21033":{"type":"S:modified","url":"/projects/CodeDB2/Testing.xhtml"},"21034":{"type":"S:modified","url":"/users/keith/MySetup.xhtml"},"21035":{"type":"S:modified","url":"/users/fbo/noGrabLayer.xhtml"},"21036":{"type":"S:modified","url":"/demos/CPUVisualization.xhtml"},"21037":{"type":"S:modified","url":"/users/sofia/georgi/trac-report.xhtml"},"21038":{"type":"S:modified","url":"/users/fbo/HtmlWrapperMorph.xhtml"},"21039":{"type":"S:modified","url":"/users/sofia/documentation_afterLunch.xhtml"},"21040":{"type":"S:modified","url":"/demos/contextjs/Empty.xhtml"},"21041":{"type":"S:modified","url":"/users/fbo/setExtent.xhtml"},"21042":{"type":"S:modified","url":"/users/sofia/martin/2.xhtml"},"21043":{"type":"S:modified","url":"/users/markoroeder/DropboxUpload.xhtml"},"21044":{"type":"S:modified","url":"/users/fbo/newMouseDownLayer.xhtml"},"21045":{"type":"S:modified","url":"/issues/fixed/110914_StraightLineIssue.xhtml"},"21046":{"type":"S:modified","url":"/users/cschuster/debugging.xhtml"},"21047":{"type":"S:modified","url":"/users/sofia/prototVisPrototype.xhtml"},"21048":{"type":"S:modified","url":"/draft/NewWorld/DraggingAndGrabbing.xhtml"},"21049":{"type":"S:modified","url":"/users/lauritz/miniprojects/annotationPart.xhtml"},"21050":{"rev":111628,"author":"fbo","date":{"__isSmartRef__":true,"id":21051},"url":{"__isSmartRef__":true,"id":21052},"changes":[{"__isSmartRef__":true,"id":21053},{"__isSmartRef__":true,"id":21054}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21051":{"isSerializedDate":true,"string":"Wed Oct 26 2011 22:42:15 GMT+0200 (CEST)"},"21052":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/kernel/PartsBin","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21053":{"type":"S:deleted","url":null},"21054":{"type":"S:added","url":null},"21055":{"rev":109935,"author":"jenslincke","date":{"__isSmartRef__":true,"id":21056},"url":{"__isSmartRef__":true,"id":21057},"changes":[{"__isSmartRef__":true,"id":21058}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21056":{"isSerializedDate":true,"string":"Wed Oct 19 2011 12:46:59 GMT+0200 (CEST)"},"21057":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21058":{"type":"S:modified","url":"/PartsBin/Dialogs/PublishPartDialog.json"},"21059":{"rev":109926,"author":"jenslincke","date":{"__isSmartRef__":true,"id":21060},"url":{"__isSmartRef__":true,"id":21061},"changes":[{"__isSmartRef__":true,"id":21062}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21060":{"isSerializedDate":true,"string":"Wed Oct 19 2011 12:45:09 GMT+0200 (CEST)"},"21061":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21062":{"type":"S:modified","url":"/PartsBin/Dialogs/PublishPartDialog.json"},"21063":{"rev":109907,"author":"jenslincke","date":{"__isSmartRef__":true,"id":21064},"url":{"__isSmartRef__":true,"id":21065},"changes":[{"__isSmartRef__":true,"id":21066}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21064":{"isSerializedDate":true,"string":"Wed Oct 19 2011 12:39:21 GMT+0200 (CEST)"},"21065":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21066":{"type":"S:modified","url":"/PartsBin/Dialogs/PublishPartDialog.json"},"21067":{"rev":109893,"author":"jenslincke","date":{"__isSmartRef__":true,"id":21068},"url":{"__isSmartRef__":true,"id":21069},"changes":[{"__isSmartRef__":true,"id":21070}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21068":{"isSerializedDate":true,"string":"Wed Oct 19 2011 12:37:01 GMT+0200 (CEST)"},"21069":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Dialogs/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21070":{"type":"S:added","url":null},"21071":{"rev":109886,"author":"jenslincke","date":{"__isSmartRef__":true,"id":21072},"url":{"__isSmartRef__":true,"id":21073},"changes":[{"__isSmartRef__":true,"id":21074}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21072":{"isSerializedDate":true,"string":"Wed Oct 19 2011 12:33:44 GMT+0200 (CEST)"},"21073":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21074":{"type":"S:modified","url":"/PartsBin/PublishPartDialog.json"},"21075":{"rev":109831,"author":"jenslincke","date":{"__isSmartRef__":true,"id":21076},"url":{"__isSmartRef__":true,"id":21077},"changes":[{"__isSmartRef__":true,"id":21078}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21076":{"isSerializedDate":true,"string":"Wed Oct 19 2011 10:26:41 GMT+0200 (CEST)"},"21077":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21078":{"type":"S:modified","url":"/PartsBin/PublishPartDialog.json"},"21079":{"rev":109826,"author":"jenslincke","date":{"__isSmartRef__":true,"id":21080},"url":{"__isSmartRef__":true,"id":21081},"changes":[{"__isSmartRef__":true,"id":21082}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21080":{"isSerializedDate":true,"string":"Wed Oct 19 2011 10:26:09 GMT+0200 (CEST)"},"21081":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21082":{"type":"S:modified","url":"/PartsBin/PublishPartDialog.json"},"21083":{"rev":109814,"author":"jenslincke","date":{"__isSmartRef__":true,"id":21084},"url":{"__isSmartRef__":true,"id":21085},"changes":[{"__isSmartRef__":true,"id":21086}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21084":{"isSerializedDate":true,"string":"Wed Oct 19 2011 10:15:21 GMT+0200 (CEST)"},"21085":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21086":{"type":"S:modified","url":"/PartsBin/PublishPartDialog.json"},"21087":{"rev":109808,"author":"jenslincke","date":{"__isSmartRef__":true,"id":21088},"url":{"__isSmartRef__":true,"id":21089},"changes":[{"__isSmartRef__":true,"id":21090}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21088":{"isSerializedDate":true,"string":"Wed Oct 19 2011 10:08:53 GMT+0200 (CEST)"},"21089":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21090":{"type":"S:modified","url":"/PartsBin/PublishPartDialog.json"},"21091":{"rev":109804,"author":"jenslincke","date":{"__isSmartRef__":true,"id":21092},"url":{"__isSmartRef__":true,"id":21093},"changes":[{"__isSmartRef__":true,"id":21094}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21092":{"isSerializedDate":true,"string":"Wed Oct 19 2011 10:05:06 GMT+0200 (CEST)"},"21093":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21094":{"type":"S:modified","url":"/PartsBin/PublishPartDialog.json"},"21095":{"rev":109801,"author":"jenslincke","date":{"__isSmartRef__":true,"id":21096},"url":{"__isSmartRef__":true,"id":21097},"changes":[{"__isSmartRef__":true,"id":21098}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21096":{"isSerializedDate":true,"string":"Wed Oct 19 2011 10:02:21 GMT+0200 (CEST)"},"21097":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21098":{"type":"S:modified","url":"/PartsBin/PublishPartDialog.json"},"21099":{"rev":109790,"author":"jenslincke","date":{"__isSmartRef__":true,"id":21100},"url":{"__isSmartRef__":true,"id":21101},"changes":[{"__isSmartRef__":true,"id":21102}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21100":{"isSerializedDate":true,"string":"Wed Oct 19 2011 09:50:17 GMT+0200 (CEST)"},"21101":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21102":{"type":"S:modified","url":"/PartsBin/PublishPartDialog.json"},"21103":{"rev":109784,"author":"jenslincke","date":{"__isSmartRef__":true,"id":21104},"url":{"__isSmartRef__":true,"id":21105},"changes":[{"__isSmartRef__":true,"id":21106}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21104":{"isSerializedDate":true,"string":"Wed Oct 19 2011 09:32:59 GMT+0200 (CEST)"},"21105":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/PublishPartDialog.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21106":{"type":"S:added","url":null},"21107":{"name":"PartsBin/Tools","partItems":{"__isSmartRef__":true,"id":21108},"__LivelyClassName__":"lively.PartsBin.PartsSpace","__SourceModuleName__":"Global.lively.PartsBin"},"21108":{"Explorer":{"__isSmartRef__":true,"id":21109},"ObjectEditor":{"__isSmartRef__":true,"id":21987}},"21109":{"partsSpaceName":"PartsBin/Tools","name":"Explorer","json":"{\"id\":0,\"registry\":{\"0\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1},{\"__isSmartRef__\":true,\"id\":145},{\"__isSmartRef__\":true,\"id\":182}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":331},\"id\":\"32525E7F-A548-4001-86AE-BBDE7D2BAD17\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":335},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":336},\"droppingEnabled\":true,\"halosEnabled\":true,\"__layered_draggingEnabled__\":true,\"layout\":{\"__isSmartRef__\":true,\"id\":337},\"LK2\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":338},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":339},\"targetMorph\":{\"__isSmartRef__\":true,\"id\":1},\"titleBar\":{\"__isSmartRef__\":true,\"id\":182},\"contentOffset\":{\"__isSmartRef__\":true,\"id\":340},\"collapsedTransform\":null,\"collapsedExtent\":null,\"expandedTransform\":null,\"expandedExtent\":null,\"ignoreEventsOnExpand\":false,\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":341},\"name\":\"Explorer\",\"prevDragPos\":{\"__isSmartRef__\":true,\"id\":386},\"isBeingDragged\":false,\"highlighted\":true,\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"explorer\":{\"__isSmartRef__\":true,\"id\":1},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"isCopyMorphRef\":true,\"morphRefId\":1,\"prevScroll\":[0,0],\"minExtent\":{\"__isSmartRef__\":true,\"id\":387},\"derivationIds\":[369,\"5976C77B-5C20-4DC4-BDA1-A2269E9FEC17\",\"8A4661CC-271E-4CA9-9B42-C428E5DCCB01\",\"B002D7D6-4167-4D6A-8981-E569CE5EE4CC\",\"21A298C5-87D3-4C5F-8FB6-34DB19723B44\",\"A077835E-1096-40C4-92FB-6830D29FC989\"],\"_Rotation\":0,\"_Scale\":1.0141055623885957,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":388},\"__LivelyClassName__\":\"lively.morphic.Window\",\"withoutLayers\":[\"Global.lively.morphic.GrabbingLayer\"]},\"1\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":2},{\"__isSmartRef__\":true,\"id\":88}],\"scripts\":[],\"id\":\"9AA7774E-2D58-467B-986D-947454B915CA\",\"shape\":{\"__isSmartRef__\":true,\"id\":111},\"droppingEnabled\":true,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":118},\"showsHalos\":false,\"name\":\"ExplorerPane\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":119},\"__SourceModuleName__\":\"Global.lively.morphic.Core\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":122},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":123},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"owner\":{\"__isSmartRef__\":true,\"id\":0},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":124},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":125},\"layout\":{\"__isSmartRef__\":true,\"id\":126},\"workspace\":{\"__isSmartRef__\":true,\"id\":88},\"treeView\":{\"__isSmartRef__\":true,\"id\":2},\"focusedNode\":null,\"isInLayoutCycle\":false,\"prevScroll\":[0,0],\"derivationIds\":[370,\"19EB328E-FFB1-41CD-B181-A60FCF27908C\",\"D1C1A399-6222-405C-A922-2ADD2DFBFB56\",\"F7B66347-DB63-470F-8ABC-5C342E31BC5E\",\"7A83A60F-0956-4BD5-AFDB-B7CFECEF9E30\",\"D14B60A2-D449-4E15-8A1B-EADF6D8A988B\"],\"_Rotation\":0,\"_Scale\":1,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":128},\"__LivelyClassName__\":\"lively.morphic.Box\"},\"2\":{\"submorphs\":[],\"scripts\":[],\"id\":\"F124DD76-61DA-471A-A1DA-D01C9F74D5C3\",\"shape\":{\"__isSmartRef__\":true,\"id\":3},\"droppingEnabled\":true,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":9},\"showsHalos\":false,\"name\":\"TreeView\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":10},\"__SourceModuleName__\":\"Global.lively.morphic.Core\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":11},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":12},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":13},\"layout\":{\"__isSmartRef__\":true,\"id\":14},\"isInLayoutCycle\":false,\"isCopyMorphRef\":true,\"morphRefId\":1,\"isBeingDragged\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":1},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":16},\"colors\":{\"__isSmartRef__\":true,\"id\":17},\"fonts\":{\"__isSmartRef__\":true,\"id\":23},\"sizes\":{\"__isSmartRef__\":true,\"id\":24},\"rootNode\":null,\"prevScroll\":[0,0],\"derivationIds\":[371,\"5F72E9BF-51FA-45DD-9F01-ADDC32FBF64C\",\"4B46569F-B458-41CF-846F-31DB325C55FE\",\"BC2E4190-4592-4E2C-8644-51CA0FC16963\",\"DBB73829-F82D-45F0-8499-2332C8C0487E\",\"78E2B139-F388-4299-A7CC-0964C21003A4\"],\"_Rotation\":0,\"_Scale\":1,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":29},\"__LivelyClassName__\":\"lively.morphic.Box\"},\"3\":{\"position\":{\"__isSmartRef__\":true,\"id\":4},\"_Extent\":{\"__isSmartRef__\":true,\"id\":5},\"_BorderWidth\":1.9240000000000002,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":6},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":7},\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":8},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"4\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"5\":{\"x\":290.8398611920343,\"y\":283.4698859496224,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"6\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"7\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"8\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"9\":{\"x\":10,\"y\":10,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"10\":{\"partsSpaceName\":\"PartsBin/Inputs/\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"comment\":\"A tree view morph. You can visualize a graph of object data with it (for example).\",\"migrationLevel\":4,\"partName\":\"TreeView\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"11\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"12\":{\"morph\":{\"__isSmartRef__\":true,\"id\":2},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"13\":{\"x\":286.8398611920343,\"y\":281.4698859496224,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"14\":{\"layouter\":{\"__isSmartRef__\":true,\"id\":15},\"resizeWidth\":true,\"resizeHeight\":true,\"moveVertical\":false,\"moveHorizontal\":false,\"adjustForNewBounds\":true},\"15\":{\"defaultBorderSize\":10,\"defaultSpacing\":15,\"borderSize\":10,\"spacing\":15,\"container\":{\"__isSmartRef__\":true,\"id\":2},\"__SourceModuleName__\":\"Global.lively.morphic.Layout\",\"__LivelyClassName__\":\"lively.morphic.Layout.VerticalLayout\"},\"16\":{\"x\":164.35052570087606,\"y\":-15.96995493992489,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"17\":{\"border\":{\"__isSmartRef__\":true,\"id\":18},\"contractedExpander\":{\"__isSmartRef__\":true,\"id\":19},\"expandedExpander\":{\"__isSmartRef__\":true,\"id\":20},\"focusedText\":{\"__isSmartRef__\":true,\"id\":21},\"emphasizedText\":{\"__isSmartRef__\":true,\"id\":22}},\"18\":{\"r\":0.5686274509803921,\"g\":0.5686274509803921,\"b\":0.5686274509803921,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global\"},\"19\":{\"r\":0.5686274509803921,\"g\":0.5686274509803921,\"b\":0.5686274509803921,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global\"},\"20\":{\"r\":1,\"g\":1,\"b\":1,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global\"},\"21\":{\"r\":0.9529411764705882,\"g\":0.9529411764705882,\"b\":0.9529411764705882,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global\"},\"22\":{\"r\":0.5686274509803921,\"g\":0.5686274509803921,\"b\":0.5686274509803921,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global\"},\"23\":{\"size\":10},\"24\":{\"wrapperExtent\":{\"__isSmartRef__\":true,\"id\":25},\"expanderExtent\":{\"__isSmartRef__\":true,\"id\":26},\"expanderOffset\":{\"__isSmartRef__\":true,\"id\":27},\"textOffset\":{\"__isSmartRef__\":true,\"id\":28},\"levelIndent\":10,\"maxTextWidth\":500},\"25\":{\"x\":0,\"y\":0,\"width\":100,\"height\":18,\"__LivelyClassName__\":\"Rectangle\",\"__SourceModuleName__\":\"Global\"},\"26\":{\"x\":8,\"y\":8,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"27\":{\"x\":8,\"y\":5,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"28\":{\"x\":18,\"y\":0,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"29\":{\"renderTree\":{\"__isSmartRef__\":true,\"id\":30},\"createTreeNode\":{\"__isSmartRef__\":true,\"id\":34},\"createTreeWrapper\":{\"__isSmartRef__\":true,\"id\":38},\"reset\":{\"__isSmartRef__\":true,\"id\":42},\"createTreeNodeMorph\":{\"__isSmartRef__\":true,\"id\":46},\"createExpanderButton\":{\"__isSmartRef__\":true,\"id\":50},\"createPropertyText\":{\"__isSmartRef__\":true,\"id\":54},\"createScrollClip\":{\"__isSmartRef__\":true,\"id\":58},\"resetDefaults\":{\"__isSmartRef__\":true,\"id\":62},\"addScriptsToTreeNode\":{\"__isSmartRef__\":true,\"id\":66},\"addScriptsToExpander\":{\"__isSmartRef__\":true,\"id\":69},\"getDisplayStringFor\":{\"__isSmartRef__\":true,\"id\":72},\"update\":{\"__isSmartRef__\":true,\"id\":76},\"addScriptsToText\":{\"__isSmartRef__\":true,\"id\":80},\"toggleAll\":{\"__isSmartRef__\":true,\"id\":84}},\"30\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":31},\"source\":\"function renderTree(data) {\\n this.rootNode = this.createTreeNode('Properties', data);\\n this.addMorph(this.rootNode);\\n     \\n var wrapper = this.createTreeWrapper(this.rootNode);\\n var scroll = this.createScrollClip(wrapper);\\n\\n this.addMorph(scroll);\\n\\n this.startStepping(500/*ms*/, 'update'); \\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":32},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"31\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"32\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":33},\"user\":\"lauritz\",\"tags\":[]},\"33\":{\"isSerializedDate\":true,\"string\":\"Fri Jan 27 2012 02:23:33 GMT+0100 (CET)\"},\"34\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":35},\"source\":\"function createTreeNode(label, data, level, parent) {\\n level = level || 0;\\n\\n // create morph / layout\\n var treeNode = this.createTreeNodeMorph(data, level);\\n\\n // add scripts\\n this.addScriptsToTreeNode(treeNode);\\n\\n // initialization\\n treeNode.data = data;\\n treeNode.propertyList = [].pushAll(Properties.own(treeNode.data));\\n treeNode.level = level;\\n treeNode.treeView = this;\\n treeNode.label = label;\\n treeNode.children = [];\\n treeNode.parent = (parent ? parent : null);\\n\\n var expander = this.createExpanderButton(treeNode);\\n treeNode.addMorph(expander);\\n\\n var text = this.createPropertyText(treeNode);\\n treeNode.addMorph(text);\\n\\n\\n return treeNode;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":36},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"35\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"36\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":37}},\"37\":{\"isSerializedDate\":true,\"string\":\"Mon Sep 26 2011 23:43:34 GMT+0200 (CEST)\"},\"38\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":39},\"source\":\"function createTreeWrapper(node) {\\n\\n var rectangleMorph = new lively.morphic.Shapes.Rectangle(this.sizes.wrapperExtent);\\n var wrapper = new lively.morphic.Morph(rectangleMorph);\\n\\n wrapper.addScript(function getLayoutableSubmorphs() {\\n return this.submorphs.reject(function(ea) {\\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\\n });\\n });\\n\\n var layouter = new lively.morphic.Layout.JournalLayout(wrapper);\\n var superBasicLayout = layouter.basicLayout;\\n layouter.basicLayout = function(container, submorphs) {\\n submorphs.sortBy = function() { return this };\\n superBasicLayout.bind(layouter)(container, submorphs);\\n delete submorphs.sortBy;\\n };\\n layouter.borderSize = 0;\\n layouter.spacing = 0;\\n wrapper.setLayouter(layouter);\\n wrapper.layout.resizeWidth = true;\\n\\n if (node)\\n wrapper.addMorph(node);\\n\\n return wrapper;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":40},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"39\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"40\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":41}},\"41\":{\"isSerializedDate\":true,\"string\":\"Tue Sep 20 2011 17:05:52 GMT+0200 (CEST)\"},\"42\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":43},\"source\":\"function reset() {\\n this.removeAllMorphs();\\n this.resetDefaults();\\n this.rootNode = null; \\n this.stopStepping();\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":44},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"43\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"44\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":45}},\"45\":{\"isSerializedDate\":true,\"string\":\"Sat Oct 15 2011 00:41:57 GMT+0200 (CEST)\"},\"46\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":47},\"source\":\"function createTreeNodeMorph(data, level) {\\n var treeNodeExtent = new lively.morphic.Shapes.Rectangle(pt(100, 20).extentAsRectangle());\\n var treeNode = new lively.morphic.Morph(treeNodeExtent);\\n\\n treeNode.layout = {\\n layouter: undefined,\\n resizeWidth: true\\n }\\n treeNode.disableGrabbing();\\n treeNode.disableDragging();\\n\\n return treeNode; \\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":48},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"47\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"48\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":49}},\"49\":{\"isSerializedDate\":true,\"string\":\"Tue Oct 25 2011 19:24:35 GMT+0200 (CEST)\"},\"50\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":51},\"source\":\"function createExpanderButton(treeNode) {\\n\\n var expanderPositionX = this.sizes.expanderOffset.x + this.sizes.levelIndent * treeNode.level;\\n var expanderPosition = pt(expanderPositionX, this.sizes.expanderOffset.y);\\n var expander = new lively.morphic.Box(expanderPosition.extent(this.sizes.expanderExtent));\\n\\n // layout\\n expander.setBorderWidth(1);\\n expander.setBorderColor(this.colors.border);\\n expander.disableGrabbing();\\n expander.disableDragging();\\n treeNode.expander = expander;\\n\\n // add scripts\\n this.addScriptsToExpander(expander);\\n\\n // initialization\\n expander.isExpanded = false;\\n treeNode.updateExpanderColor();\\n\\n return expander;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":52},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"51\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"52\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":53}},\"53\":{\"isSerializedDate\":true,\"string\":\"Mon Sep 26 2011 23:32:58 GMT+0200 (CEST)\"},\"54\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":55},\"source\":\"function createPropertyText(treeNode) {\\n \\n var textPosition = pt(this.sizes.textOffset.x + this.sizes.levelIndent * treeNode.level, this.sizes.textOffset.y);\\n\\n var textMorph = new lively.morphic.Text(textPosition.extent(pt(0, 0)), \\\"\\\");  \\n this.addScriptsToText(textMorph);\\n textMorph.layoutText(this.fonts);\\n\\n treeNode.text = textMorph;\\n treeNode.displayValue();\\n\\n return textMorph;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":56},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"55\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"56\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":57}},\"57\":{\"isSerializedDate\":true,\"string\":\"Mon Sep 26 2011 23:18:07 GMT+0200 (CEST)\"},\"58\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":59},\"source\":\"function createScrollClip(wrapper) {\\n var scroll = new lively.morphic.Clip(this.getExtent().extentAsRectangle());\\n\\n // layout\\n scroll.layout = {\\n resizeWidth: true,\\n resizeHeight: true\\n };\\n scroll.disableGrabbing();\\n scroll.disableDragging();\\n scroll.setName('TreeViewScrollPane');\\n\\n scroll.addScript(function setClipModeHTML(ctx, modeString) {\\n $super(ctx, modeString);\\n ctx.morphNode.style['overflow-x'] = 'hidden';\\n });\\n\\n scroll.addMorph(wrapper);\\n return scroll;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":60},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"59\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"60\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":61}},\"61\":{\"isSerializedDate\":true,\"string\":\"Mon Sep 19 2011 19:54:00 GMT+0200 (CEST)\"},\"62\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":63},\"source\":\"function resetDefaults() {\\n this.colors = {\\n border : Color.rgb(145,145,145),\\n contractedExpander : Color.rgb(145,145,145),\\n expandedExpander : Color.white,\\n focusedText : Color.rgb(243,243,243),\\n emphasizedText : Color.rgb(145,145,145)\\n };\\n this.fonts = {\\n size : 10\\n };\\n this.sizes = {\\n wrapperExtent : pt(100, 18).extentAsRectangle(),\\n expanderExtent : pt(8, 8),\\n expanderOffset : pt(8, 5),\\n textOffset : pt(18, 0),\\n levelIndent : 10,\\n maxTextWidth : 500\\n }\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":64},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"63\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"64\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":65}},\"65\":{\"isSerializedDate\":true,\"string\":\"Wed Sep 21 2011 19:38:04 GMT+0200 (CEST)\"},\"66\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":67},\"source\":\"function addScriptsToTreeNode(treeNode) {\\n\\n treeNode.addScript(function updateExpanderColor() {\\n var colors = this.treeView.colors;\\n var fillColor;\\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \\n fillColor = colors.expandedExpander;\\n } else {\\n fillColor = colors.contractedExpander;\\n }\\n this.expander.setFill(fillColor);\\n });\\n\\n treeNode.addScript(function onMouseDown() {\\n this.treeView.owner.moveFocusTo(this);\\n });\\n\\n treeNode.addScript(function isRoot() {\\n return (this.parent === null || this.parent === undefined);\\n });\\n\\n treeNode.addScript(function displayValue() {\\n // set label\\n var labelString = this.treeView.getDisplayStringFor(this);\\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\\n this.text.setTextString(labelString);\\n \\n // reset the bounds\\n var fontSize = this.treeView.fonts.size;\\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\\n this.text.setExtent(textExtent);\\n\\n // emphasize the properties current value\\n this.text.emphasize({\\n color: this.treeView.colors.emphasizedText,\\n italics: 'italic'\\n }, this.label.length, this.text.textString.length);\\n });\\n \\n treeNode.addScript(function update() {\\n \\n // if actual value of the represented property changed (reference changed)\\n if (this.parent && this.data !== this.parent.data[this.label]) {\\n this.data = this.parent.data[this.label];\\n this.displayValue();\\n }\\n\\n if (Objects.typeStringOf(this.data) === 'String') return;\\n\\n // when properties have changed (same object, but other properties)\\n var allProperties = Properties.own(this.data);\\n var that = this;\\n var allPropertiesKnown = allProperties.every(function (each) {\\n return that.propertyList.indexOf(each) !== -1;\\n })\\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\\n this.updateExpanderColor();\\n this.displayValue();\\n\\n // if expanded, redraw children\\n if (this.expander.isExpanded) {\\n this.expander.isExpanded = false;\\n this.expander.toggle();\\n }\\n \\n this.propertyList = allProperties;\\n }\\n\\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\\n this.children.forEach(function (each) {\\n each.update()\\n });\\n }\\n });\\n\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":68},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"67\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"68\":{},\"69\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":70},\"source\":\"function addScriptsToExpander(expander) {\\n\\n expander.addScript(function toggle() {\\n // asynchronous toggling\\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\\n });\\n\\n expander.addScript(function toggleExpansion() {\\n var treeNode = this.owner;\\n var treeView = treeNode.treeView;\\n\\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\\n this.isExpanded = true;\\n\\n if (treeNode.childrenWrapper) {\\n treeNode.childrenWrapper.setVisible(true);\\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\\n treeNode.children = [];\\n treeNode.childrenWrapper.removeAllMorphs();\\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\\n } else {\\n if (Objects.isMutableType(treeNode.data)) {\\n var wrapper = treeView.createTreeWrapper();\\n\\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\\n var that = this;\\n var props = Properties.own(treeNode.data);\\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\\n props.forEach(function(prop) {\\n (function() {\\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\\n treeNode.children.push(childNode);\\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\\n that.addMorph(nodeWrapper);\\n }).bind(this).delay(0); // asynchronous\\n });\\n });\\n wrapper.addTreeNodesForProperties(treeNode);\\n \\n treeNode.childrenWrapper = wrapper;\\n treeNode.owner.addMorph(wrapper);\\n } \\n }\\n } else {\\n this.isExpanded = false;\\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\\n }\\n treeNode.updateExpanderColor();\\n treeNode.owner.applyLayout();\\n });\\n\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":71},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"70\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"71\":{},\"72\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":73},\"source\":\"function getDisplayStringFor(treeNode) {\\n var typeInfo = '';\\n if (treeNode.data && treeNode.data.name) {\\n typeInfo = treeNode.data.name;\\n } else {\\n typeInfo = (Objects.isMutableType(treeNode.data) ? \\n Objects.shortPrintStringOf(treeNode.data) : treeNode.data);\\n }\\n return treeNode.label + \\\": \\\" + typeInfo;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":74},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"73\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"74\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":75},\"user\":\"lauritz\",\"tags\":[]},\"75\":{\"isSerializedDate\":true,\"string\":\"Fri Jan 27 2012 02:35:06 GMT+0100 (CET)\"},\"76\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":77},\"source\":\"function update() {\\n this.rootNode.update();\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":78},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"77\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"78\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":79}},\"79\":{\"isSerializedDate\":true,\"string\":\"Sat Oct 15 2011 00:42:27 GMT+0200 (CEST)\"},\"80\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":81},\"source\":\"function addScriptsToText(textMorph) {\\n\\n textMorph.addScript(function layoutText(fontOptions){\\n this.setFontSize(fontOptions.size);\\n this.setFillOpacity(0);\\n this.setBorderWidth(0);\\n this.setMaxTextWidth(fontOptions.maxTextWidth);\\n this.beLabel();\\n this.fit();\\n });\\n\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":82},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"81\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"82\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":83}},\"83\":{\"isSerializedDate\":true,\"string\":\"Mon Sep 26 2011 23:16:48 GMT+0200 (CEST)\"},\"84\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":85},\"source\":\"function toggleAll() {\\n\\n if (!this.rootNode) return;\\n\\n try {\\n JSON.stringify(this.rootNode.data);\\n } catch (e) {\\n // probably a circular structure\\n return;\\n }\\n\\n var toggleChildren = function (node) {\\n\\n if (!node.children) return;\\n\\n (function() {\\n node.children.forEach(function (each) {\\n each.expander.toggleExpansion();\\n toggleChildren(each);\\n });\\n }).bind(this).delay(0); // asynchronous\\n }\\n\\n toggleChildren(this.rootNode);\\n \\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":86},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"85\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"86\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":87},\"user\":\"lauritz\",\"tags\":[]},\"87\":{\"isSerializedDate\":true,\"string\":\"Thu Jan 05 2012 22:58:11 GMT+0100 (CET)\"},\"88\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":89},\"id\":\"4BCE87D8-39F3-4B7F-A78F-10398B72A854\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":96},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":97}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":99},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"auto\",\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":true,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":100},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":101},\"_MaxTextWidth\":292.9619429239048,\"_MinTextWidth\":292.9619429239048,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"layout\":{\"__isSmartRef__\":true,\"id\":102},\"doitContext\":null,\"previousSelection\":[20,0],\"priorSelectionRange\":[0,0],\"charsReplaced\":\"typeof(this)\",\"lastFindLoc\":12,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"prevScroll\":[0,0],\"isBeingDragged\":false,\"showsHalos\":false,\"name\":\"Workspace\",\"owner\":{\"__isSmartRef__\":true,\"id\":1},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":103},\"isCopyMorphRef\":true,\"morphRefId\":1,\"scriptAnnotations\":{\"__isSmartRef__\":true,\"id\":104},\"lastDragTime\":1317079672221,\"derivationIds\":[372,\"3BBD270B-A828-436A-915C-D23688CF2067\",\"D0890AA7-6E65-4B35-9600-1AD66DF96797\",\"243534E4-AE49-45EC-9DB9-384D7DE4B994\",\"251CC01A-7FDF-4357-9313-99DE732BDF7B\",\"49FB5C89-127F-411D-9E7D-74274AFC6322\"],\"_Rotation\":0,\"_Scale\":1,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":107},\"__LivelyClassName__\":\"lively.morphic.Text\"},\"89\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":90},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":91},\"_Extent\":{\"__isSmartRef__\":true,\"id\":92},\"_ClipMode\":\"auto\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":93},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":94},\"_Fill\":{\"__isSmartRef__\":true,\"id\":95},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_BorderRadius\":4,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"90\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"91\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"92\":{\"x\":290.8398611920343,\"y\":81.00200300400502,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"93\":{\"x\":3,\"y\":3,\"width\":-3,\"height\":-3,\"__LivelyClassName__\":\"Rectangle\",\"__SourceModuleName__\":\"Global\"},\"94\":{\"r\":0.4,\"g\":0.4,\"b\":0.4,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global\"},\"95\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global\"},\"96\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"97\":{\"style\":{\"__isSmartRef__\":true,\"id\":98},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":88},\"storedString\":\"\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\"},\"98\":{\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\"},\"99\":{\"morph\":{\"__isSmartRef__\":true,\"id\":88},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"100\":{\"x\":10,\"y\":308.4698859496224,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"101\":{\"x\":290.8398611920343,\"y\":81.00200300400502,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"102\":{\"resizeWidth\":true,\"resizeHeight\":false,\"moveVertical\":true,\"adjustForNewBounds\":true},\"103\":{\"x\":164.35052570087606,\"y\":-17.252879506132672,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"104\":{\"reset\":{\"__isSmartRef__\":true,\"id\":105}},\"105\":{\"time\":{\"__isSmartRef__\":true,\"id\":106},\"user\":\"lauritz\"},\"106\":{\"isSerializedDate\":true,\"string\":\"Tue Nov 15 2011 23:03:51 GMT+0100 (CET)\"},\"107\":{\"reset\":{\"__isSmartRef__\":true,\"id\":108}},\"108\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":109},\"source\":\"function reset() {\\n this.doitContext = null;\\n this.setTextString(\\\"\\\");\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":110},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"109\":{\"this\":{\"__isSmartRef__\":true,\"id\":88}},\"110\":{},\"111\":{\"position\":{\"__isSmartRef__\":true,\"id\":112},\"_Extent\":{\"__isSmartRef__\":true,\"id\":113},\"_BorderWidth\":1.4500000000000002,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":114},\"_Fill\":{\"__isSmartRef__\":true,\"id\":115},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":116},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":117},\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"112\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"113\":{\"x\":310.8398611920343,\"y\":399.4718889536274,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"114\":{\"r\":0.372,\"g\":0.369,\"b\":0.372,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"115\":{\"r\":1,\"g\":1,\"b\":1,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global\"},\"116\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"117\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"118\":{\"x\":0,\"y\":20,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"119\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"comment\":\"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!\",\"migrationLevel\":4,\"partName\":\"ExplorerPane\",\"changes\":[{\"__isSmartRef__\":true,\"id\":120}],\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"120\":{\"date\":{\"__isSmartRef__\":true,\"id\":121},\"author\":\"lauritz\",\"message\":\"Disabled grabbing and dragging on other submorphs as well...\"},\"121\":{\"isSerializedDate\":true,\"string\":\"Tue Oct 25 2011 20:21:08 GMT+0200 (CEST)\"},\"122\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"123\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"124\":{\"x\":306.8398611920343,\"y\":397.4718889536274,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"125\":{\"x\":212.32023310549857,\"y\":-12.472093186624761,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"126\":{\"resizeWidth\":true,\"resizeHeight\":true,\"adjustForNewBounds\":true,\"layouter\":{\"__isSmartRef__\":true,\"id\":127}},\"127\":{\"defaultBorderSize\":10,\"defaultSpacing\":15,\"borderSize\":10,\"spacing\":15,\"container\":{\"__isSmartRef__\":true,\"id\":1},\"__SourceModuleName__\":\"Global.lively.morphic.Layout\",\"__LivelyClassName__\":\"lively.morphic.Layout.VerticalLayout\"},\"128\":{\"reset\":{\"__isSmartRef__\":true,\"id\":129},\"moveFocusTo\":{\"__isSmartRef__\":true,\"id\":133},\"explore\":{\"__isSmartRef__\":true,\"id\":137},\"toggleAll\":{\"__isSmartRef__\":true,\"id\":141}},\"129\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":130},\"source\":\"function reset() {\\n this.workspace.reset();\\n this.treeView.reset();\\n this.focusedNode = null;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":131},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"130\":{\"this\":{\"__isSmartRef__\":true,\"id\":1}},\"131\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":132},\"user\":\"lauritz\",\"tags\":[]},\"132\":{\"isSerializedDate\":true,\"string\":\"Wed Sep 21 2011 01:48:08 GMT+0200 (CEST)\"},\"133\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":134},\"source\":\"function moveFocusTo(focusedNode) {\\n\\n // set workspace context\\n var previouslyFocusedNode = this.focusedNode;\\n this.focusedNode = focusedNode;\\n this.workspace.doitContext = this.focusedNode.data;\\n\\n // display focus\\n if (previouslyFocusedNode && previouslyFocusedNode.setFill) \\n previouslyFocusedNode.text.setFill(null);\\n this.focusedNode.text.setFill(this.focusedNode.treeView.colors.focusedText);\\n this.focusedNode.expander.toggle();\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":135},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"134\":{\"this\":{\"__isSmartRef__\":true,\"id\":1}},\"135\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":136},\"user\":\"lauritz\",\"tags\":[]},\"136\":{\"isSerializedDate\":true,\"string\":\"Tue Dec 13 2011 23:21:02 GMT+0100 (CET)\"},\"137\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":138},\"source\":\"function explore(object) {\\n this.reset();\\n this.treeView.renderTree(object);\\n\\n this.moveFocusTo(this.treeView.rootNode);\\n this.workspace.setTextString(\\\"this\\\");\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":139},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"138\":{\"this\":{\"__isSmartRef__\":true,\"id\":1}},\"139\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":140},\"user\":\"lauritz\",\"tags\":[]},\"140\":{\"isSerializedDate\":true,\"string\":\"Tue Dec 13 2011 23:21:07 GMT+0100 (CET)\"},\"141\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":142},\"source\":\"function toggleAll() {\\n this.treeView.toggleAll();\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":143},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"142\":{\"this\":{\"__isSmartRef__\":true,\"id\":1}},\"143\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":144},\"user\":\"lauritz\",\"tags\":[]},\"144\":{\"isSerializedDate\":true,\"string\":\"Thu Jan 05 2012 22:40:54 GMT+0100 (CET)\"},\"145\":{\"submorphs\":[],\"scripts\":[],\"id\":\"4C05283E-F381-40A9-9AEF-6D6D233F85FF\",\"shape\":{\"__isSmartRef__\":true,\"id\":146},\"droppingEnabled\":true,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":153},\"showsHalos\":false,\"name\":\"ResizeCorner3\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":154},\"__SourceModuleName__\":\"Global.lively.morphic.Core\",\"__layered_draggingEnabled__\":true,\"dragStartPoint\":null,\"originalExtent\":{\"__isSmartRef__\":true,\"id\":155},\"originalTargetExtent\":null,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":156},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":157},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"owner\":{\"__isSmartRef__\":true,\"id\":0},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":158},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":159},\"derivationIds\":[373,\"EE44AF79-9BA3-4128-9A82-23CA02A35CBA\",\"2DF62558-574F-4341-A678-C082E7B62474\",\"0B40BDFA-37E3-4097-9157-BE8CCF94B0A1\",\"3600D2AA-3070-493B-839E-BF41427E5A08\",\"B8F4C02B-011E-483E-A3AB-BE57DC9B1FBE\"],\"_Rotation\":0,\"_Scale\":1,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":160},\"__LivelyClassName__\":\"lively.morphic.Box\"},\"146\":{\"position\":{\"__isSmartRef__\":true,\"id\":147},\"_Extent\":{\"__isSmartRef__\":true,\"id\":148},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":149},\"_Fill\":{\"__isSmartRef__\":true,\"id\":150},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":151},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":152},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"147\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"148\":{\"x\":10,\"y\":10,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"149\":{\"r\":0.568,\"g\":0.568,\"b\":0.568,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"150\":{\"r\":0.258,\"g\":0.258,\"b\":0.258,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global\"},\"151\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"152\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"153\":{\"x\":300.49672894514134,\"y\":409.92138184230294,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"154\":{\"partsSpaceName\":\"PartsBin/NewWorld\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":2,\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"155\":{\"x\":239,\"y\":138,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"156\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"157\":{\"morph\":{\"__isSmartRef__\":true,\"id\":145},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"158\":{\"x\":10,\"y\":10,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"159\":{\"x\":33.337083585580785,\"y\":-5.721794364406264,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"160\":{\"onDrag\":{\"__isSmartRef__\":true,\"id\":161},\"onDragEnd\":{\"__isSmartRef__\":true,\"id\":168},\"onDragStart\":{\"__isSmartRef__\":true,\"id\":175}},\"161\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":162},\"source\":\"function onDrag(evt) {\\n\\t// alert(\\\"onDrag\\\")\\n\\t\\tvar moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\\n\\t\\tif (evt.isShiftDown()) {\\n\\t\\t\\tvar maxDelta = Math.max(moveDelta.x, moveDelta.y);\\n\\t\\t\\tmoveDelta = pt(maxDelta, maxDelta);\\n\\t\\t}\\n\\t\\tthis.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\\n\\t\\tthis.align(this.bounds().bottomRight(), this.owner.getExtent())\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":167},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"162\":{\"this\":{\"__isSmartRef__\":true,\"id\":145},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":163}},\"163\":{\"$super\":{\"__isSmartRef__\":true,\"id\":164}},\"164\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":165},\"source\":\"function () {\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\treturn obj.constructor.prototype[name].apply(obj, arguments)\\n\\t\\t\\t\\t} catch(e) {\\n\\t\\t\\t\\t\\talert('Error in $super call: ' + e + '\\\\n' + e.stack);\\n\\t\\t\\t\\t\\treturn null;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":166},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"165\":{\"obj\":{\"__isSmartRef__\":true,\"id\":145},\"name\":\"onDrag\"},\"166\":{},\"167\":{},\"168\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":169},\"source\":\"function onDragEnd(evt) {\\n\\tthis.dragStartPoint = null;\\n\\tthis.originalTargetExtent = null;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":174},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"169\":{\"this\":{\"__isSmartRef__\":true,\"id\":145},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":170}},\"170\":{\"$super\":{\"__isSmartRef__\":true,\"id\":171}},\"171\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":172},\"source\":\"function () {\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\treturn obj.constructor.prototype[name].apply(obj, arguments)\\n\\t\\t\\t\\t} catch(e) {\\n\\t\\t\\t\\t\\talert('Error in $super call: ' + e + '\\\\n' + e.stack);\\n\\t\\t\\t\\t\\treturn null;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":173},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"172\":{\"obj\":{\"__isSmartRef__\":true,\"id\":145},\"name\":\"onDragEnd\"},\"173\":{},\"174\":{},\"175\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":176},\"source\":\"function onDragStart(evt) {\\n\\tthis.dragStartPoint = evt.mousePoint;\\n\\tthis.originalTargetExtent = this.owner.getExtent();\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":181},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"176\":{\"this\":{\"__isSmartRef__\":true,\"id\":145},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":177}},\"177\":{\"$super\":{\"__isSmartRef__\":true,\"id\":178}},\"178\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":179},\"source\":\"function () {\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\treturn obj.constructor.prototype[name].apply(obj, arguments)\\n\\t\\t\\t\\t} catch(e) {\\n\\t\\t\\t\\t\\talert('Error in $super call: ' + e + '\\\\n' + e.stack);\\n\\t\\t\\t\\t\\treturn null;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":180},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"179\":{\"obj\":{\"__isSmartRef__\":true,\"id\":145},\"name\":\"onDragStart\"},\"180\":{},\"181\":{},\"182\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":183},{\"__isSmartRef__\":true,\"id\":197},{\"__isSmartRef__\":true,\"id\":244},{\"__isSmartRef__\":true,\"id\":279}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":315},\"id\":\"8EADAC43-54B0-4FAC-AF1C-A0D8FDD9E3CA\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":326},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":327},\"droppingEnabled\":true,\"halosEnabled\":true,\"layout\":{\"__isSmartRef__\":true,\"id\":328},\"_Position\":{\"__isSmartRef__\":true,\"id\":329},\"windowMorph\":{\"__isSmartRef__\":true,\"id\":0},\"label\":{\"__isSmartRef__\":true,\"id\":183},\"closeButton\":{\"__isSmartRef__\":true,\"id\":197},\"menuButton\":{\"__isSmartRef__\":true,\"id\":244},\"collapseButton\":{\"__isSmartRef__\":true,\"id\":279},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":330},\"owner\":{\"__isSmartRef__\":true,\"id\":0},\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"derivationIds\":[374,\"CFE848EF-BE01-4E69-BBD0-796826FDBA2C\",\"27B1F973-A4A1-49ED-8194-15A2125092E5\",\"1AAC1E25-BFD3-4949-82B7-CA49C7FE30CC\",\"AAFC6ADC-565B-42D5-B95A-49BB4FAE6F07\",\"AA057279-ADDD-4D59-9A0A-E86FD7D21BE6\"],\"__LivelyClassName__\":\"lively.morphic.TitleBar\"},\"183\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":184},\"id\":\"F8F2EE4C-88F2-4D50-ABC7-1F747DC646BB\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":190},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":191}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":193},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"evalEnabled\":false,\"isLabel\":true,\"_HandStyle\":\"default\",\"layout\":{\"__isSmartRef__\":true,\"id\":194},\"_Align\":\"center\",\"eventsAreIgnored\":true,\"owner\":{\"__isSmartRef__\":true,\"id\":182},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":195},\"_MaxTextWidth\":251.49672894514134,\"_MinTextWidth\":251.49672894514134,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"_Position\":{\"__isSmartRef__\":true,\"id\":196},\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"derivationIds\":[375,\"73673BCB-A91C-4ECA-A36D-D85A24B4F4A3\",\"2EE1A4B9-842D-4C63-ABEA-21DC74163CEE\",\"3F973521-D5D9-4B44-BCF8-822B923644E8\",\"F50BD739-1DA1-4EB3-9653-7B3145EA8817\",\"A7AE88A1-BD5C-4F03-9E65-373F047B2C25\"],\"__LivelyClassName__\":\"lively.morphic.Text\"},\"184\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":185},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":186},\"_Extent\":{\"__isSmartRef__\":true,\"id\":187},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":188},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":189},\"_Fill\":null,\"_BorderRadius\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"185\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"186\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"187\":{\"x\":251.49672894514134,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"188\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"189\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"190\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"191\":{\"style\":{\"__isSmartRef__\":true,\"id\":192},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":183},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"Explorer\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"192\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"193\":{\"morph\":{\"__isSmartRef__\":true,\"id\":183},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"194\":{\"resizeWidth\":true},\"195\":{\"x\":251.49672894514134,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"196\":{\"x\":20,\"y\":3,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"197\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":198}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":210},\"id\":\"B048691C-3D91-4A6E-B21D-2AF0EB3E85C7\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":226},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":227},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"accessibleInInactiveWindow\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":228},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":229},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":216},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":230},\"label\":{\"__isSmartRef__\":true,\"id\":198},\"owner\":{\"__isSmartRef__\":true,\"id\":182},\"layout\":{\"__isSmartRef__\":true,\"id\":239},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":240},{\"__isSmartRef__\":true,\"id\":242}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"derivationIds\":[376,\"C3AC01F3-7977-4D0A-A42C-700DE29F8F8E\",\"A9533421-3987-49B1-B8FE-11D3B48B77B3\",\"EC79C6DC-0809-4378-8061-032B4DD2D496\",\"4DB70E9E-760D-401A-9BAD-25367B78CF72\",\"1DC03620-BC8A-47EC-978A-2036FF929A8A\"],\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"198\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":199},\"id\":\"198CEAEE-A3BF-4CED-8D10-C86583D458D7\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":204},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":205}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":207},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":8,\"_Position\":{\"__isSmartRef__\":true,\"id\":208},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":209},\"_MaxTextWidth\":17,\"_MinTextWidth\":17,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":197},\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"derivationIds\":[377,\"C621D837-4DB4-4C83-A8C9-1C995944A45D\",\"BCB8C9A6-BD1A-49F5-8BDD-7C6C8BFB840C\",\"9AA4F44C-9D66-4990-B0E2-2998FC750C65\",\"E136552C-1013-430B-8229-122AA2720D75\",\"D343D9D5-BB6B-471C-89FD-977D04A54C18\"],\"__LivelyClassName__\":\"lively.morphic.Text\"},\"199\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":200},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":201},\"_Extent\":{\"__isSmartRef__\":true,\"id\":202},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":203},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":189},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"200\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"201\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"202\":{\"x\":17,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"203\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"204\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"205\":{\"style\":{\"__isSmartRef__\":true,\"id\":206},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":198},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"X\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"206\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"207\":{\"morph\":{\"__isSmartRef__\":true,\"id\":198},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"208\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"209\":{\"x\":17,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"210\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":211},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":212},\"_Extent\":{\"__isSmartRef__\":true,\"id\":213},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":214},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":215},\"_Fill\":{\"__isSmartRef__\":true,\"id\":216},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"211\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"212\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"213\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"214\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"215\":{\"r\":0.7411764705882353,\"g\":0.7450980392156863,\"b\":0.7529411764705882,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"216\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":217},{\"__isSmartRef__\":true,\"id\":219},{\"__isSmartRef__\":true,\"id\":221},{\"__isSmartRef__\":true,\"id\":223}],\"vector\":{\"__isSmartRef__\":true,\"id\":225},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"217\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":218}},\"218\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"219\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":220}},\"220\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"221\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":222}},\"222\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"223\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":224}},\"224\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"225\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"226\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"227\":{\"morph\":{\"__isSmartRef__\":true,\"id\":197},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"228\":{\"x\":290.49672894514134,\"y\":3,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"229\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"230\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":231},{\"__isSmartRef__\":true,\"id\":233},{\"__isSmartRef__\":true,\"id\":235},{\"__isSmartRef__\":true,\"id\":237}],\"vector\":{\"__isSmartRef__\":true,\"id\":225},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"231\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":232}},\"232\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"233\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":234}},\"234\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"235\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":236}},\"236\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"237\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":238}},\"238\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"239\":{\"moveHorizontal\":true},\"240\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":197},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":0},\"targetMethodName\":\"getCloseHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":241},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"241\":{\"source\":{\"__isSmartRef__\":true,\"id\":197},\"target\":{\"__isSmartRef__\":true,\"id\":0}},\"242\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":197},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":0},\"targetMethodName\":\"initiateShutdown\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":243},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"243\":{\"source\":{\"__isSmartRef__\":true,\"id\":197},\"target\":{\"__isSmartRef__\":true,\"id\":0}},\"244\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":245}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":257},\"id\":\"62DA4EDF-FBE4-4D01-834D-C3E763CF55DE\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":262},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":263},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"accessibleInInactiveWindow\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":264},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":265},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":216},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":266},\"label\":{\"__isSmartRef__\":true,\"id\":245},\"owner\":{\"__isSmartRef__\":true,\"id\":182},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":275},{\"__isSmartRef__\":true,\"id\":277}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"prevScroll\":[0,0],\"derivationIds\":[378,\"FF4FE4CA-DFFC-40C6-A1E8-32667E37F3EC\",\"A8A6A338-D618-4672-AFA8-914FD7C2A19E\",\"85D2A7A2-F0B5-45CD-BB83-E6F60E8B681C\",\"535E0653-E19D-4F22-952A-34C8EDED44E9\",\"977A1381-981C-4500-B887-78143DE21406\"],\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"245\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":246},\"id\":\"353D5A24-E404-457D-93C4-BC195B094724\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":251},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":252}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":254},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":8,\"_Position\":{\"__isSmartRef__\":true,\"id\":255},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":256},\"_MaxTextWidth\":17,\"_MinTextWidth\":17,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":244},\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"derivationIds\":[379,\"9C08820E-6B60-44C2-9150-BD546391671F\",\"36F5662C-375A-4549-B94E-F150DCBCE3F8\",\"030ACD5E-7567-45E7-928D-24821846DBD3\",\"B1DB7B8C-99F5-44D9-8312-ADD58545154E\",\"9037A2C8-C56D-4C9B-B2B6-FFEBD4CFC0B0\"],\"__LivelyClassName__\":\"lively.morphic.Text\"},\"246\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":247},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":248},\"_Extent\":{\"__isSmartRef__\":true,\"id\":249},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":250},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":189},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"247\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"248\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"249\":{\"x\":17,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"250\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"251\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"252\":{\"style\":{\"__isSmartRef__\":true,\"id\":253},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":245},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"M\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"253\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"254\":{\"morph\":{\"__isSmartRef__\":true,\"id\":245},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"255\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"256\":{\"x\":17,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"257\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":258},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":259},\"_Extent\":{\"__isSmartRef__\":true,\"id\":260},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":261},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":215},\"_Fill\":{\"__isSmartRef__\":true,\"id\":216},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"258\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"259\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"260\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"261\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"262\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"263\":{\"morph\":{\"__isSmartRef__\":true,\"id\":244},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"264\":{\"x\":3,\"y\":3,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"265\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"266\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":267},{\"__isSmartRef__\":true,\"id\":269},{\"__isSmartRef__\":true,\"id\":271},{\"__isSmartRef__\":true,\"id\":273}],\"vector\":{\"__isSmartRef__\":true,\"id\":225},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"267\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":268}},\"268\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"269\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":270}},\"270\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"271\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":272}},\"272\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"273\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":274}},\"274\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"275\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":244},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":0},\"targetMethodName\":\"getMenuHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":276},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"276\":{\"source\":{\"__isSmartRef__\":true,\"id\":244},\"target\":{\"__isSmartRef__\":true,\"id\":0}},\"277\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":244},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":0},\"targetMethodName\":\"showTargetMorphMenu\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":278},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"278\":{\"source\":{\"__isSmartRef__\":true,\"id\":244},\"target\":{\"__isSmartRef__\":true,\"id\":0}},\"279\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":280}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":292},\"id\":\"B9D13F17-7AA4-44BC-AA55-FF1F6DB50D8C\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":297},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":298},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"accessibleInInactiveWindow\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":299},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":300},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":216},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":301},\"label\":{\"__isSmartRef__\":true,\"id\":280},\"owner\":{\"__isSmartRef__\":true,\"id\":182},\"layout\":{\"__isSmartRef__\":true,\"id\":310},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":311},{\"__isSmartRef__\":true,\"id\":313}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"derivationIds\":[380,\"B603C6F6-E6E9-4618-BF46-1521ADDE21FE\",\"7D67707D-A36A-46C7-AF4E-DBA063259CD8\",\"0CE8DB38-9500-4B3D-BA30-191E72ABDE7C\",\"9C2B6C81-CB1C-4AD9-941A-5307CCDA74CC\",\"27DE4ECD-BBB4-4CA2-9C13-DBE49DE7A744\"],\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"280\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":281},\"id\":\"40913CEC-D4ED-4CA1-97B2-858D96CDC1F3\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":286},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":287}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":289},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":8,\"_Position\":{\"__isSmartRef__\":true,\"id\":290},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":291},\"_MaxTextWidth\":17,\"_MinTextWidth\":17,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":279},\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"derivationIds\":[381,\"B48F0AA9-A9AE-4316-865F-D969FFFD4C87\",\"3CE2E949-41E5-4680-ADB0-8AF865F87CA7\",\"C865C749-7005-416E-B5A2-0FB224AB308E\",\"CAED6589-594E-438B-ADB7-264F9B9D92B0\",\"A391E593-03B1-4FDA-B6B3-978336437357\"],\"__LivelyClassName__\":\"lively.morphic.Text\"},\"281\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":282},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":283},\"_Extent\":{\"__isSmartRef__\":true,\"id\":284},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":285},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":189},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"282\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"283\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"284\":{\"x\":17,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"285\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"286\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"287\":{\"style\":{\"__isSmartRef__\":true,\"id\":288},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":280},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"–\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"288\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"289\":{\"morph\":{\"__isSmartRef__\":true,\"id\":280},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"290\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"291\":{\"x\":17,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"292\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":293},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":294},\"_Extent\":{\"__isSmartRef__\":true,\"id\":295},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":296},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":215},\"_Fill\":{\"__isSmartRef__\":true,\"id\":216},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"293\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"294\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"295\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"296\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"297\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"298\":{\"morph\":{\"__isSmartRef__\":true,\"id\":279},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"299\":{\"x\":271.49672894514134,\"y\":3,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"300\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"301\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":302},{\"__isSmartRef__\":true,\"id\":304},{\"__isSmartRef__\":true,\"id\":306},{\"__isSmartRef__\":true,\"id\":308}],\"vector\":{\"__isSmartRef__\":true,\"id\":225},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"302\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":303}},\"303\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"304\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":305}},\"305\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"306\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":307}},\"307\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"308\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":309}},\"309\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"310\":{\"moveHorizontal\":true},\"311\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":279},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":0},\"targetMethodName\":\"getCollapseHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":312},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"312\":{\"source\":{\"__isSmartRef__\":true,\"id\":279},\"target\":{\"__isSmartRef__\":true,\"id\":0}},\"313\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":279},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":0},\"targetMethodName\":\"toggleCollapse\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":314},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"314\":{\"source\":{\"__isSmartRef__\":true,\"id\":279},\"target\":{\"__isSmartRef__\":true,\"id\":0}},\"315\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":316},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":317},\"_Extent\":{\"__isSmartRef__\":true,\"id\":318},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":319},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":320},\"_Fill\":{\"__isSmartRef__\":true,\"id\":321},\"_StrokeOpacity\":1,\"_BorderRadius\":\"8px 8px 0px 0px\",\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"316\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"317\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"318\":{\"x\":310.49672894514134,\"y\":22,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"319\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"320\":{\"r\":0.4,\"g\":0.4,\"b\":0.4,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"321\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":322},{\"__isSmartRef__\":true,\"id\":323}],\"vector\":{\"__isSmartRef__\":true,\"id\":325},\"__LivelyClassName__\":\"lively.morphic.LinearGradient\",\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\"},\"322\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":20}},\"323\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":324}},\"324\":{\"r\":0.6400000000000001,\"g\":0.6400000000000001,\"b\":0.6400000000000001,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global\"},\"325\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__LivelyClassName__\":\"Rectangle\",\"__SourceModuleName__\":\"Global\"},\"326\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"327\":{\"morph\":{\"__isSmartRef__\":true,\"id\":182},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"328\":{\"resizeWidth\":true,\"adjustForNewBounds\":true},\"329\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"330\":{\"x\":310.49672894514134,\"y\":22,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"331\":{\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":332},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":333},\"_BorderWidth\":0,\"_Fill\":null,\"_StrokeOpacity\":0,\"_BorderRadius\":0,\"_Extent\":{\"__isSmartRef__\":true,\"id\":334},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"332\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"333\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"334\":{\"x\":310.49672894514134,\"y\":419.92138184230294,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"335\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"336\":{\"morph\":{\"__isSmartRef__\":true,\"id\":0},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"337\":{\"adjustForNewBounds\":true},\"338\":{\"x\":0,\"y\":0,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"339\":{\"x\":310.49672894514134,\"y\":419.92138184230294,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"340\":{\"x\":0,\"y\":21,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"341\":{\"partsSpaceName\":\"PartsBin/Tools\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"comment\":\"Displays object properties and provides a workspace. The workspace's context is set to the last clicked element.\",\"migrationLevel\":4,\"partName\":\"Explorer\",\"changes\":[{\"__isSmartRef__\":true,\"id\":342},{\"__isSmartRef__\":true,\"id\":344},{\"__isSmartRef__\":true,\"id\":346},{\"__isSmartRef__\":true,\"id\":348},{\"__isSmartRef__\":true,\"id\":350},{\"__isSmartRef__\":true,\"id\":352},{\"__isSmartRef__\":true,\"id\":354},{\"__isSmartRef__\":true,\"id\":356},{\"__isSmartRef__\":true,\"id\":358},{\"__isSmartRef__\":true,\"id\":360},{\"__isSmartRef__\":true,\"id\":362},{\"__isSmartRef__\":true,\"id\":364},{\"__isSmartRef__\":true,\"id\":366},{\"__isSmartRef__\":true,\"id\":368},{\"__isSmartRef__\":true,\"id\":370},{\"__isSmartRef__\":true,\"id\":372},{\"__isSmartRef__\":true,\"id\":374},{\"__isSmartRef__\":true,\"id\":376},{\"__isSmartRef__\":true,\"id\":378},{\"__isSmartRef__\":true,\"id\":380},{\"__isSmartRef__\":true,\"id\":382},{\"__isSmartRef__\":true,\"id\":384}],\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"342\":{\"date\":{\"__isSmartRef__\":true,\"id\":343},\"author\":\"lauritz\",\"message\":\"\",\"id\":\"41FC1B0F-23FC-4454-A424-F141A1C09663\"},\"343\":{\"isSerializedDate\":true,\"string\":\"Thu Jan 05 2012 22:46:05 GMT+0100 (CET)\"},\"344\":{\"date\":{\"__isSmartRef__\":true,\"id\":345},\"author\":\"lauritz\",\"message\":\"added >>expandAllNodes() which can expand complete trees, but not graphs.\",\"id\":\"60178F3F-BA87-45A8-BD26-CF776AC017A7\"},\"345\":{\"isSerializedDate\":true,\"string\":\"Thu Jan 05 2012 22:33:39 GMT+0100 (CET)\"},\"346\":{\"date\":{\"__isSmartRef__\":true,\"id\":347},\"author\":\"lauritz\",\"message\":\"decreased width a bit\",\"id\":\"837B2170-C0B8-4FA1-99D3-D6A1EB465519\"},\"347\":{\"isSerializedDate\":true,\"string\":\"Sat Dec 03 2011 00:36:19 GMT+0100 (CET)\"},\"348\":{\"date\":{\"__isSmartRef__\":true,\"id\":349},\"author\":\"lauritz\",\"message\":\"made expanding loop asynchronous\",\"id\":\"5DFF88BC-08E6-43BD-B5B1-A9E8C93C7B19\"},\"349\":{\"isSerializedDate\":true,\"string\":\"Wed Nov 30 2011 23:23:19 GMT+0100 (CET)\"},\"350\":{\"date\":{\"__isSmartRef__\":true,\"id\":351},\"author\":\"lauritz\",\"message\":\"corrected toggling\",\"id\":\"BFC57057-2596-42D0-89A1-811C34FCF5E1\"},\"351\":{\"isSerializedDate\":true,\"string\":\"Tue Nov 22 2011 22:44:25 GMT+0100 (CET)\"},\"352\":{\"date\":{\"__isSmartRef__\":true,\"id\":353},\"author\":\"lauritz\",\"message\":\"set a minimal extent\",\"id\":\"D1DCDCB8-84EE-48D9-8AAE-3926E9D97D30\"},\"353\":{\"isSerializedDate\":true,\"string\":\"Tue Nov 15 2011 23:39:16 GMT+0100 (CET)\"},\"354\":{\"date\":{\"__isSmartRef__\":true,\"id\":355},\"author\":\"lauritz\",\"message\":\"convenience preset by default: tree is expanded, workspace says \\\"this\\\"\",\"id\":\"D364A417-6014-4266-8DF3-CEA313F15793\"},\"355\":{\"isSerializedDate\":true,\"string\":\"Tue Nov 15 2011 23:18:29 GMT+0100 (CET)\"},\"356\":{\"date\":{\"__isSmartRef__\":true,\"id\":357},\"author\":\"lauritz\",\"message\":\"Disabled grabbing and dragging on other morphs as well.\"},\"357\":{\"isSerializedDate\":true,\"string\":\"Tue Oct 25 2011 20:23:10 GMT+0200 (CEST)\"},\"358\":{\"date\":{\"__isSmartRef__\":true,\"id\":359},\"author\":\"lauritz\",\"message\":\"Disabled dragging and grabbing on tree nodes. Those should only be clickable.\"},\"359\":{\"isSerializedDate\":true,\"string\":\"Tue Oct 25 2011 19:25:14 GMT+0200 (CEST)\"},\"360\":{\"date\":{\"__isSmartRef__\":true,\"id\":361},\"author\":\"lauritz\",\"message\":\"Fixed a bug by adding a condition to getClassNameOf. In case an object has no constructor.\"},\"361\":{\"isSerializedDate\":true,\"string\":\"Tue Oct 25 2011 22:37:11 GMT+0200 (CEST)\"},\"362\":{\"date\":{\"__isSmartRef__\":true,\"id\":363},\"author\":\"jenslincke\",\"message\":\"reset scales\",\"id\":\"5E64592A-C360-44DD-BDAE-AD956FBA7675\"},\"363\":{\"isSerializedDate\":true,\"string\":\"Fri Oct 28 2011 16:11:21 GMT+0200 (CEST)\"},\"364\":{\"date\":{\"__isSmartRef__\":true,\"id\":365},\"author\":\"jenslincke\",\"message\":\"bring resize corner to front\",\"id\":\"765AA8A1-AA38-433A-B800-FFF743B3B9EF\"},\"365\":{\"isSerializedDate\":true,\"string\":\"Thu Nov 03 2011 16:10:26 GMT+0100 (CET)\"},\"366\":{\"date\":{\"__isSmartRef__\":true,\"id\":367},\"author\":\"lauritz\",\"message\":\"layout changes\",\"id\":\"F09F5196-5203-405A-8EC3-1648A100FFF5\"},\"367\":{\"isSerializedDate\":true,\"string\":\"Fri Nov 18 2011 23:54:38 GMT+0100 (CET)\"},\"368\":{\"date\":{\"__isSmartRef__\":true,\"id\":369},\"author\":\"lauritz\",\"message\":\"corrected the order of array elements\",\"id\":\"B41E19A0-DDED-40DC-BD23-6AB94F76D76D\"},\"369\":{\"isSerializedDate\":true,\"string\":\"Tue Nov 22 2011 23:44:29 GMT+0100 (CET)\"},\"370\":{\"date\":{\"__isSmartRef__\":true,\"id\":371},\"author\":\"fbo\",\"message\":\"fix Date bug\",\"id\":\"64EDCB63-EB39-477E-A73D-E066101A8B21\"},\"371\":{\"isSerializedDate\":true,\"string\":\"Sat Dec 03 2011 00:07:10 GMT+0100 (CET)\"},\"372\":{\"date\":{\"__isSmartRef__\":true,\"id\":373},\"author\":\"lauritz\",\"message\":\"significantly reduced a performance problem regarding \\\"long\\\" string properties, doesnt freeze anymore.\",\"id\":\"EA85DB22-3FD3-4D13-B769-763C4483C445\"},\"373\":{\"isSerializedDate\":true,\"string\":\"Tue Dec 06 2011 00:55:19 GMT+0100 (CET)\"},\"374\":{\"date\":{\"__isSmartRef__\":true,\"id\":375},\"author\":\"lauritz\",\"message\":\"clicking a node no longer resets the workspace content\",\"id\":\"C8AE0678-08F5-4FFB-9662-77D7120DA285\"},\"375\":{\"isSerializedDate\":true,\"string\":\"Tue Dec 13 2011 23:22:10 GMT+0100 (CET)\"},\"376\":{\"date\":{\"__isSmartRef__\":true,\"id\":377},\"author\":\"lauritz\",\"message\":\"renamed >>#expandAllNodes to >>#toggleAll\",\"id\":\"D9931ABA-396B-4C81-9C7E-7C2712405803\"},\"377\":{\"isSerializedDate\":true,\"string\":\"Thu Jan 05 2012 22:41:44 GMT+0100 (CET)\"},\"378\":{\"date\":{\"__isSmartRef__\":true,\"id\":379},\"author\":\"lauritz\",\"message\":\"asynchronous >>#toggleAll, because toggling is actually asynchronous and rendering as well...\",\"id\":\"3B15F99C-CFD6-41FA-9778-D2BFBBD53B8D\"},\"379\":{\"isSerializedDate\":true,\"string\":\"Thu Jan 05 2012 22:58:54 GMT+0100 (CET)\"},\"380\":{\"date\":{\"__isSmartRef__\":true,\"id\":381},\"author\":\"lauritz\",\"message\":\"cleaned up how all typeof stuff\",\"id\":\"98CD54B3-3527-4C4C-8577-A0B7476D8718\"},\"381\":{\"isSerializedDate\":true,\"string\":\"Fri Jan 27 2012 02:31:53 GMT+0100 (CET)\"},\"382\":{\"date\":{\"__isSmartRef__\":true,\"id\":383},\"author\":\"lauritz\",\"message\":\"\",\"id\":\"183BD443-7A32-4E3B-8F6B-96473B0C4CB7\"},\"383\":{\"isSerializedDate\":true,\"string\":\"Fri Jan 27 2012 02:35:42 GMT+0100 (CET)\"},\"384\":{\"date\":{\"__isSmartRef__\":true,\"id\":385},\"author\":\"jenslincke\",\"message\":\"style tweak\",\"id\":\"C366B53C-40DC-445D-B882-F5F147CD349F\"},\"385\":{\"isSerializedDate\":true,\"string\":\"Mon Jan 30 2012 14:04:58 GMT+0100 (CET)\"},\"386\":{\"x\":706,\"y\":245,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"387\":{\"x\":178,\"y\":269,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"388\":{\"explore\":{\"__isSmartRef__\":true,\"id\":389},\"reset\":{\"__isSmartRef__\":true,\"id\":393},\"inspect\":{\"__isSmartRef__\":true,\"id\":397},\"toggleAll\":{\"__isSmartRef__\":true,\"id\":401}},\"389\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":390},\"source\":\"function explore(object) {\\n // please see this window's pane, \\\"ExplorerPane\\\"\\n this.explorer.explore(object);\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":391},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"390\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"391\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":392}},\"392\":{\"isSerializedDate\":true,\"string\":\"Wed Sep 21 2011 19:25:04 GMT+0200 (CEST)\"},\"393\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":394},\"source\":\"function reset() {\\n // please see this window's pane, \\\"ExplorerPane\\\"\\n this.explorer.reset();\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":395},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"394\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"395\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":396}},\"396\":{\"isSerializedDate\":true,\"string\":\"Wed Sep 21 2011 19:25:04 GMT+0200 (CEST)\"},\"397\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":398},\"source\":\"function inspect(object) {\\n // alias for explore\\n this.explore(object);\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":399},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"398\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"399\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":400}},\"400\":{\"isSerializedDate\":true,\"string\":\"Tue Nov 15 2011 23:04:54 GMT+0100 (CET)\"},\"401\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":402},\"source\":\"function toggleAll() {\\n this.explorer.toggleAll();\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":403},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"402\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"403\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":404},\"user\":\"lauritz\",\"tags\":[]},\"404\":{\"isSerializedDate\":true,\"string\":\"Thu Jan 05 2012 22:40:45 GMT+0100 (CET)\"},\"isSimplifiedRegistry\":true}}","attributeConnections":[{"__isSmartRef__":true,"id":21110},{"__isSmartRef__":true,"id":21111}],"doNotSerialize":["$$json","$$loadedMetaInfo"],"doNotCopyProperties":["$$json","$$loadedMetaInfo"],"loadedMetaInfo":{"__isSmartRef__":true,"id":17983},"partVersions":[{"__isSmartRef__":true,"id":21112},{"__isSmartRef__":true,"id":21116},{"__isSmartRef__":true,"id":21222},{"__isSmartRef__":true,"id":21226},{"__isSmartRef__":true,"id":21230},{"__isSmartRef__":true,"id":21234},{"__isSmartRef__":true,"id":21238},{"__isSmartRef__":true,"id":21242},{"__isSmartRef__":true,"id":21246},{"__isSmartRef__":true,"id":21250},{"__isSmartRef__":true,"id":21254},{"__isSmartRef__":true,"id":21260},{"__isSmartRef__":true,"id":21264},{"__isSmartRef__":true,"id":21268},{"__isSmartRef__":true,"id":21272},{"__isSmartRef__":true,"id":21276},{"__isSmartRef__":true,"id":21280},{"__isSmartRef__":true,"id":21284},{"__isSmartRef__":true,"id":21288},{"__isSmartRef__":true,"id":21292},{"__isSmartRef__":true,"id":21296},{"__isSmartRef__":true,"id":21300},{"__isSmartRef__":true,"id":21304},{"__isSmartRef__":true,"id":21894},{"__isSmartRef__":true,"id":21899},{"__isSmartRef__":true,"id":21903},{"__isSmartRef__":true,"id":21907},{"__isSmartRef__":true,"id":21911},{"__isSmartRef__":true,"id":21915},{"__isSmartRef__":true,"id":21919},{"__isSmartRef__":true,"id":21923},{"__isSmartRef__":true,"id":21927},{"__isSmartRef__":true,"id":21931},{"__isSmartRef__":true,"id":21935},{"__isSmartRef__":true,"id":21939},{"__isSmartRef__":true,"id":21943},{"__isSmartRef__":true,"id":21947},{"__isSmartRef__":true,"id":21951},{"__isSmartRef__":true,"id":21955},{"__isSmartRef__":true,"id":21959},{"__isSmartRef__":true,"id":21963},{"__isSmartRef__":true,"id":21967},{"__isSmartRef__":true,"id":21971},{"__isSmartRef__":true,"id":21975},{"__isSmartRef__":true,"id":21979},{"__isSmartRef__":true,"id":21983}],"rev":148785,"part":{"__isSmartRef__":true,"id":17786},"__LivelyClassName__":"lively.PartsBin.PartItem","__SourceModuleName__":"Global.lively.PartsBin"},"21110":{"sourceObj":{"__isSmartRef__":true,"id":21109},"sourceAttrName":"json","targetObj":{"__isSmartRef__":true,"id":21109},"targetMethodName":"cachePartJSON","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"21111":{"sourceObj":{"__isSmartRef__":true,"id":21109},"sourceAttrName":"loadedMetaInfo","targetObj":{"__isSmartRef__":true,"id":21109},"targetMethodName":"cachePartMetaInfo","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"21112":{"rev":148785,"author":"bert","date":{"__isSmartRef__":true,"id":21113},"url":{"__isSmartRef__":true,"id":21114},"changes":[{"__isSmartRef__":true,"id":21115}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21113":{"isSerializedDate":true,"string":"Wed Mar 28 2012 20:33:56 GMT+0200 (CEST)"},"21114":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21115":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"21116":{"rev":140039,"author":"fbo","date":{"__isSmartRef__":true,"id":21117},"url":{"__isSmartRef__":true,"id":21118},"changes":[{"__isSmartRef__":true,"id":21119},{"__isSmartRef__":true,"id":21120},{"__isSmartRef__":true,"id":21121},{"__isSmartRef__":true,"id":21122},{"__isSmartRef__":true,"id":21123},{"__isSmartRef__":true,"id":21124},{"__isSmartRef__":true,"id":21125},{"__isSmartRef__":true,"id":21126},{"__isSmartRef__":true,"id":21127},{"__isSmartRef__":true,"id":21128},{"__isSmartRef__":true,"id":21129},{"__isSmartRef__":true,"id":21130},{"__isSmartRef__":true,"id":21131},{"__isSmartRef__":true,"id":21132},{"__isSmartRef__":true,"id":21133},{"__isSmartRef__":true,"id":21134},{"__isSmartRef__":true,"id":21135},{"__isSmartRef__":true,"id":21136},{"__isSmartRef__":true,"id":21137},{"__isSmartRef__":true,"id":21138},{"__isSmartRef__":true,"id":21139},{"__isSmartRef__":true,"id":21140},{"__isSmartRef__":true,"id":21141},{"__isSmartRef__":true,"id":21142},{"__isSmartRef__":true,"id":21143},{"__isSmartRef__":true,"id":21144},{"__isSmartRef__":true,"id":21145},{"__isSmartRef__":true,"id":21146},{"__isSmartRef__":true,"id":21147},{"__isSmartRef__":true,"id":21148},{"__isSmartRef__":true,"id":21149},{"__isSmartRef__":true,"id":21150},{"__isSmartRef__":true,"id":21151},{"__isSmartRef__":true,"id":21152},{"__isSmartRef__":true,"id":21153},{"__isSmartRef__":true,"id":21154},{"__isSmartRef__":true,"id":21155},{"__isSmartRef__":true,"id":21156},{"__isSmartRef__":true,"id":21157},{"__isSmartRef__":true,"id":21158},{"__isSmartRef__":true,"id":21159},{"__isSmartRef__":true,"id":21160},{"__isSmartRef__":true,"id":21161},{"__isSmartRef__":true,"id":21162},{"__isSmartRef__":true,"id":21163},{"__isSmartRef__":true,"id":21164},{"__isSmartRef__":true,"id":21165},{"__isSmartRef__":true,"id":21166},{"__isSmartRef__":true,"id":21167},{"__isSmartRef__":true,"id":21168},{"__isSmartRef__":true,"id":21169},{"__isSmartRef__":true,"id":21170},{"__isSmartRef__":true,"id":21171},{"__isSmartRef__":true,"id":21172},{"__isSmartRef__":true,"id":21173},{"__isSmartRef__":true,"id":21174},{"__isSmartRef__":true,"id":21175},{"__isSmartRef__":true,"id":21176},{"__isSmartRef__":true,"id":21177},{"__isSmartRef__":true,"id":21178},{"__isSmartRef__":true,"id":21179},{"__isSmartRef__":true,"id":21180},{"__isSmartRef__":true,"id":21181},{"__isSmartRef__":true,"id":21182},{"__isSmartRef__":true,"id":21183},{"__isSmartRef__":true,"id":21184},{"__isSmartRef__":true,"id":21185},{"__isSmartRef__":true,"id":21186},{"__isSmartRef__":true,"id":21187},{"__isSmartRef__":true,"id":21188},{"__isSmartRef__":true,"id":21189},{"__isSmartRef__":true,"id":21190},{"__isSmartRef__":true,"id":21191},{"__isSmartRef__":true,"id":21192},{"__isSmartRef__":true,"id":21193},{"__isSmartRef__":true,"id":21194},{"__isSmartRef__":true,"id":21195},{"__isSmartRef__":true,"id":21196},{"__isSmartRef__":true,"id":21197},{"__isSmartRef__":true,"id":21198},{"__isSmartRef__":true,"id":21199},{"__isSmartRef__":true,"id":21200},{"__isSmartRef__":true,"id":21201},{"__isSmartRef__":true,"id":21202},{"__isSmartRef__":true,"id":21203},{"__isSmartRef__":true,"id":21204},{"__isSmartRef__":true,"id":21205},{"__isSmartRef__":true,"id":21206},{"__isSmartRef__":true,"id":21207},{"__isSmartRef__":true,"id":21208},{"__isSmartRef__":true,"id":21209},{"__isSmartRef__":true,"id":21210},{"__isSmartRef__":true,"id":21211},{"__isSmartRef__":true,"id":21212},{"__isSmartRef__":true,"id":21213},{"__isSmartRef__":true,"id":21214},{"__isSmartRef__":true,"id":21215},{"__isSmartRef__":true,"id":21216},{"__isSmartRef__":true,"id":21217},{"__isSmartRef__":true,"id":21218},{"__isSmartRef__":true,"id":21219},{"__isSmartRef__":true,"id":21220},{"__isSmartRef__":true,"id":21221}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21117":{"isSerializedDate":true,"string":"Wed Feb 22 2012 22:26:12 GMT+0100 (CET)"},"21118":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/lively/lang/UUID.js","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21119":{"type":"S:modified","url":"/core/lively/ast/Interpreter.js"},"21120":{"type":"S:added","url":null},"21121":{"type":"S:added","url":null},"21122":{"type":"S:modified","url":"/core/lively/OldModel.js"},"21123":{"type":"S:modified","url":"/core/lively/morphic/ScriptingSupport.js"},"21124":{"type":"S:added","url":null},"21125":{"type":"S:added","url":null},"21126":{"type":"S:deleted","url":null},"21127":{"type":"S:added","url":null},"21128":{"type":"S:modified","url":"/core/lively/ast/LivelyJSParser.js"},"21129":{"type":"S:modified","url":"/core/lively/morphic/EventExperiments.js"},"21130":{"type":"S:added","url":null},"21131":{"type":"S:modified","url":"/core/lively/Base.js"},"21132":{"type":"S:added","url":null},"21133":{"type":"S:added","url":null},"21134":{"type":"S:modified","url":"/core/lively/bootstrap.js"},"21135":{"type":"S:added","url":null},"21136":{"type":"S:added","url":null},"21137":{"type":"S:modified","url":"/core/lively/localconfig.js"},"21138":{"type":"S:modified","url":"/core/lively/PartsBin.js"},"21139":{"type":"S:modified","url":"/core/lively/ide/SystemBrowserNodes.js"},"21140":{"type":"S:modified","url":"/core/lively/morphic/tests/PathTests.js"},"21141":{"type":"S:added","url":null},"21142":{"type":"S:modified","url":"/core/lively/bindings/Core.js"},"21143":{"type":"S:added","url":null},"21144":{"type":"S:added","url":null},"21145":{"type":"S:modified","url":"/core/lively/Network.js"},"21146":{"type":"S:modified","url":"/core/lively/morphic/Core.js"},"21147":{"type":"S:added","url":null},"21148":{"type":"S:modified","url":"/core/lively/bindings.js"},"21149":{"type":"S:modified","url":"/core/lively/WidgetsTraits.js"},"21150":{"type":"S:modified","url":"/core/lively/morphic.js"},"21151":{"type":"S:added","url":null},"21152":{"type":"S:added","url":null},"21153":{"type":"S:added","url":null},"21154":{"type":"S:modified","url":"/core/lively/defaultconfig.js"},"21155":{"type":"S:added","url":null},"21156":{"type":"S:added","url":null},"21157":{"type":"S:modified","url":"/core/lively/morphic/Canvas.js"},"21158":{"type":"S:modified","url":"/core/lively/ast/generated/Translator.js"},"21159":{"type":"S:added","url":null},"21160":{"type":"S:modified","url":"/core/lively/ast/Parser.js"},"21161":{"type":"S:modified","url":"/core/lively/Main.js"},"21162":{"type":"S:modified","url":"/core/lively/morphic/tests/Morphic2.js"},"21163":{"type":"S:added","url":null},"21164":{"type":"S:modified","url":"/core/lively/morphic/tests/TabTests.js"},"21165":{"type":"S:modified","url":"/core/lively/persistence/Serializer.js"},"21166":{"type":"S:modified","url":"/core_version.json"},"21167":{"type":"S:added","url":null},"21168":{"type":"S:modified","url":"/core/lively/morphic/PathShapes.js"},"21169":{"type":"S:added","url":null},"21170":{"type":"S:added","url":null},"21171":{"type":"S:modified","url":"/core/lively/morphic/tests/Morphic.js"},"21172":{"type":"S:modified","url":"/core/lively/morphic/tests/DataGridTests.js"},"21173":{"type":"S:modified","url":"/core/lively/morphic/HTML.js"},"21174":{"type":"S:added","url":null},"21175":{"type":"S:added","url":null},"21176":{"type":"S:added","url":null},"21177":{"type":"S:modified","url":"/core/lively/ide/BrowserCommands.js"},"21178":{"type":"S:modified","url":"/core/lively/morphic/Widgets.js"},"21179":{"type":"S:modified","url":"/core/lively/morphic/tests/EventTests.js"},"21180":{"type":"S:modified","url":"/core/lively/ast/StackReification.js"},"21181":{"type":"S:modified","url":"/core/cop/CopBenchmark.js"},"21182":{"type":"S:deleted","url":null},"21183":{"type":"S:added","url":null},"21184":{"type":"S:modified","url":"/core/lively/Helper.js"},"21185":{"type":"S:modified","url":"/core/lively/morphic/MorphAddons.js"},"21186":{"type":"S:added","url":null},"21187":{"type":"S:modified","url":"/core/lively/morphic/tests/Connectors.js"},"21188":{"type":"S:modified","url":"/core/lively/morphic/Shapes.js"},"21189":{"type":"S:modified","url":"/core/lively/ide/SourceDatabase.js"},"21190":{"type":"S:added","url":null},"21191":{"type":"S:modified","url":"/core/lively/Tracing.js"},"21192":{"type":"S:added","url":null},"21193":{"type":"S:modified","url":"/core/lively/ast/Morphic.js"},"21194":{"type":"S:added","url":null},"21195":{"type":"S:added","url":null},"21196":{"type":"S:added","url":null},"21197":{"type":"S:modified","url":"/core/lively/TestFramework.js"},"21198":{"type":"S:modified","url":"/core/lively/ast/generated/Nodes.js"},"21199":{"type":"S:added","url":null},"21200":{"type":"S:modified","url":"/core/lively/morphic/TextCore.js"},"21201":{"type":"S:added","url":null},"21202":{"type":"S:modified","url":"/core/lively/ide.js"},"21203":{"type":"S:modified","url":"/core/cop/Tracing.js"},"21204":{"type":"S:modified","url":"/core/lively/ide/FileParsing.js"},"21205":{"type":"S:modified","url":"/core/lively/morphic/Events.js"},"21206":{"type":"S:modified","url":"/core/lively/morphic/Halos.js"},"21207":{"type":"S:added","url":null},"21208":{"type":"S:added","url":null},"21209":{"type":"S:modified","url":"/core/lively/morphic/Complete.js"},"21210":{"type":"S:added","url":null},"21211":{"type":"S:added","url":null},"21212":{"type":"S:added","url":null},"21213":{"type":"S:added","url":null},"21214":{"type":"S:added","url":null},"21215":{"type":"S:modified","url":"/core/lively/persistence/StandAlonePackaging.js"},"21216":{"type":"S:added","url":null},"21217":{"type":"S:modified","url":"/core/lively/ast/TestFramework.js"},"21218":{"type":"S:modified","url":"/core/lively/ide/SystemCodeBrowser.js"},"21219":{"type":"S:added","url":null},"21220":{"type":"S:added","url":null},"21221":{"type":"S:added","url":null},"21222":{"rev":131237,"author":"jenslincke","date":{"__isSmartRef__":true,"id":21223},"url":{"__isSmartRef__":true,"id":21224},"changes":[{"__isSmartRef__":true,"id":21225}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21223":{"isSerializedDate":true,"string":"Mon Jan 30 2012 12:59:54 GMT+0100 (CET)"},"21224":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21225":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"21226":{"rev":130459,"author":"lauritz","date":{"__isSmartRef__":true,"id":21227},"url":{"__isSmartRef__":true,"id":21228},"changes":[{"__isSmartRef__":true,"id":21229}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21227":{"isSerializedDate":true,"string":"Fri Jan 27 2012 01:31:03 GMT+0100 (CET)"},"21228":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21229":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"21230":{"rev":130455,"author":"lauritz","date":{"__isSmartRef__":true,"id":21231},"url":{"__isSmartRef__":true,"id":21232},"changes":[{"__isSmartRef__":true,"id":21233}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21231":{"isSerializedDate":true,"string":"Fri Jan 27 2012 01:27:16 GMT+0100 (CET)"},"21232":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21233":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"21234":{"rev":126370,"author":"lauritz","date":{"__isSmartRef__":true,"id":21235},"url":{"__isSmartRef__":true,"id":21236},"changes":[{"__isSmartRef__":true,"id":21237}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21235":{"isSerializedDate":true,"string":"Thu Jan 05 2012 21:55:37 GMT+0100 (CET)"},"21236":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21237":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"21238":{"rev":126355,"author":"lauritz","date":{"__isSmartRef__":true,"id":21239},"url":{"__isSmartRef__":true,"id":21240},"changes":[{"__isSmartRef__":true,"id":21241}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21239":{"isSerializedDate":true,"string":"Thu Jan 05 2012 21:42:49 GMT+0100 (CET)"},"21240":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21241":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"21242":{"rev":126351,"author":"lauritz","date":{"__isSmartRef__":true,"id":21243},"url":{"__isSmartRef__":true,"id":21244},"changes":[{"__isSmartRef__":true,"id":21245}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21243":{"isSerializedDate":true,"string":"Thu Jan 05 2012 21:38:29 GMT+0100 (CET)"},"21244":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21245":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"21246":{"rev":126348,"author":"lauritz","date":{"__isSmartRef__":true,"id":21247},"url":{"__isSmartRef__":true,"id":21248},"changes":[{"__isSmartRef__":true,"id":21249}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21247":{"isSerializedDate":true,"string":"Thu Jan 05 2012 21:30:24 GMT+0100 (CET)"},"21248":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21249":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"21250":{"rev":123710,"author":"lauritz","date":{"__isSmartRef__":true,"id":21251},"url":{"__isSmartRef__":true,"id":21252},"changes":[{"__isSmartRef__":true,"id":21253}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21251":{"isSerializedDate":true,"string":"Tue Dec 13 2011 22:20:22 GMT+0100 (CET)"},"21252":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21253":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"21254":{"rev":120875,"author":"lauritz","date":{"__isSmartRef__":true,"id":21255},"url":{"__isSmartRef__":true,"id":21256},"changes":[{"__isSmartRef__":true,"id":21257},{"__isSmartRef__":true,"id":21258},{"__isSmartRef__":true,"id":21259}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21255":{"isSerializedDate":true,"string":"Mon Dec 05 2011 23:54:43 GMT+0100 (CET)"},"21256":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21257":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"21258":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.metainfo"},"21259":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.html"},"21260":{"rev":120530,"author":"lauritz","date":{"__isSmartRef__":true,"id":21261},"url":{"__isSmartRef__":true,"id":21262},"changes":[{"__isSmartRef__":true,"id":21263}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21261":{"isSerializedDate":true,"string":"Fri Dec 02 2011 23:35:15 GMT+0100 (CET)"},"21262":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21263":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"21264":{"rev":120520,"author":"fbo","date":{"__isSmartRef__":true,"id":21265},"url":{"__isSmartRef__":true,"id":21266},"changes":[{"__isSmartRef__":true,"id":21267}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21265":{"isSerializedDate":true,"string":"Fri Dec 02 2011 23:06:07 GMT+0100 (CET)"},"21266":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21267":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"21268":{"rev":120054,"author":"lauritz","date":{"__isSmartRef__":true,"id":21269},"url":{"__isSmartRef__":true,"id":21270},"changes":[{"__isSmartRef__":true,"id":21271}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21269":{"isSerializedDate":true,"string":"Wed Nov 30 2011 22:22:23 GMT+0100 (CET)"},"21270":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21271":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"21272":{"rev":120044,"author":"lauritz","date":{"__isSmartRef__":true,"id":21273},"url":{"__isSmartRef__":true,"id":21274},"changes":[{"__isSmartRef__":true,"id":21275}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21273":{"isSerializedDate":true,"string":"Wed Nov 30 2011 21:21:04 GMT+0100 (CET)"},"21274":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21275":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"21276":{"rev":118860,"author":"lauritz","date":{"__isSmartRef__":true,"id":21277},"url":{"__isSmartRef__":true,"id":21278},"changes":[{"__isSmartRef__":true,"id":21279}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21277":{"isSerializedDate":true,"string":"Tue Nov 22 2011 22:44:04 GMT+0100 (CET)"},"21278":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21279":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"21280":{"rev":118849,"author":"lauritz","date":{"__isSmartRef__":true,"id":21281},"url":{"__isSmartRef__":true,"id":21282},"changes":[{"__isSmartRef__":true,"id":21283}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21281":{"isSerializedDate":true,"string":"Tue Nov 22 2011 21:44:02 GMT+0100 (CET)"},"21282":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21283":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"21284":{"rev":118687,"author":"lauritz","date":{"__isSmartRef__":true,"id":21285},"url":{"__isSmartRef__":true,"id":21286},"changes":[{"__isSmartRef__":true,"id":21287}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21285":{"isSerializedDate":true,"string":"Fri Nov 18 2011 22:54:04 GMT+0100 (CET)"},"21286":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21287":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"21288":{"rev":117845,"author":"lauritz","date":{"__isSmartRef__":true,"id":21289},"url":{"__isSmartRef__":true,"id":21290},"changes":[{"__isSmartRef__":true,"id":21291}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21289":{"isSerializedDate":true,"string":"Tue Nov 15 2011 22:39:01 GMT+0100 (CET)"},"21290":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21291":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"21292":{"rev":117841,"author":"lauritz","date":{"__isSmartRef__":true,"id":21293},"url":{"__isSmartRef__":true,"id":21294},"changes":[{"__isSmartRef__":true,"id":21295}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21293":{"isSerializedDate":true,"string":"Tue Nov 15 2011 22:18:15 GMT+0100 (CET)"},"21294":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21295":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"21296":{"rev":113483,"author":"jenslincke","date":{"__isSmartRef__":true,"id":21297},"url":{"__isSmartRef__":true,"id":21298},"changes":[{"__isSmartRef__":true,"id":21299}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21297":{"isSerializedDate":true,"string":"Thu Nov 03 2011 15:09:36 GMT+0100 (CET)"},"21298":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21299":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"21300":{"rev":112334,"author":"jenslincke","date":{"__isSmartRef__":true,"id":21301},"url":{"__isSmartRef__":true,"id":21302},"changes":[{"__isSmartRef__":true,"id":21303}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21301":{"isSerializedDate":true,"string":"Fri Oct 28 2011 14:10:54 GMT+0200 (CEST)"},"21302":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21303":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"21304":{"rev":112200,"author":"lauritz","date":{"__isSmartRef__":true,"id":21305},"url":{"__isSmartRef__":true,"id":21306},"changes":[{"__isSmartRef__":true,"id":21307},{"__isSmartRef__":true,"id":21308},{"__isSmartRef__":true,"id":21309},{"__isSmartRef__":true,"id":21310},{"__isSmartRef__":true,"id":21311},{"__isSmartRef__":true,"id":21312},{"__isSmartRef__":true,"id":21313},{"__isSmartRef__":true,"id":21314},{"__isSmartRef__":true,"id":21315},{"__isSmartRef__":true,"id":21316},{"__isSmartRef__":true,"id":21317},{"__isSmartRef__":true,"id":21318},{"__isSmartRef__":true,"id":21319},{"__isSmartRef__":true,"id":21320},{"__isSmartRef__":true,"id":21321},{"__isSmartRef__":true,"id":21322},{"__isSmartRef__":true,"id":21323},{"__isSmartRef__":true,"id":21324},{"__isSmartRef__":true,"id":21325},{"__isSmartRef__":true,"id":21326},{"__isSmartRef__":true,"id":21327},{"__isSmartRef__":true,"id":21328},{"__isSmartRef__":true,"id":21329},{"__isSmartRef__":true,"id":21330},{"__isSmartRef__":true,"id":21331},{"__isSmartRef__":true,"id":21332},{"__isSmartRef__":true,"id":21333},{"__isSmartRef__":true,"id":21334},{"__isSmartRef__":true,"id":21335},{"__isSmartRef__":true,"id":21336},{"__isSmartRef__":true,"id":21337},{"__isSmartRef__":true,"id":21338},{"__isSmartRef__":true,"id":21339},{"__isSmartRef__":true,"id":21340},{"__isSmartRef__":true,"id":21341},{"__isSmartRef__":true,"id":21342},{"__isSmartRef__":true,"id":21343},{"__isSmartRef__":true,"id":21344},{"__isSmartRef__":true,"id":21345},{"__isSmartRef__":true,"id":21346},{"__isSmartRef__":true,"id":21347},{"__isSmartRef__":true,"id":21348},{"__isSmartRef__":true,"id":21349},{"__isSmartRef__":true,"id":21350},{"__isSmartRef__":true,"id":21351},{"__isSmartRef__":true,"id":21352},{"__isSmartRef__":true,"id":21353},{"__isSmartRef__":true,"id":21354},{"__isSmartRef__":true,"id":21355},{"__isSmartRef__":true,"id":21356},{"__isSmartRef__":true,"id":21357},{"__isSmartRef__":true,"id":21358},{"__isSmartRef__":true,"id":21359},{"__isSmartRef__":true,"id":21360},{"__isSmartRef__":true,"id":21361},{"__isSmartRef__":true,"id":21362},{"__isSmartRef__":true,"id":21363},{"__isSmartRef__":true,"id":21364},{"__isSmartRef__":true,"id":21365},{"__isSmartRef__":true,"id":21366},{"__isSmartRef__":true,"id":21367},{"__isSmartRef__":true,"id":21368},{"__isSmartRef__":true,"id":21369},{"__isSmartRef__":true,"id":21370},{"__isSmartRef__":true,"id":21371},{"__isSmartRef__":true,"id":21372},{"__isSmartRef__":true,"id":21373},{"__isSmartRef__":true,"id":21374},{"__isSmartRef__":true,"id":21375},{"__isSmartRef__":true,"id":21376},{"__isSmartRef__":true,"id":21377},{"__isSmartRef__":true,"id":21378},{"__isSmartRef__":true,"id":21379},{"__isSmartRef__":true,"id":21380},{"__isSmartRef__":true,"id":21381},{"__isSmartRef__":true,"id":21382},{"__isSmartRef__":true,"id":21383},{"__isSmartRef__":true,"id":21384},{"__isSmartRef__":true,"id":21385},{"__isSmartRef__":true,"id":21386},{"__isSmartRef__":true,"id":21387},{"__isSmartRef__":true,"id":21388},{"__isSmartRef__":true,"id":21389},{"__isSmartRef__":true,"id":21390},{"__isSmartRef__":true,"id":21391},{"__isSmartRef__":true,"id":21392},{"__isSmartRef__":true,"id":21393},{"__isSmartRef__":true,"id":21394},{"__isSmartRef__":true,"id":21395},{"__isSmartRef__":true,"id":21396},{"__isSmartRef__":true,"id":21397},{"__isSmartRef__":true,"id":21398},{"__isSmartRef__":true,"id":21399},{"__isSmartRef__":true,"id":21400},{"__isSmartRef__":true,"id":21401},{"__isSmartRef__":true,"id":21402},{"__isSmartRef__":true,"id":21403},{"__isSmartRef__":true,"id":21404},{"__isSmartRef__":true,"id":21405},{"__isSmartRef__":true,"id":21406},{"__isSmartRef__":true,"id":21407},{"__isSmartRef__":true,"id":21408},{"__isSmartRef__":true,"id":21409},{"__isSmartRef__":true,"id":21410},{"__isSmartRef__":true,"id":21411},{"__isSmartRef__":true,"id":21412},{"__isSmartRef__":true,"id":21413},{"__isSmartRef__":true,"id":21414},{"__isSmartRef__":true,"id":21415},{"__isSmartRef__":true,"id":21416},{"__isSmartRef__":true,"id":21417},{"__isSmartRef__":true,"id":21418},{"__isSmartRef__":true,"id":21419},{"__isSmartRef__":true,"id":21420},{"__isSmartRef__":true,"id":21421},{"__isSmartRef__":true,"id":21422},{"__isSmartRef__":true,"id":21423},{"__isSmartRef__":true,"id":21424},{"__isSmartRef__":true,"id":21425},{"__isSmartRef__":true,"id":21426},{"__isSmartRef__":true,"id":21427},{"__isSmartRef__":true,"id":21428},{"__isSmartRef__":true,"id":21429},{"__isSmartRef__":true,"id":21430},{"__isSmartRef__":true,"id":21431},{"__isSmartRef__":true,"id":21432},{"__isSmartRef__":true,"id":21433},{"__isSmartRef__":true,"id":21434},{"__isSmartRef__":true,"id":21435},{"__isSmartRef__":true,"id":21436},{"__isSmartRef__":true,"id":21437},{"__isSmartRef__":true,"id":21438},{"__isSmartRef__":true,"id":21439},{"__isSmartRef__":true,"id":21440},{"__isSmartRef__":true,"id":21441},{"__isSmartRef__":true,"id":21442},{"__isSmartRef__":true,"id":21443},{"__isSmartRef__":true,"id":21444},{"__isSmartRef__":true,"id":21445},{"__isSmartRef__":true,"id":21446},{"__isSmartRef__":true,"id":21447},{"__isSmartRef__":true,"id":21448},{"__isSmartRef__":true,"id":21449},{"__isSmartRef__":true,"id":21450},{"__isSmartRef__":true,"id":21451},{"__isSmartRef__":true,"id":21452},{"__isSmartRef__":true,"id":21453},{"__isSmartRef__":true,"id":21454},{"__isSmartRef__":true,"id":21455},{"__isSmartRef__":true,"id":21456},{"__isSmartRef__":true,"id":21457},{"__isSmartRef__":true,"id":21458},{"__isSmartRef__":true,"id":21459},{"__isSmartRef__":true,"id":21460},{"__isSmartRef__":true,"id":21461},{"__isSmartRef__":true,"id":21462},{"__isSmartRef__":true,"id":21463},{"__isSmartRef__":true,"id":21464},{"__isSmartRef__":true,"id":21465},{"__isSmartRef__":true,"id":21466},{"__isSmartRef__":true,"id":21467},{"__isSmartRef__":true,"id":21468},{"__isSmartRef__":true,"id":21469},{"__isSmartRef__":true,"id":21470},{"__isSmartRef__":true,"id":21471},{"__isSmartRef__":true,"id":21472},{"__isSmartRef__":true,"id":21473},{"__isSmartRef__":true,"id":21474},{"__isSmartRef__":true,"id":21475},{"__isSmartRef__":true,"id":21476},{"__isSmartRef__":true,"id":21477},{"__isSmartRef__":true,"id":21478},{"__isSmartRef__":true,"id":21479},{"__isSmartRef__":true,"id":21480},{"__isSmartRef__":true,"id":21481},{"__isSmartRef__":true,"id":21482},{"__isSmartRef__":true,"id":21483},{"__isSmartRef__":true,"id":21484},{"__isSmartRef__":true,"id":21485},{"__isSmartRef__":true,"id":21486},{"__isSmartRef__":true,"id":21487},{"__isSmartRef__":true,"id":21488},{"__isSmartRef__":true,"id":21489},{"__isSmartRef__":true,"id":21490},{"__isSmartRef__":true,"id":21491},{"__isSmartRef__":true,"id":21492},{"__isSmartRef__":true,"id":21493},{"__isSmartRef__":true,"id":21494},{"__isSmartRef__":true,"id":21495},{"__isSmartRef__":true,"id":21496},{"__isSmartRef__":true,"id":21497},{"__isSmartRef__":true,"id":21498},{"__isSmartRef__":true,"id":21499},{"__isSmartRef__":true,"id":21500},{"__isSmartRef__":true,"id":21501},{"__isSmartRef__":true,"id":21502},{"__isSmartRef__":true,"id":21503},{"__isSmartRef__":true,"id":21504},{"__isSmartRef__":true,"id":21505},{"__isSmartRef__":true,"id":21506},{"__isSmartRef__":true,"id":21507},{"__isSmartRef__":true,"id":21508},{"__isSmartRef__":true,"id":21509},{"__isSmartRef__":true,"id":21510},{"__isSmartRef__":true,"id":21511},{"__isSmartRef__":true,"id":21512},{"__isSmartRef__":true,"id":21513},{"__isSmartRef__":true,"id":21514},{"__isSmartRef__":true,"id":21515},{"__isSmartRef__":true,"id":21516},{"__isSmartRef__":true,"id":21517},{"__isSmartRef__":true,"id":21518},{"__isSmartRef__":true,"id":21519},{"__isSmartRef__":true,"id":21520},{"__isSmartRef__":true,"id":21521},{"__isSmartRef__":true,"id":21522},{"__isSmartRef__":true,"id":21523},{"__isSmartRef__":true,"id":21524},{"__isSmartRef__":true,"id":21525},{"__isSmartRef__":true,"id":21526},{"__isSmartRef__":true,"id":21527},{"__isSmartRef__":true,"id":21528},{"__isSmartRef__":true,"id":21529},{"__isSmartRef__":true,"id":21530},{"__isSmartRef__":true,"id":21531},{"__isSmartRef__":true,"id":21532},{"__isSmartRef__":true,"id":21533},{"__isSmartRef__":true,"id":21534},{"__isSmartRef__":true,"id":21535},{"__isSmartRef__":true,"id":21536},{"__isSmartRef__":true,"id":21537},{"__isSmartRef__":true,"id":21538},{"__isSmartRef__":true,"id":21539},{"__isSmartRef__":true,"id":21540},{"__isSmartRef__":true,"id":21541},{"__isSmartRef__":true,"id":21542},{"__isSmartRef__":true,"id":21543},{"__isSmartRef__":true,"id":21544},{"__isSmartRef__":true,"id":21545},{"__isSmartRef__":true,"id":21546},{"__isSmartRef__":true,"id":21547},{"__isSmartRef__":true,"id":21548},{"__isSmartRef__":true,"id":21549},{"__isSmartRef__":true,"id":21550},{"__isSmartRef__":true,"id":21551},{"__isSmartRef__":true,"id":21552},{"__isSmartRef__":true,"id":21553},{"__isSmartRef__":true,"id":21554},{"__isSmartRef__":true,"id":21555},{"__isSmartRef__":true,"id":21556},{"__isSmartRef__":true,"id":21557},{"__isSmartRef__":true,"id":21558},{"__isSmartRef__":true,"id":21559},{"__isSmartRef__":true,"id":21560},{"__isSmartRef__":true,"id":21561},{"__isSmartRef__":true,"id":21562},{"__isSmartRef__":true,"id":21563},{"__isSmartRef__":true,"id":21564},{"__isSmartRef__":true,"id":21565},{"__isSmartRef__":true,"id":21566},{"__isSmartRef__":true,"id":21567},{"__isSmartRef__":true,"id":21568},{"__isSmartRef__":true,"id":21569},{"__isSmartRef__":true,"id":21570},{"__isSmartRef__":true,"id":21571},{"__isSmartRef__":true,"id":21572},{"__isSmartRef__":true,"id":21573},{"__isSmartRef__":true,"id":21574},{"__isSmartRef__":true,"id":21575},{"__isSmartRef__":true,"id":21576},{"__isSmartRef__":true,"id":21577},{"__isSmartRef__":true,"id":21578},{"__isSmartRef__":true,"id":21579},{"__isSmartRef__":true,"id":21580},{"__isSmartRef__":true,"id":21581},{"__isSmartRef__":true,"id":21582},{"__isSmartRef__":true,"id":21583},{"__isSmartRef__":true,"id":21584},{"__isSmartRef__":true,"id":21585},{"__isSmartRef__":true,"id":21586},{"__isSmartRef__":true,"id":21587},{"__isSmartRef__":true,"id":21588},{"__isSmartRef__":true,"id":21589},{"__isSmartRef__":true,"id":21590},{"__isSmartRef__":true,"id":21591},{"__isSmartRef__":true,"id":21592},{"__isSmartRef__":true,"id":21593},{"__isSmartRef__":true,"id":21594},{"__isSmartRef__":true,"id":21595},{"__isSmartRef__":true,"id":21596},{"__isSmartRef__":true,"id":21597},{"__isSmartRef__":true,"id":21598},{"__isSmartRef__":true,"id":21599},{"__isSmartRef__":true,"id":21600},{"__isSmartRef__":true,"id":21601},{"__isSmartRef__":true,"id":21602},{"__isSmartRef__":true,"id":21603},{"__isSmartRef__":true,"id":21604},{"__isSmartRef__":true,"id":21605},{"__isSmartRef__":true,"id":21606},{"__isSmartRef__":true,"id":21607},{"__isSmartRef__":true,"id":21608},{"__isSmartRef__":true,"id":21609},{"__isSmartRef__":true,"id":21610},{"__isSmartRef__":true,"id":21611},{"__isSmartRef__":true,"id":21612},{"__isSmartRef__":true,"id":21613},{"__isSmartRef__":true,"id":21614},{"__isSmartRef__":true,"id":21615},{"__isSmartRef__":true,"id":21616},{"__isSmartRef__":true,"id":21617},{"__isSmartRef__":true,"id":21618},{"__isSmartRef__":true,"id":21619},{"__isSmartRef__":true,"id":21620},{"__isSmartRef__":true,"id":21621},{"__isSmartRef__":true,"id":21622},{"__isSmartRef__":true,"id":21623},{"__isSmartRef__":true,"id":21624},{"__isSmartRef__":true,"id":21625},{"__isSmartRef__":true,"id":21626},{"__isSmartRef__":true,"id":21627},{"__isSmartRef__":true,"id":21628},{"__isSmartRef__":true,"id":21629},{"__isSmartRef__":true,"id":21630},{"__isSmartRef__":true,"id":21631},{"__isSmartRef__":true,"id":21632},{"__isSmartRef__":true,"id":21633},{"__isSmartRef__":true,"id":21634},{"__isSmartRef__":true,"id":21635},{"__isSmartRef__":true,"id":21636},{"__isSmartRef__":true,"id":21637},{"__isSmartRef__":true,"id":21638},{"__isSmartRef__":true,"id":21639},{"__isSmartRef__":true,"id":21640},{"__isSmartRef__":true,"id":21641},{"__isSmartRef__":true,"id":21642},{"__isSmartRef__":true,"id":21643},{"__isSmartRef__":true,"id":21644},{"__isSmartRef__":true,"id":21645},{"__isSmartRef__":true,"id":21646},{"__isSmartRef__":true,"id":21647},{"__isSmartRef__":true,"id":21648},{"__isSmartRef__":true,"id":21649},{"__isSmartRef__":true,"id":21650},{"__isSmartRef__":true,"id":21651},{"__isSmartRef__":true,"id":21652},{"__isSmartRef__":true,"id":21653},{"__isSmartRef__":true,"id":21654},{"__isSmartRef__":true,"id":21655},{"__isSmartRef__":true,"id":21656},{"__isSmartRef__":true,"id":21657},{"__isSmartRef__":true,"id":21658},{"__isSmartRef__":true,"id":21659},{"__isSmartRef__":true,"id":21660},{"__isSmartRef__":true,"id":21661},{"__isSmartRef__":true,"id":21662},{"__isSmartRef__":true,"id":21663},{"__isSmartRef__":true,"id":21664},{"__isSmartRef__":true,"id":21665},{"__isSmartRef__":true,"id":21666},{"__isSmartRef__":true,"id":21667},{"__isSmartRef__":true,"id":21668},{"__isSmartRef__":true,"id":21669},{"__isSmartRef__":true,"id":21670},{"__isSmartRef__":true,"id":21671},{"__isSmartRef__":true,"id":21672},{"__isSmartRef__":true,"id":21673},{"__isSmartRef__":true,"id":21674},{"__isSmartRef__":true,"id":21675},{"__isSmartRef__":true,"id":21676},{"__isSmartRef__":true,"id":21677},{"__isSmartRef__":true,"id":21678},{"__isSmartRef__":true,"id":21679},{"__isSmartRef__":true,"id":21680},{"__isSmartRef__":true,"id":21681},{"__isSmartRef__":true,"id":21682},{"__isSmartRef__":true,"id":21683},{"__isSmartRef__":true,"id":21684},{"__isSmartRef__":true,"id":21685},{"__isSmartRef__":true,"id":21686},{"__isSmartRef__":true,"id":21687},{"__isSmartRef__":true,"id":21688},{"__isSmartRef__":true,"id":21689},{"__isSmartRef__":true,"id":21690},{"__isSmartRef__":true,"id":21691},{"__isSmartRef__":true,"id":21692},{"__isSmartRef__":true,"id":21693},{"__isSmartRef__":true,"id":21694},{"__isSmartRef__":true,"id":21695},{"__isSmartRef__":true,"id":21696},{"__isSmartRef__":true,"id":21697},{"__isSmartRef__":true,"id":21698},{"__isSmartRef__":true,"id":21699},{"__isSmartRef__":true,"id":21700},{"__isSmartRef__":true,"id":21701},{"__isSmartRef__":true,"id":21702},{"__isSmartRef__":true,"id":21703},{"__isSmartRef__":true,"id":21704},{"__isSmartRef__":true,"id":21705},{"__isSmartRef__":true,"id":21706},{"__isSmartRef__":true,"id":21707},{"__isSmartRef__":true,"id":21708},{"__isSmartRef__":true,"id":21709},{"__isSmartRef__":true,"id":21710},{"__isSmartRef__":true,"id":21711},{"__isSmartRef__":true,"id":21712},{"__isSmartRef__":true,"id":21713},{"__isSmartRef__":true,"id":21714},{"__isSmartRef__":true,"id":21715},{"__isSmartRef__":true,"id":21716},{"__isSmartRef__":true,"id":21717},{"__isSmartRef__":true,"id":21718},{"__isSmartRef__":true,"id":21719},{"__isSmartRef__":true,"id":21720},{"__isSmartRef__":true,"id":21721},{"__isSmartRef__":true,"id":21722},{"__isSmartRef__":true,"id":21723},{"__isSmartRef__":true,"id":21724},{"__isSmartRef__":true,"id":21725},{"__isSmartRef__":true,"id":21726},{"__isSmartRef__":true,"id":21727},{"__isSmartRef__":true,"id":21728},{"__isSmartRef__":true,"id":21729},{"__isSmartRef__":true,"id":21730},{"__isSmartRef__":true,"id":21731},{"__isSmartRef__":true,"id":21732},{"__isSmartRef__":true,"id":21733},{"__isSmartRef__":true,"id":21734},{"__isSmartRef__":true,"id":21735},{"__isSmartRef__":true,"id":21736},{"__isSmartRef__":true,"id":21737},{"__isSmartRef__":true,"id":21738},{"__isSmartRef__":true,"id":21739},{"__isSmartRef__":true,"id":21740},{"__isSmartRef__":true,"id":21741},{"__isSmartRef__":true,"id":21742},{"__isSmartRef__":true,"id":21743},{"__isSmartRef__":true,"id":21744},{"__isSmartRef__":true,"id":21745},{"__isSmartRef__":true,"id":21746},{"__isSmartRef__":true,"id":21747},{"__isSmartRef__":true,"id":21748},{"__isSmartRef__":true,"id":21749},{"__isSmartRef__":true,"id":21750},{"__isSmartRef__":true,"id":21751},{"__isSmartRef__":true,"id":21752},{"__isSmartRef__":true,"id":21753},{"__isSmartRef__":true,"id":21754},{"__isSmartRef__":true,"id":21755},{"__isSmartRef__":true,"id":21756},{"__isSmartRef__":true,"id":21757},{"__isSmartRef__":true,"id":21758},{"__isSmartRef__":true,"id":21759},{"__isSmartRef__":true,"id":21760},{"__isSmartRef__":true,"id":21761},{"__isSmartRef__":true,"id":21762},{"__isSmartRef__":true,"id":21763},{"__isSmartRef__":true,"id":21764},{"__isSmartRef__":true,"id":21765},{"__isSmartRef__":true,"id":21766},{"__isSmartRef__":true,"id":21767},{"__isSmartRef__":true,"id":21768},{"__isSmartRef__":true,"id":21769},{"__isSmartRef__":true,"id":21770},{"__isSmartRef__":true,"id":21771},{"__isSmartRef__":true,"id":21772},{"__isSmartRef__":true,"id":21773},{"__isSmartRef__":true,"id":21774},{"__isSmartRef__":true,"id":21775},{"__isSmartRef__":true,"id":21776},{"__isSmartRef__":true,"id":21777},{"__isSmartRef__":true,"id":21778},{"__isSmartRef__":true,"id":21779},{"__isSmartRef__":true,"id":21780},{"__isSmartRef__":true,"id":21781},{"__isSmartRef__":true,"id":21782},{"__isSmartRef__":true,"id":21783},{"__isSmartRef__":true,"id":21784},{"__isSmartRef__":true,"id":21785},{"__isSmartRef__":true,"id":21786},{"__isSmartRef__":true,"id":21787},{"__isSmartRef__":true,"id":21788},{"__isSmartRef__":true,"id":21789},{"__isSmartRef__":true,"id":21790},{"__isSmartRef__":true,"id":21791},{"__isSmartRef__":true,"id":21792},{"__isSmartRef__":true,"id":21793},{"__isSmartRef__":true,"id":21794},{"__isSmartRef__":true,"id":21795},{"__isSmartRef__":true,"id":21796},{"__isSmartRef__":true,"id":21797},{"__isSmartRef__":true,"id":21798},{"__isSmartRef__":true,"id":21799},{"__isSmartRef__":true,"id":21800},{"__isSmartRef__":true,"id":21801},{"__isSmartRef__":true,"id":21802},{"__isSmartRef__":true,"id":21803},{"__isSmartRef__":true,"id":21804},{"__isSmartRef__":true,"id":21805},{"__isSmartRef__":true,"id":21806},{"__isSmartRef__":true,"id":21807},{"__isSmartRef__":true,"id":21808},{"__isSmartRef__":true,"id":21809},{"__isSmartRef__":true,"id":21810},{"__isSmartRef__":true,"id":21811},{"__isSmartRef__":true,"id":21812},{"__isSmartRef__":true,"id":21813},{"__isSmartRef__":true,"id":21814},{"__isSmartRef__":true,"id":21815},{"__isSmartRef__":true,"id":21816},{"__isSmartRef__":true,"id":21817},{"__isSmartRef__":true,"id":21818},{"__isSmartRef__":true,"id":21819},{"__isSmartRef__":true,"id":21820},{"__isSmartRef__":true,"id":21821},{"__isSmartRef__":true,"id":21822},{"__isSmartRef__":true,"id":21823},{"__isSmartRef__":true,"id":21824},{"__isSmartRef__":true,"id":21825},{"__isSmartRef__":true,"id":21826},{"__isSmartRef__":true,"id":21827},{"__isSmartRef__":true,"id":21828},{"__isSmartRef__":true,"id":21829},{"__isSmartRef__":true,"id":21830},{"__isSmartRef__":true,"id":21831},{"__isSmartRef__":true,"id":21832},{"__isSmartRef__":true,"id":21833},{"__isSmartRef__":true,"id":21834},{"__isSmartRef__":true,"id":21835},{"__isSmartRef__":true,"id":21836},{"__isSmartRef__":true,"id":21837},{"__isSmartRef__":true,"id":21838},{"__isSmartRef__":true,"id":21839},{"__isSmartRef__":true,"id":21840},{"__isSmartRef__":true,"id":21841},{"__isSmartRef__":true,"id":21842},{"__isSmartRef__":true,"id":21843},{"__isSmartRef__":true,"id":21844},{"__isSmartRef__":true,"id":21845},{"__isSmartRef__":true,"id":21846},{"__isSmartRef__":true,"id":21847},{"__isSmartRef__":true,"id":21848},{"__isSmartRef__":true,"id":21849},{"__isSmartRef__":true,"id":21850},{"__isSmartRef__":true,"id":21851},{"__isSmartRef__":true,"id":21852},{"__isSmartRef__":true,"id":21853},{"__isSmartRef__":true,"id":21854},{"__isSmartRef__":true,"id":21855},{"__isSmartRef__":true,"id":21856},{"__isSmartRef__":true,"id":21857},{"__isSmartRef__":true,"id":21858},{"__isSmartRef__":true,"id":21859},{"__isSmartRef__":true,"id":21860},{"__isSmartRef__":true,"id":21861},{"__isSmartRef__":true,"id":21862},{"__isSmartRef__":true,"id":21863},{"__isSmartRef__":true,"id":21864},{"__isSmartRef__":true,"id":21865},{"__isSmartRef__":true,"id":21866},{"__isSmartRef__":true,"id":21867},{"__isSmartRef__":true,"id":21868},{"__isSmartRef__":true,"id":21869},{"__isSmartRef__":true,"id":21870},{"__isSmartRef__":true,"id":21871},{"__isSmartRef__":true,"id":21872},{"__isSmartRef__":true,"id":21873},{"__isSmartRef__":true,"id":21874},{"__isSmartRef__":true,"id":21875},{"__isSmartRef__":true,"id":21876},{"__isSmartRef__":true,"id":21877},{"__isSmartRef__":true,"id":21878},{"__isSmartRef__":true,"id":21879},{"__isSmartRef__":true,"id":21880},{"__isSmartRef__":true,"id":21881},{"__isSmartRef__":true,"id":21882},{"__isSmartRef__":true,"id":21883},{"__isSmartRef__":true,"id":21884},{"__isSmartRef__":true,"id":21885},{"__isSmartRef__":true,"id":21886},{"__isSmartRef__":true,"id":21887},{"__isSmartRef__":true,"id":21888},{"__isSmartRef__":true,"id":21889},{"__isSmartRef__":true,"id":21890},{"__isSmartRef__":true,"id":21891},{"__isSmartRef__":true,"id":21892},{"__isSmartRef__":true,"id":21893}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21305":{"isSerializedDate":true,"string":"Fri Oct 28 2011 01:02:08 GMT+0200 (CEST)"},"21306":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/users/lauritz/miniprojects/annotationPart.xhtml","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21307":{"type":"S:modified","url":"/users/jennek/start.xhtml"},"21308":{"type":"S:modified","url":"/users/Dan/Piano.xhtml"},"21309":{"type":"S:modified","url":"/users/sofia/documentation.xhtml"},"21310":{"type":"S:modified","url":"/users/cschuster/presentation.xhtml"},"21311":{"type":"S:modified","url":"/demos/LiveWeb/NewCPUVisualization.xhtml"},"21312":{"type":"S:modified","url":"/users/lauritz/start.xhtml"},"21313":{"type":"S:modified","url":"/core/lively/bootstrap.js"},"21314":{"type":"S:modified","url":"/draft/NewWorld/ServerPart.xhtml"},"21315":{"type":"S:modified","url":"/users/sofia/georgi/ButtonPrototypes.xhtml"},"21316":{"type":"S:modified","url":"/draft/NewWorld/NotetakingApp.xhtml"},"21317":{"type":"S:modified","url":"/projects/CodeDB2/info_documents.xhtml"},"21318":{"type":"S:modified","url":"/users/cschuster/hello.xhtml"},"21319":{"type":"S:modified","url":"/users/fbo/layoutNoEpiMorphs.xhtml"},"21320":{"type":"S:modified","url":"/issues/110527_RichTextGetsLost.xhtml"},"21321":{"type":"S:modified","url":"/users/fbo/boxTestRange.xhtml"},"21322":{"type":"S:modified","url":"/demos/LiveWeb/CPUVisualization.xhtml"},"21323":{"type":"S:modified","url":"/demos/contextjs/Syntax.xhtml"},"21324":{"type":"S:modified","url":"/draft/NewWorld/Connectors.xhtml"},"21325":{"type":"S:modified","url":"/users/sofia/documentationXXX.xhtml"},"21326":{"type":"S:modified","url":"/demos/VisualConnect.xhtml"},"21327":{"type":"S:modified","url":"/users/MrSteve/Test1.xhtml"},"21328":{"type":"S:modified","url":"/issues/110614_ClickingOnLinesHackIsBroken.xhtml"},"21329":{"type":"S:modified","url":"/ChangeLog.xhtml"},"21330":{"type":"S:modified","url":"/gettingStarted.xhtml"},"21331":{"type":"S:modified","url":"/users/martin/oldWorkspace.xhtml"},"21332":{"type":"S:modified","url":"/demos/Clean.xhtml"},"21333":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/prototypeSaved.xhtml"},"21334":{"type":"S:modified","url":"/issues/110613_ConnectorsAreBroken.xhtml"},"21335":{"type":"S:modified","url":"/draft/NewWorld/ModuleDependencies.xhtml"},"21336":{"type":"S:modified","url":"/issues/fixed/110412_ListDroppingBroken.xhtml"},"21337":{"type":"S:modified","url":"/demos/LiveWeb/Empty.xhtml"},"21338":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/dev2.xhtml"},"21339":{"type":"S:modified","url":"/users/fbo/dropJournalBug.xhtml"},"21340":{"type":"S:modified","url":"/users/tfleig/start.xhtml"},"21341":{"type":"S:modified","url":"/specs/Scrolling.xhtml"},"21342":{"type":"S:modified","url":"/users/fbo/dataGridTests.xhtml"},"21343":{"type":"S:modified","url":"/users/tmohr/newWorld2.xhtml"},"21344":{"type":"S:modified","url":"/users/sofia/georgi/new_world.xhtml"},"21345":{"type":"S:modified","url":"/users/tmohr/slide5.xhtml"},"21346":{"type":"S:modified","url":"/users/fbo/constraintLayoutExampleSerialized.xhtml"},"21347":{"type":"S:modified","url":"/draft/NewWorld/TextBugfixes.xhtml"},"21348":{"type":"S:modified","url":"/users/ahold/new/usertracking.xhtml"},"21349":{"type":"S:modified","url":"/issues/110512_WrappingTextInTextMorph.xhtml"},"21350":{"type":"S:modified","url":"/users/constantin/doku.xhtml"},"21351":{"type":"S:modified","url":"/users/Dan/PartsBin.xhtml"},"21352":{"type":"S:modified","url":"/users/fbo/chat.xhtml"},"21353":{"type":"S:modified","url":"/users/Dan/NewPresentation.xhtml"},"21354":{"type":"S:modified","url":"/users/markoroeder/TablePartDev.xhtml"},"21355":{"type":"S:modified","url":"/users/fbo/renderingHooks.xhtml"},"21356":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/prototype_saved.xhtml"},"21357":{"type":"S:modified","url":"/users/bert/start.xhtml"},"21358":{"type":"S:modified","url":"/users/Dan/TestWorld.xhtml"},"21359":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksHubert.xhtml"},"21360":{"type":"S:modified","url":"/issues/110603_SvgRenderIsNotYetGoodEnoughForOurIcons.xhtml"},"21361":{"type":"S:modified","url":"/issues/111006_DisableGrabbingDoesNotDisableGrabbing.xhtml"},"21362":{"type":"S:modified","url":"/users/robertkrahn/writing.xhtml"},"21363":{"type":"S:modified","url":"/issues/111020_ClassBrowserPartShouldRememberChanges.xhtml"},"21364":{"type":"S:modified","url":"/users/ahold/serverDevNew.xhtml"},"21365":{"type":"S:modified","url":"/demos/LiveWeb/LiveWebSummary.xhtml"},"21366":{"type":"S:modified","url":"/users/lauritz/miniprojects/jQueryEffects.xhtml"},"21367":{"type":"S:modified","url":"/users/Dan/BorderTest.xhtml"},"21368":{"type":"S:modified","url":"/draft/NewWorld/PartsBin.xhtml"},"21369":{"type":"S:modified","url":"/users/sofia/georgi/splitter.xhtml"},"21370":{"type":"S:modified","url":"/users/martin/stats.xhtml"},"21371":{"type":"S:modified","url":"/users/ahold/newWorld.xhtml"},"21372":{"type":"S:modified","url":"/draft/NewWorld/SVGLines.xhtml"},"21373":{"type":"S:added","url":null},"21374":{"type":"S:modified","url":"/issues/fixed/110507_CommentsForParts.xhtml"},"21375":{"type":"S:modified","url":"/demos/contextjs/OpenImplementation.xhtml"},"21376":{"type":"S:modified","url":"/users/Dan/QBF2Ba.xhtml"},"21377":{"type":"S:modified","url":"/users/fbo/welcome.xhtml"},"21378":{"type":"S:modified","url":"/issues/111026_CouchDB>>saveDoesNotAskForCredentialsInSafari.xhtml"},"21379":{"type":"S:modified","url":"/users/martin/measurements/FAQ.xhtml"},"21380":{"type":"S:modified","url":"/users/gerald24/temp.xhtml"},"21381":{"type":"S:modified","url":"/users/markoroeder/MetadataVisualization.xhtml"},"21382":{"type":"S:modified","url":"/demos/WorldSerializationGraph.xhtml"},"21383":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/ImageDroppin.xhtml"},"21384":{"type":"S:modified","url":"/users/Dan/LiveWeb-NewLayout.xhtml"},"21385":{"type":"S:modified","url":"/core/lively/DOMAbstraction.js"},"21386":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/Slider.xhtml"},"21387":{"type":"S:modified","url":"/demos/ScriptingClock.xhtml"},"21388":{"type":"S:modified","url":"/issues/111017_BrowsingSubmorphsWithObjectExplorerBroken.xhtml"},"21389":{"type":"S:modified","url":"/users/Dan/Tutorial1.xhtml"},"21390":{"type":"S:modified","url":"/users/fbo/empty3.xhtml"},"21391":{"type":"S:modified","url":"/demos/visualizations/FPSProtovis.xhtml"},"21392":{"type":"S:modified","url":"/draft/NewWorld/ObjectTracerPart.xhtml"},"21393":{"type":"S:modified","url":"/issues/110629_SlideoverlayIsBrokenAfterSavingItHidden.xhtml"},"21394":{"type":"S:modified","url":"/users/markoroeder/GOTY2011.xhtml"},"21395":{"type":"S:modified","url":"/users/fbo/DraftLayout.xhtml"},"21396":{"type":"S:modified","url":"/users/fbo/onMouseMoveRefactoring.xhtml"},"21397":{"type":"S:modified","url":"/users/Dan/PM/ScripterDev.xhtml"},"21398":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksSebastian.xhtml"},"21399":{"type":"S:modified","url":"/users/fbo/DataTables.xhtml"},"21400":{"type":"S:modified","url":"/users/fbo/myLineWorld.xhtml"},"21401":{"type":"S:modified","url":"/issues/110526_ConnectorsInTheNewWorld.xhtml"},"21402":{"type":"S:modified","url":"/users/Dan/PM/FormLayoutExpt.xhtml"},"21403":{"type":"S:modified","url":"/users/Dan/MyQBF.xhtml"},"21404":{"type":"S:modified","url":"/users/Dan/LiveWeb2.xhtml"},"21405":{"type":"S:modified","url":"/users/fbo/layoutPlaceholdersForDragging.xhtml"},"21406":{"type":"S:modified","url":"/webwerkstatt.xhtml"},"21407":{"type":"S:modified","url":"/users/sofia/georgi/Versions.xhtml"},"21408":{"type":"S:modified","url":"/issues/fixed/110506_CompletelyEmphasizedTextDoesNotSerialize.xhtml"},"21409":{"type":"S:modified","url":"/issues/110518_ShadowOfAMorphDoesNotReflectRotation.xhtml"},"21410":{"type":"S:modified","url":"/users/olmeca/start.xhtml"},"21411":{"type":"S:modified","url":"/users/sofia/martin/3.xhtml"},"21412":{"type":"S:modified","url":"/issues/110514_DontShowEditCursorForHalosMenusEtc.xhtml"},"21413":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/Lists.xhtml"},"21414":{"type":"S:modified","url":"/users/fbo/layoutDragSnap.xhtml"},"21415":{"type":"S:modified","url":"/users/sofia/georgi/new.xhtml"},"21416":{"type":"S:modified","url":"/users/mkilling/ikuh.xhtml"},"21417":{"type":"S:modified","url":"/draft/NewWorld/ClassBrowser.xhtml"},"21418":{"type":"S:modified","url":"/users/fbo/xamppInstaller.xhtml"},"21419":{"type":"S:modified","url":"/users/Kat/QBF2B.xhtml"},"21420":{"type":"S:modified","url":"/demos/visualizations/protovis.xhtml"},"21421":{"type":"S:modified","url":"/users/NikolaySuslov/start.xhtml"},"21422":{"type":"S:modified","url":"/documentation/Lively2Installation.xhtml"},"21423":{"type":"S:modified","url":"/issues/110518_ProblemToOpenDialogs.xhtml"},"21424":{"type":"S:modified","url":"/users/sofia/learning_prototype_js.xhtml"},"21425":{"type":"S:modified","url":"/issues/110809_AsScriptOfMethodDoesNotChangeFunctionName.xhtml"},"21426":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksBenjamin.xhtml"},"21427":{"type":"S:modified","url":"/users/sofia/video1.xhtml"},"21428":{"type":"S:modified","url":"/empty.xhtml"},"21429":{"type":"S:modified","url":"/demos/LiveWeb/LiveWeb.xhtml"},"21430":{"type":"S:modified","url":"/users/cschuster/start.xhtml"},"21431":{"type":"S:modified","url":"/issues/fixed/110509_WorldMenuDoesNotWork.xhtml"},"21432":{"type":"S:modified","url":"/users/Dan/QuickBrownFox.xhtml"},"21433":{"type":"S:modified","url":"/projects/Lively2/Minimal.xhtml"},"21434":{"type":"S:modified","url":"/issues/111005_LineIssues.xhtml"},"21435":{"type":"S:modified","url":"/issues/fixed/110506_PartsbinHasNoAddOrRemoveCategoryButtons.xhtml"},"21436":{"type":"S:modified","url":"/users/sofia/experiments/css_theming.xhtml"},"21437":{"type":"S:modified","url":"/documentation/videoTutorials/110630_CPUVis.xhtml"},"21438":{"type":"S:modified","url":"/users/template/start.xhtml"},"21439":{"type":"S:modified","url":"/documentation/Traits.xhtml"},"21440":{"type":"S:modified","url":"/issues/110717_ShapeOffsetMakesEventsGoMad.xhtml"},"21441":{"type":"S:modified","url":"/users/fbo/jQueryUi.xhtml"},"21442":{"type":"S:modified","url":"/users/robertkrahn/nonexisting.xhtml"},"21443":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/DroppingForImport.xhtml"},"21444":{"type":"S:modified","url":"/cleanup.xhtml"},"21445":{"type":"S:modified","url":"/issues/110522_ListAndTextScrollWorldAfterReachingTheirScrollBounds.xhtml"},"21446":{"type":"S:modified","url":"/projects/BP2012/simple.xhtml"},"21447":{"type":"S:modified","url":"/issues/110831_ScrolingWithNewClippingCodeDoesNotWork.xhtml"},"21448":{"type":"S:modified","url":"/issues/110923_ProtovisVisualizationBroken.xhtml"},"21449":{"type":"S:modified","url":"/issues/111019_PublishingPartsWithCommitMessages.xhtml"},"21450":{"type":"S:modified","url":"/demos/visualizations/jsl4tv-world-000.xhtml"},"21451":{"type":"S:modified","url":"/users/markoroeder/SVN2CodeDB.xhtml"},"21452":{"type":"S:modified","url":"/users/sofia/trac_tickets_pavel.xhtml"},"21453":{"type":"S:modified","url":"/projects/BP2012/2011-11-02-talk.xhtml"},"21454":{"type":"S:modified","url":"/users/fbo/dojoWorld.xhtml"},"21455":{"type":"S:modified","url":"/users/Dan/NewPresentation2.xhtml"},"21456":{"type":"S:modified","url":"/users/tmohr/slide6.xhtml"},"21457":{"type":"S:modified","url":"/projects/DebuggingJS/draft.xhtml"},"21458":{"type":"S:modified","url":"/draft/NewWorld/DirectGrabDragAndCopy.xhtml"},"21459":{"type":"S:modified","url":"/users/sofia/protovis.xhtml"},"21460":{"type":"S:modified","url":"/blank.xhtml"},"21461":{"type":"S:modified","url":"/users/robertkrahn/testCPUVis.xhtml"},"21462":{"type":"S:modified","url":"/projects/Lively2/Converting.xhtml"},"21463":{"type":"S:modified","url":"/users/andyburnett/start.xhtml"},"21464":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/RichText.xhtml"},"21465":{"type":"S:modified","url":"/draft/NewWorld/Presentations.xhtml"},"21466":{"type":"S:modified","url":"/users/robertkrahn/garminExport.xhtml"},"21467":{"type":"S:modified","url":"/tests.xhtml"},"21468":{"type":"S:modified","url":"/issues/110625_PartUploadBroken.xhtml"},"21469":{"type":"S:modified","url":"/issues/fixed/110517_ConnectionsWantToAccessClosureValues.xhtml"},"21470":{"type":"S:modified","url":"/users/markoroeder/DataVisualization.xhtml"},"21471":{"type":"S:modified","url":"/draft/NewWorld/PartsBinSearch.xhtml"},"21472":{"type":"S:modified","url":"/issues/110529_InsertingSomethingInTextRemovesFocus.xhtml"},"21473":{"type":"S:modified","url":"/issues/110512_ListSelectionInScbDoesNotWorkCorrectly.xhtml"},"21474":{"type":"S:modified","url":"/issues/111017_StaticBindingOfSuperInClosures.xhtml"},"21475":{"type":"S:modified","url":"/demos/contextjs/flattening.xhtml"},"21476":{"type":"S:modified","url":"/issues/110511_LinesCannotBeClicked.xhtml"},"21477":{"type":"S:modified","url":"/users/lauritz/miniprojects/gettingStarted.xhtml"},"21478":{"type":"S:modified","url":"/users/markoroeder/Part2Class.xhtml"},"21479":{"type":"S:modified","url":"/users/Dan/EmptyWorld2.xhtml"},"21480":{"type":"S:modified","url":"/projects/LivelyKernel/nextSteps.xhtml"},"21481":{"type":"S:modified","url":"/users/wlcleveland/start.xhtml"},"21482":{"type":"S:modified","url":"/users/swart/start.xhtml"},"21483":{"type":"S:modified","url":"/users/Dan/QBF2Bb.xhtml"},"21484":{"type":"S:modified","url":"/users/tmohr/slide1.xhtml"},"21485":{"type":"S:modified","url":"/users/robertkrahn/DetermineModuleDependencies.xhtml"},"21486":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksHubert2.xhtml"},"21487":{"type":"S:modified","url":"/projects/CodeDB2/info_restructuring.xhtml"},"21488":{"type":"S:modified","url":"/users/Dan/PM/DemoForm.xhtml"},"21489":{"type":"S:modified","url":"/issues/110728_GraffleLayerGrabsWorld.xhtml"},"21490":{"type":"S:modified","url":"/users/Dan/Activities1.xhtml"},"21491":{"type":"S:modified","url":"/users/tmohr/emtpy.xhtml"},"21492":{"type":"S:modified","url":"/documentation/ElProfesor.xhtml"},"21493":{"type":"S:modified","url":"/issues/111022_TheExplorerScrollingIsBroken.xhtml"},"21494":{"type":"S:modified","url":"/users/Dan/WindowPlay.xhtml"},"21495":{"type":"S:modified","url":"/users/martin/Measurements.xhtml"},"21496":{"type":"S:modified","url":"/users/fbo/layoutCycle.xhtml"},"21497":{"type":"S:modified","url":"/documentation/7funthings.xhtml"},"21498":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/jensWorld.xhtml"},"21499":{"type":"S:modified","url":"/users/iho/start.xhtml"},"21500":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/NewMorphicIntroduction.xhtml"},"21501":{"type":"S:modified","url":"/BrokenWorldRepairSite.xhtml"},"21502":{"type":"S:modified","url":"/users/fbo/serverDevPlayground.xhtml"},"21503":{"type":"S:modified","url":"/users/ahold/TrackerDev.xhtml"},"21504":{"type":"S:modified","url":"/users/Dan/LiveWeb3.xhtml"},"21505":{"type":"S:modified","url":"/documentation/Template.xhtml"},"21506":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/secondWorld.xhtml"},"21507":{"type":"S:modified","url":"/documentation/ContextJS.xhtml"},"21508":{"type":"S:modified","url":"/projects/CodeDB2/CodeDB2Dev.xhtml"},"21509":{"type":"S:modified","url":"/users/markoroeder/GrammarTesting.xhtml"},"21510":{"type":"S:modified","url":"/documentation/ScriptingTutorial.xhtml"},"21511":{"type":"S:modified","url":"/users/fbo/deserializeMorphs.xhtml"},"21512":{"type":"S:modified","url":"/issues/110722_ClipModeShouldClipMorphsInTheirBounds.xhtml"},"21513":{"type":"S:modified","url":"/documentation/videoTutorials/110714_NodeJSServerCreation.xhtml"},"21514":{"type":"S:modified","url":"/users/fbo/scrollFixes.xhtml"},"21515":{"type":"S:modified","url":"/users/fbo/empty.xhtml"},"21516":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksConrad.xhtml"},"21517":{"type":"S:modified","url":"/users/keith/deadly.xhtml"},"21518":{"type":"S:modified","url":"/users/robertkrahn/nonexisting2.xhtml"},"21519":{"type":"S:modified","url":"/users/Dan/QBFa.xhtml"},"21520":{"type":"S:modified","url":"/users/cschuster/debugging2.xhtml"},"21521":{"type":"S:modified","url":"/users/fbo/SlickGrid.xhtml"},"21522":{"type":"S:modified","url":"/users/constantin/Snake.xhtml"},"21523":{"type":"S:modified","url":"/documentation/worlds.xhtml"},"21524":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/firstWorld2.xhtml"},"21525":{"type":"S:modified","url":"/issues/110609_TabIndentionForBulletPoints.xhtml"},"21526":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksAstrid.xhtml"},"21527":{"type":"S:modified","url":"/users/sofia/video2.xhtml"},"21528":{"type":"S:modified","url":"/users/keith/notes.xhtml"},"21529":{"type":"S:modified","url":"/issues/110528_ClickBehaviorOfScbIsStrange.xhtml"},"21530":{"type":"S:modified","url":"/demos/Parts.xhtml"},"21531":{"type":"S:modified","url":"/demos/WhereArePeopleFrom.xhtml"},"21532":{"type":"S:modified","url":"/issues/110510_MorphsAreDroppedWhenDndedFromPartsbin.xhtml"},"21533":{"type":"S:modified","url":"/users/fbo/jqueryTabulate.xhtml"},"21534":{"type":"S:modified","url":"/issues/111026_CustomFormattedBinsInPartsBin.xhtml"},"21535":{"type":"S:modified","url":"/users/fbo/learningLively2.xhtml"},"21536":{"type":"S:modified","url":"/issues/111017_svgIssues.xhtml"},"21537":{"type":"S:modified","url":"/users/markoroeder/NewStreamwork.xhtml"},"21538":{"type":"S:modified","url":"/users/markoroeder/MapImport.xhtml"},"21539":{"type":"S:modified","url":"/documentation/Serialization-Interface.xhtml"},"21540":{"type":"S:modified","url":"/issues/fixed/110511_DroppablebehaviorParts.xhtml"},"21541":{"type":"S:modified","url":"/users/markoroeder/newDraft.xhtml"},"21542":{"type":"S:modified","url":"/projects/Lively2/ReleasePlanning.xhtml"},"21543":{"type":"S:modified","url":"/draft/NewWorld/LinesAndCurves.xhtml"},"21544":{"type":"S:modified","url":"/users/Dan/HaloExpt.xhtml"},"21545":{"type":"S:modified","url":"/issues/110921_DropshadowIsOff.xhtml"},"21546":{"type":"S:modified","url":"/users/keith/versionControl.xhtml"},"21547":{"type":"S:modified","url":"/issues/111021_HowToStoreObjectsOnTheServer.xhtml"},"21548":{"type":"S:modified","url":"/documentation/videoTutorials/SystemBrowserDiffingVersions.xhtml"},"21549":{"type":"S:modified","url":"/users/fbo/blank.xhtml"},"21550":{"type":"S:modified","url":"/demos/Clock.xhtml"},"21551":{"type":"S:modified","url":"/users/fbo/scrolling.xhtml"},"21552":{"type":"S:modified","url":"/users/markoroeder/DraftInfoItem.xhtml"},"21553":{"type":"S:modified","url":"/documentation/HowConnectWorks.xhtml"},"21554":{"type":"S:modified","url":"/users/fbo/layoutTests.xhtml"},"21555":{"type":"S:modified","url":"/issues/fixed/110407_NoScriptEditorInNewWorld.xhtml"},"21556":{"type":"S:modified","url":"/projects/BP2012/Requests.xhtml"},"21557":{"type":"S:modified","url":"/users/template/pleaseDoNotChangeOrRemoveWorldsInThisDirectory.xhtml"},"21558":{"type":"S:modified","url":"/users/fbo/journalBug.xhtml"},"21559":{"type":"S:modified","url":"/issues/110701_VisualBindingToStarBroken.xhtml"},"21560":{"type":"S:modified","url":"/users/tmohr/slide7.xhtml"},"21561":{"type":"S:modified","url":"/issues/110723_PathBroken.xhtml"},"21562":{"type":"S:modified","url":"/demos/MyNewWikiPage.xhtml"},"21563":{"type":"S:modified","url":"/issues/fixed/110510_SafariWontOpenToolsFromPartsbin.xhtml"},"21564":{"type":"S:modified","url":"/issues/110720_FirefoxCannotDisplaySvgBasedMorphs.xhtml"},"21565":{"type":"S:modified","url":"/draft/NewWorld/RichText.xhtml"},"21566":{"type":"S:modified","url":"/users/alexwarth/start.xhtml"},"21567":{"type":"S:modified","url":"/draft/NewWorld/SimpleBrowser.xhtml"},"21568":{"type":"S:modified","url":"/draft/NewWorld/OldMorphicObjectConversion.xhtml"},"21569":{"type":"S:modified","url":"/documentation/profesores.xhtml"},"21570":{"type":"S:modified","url":"/documentation/videoTutorials/template.xhtml"},"21571":{"type":"S:modified","url":"/issues/110629_WindmillDoesNotShowInThePartsBin.xhtml"},"21572":{"type":"S:modified","url":"/issues/110519_PasteBug.xhtml"},"21573":{"type":"S:modified","url":"/draft/NewWorld/Engine.xhtml"},"21574":{"type":"S:modified","url":"/draft/NewWorld/ProgressForRequests.xhtml"},"21575":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/Sliders.xhtml"},"21576":{"type":"S:modified","url":"/users/tmohr/bespin.xhtml"},"21577":{"type":"S:modified","url":"/users/fbo/scrollPlayground.xhtml"},"21578":{"type":"S:modified","url":"/users/tfleig/test1.xhtml"},"21579":{"type":"S:modified","url":"/users/fbo/gitSetup.xhtml"},"21580":{"type":"S:modified","url":"/users/constantin/start.xhtml"},"21581":{"type":"S:modified","url":"/users/Dan/Test.xhtml"},"21582":{"type":"S:modified","url":"/issues/110630_MenusLeaveVisibleBounds.xhtml"},"21583":{"type":"S:modified","url":"/projects/CodeDB2/playground_tilman.xhtml"},"21584":{"type":"S:modified","url":"/users/ohshima/start.xhtml"},"21585":{"type":"S:modified","url":"/issues/110704_MapsAreBlacksAfterDeserialization.xhtml"},"21586":{"type":"S:modified","url":"/users/Kat/MyQBF.xhtml"},"21587":{"type":"S:modified","url":"/users/markoroeder/SerializationDebug.xhtml"},"21588":{"type":"S:modified","url":"/issues/111012_BorderWidthIssue.xhtml"},"21589":{"type":"S:modified","url":"/users/mzimmerm/etoys-development-notes.xhtml"},"21590":{"type":"S:modified","url":"/users/Dan/EngineTest.xhtml"},"21591":{"type":"S:modified","url":"/users/tmohr/slide2.xhtml"},"21592":{"type":"S:modified","url":"/users/sofia/protovisPrototype.xhtml"},"21593":{"type":"S:modified","url":"/users/sofia/sofia/georgi/new_world.xhtml"},"21594":{"type":"S:modified","url":"/documentation/FAQ.xhtml"},"21595":{"type":"S:modified","url":"/demos/contextjs/SimpleObjectTracing.xhtml"},"21596":{"type":"S:modified","url":"/users/Dan/PM/Dan.xhtml"},"21597":{"type":"S:modified","url":"/issues/fixed/110518_PartsbinMoveIsNoRealMove.xhtml"},"21598":{"type":"S:modified","url":"/sandbox/sandbox-dgc.xhtml"},"21599":{"type":"S:modified","url":"/issues/110610_AddNewMethodBroken.xhtml"},"21600":{"type":"S:modified","url":"/users/Dan/CC.xhtml"},"21601":{"type":"S:modified","url":"/draft/NewWorld/StringsAsRichText.xhtml"},"21602":{"type":"S:modified","url":"/issues/110704_ClickingOnProtoVisDrawing.xhtml"},"21603":{"type":"S:modified","url":"/users/fbo/layoutGrid.xhtml"},"21604":{"type":"S:modified","url":"/users/Dan/Garbage.xhtml"},"21605":{"type":"S:modified","url":"/welcome.xhtml"},"21606":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/textEditor.xhtml"},"21607":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/prototypeQBF.xhtml"},"21608":{"type":"S:modified","url":"/documentation/videoTutorials/110429_TextAttributes.xhtml"},"21609":{"type":"S:modified","url":"/users/fbo/pongServer.xhtml"},"21610":{"type":"S:modified","url":"/users/miku/start.xhtml"},"21611":{"type":"S:modified","url":"/users/Dan/PM/Lively2.xhtml"},"21612":{"type":"S:modified","url":"/users/cschuster/dev-alpha.xhtml"},"21613":{"type":"S:modified","url":"/users/Dan/PM/PowerPointNot.xhtml"},"21614":{"type":"S:modified","url":"/users/fbo/layoutConfigurator.xhtml"},"21615":{"type":"S:modified","url":"/draft/NewWorld/Diffing.xhtml"},"21616":{"type":"S:modified","url":"/issues/110604_GriddingDoesNotWorkRight.xhtml"},"21617":{"type":"S:modified","url":"/issues/110927_TranslationAndPositionAreNotEqualWhenMorphHasAOwnerWithModifiedOrigin.xhtml"},"21618":{"type":"S:modified","url":"/issues/110809_ChangeOrRemovedScriptsAfterSerializationWrong.xhtml"},"21619":{"type":"S:modified","url":"/issues/110729_ShowHaloItemDuringHaloAction.xhtml"},"21620":{"type":"S:modified","url":"/users/tmohr/demo.xhtml"},"21621":{"type":"S:modified","url":"/documentation/overview.xhtml"},"21622":{"type":"S:modified","url":"/demos/LiveWeb/iPad.xhtml"},"21623":{"type":"S:modified","url":"/issues/110628_MorphOffsetsAfterGrabbingAreBroken.xhtml"},"21624":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/SCBMigration.xhtml"},"21625":{"type":"S:modified","url":"/users/Dan/LiveWeb4.xhtml"},"21626":{"type":"S:modified","url":"/users/olmeca/olmeca3.xhtml"},"21627":{"type":"S:deleted","url":null},"21628":{"type":"S:modified","url":"/issues/111026_AccessingVersionsUsesWrongURLAndVersionCombination.xhtml"},"21629":{"type":"S:modified","url":"/users/sofia/sofia/georgi/video_experiments1.xhtml"},"21630":{"type":"S:modified","url":"/users/wlcleveland/shadowworld.xhtml"},"21631":{"type":"S:modified","url":"/users/mzimmerm/mz-world-from-start-xhtml.xhtml"},"21632":{"type":"S:modified","url":"/users/Dan/FormLayoutExpt.xhtml.xhtml"},"21633":{"type":"S:modified","url":"/users/robertkrahn/writeSite.xhtml"},"21634":{"type":"S:modified","url":"/draft/NewWorld/CurveDrafting.xhtml"},"21635":{"type":"S:modified","url":"/draft/NewWorld/ParseApacheServerLog.xhtml"},"21636":{"type":"S:modified","url":"/issues/fixed/110516_EnterAtTextEndDoesNotAddLineBreak.xhtml"},"21637":{"type":"S:modified","url":"/projects/BP2012/h2.xhtml"},"21638":{"type":"S:modified","url":"/draft/NewWorld/110521_BetterLists.xhtml"},"21639":{"type":"S:modified","url":"/users/Dan/PM/layoutExpts.xhtml"},"21640":{"type":"S:modified","url":"/users/test50/start.xhtml"},"21641":{"type":"S:modified","url":"/MovePages.xhtml"},"21642":{"type":"S:modified","url":"/documentation/Rendering.xhtml"},"21643":{"type":"S:modified","url":"/users/fbo/layoutPlayground.xhtml"},"21644":{"type":"S:modified","url":"/users/martin/measurements/webwerkstatt.xhtml"},"21645":{"type":"S:modified","url":"/issues/111005_MouseMoveChangesFocus.xhtml"},"21646":{"type":"S:modified","url":"/documentation/videoTutorials/110419_ManipulateMorphs.xhtml"},"21647":{"type":"S:modified","url":"/projects/Lively2/Release.xhtml"},"21648":{"type":"S:modified","url":"/issues/110523_RelayMouseEventsToMorphBeneath.xhtml"},"21649":{"type":"S:modified","url":"/users/tmohr/myNewWorld.xhtml"},"21650":{"type":"S:modified","url":"/users/robertkrahn/thingsToExplain.xhtml"},"21651":{"type":"S:modified","url":"/users/fbo/start.xhtml"},"21652":{"type":"S:modified","url":"/issues/110511_WeHaveNoCheckbox.xhtml"},"21653":{"type":"S:modified","url":"/users/Dan/PM/FormsDraft1.xhtml"},"21654":{"type":"S:modified","url":"/users/Dan/EmptyWorld.xhtml"},"21655":{"type":"S:modified","url":"/users/sofia/georgi/empty.xhtml"},"21656":{"type":"S:modified","url":"/issues/110609_AccidentalGrabbing.xhtml"},"21657":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/NewMorphicDevelopment.xhtml"},"21658":{"type":"S:modified","url":"/users/lauritz/personal/snippets.xhtml"},"21659":{"type":"S:modified","url":"/users/lauritz/personal/thoughts.xhtml"},"21660":{"type":"S:modified","url":"/users/Dan/NewEmptyWorld.xhtml"},"21661":{"type":"S:modified","url":"/users/markoroeder/DOMRemovalPlugin.xhtml"},"21662":{"type":"S:modified","url":"/documentation/LivelyInstallation.xhtml"},"21663":{"type":"S:modified","url":"/issues/110530_MakeSyntaxHighlightingFaster.xhtml"},"21664":{"type":"S:modified","url":"/users/lauritz/miniprojects/pongClient.xhtml"},"21665":{"type":"S:modified","url":"/issues/110831_ButtonLabelsAreNotCenteredAnymore.xhtml"},"21666":{"type":"S:modified","url":"/sandbox/ColorfulWindmills.xhtml"},"21667":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/todo.xhtml"},"21668":{"type":"S:modified","url":"/users/robertkrahn/simple.xhtml"},"21669":{"type":"S:modified","url":"/issues/111004_SavingAnEmptyTextObjectSetsTheStringToUndefined.xhtml"},"21670":{"type":"S:modified","url":"/issues/TextDebugWorld.xhtml"},"21671":{"type":"S:modified","url":"/documentation/ShortcutList.xhtml"},"21672":{"type":"S:modified","url":"/users/tmohr/slide8.xhtml"},"21673":{"type":"S:modified","url":"/issues/110522_ClickingTheScrollbarInListsDoesNotWork.xhtml"},"21674":{"type":"S:modified","url":"/draft/NewWorld/ObjectSerializationGraph.xhtml"},"21675":{"type":"S:modified","url":"/users/Dan/TextTest.xhtml"},"21676":{"type":"S:modified","url":"/users/dtornow/start.xhtml"},"21677":{"type":"S:modified","url":"/projects/BP2012/start.xhtml"},"21678":{"type":"S:modified","url":"/users/Dan/Empty.xhtml"},"21679":{"type":"S:modified","url":"/users/keith/start.xhtml"},"21680":{"type":"S:modified","url":"/users/gerald24/start.xhtml"},"21681":{"type":"S:modified","url":"/documentation/videoTutorial.xhtml"},"21682":{"type":"S:modified","url":"/draft/NewWorld/DraftSelection.xhtml"},"21683":{"type":"S:modified","url":"/demos/LiveWeb/Pheonix.xhtml"},"21684":{"type":"S:modified","url":"/users/ahold/siteTracking.xhtml"},"21685":{"type":"S:modified","url":"/issues/110608_GetterAndSettersInIe9.xhtml"},"21686":{"type":"S:modified","url":"/users/iho/1.xhtml"},"21687":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/bootstrap.xhtml"},"21688":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasks.xhtml"},"21689":{"type":"S:modified","url":"/users/Dan/PM/FormsScripter.xhtml"},"21690":{"type":"S:modified","url":"/users/fbo/cassowary.xhtml"},"21691":{"type":"S:modified","url":"/users/MrSteve/start.xhtml"},"21692":{"type":"S:modified","url":"/issues/CreateIssuePage.xhtml"},"21693":{"type":"S:modified","url":"/users/fbo/xamppInstallerWindows.xhtml"},"21694":{"type":"S:modified","url":"/users/Dan/PM/Phoenix.xhtml"},"21695":{"type":"S:modified","url":"/users/tmohr/WebGL.xhtml"},"21696":{"type":"S:modified","url":"/documentation/PartsBin.xhtml"},"21697":{"type":"S:modified","url":"/users/mzimmerm/start.xhtml"},"21698":{"type":"S:modified","url":"/users/markoroeder/SequenceDiagram.xhtml"},"21699":{"type":"S:modified","url":"/demos/Wiki.xhtml"},"21700":{"type":"S:modified","url":"/documentation/Events.xhtml"},"21701":{"type":"S:modified","url":"/users/tmohr/slide3.xhtml"},"21702":{"type":"S:modified","url":"/users/hjust/blank.xhtml"},"21703":{"type":"S:modified","url":"/Lively2.xhtml"},"21704":{"type":"S:modified","url":"/users/tfleig/template.xhtml"},"21705":{"type":"S:modified","url":"/issues/111021_PianoDoesNotMakeASound.xhtml"},"21706":{"type":"S:modified","url":"/issues/fixed/110426_NewStatusMessagesWithMore.xhtml"},"21707":{"type":"S:modified","url":"/users/martin/tests.xhtml"},"21708":{"type":"S:modified","url":"/users/sofia/empty.xhtml"},"21709":{"type":"S:modified","url":"/issues/110601_PartsDoNotLoadThereRequireModulesOnWorldLoad.xhtml"},"21710":{"type":"S:modified","url":"/draft/NewWorld/Sliders.xhtml"},"21711":{"type":"S:modified","url":"/users/davidorban/start.xhtml"},"21712":{"type":"S:modified","url":"/users/orjan/start.xhtml"},"21713":{"type":"S:modified","url":"/users/Dan/PM/FormLayoutExpt-Final.xhtml"},"21714":{"type":"S:modified","url":"/users/sofia/video.xhtml"},"21715":{"type":"S:modified","url":"/demos/contextjs/PersonExample.xhtml"},"21716":{"type":"S:modified","url":"/users/zeebeedee/start.xhtml"},"21717":{"type":"S:modified","url":"/users/robertkrahn/textRain.xhtml"},"21718":{"type":"S:modified","url":"/users/fbo/databaseForms.xhtml"},"21719":{"type":"S:modified","url":"/draft/NewWorld/DraftUploadPDFs.xhtml"},"21720":{"type":"S:modified","url":"/users/olmeca/olmeca4.xhtml"},"21721":{"type":"S:modified","url":"/users/lauritz/miniprojects/livelyExplorer.xhtml"},"21722":{"type":"S:modified","url":"/documentation/videoTutorials/110421_CreatingVideoTutorials.xhtml"},"21723":{"type":"S:modified","url":"/draft/NewWorld/MartinsObjectDiffInNewWorlds.xhtml"},"21724":{"type":"S:modified","url":"/users/Dan/LineTest.xhtml"},"21725":{"type":"S:modified","url":"/draft/NewWorld/Translator.xhtml"},"21726":{"type":"S:modified","url":"/documentation/Styles.xhtml"},"21727":{"type":"S:modified","url":"/draft/NewWorld/MorphOrigin.xhtml"},"21728":{"type":"S:modified","url":"/screenshots.xhtml"},"21729":{"type":"S:modified","url":"/users/Dan/LiveWeb.xhtml"},"21730":{"type":"S:modified","url":"/demos/AntotherPageWithAClock.xhtml"},"21731":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/halloJens2.xhtml"},"21732":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/improvingTheWebPag.xhtml"},"21733":{"type":"S:modified","url":"/users/fbo/constraintLayoutExample.xhtml"},"21734":{"type":"S:modified","url":"/documentation/TutorialList.xhtml"},"21735":{"type":"S:modified","url":"/draft/NewWorld/MakeEventsTriggerOnCapture.xhtml"},"21736":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/prototype.xhtml"},"21737":{"type":"S:modified","url":"/users/Dan/PM/FormLayoutExpt-bk.xhtml"},"21738":{"type":"S:modified","url":"/users/Dan/QBF.xhtml"},"21739":{"type":"S:modified","url":"/users/tmohr/slides.xhtml"},"21740":{"type":"S:modified","url":"/users/Dan/ButtonTest.xhtml"},"21741":{"type":"S:modified","url":"/users/fbo/textInVbox.xhtml"},"21742":{"type":"S:modified","url":"/users/sofia/externalShapeExample.xhtml"},"21743":{"type":"S:modified","url":"/users/hjust/playground.xhtml"},"21744":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/halloJens.xhtml"},"21745":{"type":"S:modified","url":"/users/tmohr/morphSpecificRendering.xhtml"},"21746":{"type":"S:modified","url":"/users/fbo/dataGrid.xhtml"},"21747":{"type":"S:modified","url":"/issues/111020_HighlightTheTargetOfDropping.xhtml"},"21748":{"type":"S:modified","url":"/users/mzimmerm/help.xhtml"},"21749":{"type":"S:modified","url":"/users/fbo/jqGrid.xhtml"},"21750":{"type":"S:modified","url":"/projects/CodeDB2/contents.xhtml"},"21751":{"type":"S:modified","url":"/demos/PartsBin.xhtml"},"21752":{"type":"S:modified","url":"/users/sofia/martin/empty.xhtml"},"21753":{"type":"S:modified","url":"/users/markoroeder/research/Internship.xhtml"},"21754":{"type":"S:modified","url":"/users/tmohr/NewWorld.xhtml"},"21755":{"type":"S:modified","url":"/users/bert/sandbox.xhtml"},"21756":{"type":"S:modified","url":"/draft/NewWorld/GoogleMaps.xhtml"},"21757":{"type":"S:modified","url":"/demos/contextjs/NewContents.xhtml"},"21758":{"type":"S:modified","url":"/users/fbo/meteora.xhtml"},"21759":{"type":"S:modified","url":"/users/Dan/PM/Forms.xhtml"},"21760":{"type":"S:modified","url":"/issues/draft/NewWorld/CurveDrafting_EmbeddableWorld.xhtml"},"21761":{"type":"S:modified","url":"/projects/LivelyHelping/draftLK2.xhtml"},"21762":{"type":"S:modified","url":"/users/lauritz/miniprojects/objectEditor.xhtml"},"21763":{"type":"S:modified","url":"/users/fbo/blank2.xhtml"},"21764":{"type":"S:modified","url":"/issues/110509_ConnectionsInputsGetStackedUp.xhtml"},"21765":{"type":"S:modified","url":"/draft/NewWorld/SimpleLayout.xhtml"},"21766":{"type":"S:modified","url":"/users/mkilling/iKuh2.xhtml"},"21767":{"type":"S:modified","url":"/users/fbo/profesorControls.xhtml"},"21768":{"type":"S:modified","url":"/documentation/Serialization-Overview.xhtml"},"21769":{"type":"S:modified","url":"/users/sofia/georgi/PropertySheet.xhtml"},"21770":{"type":"S:modified","url":"/users/sofia/martin/1.xhtml"},"21771":{"type":"S:modified","url":"/issues/110828_HaloInfoLabelsWontShowUp.xhtml"},"21772":{"type":"S:modified","url":"/users/sofia/georgi/styles.xhtml"},"21773":{"type":"S:modified","url":"/users/fbo/doc/profesores.xhtml"},"21774":{"type":"S:modified","url":"/users/markoroeder/MorphicProtoVis2.xhtml"},"21775":{"type":"S:modified","url":"/issues/110516_EnterAtTextEndDoesNotAddLineBreak.xhtml"},"21776":{"type":"S:modified","url":"/projects/Lively2/LivelyMap.xhtml"},"21777":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/colorFiel.xhtml"},"21778":{"type":"S:modified","url":"/users/tmohr/slide9.xhtml"},"21779":{"type":"S:modified","url":"/issues/110518_TextAttributesBreakOnPaste.xhtml"},"21780":{"type":"S:modified","url":"/demos/LiveWeb/VisualBindings.xhtml"},"21781":{"type":"S:modified","url":"/documentation/Layout.xhtml"},"21782":{"type":"S:modified","url":"/documentation/repository.xhtml"},"21783":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/DontOverwriteChangedFile.xhtml"},"21784":{"type":"S:modified","url":"/users/Dan/Tests/TextTest.xhtml"},"21785":{"type":"S:modified","url":"/issues/fixed/110412_NewSimpleBrowser.xhtml"},"21786":{"type":"S:modified","url":"/users/fbo/proposedUiFixes.xhtml"},"21787":{"type":"S:modified","url":"/issues/NewTemplate.xhtml"},"21788":{"type":"S:modified","url":"/documentation/SVNOnServer.xhtml"},"21789":{"type":"S:modified","url":"/issues/110524_PartsSerializeTheirWorldsSometimes.xhtml"},"21790":{"type":"S:modified","url":"/users/Dan/PM/May.xhtml"},"21791":{"type":"S:modified","url":"/documentation/ignoreOrDisableEvents.xhtml"},"21792":{"type":"S:modified","url":"/issues/110522_FixSubmorphOrderWhenAddingMorphs.xhtml"},"21793":{"type":"S:modified","url":"/users/Dan/CCbkup.xhtml"},"21794":{"type":"S:modified","url":"/users/Dan/LiveWeb2-bk.xhtml"},"21795":{"type":"S:modified","url":"/issues/110704_DontGrabTextWithJensFancyGrabber.xhtml"},"21796":{"type":"S:modified","url":"/users/lauritz/blank.xhtml"},"21797":{"type":"S:modified","url":"/draft/NewWorld/Dragging.xhtml"},"21798":{"type":"S:modified","url":"/users/lauritz/personal/todo.xhtml"},"21799":{"type":"S:modified","url":"/users/fbo/flexigrid.xhtml"},"21800":{"type":"S:modified","url":"/draft/NewWorld/LatestFileChangeViewer.xhtml"},"21801":{"type":"S:modified","url":"/issues/fixed/110729_QucikBrownFoxBackspaceBug.xhtml"},"21802":{"type":"S:modified","url":"/users/lauritz/miniprojects/elProfesorWerkstatt.xhtml"},"21803":{"type":"S:modified","url":"/documentation/VisualBindings.xhtml"},"21804":{"type":"S:modified","url":"/users/robertkrahn/notexisting.xhtml"},"21805":{"type":"S:modified","url":"/draft/NewWorld/TreeMap.xhtml"},"21806":{"type":"S:modified","url":"/draft/NewWorld/Empty.xhtml"},"21807":{"type":"S:modified","url":"/users/Dan/QBF2B.xhtml"},"21808":{"type":"S:modified","url":"/issues/111019_MergingVersionsOfAnObject.xhtml"},"21809":{"type":"S:modified","url":"/issues/110619_SerializingMorphsThatAreNotInTheSceneGraphGivesStrangeErrors.xhtml"},"21810":{"type":"S:modified","url":"/users/lauritz/test.xhtml"},"21811":{"type":"S:modified","url":"/users/tilman.giese/start.xhtml"},"21812":{"type":"S:modified","url":"/users/tmohr/slide4.xhtml"},"21813":{"type":"S:modified","url":"/sandbox/PartsBin.xhtml"},"21814":{"type":"S:modified","url":"/users/markoroeder/DraftObjectExplorer.xhtml"},"21815":{"type":"S:modified","url":"/demos/WhereArePeopleFrom2.xhtml"},"21816":{"type":"S:modified","url":"/projects/CodeDB2/SVN2CodeDB.xhtml"},"21817":{"type":"S:modified","url":"/users/fbo/sqliteQueryServer.xhtml"},"21818":{"type":"S:modified","url":"/issues/fixed/110513_ScrollingWhenSearching.xhtml"},"21819":{"type":"S:modified","url":"/users/lauritz/miniprojects/bugFixing/referencedTextBug.xhtml"},"21820":{"type":"S:modified","url":"/issues/fixed/111020_ScrollingInScripteditorIsBroken.xhtml"},"21821":{"type":"S:modified","url":"/issues/110513_FindMethodsShouldSearchInClassMethodsAndObjects.xhtml"},"21822":{"type":"S:modified","url":"/draft/NewWorld/NewTestWidgetAgain.xhtml"},"21823":{"type":"S:modified","url":"/users/Dan/DansSlideOverview.xhtml"},"21824":{"type":"S:modified","url":"/users/fbo/exportCore.xhtml"},"21825":{"type":"S:modified","url":"/users/olmeca/olmeca.xhtml"},"21826":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/firstWorld.xhtml"},"21827":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/SearchSourceCodeWidge.xhtml"},"21828":{"type":"S:modified","url":"/users/Dan/CircleTest.xhtml"},"21829":{"type":"S:modified","url":"/users/Dan/Tests/SerializationTest2.xhtml"},"21830":{"type":"S:modified","url":"/users/fbo/sandbox.xhtml"},"21831":{"type":"S:modified","url":"/issues/110728_BackspaceTriggersBrowserBack.xhtml"},"21832":{"type":"S:modified","url":"/users/markoroeder/empty.xhtml"},"21833":{"type":"S:modified","url":"/draft/NewWorld/DropStyles.xhtml"},"21834":{"type":"S:modified","url":"/issues/fixed/110513_MakeSyntaxHighlightingWorkInNewWorld.xhtml"},"21835":{"type":"S:modified","url":"/users/MrSteve/lorenzo.start.xhtml"},"21836":{"type":"S:modified","url":"/users/Dan/PM/LiveWeb.xhtml"},"21837":{"type":"S:modified","url":"/users/Dan/PM/FormLayoutExpt-start.xhtml"},"21838":{"type":"S:modified","url":"/draft/NewWorld/ScriptEditor.xhtml"},"21839":{"type":"S:modified","url":"/users/mzimmerm/test-build-simple-webapp.xhtml"},"21840":{"type":"S:modified","url":"/issues/110628_SettingTetAttributesDoesNotAlwaysWork.xhtml"},"21841":{"type":"S:modified","url":"/users/lauritz/miniprojects/spiel.xhtml"},"21842":{"type":"S:modified","url":"/users/robertkrahn/DraftPresentation.xhtml"},"21843":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/layouting.xhtml"},"21844":{"type":"S:modified","url":"/users/Dan/Tests/SerializationTest.xhtml"},"21845":{"type":"S:modified","url":"/users/lauritz/miniprojects/spikes/connectedExplorer.xhtml"},"21846":{"type":"S:modified","url":"/users/fbo/nodejsServerDevelopment.xhtml"},"21847":{"type":"S:modified","url":"/draft/NewWorld/QBFForPartsBin.xhtml"},"21848":{"type":"S:modified","url":"/issues/fixed/110628_CommandAndCurlyBracketGoesBackInBrowserHistory.xhtml"},"21849":{"type":"S:modified","url":"/users/lauritz/miniprojects/connections.xhtml"},"21850":{"type":"S:modified","url":"/users/ahold/start.xhtml"},"21851":{"type":"S:modified","url":"/users/markus/FileBrowser.xhtml"},"21852":{"type":"S:modified","url":"/demos/LiveWeb/CPUVisualizationFinal.xhtml"},"21853":{"type":"S:modified","url":"/users/fbo/jsUiWidgetLibResearch.xhtml"},"21854":{"type":"S:modified","url":"/users/fbo/constraintLayout.xhtml"},"21855":{"type":"S:modified","url":"/users/Dan/Tests/LineTest.xhtml"},"21856":{"type":"S:modified","url":"/sandbox/sandbox.xhtml"},"21857":{"type":"S:modified","url":"/users/fbo/versionControl.xhtml"},"21858":{"type":"S:modified","url":"/draft/NewWorld/CreateDirWhenSaving.xhtml"},"21859":{"type":"S:modified","url":"/demos/Lively2.xhtml"},"21860":{"type":"S:modified","url":"/users/fbo/userIsolationAndGit.xhtml"},"21861":{"type":"S:modified","url":"/draft/NewWorld/KeyboardFocusForMorphs.xhtml"},"21862":{"type":"S:modified","url":"/users/fbo/dwarfcassowaryExample2.xhtml"},"21863":{"type":"S:modified","url":"/users/oudenampsen/start.xhtml"},"21864":{"type":"S:modified","url":"/issues/110517_VlayoutShouldGrowAndShrink.xhtml"},"21865":{"type":"S:modified","url":"/users/fbo/dwarfcassowaryExample.xhtml"},"21866":{"type":"S:modified","url":"/users/tmohr/ace.xhtml"},"21867":{"type":"S:modified","url":"/users/fbo/empty2.xhtml"},"21868":{"type":"S:modified","url":"/users/martin/Workspace.xhtml"},"21869":{"type":"S:modified","url":"/users/Dan/Bug-List.xhtml"},"21870":{"type":"S:modified","url":"/users/Dan/QuickBrownFoxx.xhtml"},"21871":{"type":"S:modified","url":"/demos/LiveWeb/ServerScripting.xhtml"},"21872":{"type":"S:modified","url":"/demos/contextjs/WordCompletion.xhtml"},"21873":{"type":"S:modified","url":"/issues/110715_PartModuleRequirementsAreNotLoadedOnWorldLoad.xhtml"},"21874":{"type":"S:modified","url":"/users/fbo/fabiansTickets.xhtml"},"21875":{"type":"S:modified","url":"/issues/111020_ViewOfTextFieldsAfterSaving.xhtml"},"21876":{"type":"S:modified","url":"/users/martin/Template.xhtml"},"21877":{"type":"S:modified","url":"/projects/CodeDB2/Testing.xhtml"},"21878":{"type":"S:modified","url":"/users/keith/MySetup.xhtml"},"21879":{"type":"S:modified","url":"/users/fbo/noGrabLayer.xhtml"},"21880":{"type":"S:modified","url":"/demos/CPUVisualization.xhtml"},"21881":{"type":"S:modified","url":"/users/sofia/georgi/trac-report.xhtml"},"21882":{"type":"S:modified","url":"/users/fbo/HtmlWrapperMorph.xhtml"},"21883":{"type":"S:modified","url":"/users/sofia/documentation_afterLunch.xhtml"},"21884":{"type":"S:modified","url":"/demos/contextjs/Empty.xhtml"},"21885":{"type":"S:modified","url":"/users/fbo/setExtent.xhtml"},"21886":{"type":"S:modified","url":"/users/sofia/martin/2.xhtml"},"21887":{"type":"S:modified","url":"/users/markoroeder/DropboxUpload.xhtml"},"21888":{"type":"S:modified","url":"/users/fbo/newMouseDownLayer.xhtml"},"21889":{"type":"S:modified","url":"/issues/fixed/110914_StraightLineIssue.xhtml"},"21890":{"type":"S:modified","url":"/users/cschuster/debugging.xhtml"},"21891":{"type":"S:modified","url":"/users/sofia/prototVisPrototype.xhtml"},"21892":{"type":"S:modified","url":"/draft/NewWorld/DraggingAndGrabbing.xhtml"},"21893":{"type":"S:modified","url":"/users/lauritz/miniprojects/annotationPart.xhtml"},"21894":{"rev":111628,"author":"fbo","date":{"__isSmartRef__":true,"id":21895},"url":{"__isSmartRef__":true,"id":21896},"changes":[{"__isSmartRef__":true,"id":21897},{"__isSmartRef__":true,"id":21898}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21895":{"isSerializedDate":true,"string":"Wed Oct 26 2011 22:42:15 GMT+0200 (CEST)"},"21896":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/kernel/PartsBin","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21897":{"type":"S:deleted","url":null},"21898":{"type":"S:added","url":null},"21899":{"rev":111543,"author":"lauritz","date":{"__isSmartRef__":true,"id":21900},"url":{"__isSmartRef__":true,"id":21901},"changes":[{"__isSmartRef__":true,"id":21902}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21900":{"isSerializedDate":true,"string":"Tue Oct 25 2011 20:36:42 GMT+0200 (CEST)"},"21901":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21902":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"21903":{"rev":111515,"author":"lauritz","date":{"__isSmartRef__":true,"id":21904},"url":{"__isSmartRef__":true,"id":21905},"changes":[{"__isSmartRef__":true,"id":21906}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21904":{"isSerializedDate":true,"string":"Tue Oct 25 2011 18:22:42 GMT+0200 (CEST)"},"21905":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21906":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"21907":{"rev":111485,"author":"lauritz","date":{"__isSmartRef__":true,"id":21908},"url":{"__isSmartRef__":true,"id":21909},"changes":[{"__isSmartRef__":true,"id":21910}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21908":{"isSerializedDate":true,"string":"Tue Oct 25 2011 17:24:56 GMT+0200 (CEST)"},"21909":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21910":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"21911":{"rev":109031,"author":"lauritz","date":{"__isSmartRef__":true,"id":21912},"url":{"__isSmartRef__":true,"id":21913},"changes":[{"__isSmartRef__":true,"id":21914}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21912":{"isSerializedDate":true,"string":"Fri Oct 14 2011 22:36:58 GMT+0200 (CEST)"},"21913":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21914":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"21915":{"rev":106358,"author":"lauritz","date":{"__isSmartRef__":true,"id":21916},"url":{"__isSmartRef__":true,"id":21917},"changes":[{"__isSmartRef__":true,"id":21918}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21916":{"isSerializedDate":true,"string":"Mon Sep 26 2011 23:28:16 GMT+0200 (CEST)"},"21917":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21918":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"21919":{"rev":106336,"author":"lauritz","date":{"__isSmartRef__":true,"id":21920},"url":{"__isSmartRef__":true,"id":21921},"changes":[{"__isSmartRef__":true,"id":21922}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21920":{"isSerializedDate":true,"string":"Mon Sep 26 2011 22:26:28 GMT+0200 (CEST)"},"21921":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21922":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"21923":{"rev":106265,"author":"lauritz","date":{"__isSmartRef__":true,"id":21924},"url":{"__isSmartRef__":true,"id":21925},"changes":[{"__isSmartRef__":true,"id":21926}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21924":{"isSerializedDate":true,"string":"Mon Sep 26 2011 18:24:42 GMT+0200 (CEST)"},"21925":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21926":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"21927":{"rev":106005,"author":"jenslincke","date":{"__isSmartRef__":true,"id":21928},"url":{"__isSmartRef__":true,"id":21929},"changes":[{"__isSmartRef__":true,"id":21930}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21928":{"isSerializedDate":true,"string":"Fri Sep 23 2011 11:59:29 GMT+0200 (CEST)"},"21929":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21930":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"21931":{"rev":106002,"author":"jenslincke","date":{"__isSmartRef__":true,"id":21932},"url":{"__isSmartRef__":true,"id":21933},"changes":[{"__isSmartRef__":true,"id":21934}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21932":{"isSerializedDate":true,"string":"Fri Sep 23 2011 11:58:10 GMT+0200 (CEST)"},"21933":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21934":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"21935":{"rev":105999,"author":"jenslincke","date":{"__isSmartRef__":true,"id":21936},"url":{"__isSmartRef__":true,"id":21937},"changes":[{"__isSmartRef__":true,"id":21938}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21936":{"isSerializedDate":true,"string":"Fri Sep 23 2011 11:57:20 GMT+0200 (CEST)"},"21937":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21938":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"21939":{"rev":105518,"author":"lauritz","date":{"__isSmartRef__":true,"id":21940},"url":{"__isSmartRef__":true,"id":21941},"changes":[{"__isSmartRef__":true,"id":21942}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21940":{"isSerializedDate":true,"string":"Wed Sep 21 2011 20:41:23 GMT+0200 (CEST)"},"21941":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21942":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"21943":{"rev":105517,"author":"lauritz","date":{"__isSmartRef__":true,"id":21944},"url":{"__isSmartRef__":true,"id":21945},"changes":[{"__isSmartRef__":true,"id":21946}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21944":{"isSerializedDate":true,"string":"Wed Sep 21 2011 20:40:24 GMT+0200 (CEST)"},"21945":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21946":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"21947":{"rev":105514,"author":"lauritz","date":{"__isSmartRef__":true,"id":21948},"url":{"__isSmartRef__":true,"id":21949},"changes":[{"__isSmartRef__":true,"id":21950}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21948":{"isSerializedDate":true,"string":"Wed Sep 21 2011 20:40:12 GMT+0200 (CEST)"},"21949":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21950":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"21951":{"rev":105500,"author":"lauritz","date":{"__isSmartRef__":true,"id":21952},"url":{"__isSmartRef__":true,"id":21953},"changes":[{"__isSmartRef__":true,"id":21954}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21952":{"isSerializedDate":true,"string":"Wed Sep 21 2011 18:07:18 GMT+0200 (CEST)"},"21953":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21954":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"21955":{"rev":105496,"author":"lauritz","date":{"__isSmartRef__":true,"id":21956},"url":{"__isSmartRef__":true,"id":21957},"changes":[{"__isSmartRef__":true,"id":21958}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21956":{"isSerializedDate":true,"string":"Wed Sep 21 2011 17:43:21 GMT+0200 (CEST)"},"21957":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21958":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"21959":{"rev":105492,"author":"lauritz","date":{"__isSmartRef__":true,"id":21960},"url":{"__isSmartRef__":true,"id":21961},"changes":[{"__isSmartRef__":true,"id":21962}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21960":{"isSerializedDate":true,"string":"Wed Sep 21 2011 17:33:40 GMT+0200 (CEST)"},"21961":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21962":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"21963":{"rev":105487,"author":"lauritz","date":{"__isSmartRef__":true,"id":21964},"url":{"__isSmartRef__":true,"id":21965},"changes":[{"__isSmartRef__":true,"id":21966}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21964":{"isSerializedDate":true,"string":"Wed Sep 21 2011 17:14:08 GMT+0200 (CEST)"},"21965":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21966":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"21967":{"rev":105426,"author":"lauritz","date":{"__isSmartRef__":true,"id":21968},"url":{"__isSmartRef__":true,"id":21969},"changes":[{"__isSmartRef__":true,"id":21970}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21968":{"isSerializedDate":true,"string":"Tue Sep 20 2011 23:58:48 GMT+0200 (CEST)"},"21969":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21970":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"21971":{"rev":105419,"author":"lauritz","date":{"__isSmartRef__":true,"id":21972},"url":{"__isSmartRef__":true,"id":21973},"changes":[{"__isSmartRef__":true,"id":21974}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21972":{"isSerializedDate":true,"string":"Tue Sep 20 2011 23:55:54 GMT+0200 (CEST)"},"21973":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21974":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"21975":{"rev":105414,"author":"lauritz","date":{"__isSmartRef__":true,"id":21976},"url":{"__isSmartRef__":true,"id":21977},"changes":[{"__isSmartRef__":true,"id":21978}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21976":{"isSerializedDate":true,"string":"Tue Sep 20 2011 23:52:11 GMT+0200 (CEST)"},"21977":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21978":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"21979":{"rev":105398,"author":"lauritz","date":{"__isSmartRef__":true,"id":21980},"url":{"__isSmartRef__":true,"id":21981},"changes":[{"__isSmartRef__":true,"id":21982}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21980":{"isSerializedDate":true,"string":"Tue Sep 20 2011 23:40:37 GMT+0200 (CEST)"},"21981":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21982":{"type":"S:added","url":null},"21983":{"rev":105396,"author":"lauritz","date":{"__isSmartRef__":true,"id":21984},"url":{"__isSmartRef__":true,"id":21985},"changes":[{"__isSmartRef__":true,"id":21986}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"21984":{"isSerializedDate":true,"string":"Tue Sep 20 2011 23:38:53 GMT+0200 (CEST)"},"21985":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Basic/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"21986":{"type":"S:added","url":null},"21987":{"partsSpaceName":"PartsBin/Tools","name":"ObjectEditor","json":"{\"id\":0,\"registry\":{\"0\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1},{\"__isSmartRef__\":true,\"id\":1670},{\"__isSmartRef__\":true,\"id\":1710}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1861},\"id\":\"E57F1D4E-AE08-4CAA-A62D-4E69FC0BFF47\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1866},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1867},\"droppingEnabled\":true,\"halosEnabled\":true,\"__layered_draggingEnabled__\":true,\"layout\":{\"__isSmartRef__\":true,\"id\":1868},\"LK2\":true,\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1869},\"targetMorph\":{\"__isSmartRef__\":true,\"id\":1},\"titleBar\":{\"__isSmartRef__\":true,\"id\":1710},\"contentOffset\":{\"__isSmartRef__\":true,\"id\":1870},\"collapsedTransform\":{\"__isSmartRef__\":true,\"id\":1871},\"collapsedExtent\":{\"__isSmartRef__\":true,\"id\":1872},\"expandedTransform\":{\"__isSmartRef__\":true,\"id\":1873},\"expandedExtent\":{\"__isSmartRef__\":true,\"id\":1874},\"ignoreEventsOnExpand\":false,\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1875},\"name\":\"ObjectEditor\",\"prevDragPos\":{\"__isSmartRef__\":true,\"id\":1976},\"highlighted\":false,\"cameForward\":false,\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"expandedPosition\":{\"__isSmartRef__\":true,\"id\":1977},\"state\":\"expanded\",\"collapsedPosition\":{\"__isSmartRef__\":true,\"id\":1978},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"isBeingDragged\":false,\"prevScroll\":[0,0],\"minSize\":{\"__isSmartRef__\":true,\"id\":1979},\"minExtent\":{\"__isSmartRef__\":true,\"id\":1980},\"isCopyMorphRef\":true,\"morphRefId\":16,\"derivationIds\":[205,\"2951753B-EB95-4093-A0DD-249E83AC2204\",\"A32DE788-E06D-492C-B2E6-19C3710B5AE0\",\"96D56291-98FB-42C4-A247-0A20B4183B14\",\"1E6BCC46-3FE3-4950-AE50-9751458F7E18\",\"22248328-5B04-4E39-ADDE-460C107C790F\",\"2F4F6161-9F4C-469E-AF56-24765FF03B72\",\"88EF08D5-C1E7-4B5B-B393-FFF5921009D7\",\"FF731ED6-5217-4053-9B85-77F1BF344BF3\",\"496332F8-A328-4625-A7D5-0DCE90C3D2AE\"],\"_Position\":{\"__isSmartRef__\":true,\"id\":1981},\"moved\":true,\"_ClipMode\":\"visible\",\"_Rotation\":0,\"_Scale\":1.008036120330794,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":1982},\"__LivelyClassName__\":\"lively.morphic.Window\",\"withoutLayers\":[\"Global.lively.morphic.GrabbingLayer\"]},\"1\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":2},{\"__isSmartRef__\":true,\"id\":856},{\"__isSmartRef__\":true,\"id\":638},{\"__isSmartRef__\":true,\"id\":871},{\"__isSmartRef__\":true,\"id\":887},{\"__isSmartRef__\":true,\"id\":938},{\"__isSmartRef__\":true,\"id\":988},{\"__isSmartRef__\":true,\"id\":1044},{\"__isSmartRef__\":true,\"id\":497},{\"__isSmartRef__\":true,\"id\":514},{\"__isSmartRef__\":true,\"id\":1099},{\"__isSmartRef__\":true,\"id\":1218},{\"__isSmartRef__\":true,\"id\":1233},{\"__isSmartRef__\":true,\"id\":1248},{\"__isSmartRef__\":true,\"id\":1332},{\"__isSmartRef__\":true,\"id\":1416},{\"__isSmartRef__\":true,\"id\":1500}],\"scripts\":[],\"id\":\"88F702A6-6067-4160-8561-54FAD27ADB17\",\"shape\":{\"__isSmartRef__\":true,\"id\":1548},\"droppingEnabled\":true,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"showsHalos\":false,\"name\":\"ObjectEditorPane\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1555},\"__SourceModuleName__\":\"Global.lively.morphic.Core\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1558},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1559},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1560},\"layout\":{\"__isSmartRef__\":true,\"id\":1561},\"target\":null,\"scriptPane\":{\"__isSmartRef__\":true,\"id\":497},\"scriptList\":{\"__isSmartRef__\":true,\"id\":2},\"connectionList\":{\"__isSmartRef__\":true,\"id\":638},\"morphSelector\":{\"__isSmartRef__\":true,\"id\":1099},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"changeIndicator\":{\"__isSmartRef__\":true,\"id\":514},\"isBeingDragged\":false,\"prevScroll\":[0,0],\"grabbingEnabled\":false,\"draggingEnabled\":false,\"currentCategory\":null,\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1562},\"tagChooser\":{\"__isSmartRef__\":true,\"id\":1248},\"currentTag\":null,\"derivationIds\":[206,\"3BDE080D-3D60-4BB9-A690-E6001350F596\",\"00E28CBF-E803-4BC0-93CC-651AC21008A5\",\"1B7E7936-0145-47E4-8433-DFE58134E74B\",\"422B98E3-E52B-4057-9C28-865873682DE1\",\"BCDE8D30-ECC2-4883-9587-2518B6822233\",\"BA6D5198-5AC2-4A63-9597-D4CF98A99CA9\",\"17E22972-5EBC-4511-9779-05E9E665D899\",\"C6F34039-F423-4223-8D6A-85611A138372\",\"7EC3BECE-1BDA-471D-B14C-C4FB822AA55C\"],\"_Position\":{\"__isSmartRef__\":true,\"id\":1563},\"owner\":{\"__isSmartRef__\":true,\"id\":0},\"partTests\":{\"__isSmartRef__\":true,\"id\":1564},\"_ClipMode\":\"visible\",\"_Rotation\":0,\"_Scale\":1,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":1565},\"__LivelyClassName__\":\"lively.morphic.Box\"},\"2\":{\"submorphs\":[],\"scripts\":[],\"id\":\"69BB0838-2830-4831-A681-185E03308396\",\"shape\":{\"__isSmartRef__\":true,\"id\":3},\"droppingEnabled\":true,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":10},\"itemList\":[],\"selectedLineNo\":0,\"showsHalos\":false,\"name\":\"ObjectEditorScriptList\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":11},\"__SourceModuleName__\":\"Global.lively.morphic.Core\",\"_ClipMode\":\"auto\",\"owner\":{\"__isSmartRef__\":true,\"id\":1},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":12},\"prevScroll\":[0,0],\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":13}],\"doNotSerialize\":[\"$$selection\"],\"doNotCopyProperties\":[\"$$selection\"],\"layout\":{\"__isSmartRef__\":true,\"id\":18},\"doitContext\":{\"__isSmartRef__\":true,\"id\":19},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":845},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":846},\"_FontSize\":10,\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":847},\"isBeingDragged\":false,\"grabbingEnabled\":false,\"draggingEnabled\":false,\"isCopyMorphRef\":true,\"morphRefId\":17,\"currentCategory\":null,\"derivationIds\":[207,\"D87334B5-DFB8-438D-8038-D2C55A798E3B\",\"4242A24B-D284-4130-BB19-C1AB8C7E96CB\",\"1F2230C1-4745-4EED-8827-5D3FC0EA8D8A\",\"1260A8AA-AD41-451A-A761-BE75A33282E8\",\"11AABB24-1595-4EDC-95DF-8BC66785F47A\",\"CA99FFE7-13DD-4721-8DE2-6A587B0C65D9\",\"E01A3DAA-0001-4C7C-A6A7-449C3945A3E6\",\"8C3C70BF-E1CE-4FB9-8407-24EA990D4E49\",\"D70897C1-82FA-42AD-9D81-A0698E9072CC\"],\"selection\":null,\"_Rotation\":0,\"_Scale\":1,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":848},\"__LivelyClassName__\":\"lively.morphic.List\"},\"3\":{\"position\":{\"__isSmartRef__\":true,\"id\":4},\"_Extent\":{\"__isSmartRef__\":true,\"id\":5},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":6},\"_Fill\":{\"__isSmartRef__\":true,\"id\":7},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_BorderRadius\":0,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":8},\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":9},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"4\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"5\":{\"x\":180,\"y\":337.61253261443596,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"6\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"7\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"8\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"9\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"10\":{\"x\":10,\"y\":63.027958027992966,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"11\":{\"partsSpaceName\":\"PartsBin/NewWorld\",\"migrationLevel\":2,\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"12\":{\"x\":180,\"y\":338.61253261443596,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"13\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":2},\"sourceAttrName\":\"selection\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1},\"targetMethodName\":\"displaySourceForScript\",\"converterString\":\"function (value) {\\n return (value === '-- ALL --') ? null : value;\\n}\",\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":14},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":15},\"__LivelyClassName__\":\"AttributeConnection\"},\"14\":{\"source\":{\"__isSmartRef__\":true,\"id\":2},\"target\":{\"__isSmartRef__\":true,\"id\":1}},\"15\":{\"converter\":{\"__isSmartRef__\":true,\"id\":16}},\"16\":{\"originalFunc\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":14},\"source\":\"function (value) {\\n return (value === '-- ALL --') ? null : value;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":17},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"17\":{},\"18\":{\"resizeHeight\":true},\"19\":{\"submorphs\":[],\"scripts\":[],\"id\":836,\"shape\":{\"__isSmartRef__\":true,\"id\":20},\"droppingEnabled\":true,\"halosEnabled\":true,\"__layered_draggingEnabled__\":true,\"layout\":{\"__isSmartRef__\":true,\"id\":25},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":26},\"titleBar\":{\"__isSmartRef__\":true,\"id\":27},\"contentOffset\":{\"__isSmartRef__\":true,\"id\":168},\"collapsedTransform\":null,\"collapsedExtent\":null,\"expandedTransform\":{\"__isSmartRef__\":true,\"id\":169},\"expandedExtent\":{\"__isSmartRef__\":true,\"id\":170},\"highlighted\":true,\"_Rotation\":0,\"_Scale\":1,\"prevDragPos\":{\"__isSmartRef__\":true,\"id\":171},\"showsHalos\":false,\"name\":\"ObjectEditor\",\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"target\":{\"__isSmartRef__\":true,\"id\":172},\"expandedPosition\":{\"__isSmartRef__\":true,\"id\":495},\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":496},\"scriptList\":{\"__isSmartRef__\":true,\"id\":2},\"scriptPane\":{\"__isSmartRef__\":true,\"id\":497},\"classButton\":{\"__isSmartRef__\":true,\"id\":593},\"connectionList\":{\"__isSmartRef__\":true,\"id\":638},\"targetButton\":{\"__isSmartRef__\":true,\"id\":663},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":706},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_Position\":{\"__isSmartRef__\":true,\"id\":707},\"morphSelector\":{\"__isSmartRef__\":true,\"id\":708},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":792},\"cameForward\":false,\"isCopyMorphRef\":true,\"morphRefId\":1,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":793},\"__LivelyClassName__\":\"lively.morphic.Window\",\"withoutLayers\":[\"Global.lively.morphic.GrabbingLayer\"]},\"20\":{\"_BorderWidth\":1,\"_Fill\":{\"__isSmartRef__\":true,\"id\":21},\"_StrokeOpacity\":0,\"_BorderRadius\":9.25,\"_Extent\":{\"__isSmartRef__\":true,\"id\":22},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":23},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":24},\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"21\":{\"r\":1,\"g\":1,\"b\":1,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"22\":{\"x\":981,\"y\":585.2,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"23\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"24\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"25\":{\"adjustForNewBounds\":true},\"26\":{\"x\":981,\"y\":585.2,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"27\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":28},{\"__isSmartRef__\":true,\"id\":41},{\"__isSmartRef__\":true,\"id\":85},{\"__isSmartRef__\":true,\"id\":117}],\"scripts\":[],\"id\":837,\"shape\":{\"__isSmartRef__\":true,\"id\":150},\"droppingEnabled\":true,\"halosEnabled\":true,\"layout\":{\"__isSmartRef__\":true,\"id\":163},\"_Position\":{\"__isSmartRef__\":true,\"id\":164},\"eventsAreIgnored\":true,\"windowMorph\":{\"__isSmartRef__\":true,\"id\":19},\"label\":{\"__isSmartRef__\":true,\"id\":28},\"closeButton\":{\"__isSmartRef__\":true,\"id\":41},\"menuButton\":{\"__isSmartRef__\":true,\"id\":85},\"collapseButton\":{\"__isSmartRef__\":true,\"id\":117},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":165},\"owner\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"name\":\"ObjectEditorTitleBar\",\"_Scale\":1,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":166},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":167},\"__LivelyClassName__\":\"lively.morphic.TitleBar\"},\"28\":{\"submorphs\":[],\"scripts\":[],\"id\":838,\"shape\":{\"__isSmartRef__\":true,\"id\":29},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Padding\":{\"__isSmartRef__\":true,\"id\":34},\"_ClipMode\":\"hidden\",\"fixedWidth\":false,\"_WhiteSpaceHandling\":\"pre\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_Position\":{\"__isSmartRef__\":true,\"id\":35},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":36},\"_MaxTextWidth\":null,\"_MaxTextHeight\":17,\"textChunks\":[{\"__isSmartRef__\":true,\"id\":37}],\"evalEnabled\":false,\"isLabel\":true,\"eventsAreIgnored\":true,\"_FontSize\":10,\"_Align\":\"center\",\"owner\":{\"__isSmartRef__\":true,\"id\":27},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"_Scale\":1,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":39},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":40},\"_HandStyle\":\"default\",\"_PointerEvents\":\"none\",\"__LivelyClassName__\":\"lively.morphic.Text\"},\"29\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":30},\"_Extent\":{\"__isSmartRef__\":true,\"id\":31},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":32},\"_Fill\":null,\"_BorderRadius\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":33},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"30\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"31\":{\"x\":921.9776803724167,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"32\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"33\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"34\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"35\":{\"x\":20,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"36\":{\"x\":921.9776803724167,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"37\":{\"style\":{\"__isSmartRef__\":true,\"id\":38},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":28},\"storedString\":\"\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"38\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"39\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"40\":{\"morph\":{\"__isSmartRef__\":true,\"id\":28},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"41\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":42}],\"scripts\":[],\"id\":839,\"shape\":{\"__isSmartRef__\":true,\"id\":54},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":69},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":70},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":58},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":71},\"label\":{\"__isSmartRef__\":true,\"id\":42},\"owner\":{\"__isSmartRef__\":true,\"id\":27},\"layout\":{\"__isSmartRef__\":true,\"id\":80},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":81},{\"__isSmartRef__\":true,\"id\":82}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"_Scale\":1,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":83},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":84},\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"42\":{\"submorphs\":[],\"scripts\":[],\"id\":840,\"shape\":{\"__isSmartRef__\":true,\"id\":43},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Padding\":{\"__isSmartRef__\":true,\"id\":47},\"_ClipMode\":\"hidden\",\"fixedWidth\":false,\"_WhiteSpaceHandling\":\"pre\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_Position\":{\"__isSmartRef__\":true,\"id\":48},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":49},\"_MaxTextWidth\":null,\"_MaxTextHeight\":17,\"textChunks\":[{\"__isSmartRef__\":true,\"id\":50}],\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":41},\"isLabel\":true,\"eventsAreIgnored\":true,\"_FontSize\":8,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"_Scale\":1,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":52},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":53},\"_HandStyle\":\"default\",\"_PointerEvents\":\"none\",\"__LivelyClassName__\":\"lively.morphic.Text\"},\"43\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":44},\"_Extent\":{\"__isSmartRef__\":true,\"id\":45},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":32},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":46},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"44\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"45\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"46\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"47\":{\"x\":5,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"48\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"49\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"50\":{\"style\":{\"__isSmartRef__\":true,\"id\":51},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":42},\"storedString\":\"\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"51\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"52\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"53\":{\"morph\":{\"__isSmartRef__\":true,\"id\":42},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"54\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":55},\"_Extent\":{\"__isSmartRef__\":true,\"id\":56},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":57},\"_Fill\":{\"__isSmartRef__\":true,\"id\":58},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":68},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"55\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"56\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"57\":{\"r\":0.7411764705882353,\"g\":0.7450980392156863,\"b\":0.7529411764705882,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"58\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":59},{\"__isSmartRef__\":true,\"id\":61},{\"__isSmartRef__\":true,\"id\":63},{\"__isSmartRef__\":true,\"id\":65}],\"vector\":{\"__isSmartRef__\":true,\"id\":67},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"59\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":60}},\"60\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"61\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":62}},\"62\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"63\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":64}},\"64\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"65\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":66}},\"66\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"67\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"68\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"69\":{\"x\":960.9776803724167,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"70\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"71\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":72},{\"__isSmartRef__\":true,\"id\":74},{\"__isSmartRef__\":true,\"id\":76},{\"__isSmartRef__\":true,\"id\":78}],\"vector\":{\"__isSmartRef__\":true,\"id\":67},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"72\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":73}},\"73\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"74\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":75}},\"75\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"76\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":77}},\"77\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"78\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":79}},\"79\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"80\":{\"moveHorizontal\":true},\"81\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":41},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":19},\"targetMethodName\":\"getCloseHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"82\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":41},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":19},\"targetMethodName\":\"initiateShutdown\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"83\":{\"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\"},\"84\":{\"morph\":{\"__isSmartRef__\":true,\"id\":41},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"85\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":86}],\"scripts\":[],\"id\":841,\"shape\":{\"__isSmartRef__\":true,\"id\":98},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":102},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":103},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":58},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":104},\"label\":{\"__isSmartRef__\":true,\"id\":86},\"owner\":{\"__isSmartRef__\":true,\"id\":27},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":113},{\"__isSmartRef__\":true,\"id\":114}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"showsHalos\":false,\"_Scale\":1,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":115},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":116},\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"86\":{\"submorphs\":[],\"scripts\":[],\"id\":842,\"shape\":{\"__isSmartRef__\":true,\"id\":87},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Padding\":{\"__isSmartRef__\":true,\"id\":91},\"_ClipMode\":\"hidden\",\"fixedWidth\":false,\"_WhiteSpaceHandling\":\"pre\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_Position\":{\"__isSmartRef__\":true,\"id\":92},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":93},\"_MaxTextWidth\":null,\"_MaxTextHeight\":17,\"textChunks\":[{\"__isSmartRef__\":true,\"id\":94}],\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":85},\"isLabel\":true,\"eventsAreIgnored\":true,\"_FontSize\":8,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"_Scale\":1,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":96},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":97},\"_HandStyle\":\"default\",\"_PointerEvents\":\"none\",\"__LivelyClassName__\":\"lively.morphic.Text\"},\"87\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":88},\"_Extent\":{\"__isSmartRef__\":true,\"id\":89},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":32},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":90},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"88\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"89\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"90\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"91\":{\"x\":5,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"92\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"93\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"94\":{\"style\":{\"__isSmartRef__\":true,\"id\":95},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":86},\"storedString\":\"\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"95\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"96\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"97\":{\"morph\":{\"__isSmartRef__\":true,\"id\":86},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"98\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":99},\"_Extent\":{\"__isSmartRef__\":true,\"id\":100},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":57},\"_Fill\":{\"__isSmartRef__\":true,\"id\":58},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":101},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"99\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"100\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"101\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"102\":{\"x\":3,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"103\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"104\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":105},{\"__isSmartRef__\":true,\"id\":107},{\"__isSmartRef__\":true,\"id\":109},{\"__isSmartRef__\":true,\"id\":111}],\"vector\":{\"__isSmartRef__\":true,\"id\":67},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"105\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":106}},\"106\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"107\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":108}},\"108\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"109\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":110}},\"110\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"111\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":112}},\"112\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"113\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":85},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":19},\"targetMethodName\":\"getMenuHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"114\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":85},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":19},\"targetMethodName\":\"showTargetMorphMenu\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"115\":{\"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\"},\"116\":{\"morph\":{\"__isSmartRef__\":true,\"id\":85},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"117\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":118}],\"scripts\":[],\"id\":843,\"shape\":{\"__isSmartRef__\":true,\"id\":130},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":134},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":135},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":58},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":136},\"label\":{\"__isSmartRef__\":true,\"id\":118},\"owner\":{\"__isSmartRef__\":true,\"id\":27},\"layout\":{\"__isSmartRef__\":true,\"id\":145},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":146},{\"__isSmartRef__\":true,\"id\":147}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"_Scale\":1,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":148},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":149},\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"118\":{\"submorphs\":[],\"scripts\":[],\"id\":844,\"shape\":{\"__isSmartRef__\":true,\"id\":119},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Padding\":{\"__isSmartRef__\":true,\"id\":123},\"_ClipMode\":\"hidden\",\"fixedWidth\":false,\"_WhiteSpaceHandling\":\"pre\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_Position\":{\"__isSmartRef__\":true,\"id\":124},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":125},\"_MaxTextWidth\":null,\"_MaxTextHeight\":17,\"textChunks\":[{\"__isSmartRef__\":true,\"id\":126}],\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":117},\"isLabel\":true,\"eventsAreIgnored\":true,\"_FontSize\":8,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"_Scale\":1,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":128},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":129},\"_HandStyle\":\"default\",\"_PointerEvents\":\"none\",\"__LivelyClassName__\":\"lively.morphic.Text\"},\"119\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":120},\"_Extent\":{\"__isSmartRef__\":true,\"id\":121},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":32},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":122},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"120\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"121\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"122\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"123\":{\"x\":5,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"124\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"125\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"126\":{\"style\":{\"__isSmartRef__\":true,\"id\":127},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":118},\"storedString\":\"\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"127\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"128\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"129\":{\"morph\":{\"__isSmartRef__\":true,\"id\":118},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"130\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":131},\"_Extent\":{\"__isSmartRef__\":true,\"id\":132},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":57},\"_Fill\":{\"__isSmartRef__\":true,\"id\":58},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":133},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"131\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"132\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"133\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"134\":{\"x\":941.9776803724167,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"135\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"136\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":137},{\"__isSmartRef__\":true,\"id\":139},{\"__isSmartRef__\":true,\"id\":141},{\"__isSmartRef__\":true,\"id\":143}],\"vector\":{\"__isSmartRef__\":true,\"id\":67},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"137\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":138}},\"138\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"139\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":140}},\"140\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"141\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":142}},\"142\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"143\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":144}},\"144\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"145\":{\"moveHorizontal\":true},\"146\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":117},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":19},\"targetMethodName\":\"getCollapseHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"147\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":117},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":19},\"targetMethodName\":\"toggleCollapse\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"148\":{\"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\"},\"149\":{\"morph\":{\"__isSmartRef__\":true,\"id\":117},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"150\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":151},\"_Extent\":{\"__isSmartRef__\":true,\"id\":152},\"_BorderWidth\":2,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":153},\"_Fill\":{\"__isSmartRef__\":true,\"id\":154},\"_StrokeOpacity\":1,\"_BorderRadius\":\"8px 8px 0px 0px\",\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":162},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"151\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"152\":{\"x\":980.9776803724167,\"y\":22,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"153\":{\"r\":0.4,\"g\":0.4,\"b\":0.4,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"154\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":155},{\"__isSmartRef__\":true,\"id\":157},{\"__isSmartRef__\":true,\"id\":159}],\"vector\":{\"__isSmartRef__\":true,\"id\":161},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"155\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":156}},\"156\":{\"r\":0.7200000000000001,\"g\":0.7200000000000001,\"b\":0.7200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"157\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":158}},\"158\":{\"r\":0.9,\"g\":0.9,\"b\":0.9,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"159\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":160}},\"160\":{\"r\":0.7200000000000001,\"g\":0.7200000000000001,\"b\":0.7200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"161\":{\"x\":0,\"y\":1,\"width\":0,\"height\":-1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"162\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"163\":{\"resizeWidth\":true,\"adjustForNewBounds\":true},\"164\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"165\":{\"x\":980.9776803724167,\"y\":22,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"166\":{\"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\"},\"167\":{\"morph\":{\"__isSmartRef__\":true,\"id\":27},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"168\":{\"x\":0,\"y\":22,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"169\":{\"a\":1,\"b\":0,\"c\":0,\"d\":1,\"e\":377.6609726943286,\"f\":419.5142810783999,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"lively.morphic.Similitude\"},\"170\":{\"x\":861.5223196275833,\"y\":575.166499196892,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"171\":{\"x\":613,\"y\":129,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"172\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":173},\"id\":394,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":179},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":180}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":182},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Padding\":{\"__isSmartRef__\":true,\"id\":183},\"_ClipMode\":\"auto\",\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":true,\"_FontFamily\":\"Helvetica\",\"_Position\":{\"__isSmartRef__\":true,\"id\":184},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":185},\"_MaxTextWidth\":500,\"_MaxTextHeight\":200,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":186},\"layout\":{\"__isSmartRef__\":true,\"id\":333},\"doitContext\":{\"__isSmartRef__\":true,\"id\":334},\"priorSelectionRange\":[0,36],\"charsReplaced\":\"\",\"lastFindLoc\":20,\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.Text\"},\"173\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":174},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":175},\"_Extent\":{\"__isSmartRef__\":true,\"id\":176},\"_BorderWidth\":2,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":177},\"_Fill\":{\"__isSmartRef__\":true,\"id\":178},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"174\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"175\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"176\":{\"x\":500,\"y\":200,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"177\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"178\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"179\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"180\":{\"style\":{\"__isSmartRef__\":true,\"id\":181},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":172},\"storedString\":\"\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"181\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"182\":{\"morph\":{\"__isSmartRef__\":true,\"id\":172},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"183\":{\"x\":2,\"y\":1,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"184\":{\"x\":0,\"y\":22,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"185\":{\"x\":500,\"y\":200,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"186\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":172},{\"__isSmartRef__\":true,\"id\":187}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":324},\"id\":395,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":327},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":328},\"droppingEnabled\":true,\"halosEnabled\":true,\"__layered_draggingEnabled__\":true,\"layout\":{\"__isSmartRef__\":true,\"id\":329},\"LK2\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":330},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":331},\"targetMorph\":{\"__isSmartRef__\":true,\"id\":172},\"titleBar\":{\"__isSmartRef__\":true,\"id\":187},\"contentOffset\":{\"__isSmartRef__\":true,\"id\":184},\"collapsedTransform\":null,\"collapsedExtent\":null,\"expandedTransform\":null,\"expandedExtent\":null,\"ignoreEventsOnExpand\":false,\"highlighted\":true,\"_Rotation\":0,\"_Scale\":1,\"prevDragPos\":{\"__isSmartRef__\":true,\"id\":332},\"cameForward\":false,\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"__LivelyClassName__\":\"lively.morphic.Window\",\"withoutLayers\":[\"Global.lively.morphic.GrabbingLayer\"]},\"187\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":188},{\"__isSmartRef__\":true,\"id\":201},{\"__isSmartRef__\":true,\"id\":247},{\"__isSmartRef__\":true,\"id\":280}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":314},\"id\":396,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":319},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":320},\"droppingEnabled\":true,\"halosEnabled\":true,\"layout\":{\"__isSmartRef__\":true,\"id\":321},\"_Position\":{\"__isSmartRef__\":true,\"id\":322},\"windowMorph\":{\"__isSmartRef__\":true,\"id\":186},\"label\":{\"__isSmartRef__\":true,\"id\":188},\"closeButton\":{\"__isSmartRef__\":true,\"id\":201},\"menuButton\":{\"__isSmartRef__\":true,\"id\":247},\"collapseButton\":{\"__isSmartRef__\":true,\"id\":280},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":323},\"owner\":{\"__isSmartRef__\":true,\"id\":186},\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"__LivelyClassName__\":\"lively.morphic.TitleBar\"},\"188\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":189},\"id\":397,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":193},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":194}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":196},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Padding\":{\"__isSmartRef__\":true,\"id\":197},\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"evalEnabled\":false,\"isLabel\":true,\"_HandStyle\":\"default\",\"layout\":{\"__isSmartRef__\":true,\"id\":198},\"_FontSize\":10,\"_Align\":\"center\",\"eventsAreIgnored\":true,\"_PointerEvents\":\"none\",\"owner\":{\"__isSmartRef__\":true,\"id\":187},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":199},\"_MaxTextWidth\":441,\"_MaxTextHeight\":17,\"_Position\":{\"__isSmartRef__\":true,\"id\":200},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.Text\"},\"189\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":190},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":191},\"_Extent\":{\"__isSmartRef__\":true,\"id\":192},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":177},\"_Fill\":null,\"_BorderRadius\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"190\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"191\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"192\":{\"x\":441,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"193\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"194\":{\"style\":{\"__isSmartRef__\":true,\"id\":195},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":188},\"storedString\":\"\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"195\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"196\":{\"morph\":{\"__isSmartRef__\":true,\"id\":188},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"197\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"198\":{\"resizeWidth\":true},\"199\":{\"x\":0,\"y\":14,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"200\":{\"x\":20,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"201\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":202}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":214},\"id\":398,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":229},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":230},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":231},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":232},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":219},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":233},\"label\":{\"__isSmartRef__\":true,\"id\":202},\"owner\":{\"__isSmartRef__\":true,\"id\":187},\"layout\":{\"__isSmartRef__\":true,\"id\":242},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":243},{\"__isSmartRef__\":true,\"id\":245}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"202\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":203},\"id\":399,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":207},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":208}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":210},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Padding\":{\"__isSmartRef__\":true,\"id\":211},\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_Position\":{\"__isSmartRef__\":true,\"id\":212},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":213},\"_MaxTextWidth\":17,\"_MaxTextHeight\":17,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":201},\"isLabel\":true,\"_HandStyle\":\"default\",\"_FontSize\":8,\"_Align\":\"center\",\"eventsAreIgnored\":true,\"_PointerEvents\":\"none\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.Text\"},\"203\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":204},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":205},\"_Extent\":{\"__isSmartRef__\":true,\"id\":206},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":177},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"204\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"205\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"206\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"207\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"208\":{\"style\":{\"__isSmartRef__\":true,\"id\":209},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":202},\"storedString\":\"\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"209\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"210\":{\"morph\":{\"__isSmartRef__\":true,\"id\":202},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"211\":{\"x\":0,\"y\":3,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"212\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"213\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"214\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":215},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":216},\"_Extent\":{\"__isSmartRef__\":true,\"id\":217},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":218},\"_Fill\":{\"__isSmartRef__\":true,\"id\":219},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"215\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"216\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"217\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"218\":{\"r\":0.7411764705882353,\"g\":0.7450980392156863,\"b\":0.7529411764705882,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"219\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":220},{\"__isSmartRef__\":true,\"id\":222},{\"__isSmartRef__\":true,\"id\":224},{\"__isSmartRef__\":true,\"id\":226}],\"vector\":{\"__isSmartRef__\":true,\"id\":228},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"220\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":221}},\"221\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"222\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":223}},\"223\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"224\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":225}},\"225\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"226\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":227}},\"227\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"228\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"229\":{\"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\"},\"230\":{\"morph\":{\"__isSmartRef__\":true,\"id\":201},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"231\":{\"x\":480,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"232\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"233\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":234},{\"__isSmartRef__\":true,\"id\":236},{\"__isSmartRef__\":true,\"id\":238},{\"__isSmartRef__\":true,\"id\":240}],\"vector\":{\"__isSmartRef__\":true,\"id\":228},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"234\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":235}},\"235\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"236\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":237}},\"237\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"238\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":239}},\"239\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"240\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":241}},\"241\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"242\":{\"moveHorizontal\":true},\"243\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":201},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":186},\"targetMethodName\":\"getCloseHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":244},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"244\":{\"source\":{\"__isSmartRef__\":true,\"id\":201},\"target\":{\"__isSmartRef__\":true,\"id\":186}},\"245\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":201},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":186},\"targetMethodName\":\"initiateShutdown\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":246},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"246\":{\"source\":{\"__isSmartRef__\":true,\"id\":201},\"target\":{\"__isSmartRef__\":true,\"id\":186}},\"247\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":248}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":259},\"id\":400,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":263},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":264},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":265},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":266},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":219},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":267},\"label\":{\"__isSmartRef__\":true,\"id\":248},\"owner\":{\"__isSmartRef__\":true,\"id\":187},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":276},{\"__isSmartRef__\":true,\"id\":278}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"248\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":249},\"id\":401,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":253},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":254}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":256},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Padding\":{\"__isSmartRef__\":true,\"id\":211},\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_Position\":{\"__isSmartRef__\":true,\"id\":257},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":258},\"_MaxTextWidth\":17,\"_MaxTextHeight\":17,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":247},\"isLabel\":true,\"_HandStyle\":\"default\",\"_FontSize\":8,\"_Align\":\"center\",\"eventsAreIgnored\":true,\"_PointerEvents\":\"none\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.Text\"},\"249\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":250},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":251},\"_Extent\":{\"__isSmartRef__\":true,\"id\":252},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":177},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"250\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"251\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"252\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"253\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"254\":{\"style\":{\"__isSmartRef__\":true,\"id\":255},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":248},\"storedString\":\"\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"255\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"256\":{\"morph\":{\"__isSmartRef__\":true,\"id\":248},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"257\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"258\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"259\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":260},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":261},\"_Extent\":{\"__isSmartRef__\":true,\"id\":262},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":218},\"_Fill\":{\"__isSmartRef__\":true,\"id\":219},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"260\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"261\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"262\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"263\":{\"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\"},\"264\":{\"morph\":{\"__isSmartRef__\":true,\"id\":247},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"265\":{\"x\":3,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"266\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"267\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":268},{\"__isSmartRef__\":true,\"id\":270},{\"__isSmartRef__\":true,\"id\":272},{\"__isSmartRef__\":true,\"id\":274}],\"vector\":{\"__isSmartRef__\":true,\"id\":228},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"268\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":269}},\"269\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"270\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":271}},\"271\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"272\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":273}},\"273\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"274\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":275}},\"275\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"276\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":247},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":186},\"targetMethodName\":\"getMenuHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":277},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"277\":{\"source\":{\"__isSmartRef__\":true,\"id\":247},\"target\":{\"__isSmartRef__\":true,\"id\":186}},\"278\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":247},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":186},\"targetMethodName\":\"showTargetMorphMenu\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":279},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"279\":{\"source\":{\"__isSmartRef__\":true,\"id\":247},\"target\":{\"__isSmartRef__\":true,\"id\":186}},\"280\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":281}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":292},\"id\":402,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":296},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":297},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":298},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":299},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":219},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":300},\"label\":{\"__isSmartRef__\":true,\"id\":281},\"owner\":{\"__isSmartRef__\":true,\"id\":187},\"layout\":{\"__isSmartRef__\":true,\"id\":309},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":310},{\"__isSmartRef__\":true,\"id\":312}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"281\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":282},\"id\":403,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":286},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":287}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":289},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Padding\":{\"__isSmartRef__\":true,\"id\":211},\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_Position\":{\"__isSmartRef__\":true,\"id\":290},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":291},\"_MaxTextWidth\":17,\"_MaxTextHeight\":17,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":280},\"isLabel\":true,\"_HandStyle\":\"default\",\"_FontSize\":8,\"_Align\":\"center\",\"eventsAreIgnored\":true,\"_PointerEvents\":\"none\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.Text\"},\"282\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":283},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":284},\"_Extent\":{\"__isSmartRef__\":true,\"id\":285},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":177},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"283\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"284\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"285\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"286\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"287\":{\"style\":{\"__isSmartRef__\":true,\"id\":288},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":281},\"storedString\":\"\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"288\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"289\":{\"morph\":{\"__isSmartRef__\":true,\"id\":281},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"290\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"291\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"292\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":293},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":294},\"_Extent\":{\"__isSmartRef__\":true,\"id\":295},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":218},\"_Fill\":{\"__isSmartRef__\":true,\"id\":219},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"293\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"294\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"295\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"296\":{\"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\"},\"297\":{\"morph\":{\"__isSmartRef__\":true,\"id\":280},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"298\":{\"x\":461,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"299\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"300\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":301},{\"__isSmartRef__\":true,\"id\":303},{\"__isSmartRef__\":true,\"id\":305},{\"__isSmartRef__\":true,\"id\":307}],\"vector\":{\"__isSmartRef__\":true,\"id\":228},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"301\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":302}},\"302\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"303\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":304}},\"304\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"305\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":306}},\"306\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"307\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":308}},\"308\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"309\":{\"moveHorizontal\":true},\"310\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":280},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":186},\"targetMethodName\":\"getCollapseHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":311},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"311\":{\"source\":{\"__isSmartRef__\":true,\"id\":280},\"target\":{\"__isSmartRef__\":true,\"id\":186}},\"312\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":280},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":186},\"targetMethodName\":\"toggleCollapse\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":313},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"313\":{\"source\":{\"__isSmartRef__\":true,\"id\":280},\"target\":{\"__isSmartRef__\":true,\"id\":186}},\"314\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":315},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":316},\"_Extent\":{\"__isSmartRef__\":true,\"id\":317},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":318},\"_Fill\":{\"__isSmartRef__\":true,\"id\":154},\"_StrokeOpacity\":1,\"_BorderRadius\":\"8px 8px 0px 0px\",\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"315\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"316\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"317\":{\"x\":500,\"y\":22,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"318\":{\"r\":0.4,\"g\":0.4,\"b\":0.4,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"319\":{\"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\"},\"320\":{\"morph\":{\"__isSmartRef__\":true,\"id\":187},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"321\":{\"resizeWidth\":true,\"adjustForNewBounds\":true},\"322\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"323\":{\"x\":500,\"y\":22,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"324\":{\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":325},\"_BorderWidth\":0,\"_Fill\":null,\"_StrokeOpacity\":0,\"_BorderRadius\":0,\"_Extent\":{\"__isSmartRef__\":true,\"id\":326},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"325\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"326\":{\"x\":500,\"y\":222,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"327\":{\"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\"},\"328\":{\"morph\":{\"__isSmartRef__\":true,\"id\":186},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"329\":{\"adjustForNewBounds\":true},\"330\":{\"x\":1234,\"y\":448,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"331\":{\"x\":500,\"y\":222,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"332\":{\"x\":1478,\"y\":453,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"333\":{\"resizeWidth\":true,\"resizeHeight\":true},\"334\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":335},{\"__isSmartRef__\":true,\"id\":349}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":479},\"id\":361,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":483},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":484},\"droppingEnabled\":true,\"halosEnabled\":true,\"__layered_draggingEnabled__\":true,\"layout\":{\"__isSmartRef__\":true,\"id\":485},\"LK2\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":486},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":487},\"targetMorph\":{\"__isSmartRef__\":true,\"id\":335},\"titleBar\":{\"__isSmartRef__\":true,\"id\":349},\"contentOffset\":{\"__isSmartRef__\":true,\"id\":345},\"collapsedTransform\":{\"__isSmartRef__\":true,\"id\":488},\"collapsedExtent\":{\"__isSmartRef__\":true,\"id\":489},\"expandedTransform\":{\"__isSmartRef__\":true,\"id\":490},\"expandedExtent\":{\"__isSmartRef__\":true,\"id\":491},\"ignoreEventsOnExpand\":false,\"owner\":null,\"showsHalos\":false,\"highlighted\":true,\"_Rotation\":0,\"_Scale\":1,\"prevDragPos\":{\"__isSmartRef__\":true,\"id\":492},\"expandedPosition\":{\"__isSmartRef__\":true,\"id\":493},\"state\":\"shutdown\",\"collapsedPosition\":{\"__isSmartRef__\":true,\"id\":494},\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"__LivelyClassName__\":\"lively.morphic.Window\",\"withoutLayers\":[\"Global.lively.morphic.GrabbingLayer\"]},\"335\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":336},\"id\":360,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":341},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":342}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":344},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Padding\":{\"__isSmartRef__\":true,\"id\":183},\"_ClipMode\":\"auto\",\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":true,\"_FontFamily\":\"Monaco,monospace\",\"_Position\":{\"__isSmartRef__\":true,\"id\":345},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":346},\"_MaxTextWidth\":500,\"_MaxTextHeight\":0,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":334},\"layout\":{\"__isSmartRef__\":true,\"id\":347},\"syntaxHighlightingWhileTyping\":true,\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":348}],\"doNotSerialize\":[\"$$textString\"],\"doNotCopyProperties\":[\"$$textString\"],\"lastSyntaxHighlightTime\":1307282796737,\"accessibleInInactiveWindow\":true,\"eventsAreIgnored\":false,\"_HandStyle\":\"default\",\"_PointerEvents\":\"auto\",\"_Visible\":true,\"priorSelectionRange\":[0,22],\"charsReplaced\":\"\",\"lastFindLoc\":15,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"textString\":\"undefined\",\"__LivelyClassName__\":\"lively.morphic.Text\"},\"336\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":337},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":338},\"_Extent\":{\"__isSmartRef__\":true,\"id\":339},\"_BorderWidth\":2,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":177},\"_Fill\":{\"__isSmartRef__\":true,\"id\":340},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"337\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"338\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"339\":{\"x\":500,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"340\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"341\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"342\":{\"style\":{\"__isSmartRef__\":true,\"id\":343},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":335},\"storedString\":\"undefined\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\"},\"343\":{\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\"},\"344\":{\"morph\":{\"__isSmartRef__\":true,\"id\":335},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"345\":{\"x\":0,\"y\":22,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"346\":{\"x\":500,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"347\":{\"resizeWidth\":true,\"resizeHeight\":true},\"348\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":335},\"sourceAttrName\":\"textString\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":335},\"targetMethodName\":\"highlightJavaScriptSyntax\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"349\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":350},{\"__isSmartRef__\":true,\"id\":362},{\"__isSmartRef__\":true,\"id\":396},{\"__isSmartRef__\":true,\"id\":429}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":463},\"id\":362,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":474},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":475},\"droppingEnabled\":true,\"halosEnabled\":true,\"layout\":{\"__isSmartRef__\":true,\"id\":476},\"_Position\":{\"__isSmartRef__\":true,\"id\":477},\"windowMorph\":{\"__isSmartRef__\":true,\"id\":334},\"label\":{\"__isSmartRef__\":true,\"id\":350},\"closeButton\":{\"__isSmartRef__\":true,\"id\":362},\"menuButton\":{\"__isSmartRef__\":true,\"id\":396},\"collapseButton\":{\"__isSmartRef__\":true,\"id\":429},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":478},\"owner\":{\"__isSmartRef__\":true,\"id\":334},\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"__LivelyClassName__\":\"lively.morphic.TitleBar\"},\"350\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":351},\"id\":363,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":355},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":356}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":358},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Padding\":{\"__isSmartRef__\":true,\"id\":197},\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"evalEnabled\":false,\"isLabel\":true,\"_HandStyle\":\"default\",\"layout\":{\"__isSmartRef__\":true,\"id\":359},\"_FontSize\":10,\"_Align\":\"center\",\"eventsAreIgnored\":true,\"_PointerEvents\":\"none\",\"owner\":{\"__isSmartRef__\":true,\"id\":349},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":360},\"_MaxTextWidth\":441,\"_MaxTextHeight\":17,\"_Position\":{\"__isSmartRef__\":true,\"id\":361},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.Text\"},\"351\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":352},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":353},\"_Extent\":{\"__isSmartRef__\":true,\"id\":354},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":177},\"_Fill\":null,\"_BorderRadius\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"352\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"353\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"354\":{\"x\":441,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"355\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"356\":{\"style\":{\"__isSmartRef__\":true,\"id\":357},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":350},\"storedString\":\"\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"357\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"358\":{\"morph\":{\"__isSmartRef__\":true,\"id\":350},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"359\":{\"resizeWidth\":true},\"360\":{\"x\":0,\"y\":14,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"361\":{\"x\":20,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"362\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":363}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":374},\"id\":364,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":378},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":379},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":380},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":381},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":219},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":382},\"label\":{\"__isSmartRef__\":true,\"id\":363},\"owner\":{\"__isSmartRef__\":true,\"id\":349},\"layout\":{\"__isSmartRef__\":true,\"id\":391},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":392},{\"__isSmartRef__\":true,\"id\":394}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"363\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":364},\"id\":365,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":368},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":369}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":371},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Padding\":{\"__isSmartRef__\":true,\"id\":211},\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_Position\":{\"__isSmartRef__\":true,\"id\":372},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":373},\"_MaxTextWidth\":17,\"_MaxTextHeight\":17,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":362},\"isLabel\":true,\"_HandStyle\":\"default\",\"_FontSize\":8,\"_Align\":\"center\",\"eventsAreIgnored\":true,\"_PointerEvents\":\"none\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.Text\"},\"364\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":365},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":366},\"_Extent\":{\"__isSmartRef__\":true,\"id\":367},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":177},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"365\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"366\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"367\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"368\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"369\":{\"style\":{\"__isSmartRef__\":true,\"id\":370},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":363},\"storedString\":\"\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"370\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"371\":{\"morph\":{\"__isSmartRef__\":true,\"id\":363},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"372\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"373\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"374\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":375},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":376},\"_Extent\":{\"__isSmartRef__\":true,\"id\":377},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":218},\"_Fill\":{\"__isSmartRef__\":true,\"id\":219},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"375\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"376\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"377\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"378\":{\"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\"},\"379\":{\"morph\":{\"__isSmartRef__\":true,\"id\":362},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"380\":{\"x\":480,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"381\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"382\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":383},{\"__isSmartRef__\":true,\"id\":385},{\"__isSmartRef__\":true,\"id\":387},{\"__isSmartRef__\":true,\"id\":389}],\"vector\":{\"__isSmartRef__\":true,\"id\":228},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"383\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":384}},\"384\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"385\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":386}},\"386\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"387\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":388}},\"388\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"389\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":390}},\"390\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"391\":{\"moveHorizontal\":true},\"392\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":362},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":334},\"targetMethodName\":\"getCloseHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":393},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"393\":{\"source\":{\"__isSmartRef__\":true,\"id\":362},\"target\":{\"__isSmartRef__\":true,\"id\":334}},\"394\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":362},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":334},\"targetMethodName\":\"initiateShutdown\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":395},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"395\":{\"source\":{\"__isSmartRef__\":true,\"id\":362},\"target\":{\"__isSmartRef__\":true,\"id\":334}},\"396\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":397}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":408},\"id\":366,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":412},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":413},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":414},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":415},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":219},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":416},\"label\":{\"__isSmartRef__\":true,\"id\":397},\"owner\":{\"__isSmartRef__\":true,\"id\":349},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":425},{\"__isSmartRef__\":true,\"id\":427}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"397\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":398},\"id\":367,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":402},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":403}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":405},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Padding\":{\"__isSmartRef__\":true,\"id\":211},\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_Position\":{\"__isSmartRef__\":true,\"id\":406},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":407},\"_MaxTextWidth\":17,\"_MaxTextHeight\":17,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":396},\"isLabel\":true,\"_HandStyle\":\"default\",\"_FontSize\":8,\"_Align\":\"center\",\"eventsAreIgnored\":true,\"_PointerEvents\":\"none\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.Text\"},\"398\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":399},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":400},\"_Extent\":{\"__isSmartRef__\":true,\"id\":401},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":177},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"399\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"400\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"401\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"402\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"403\":{\"style\":{\"__isSmartRef__\":true,\"id\":404},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":397},\"storedString\":\"\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"404\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"405\":{\"morph\":{\"__isSmartRef__\":true,\"id\":397},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"406\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"407\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"408\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":409},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":410},\"_Extent\":{\"__isSmartRef__\":true,\"id\":411},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":218},\"_Fill\":{\"__isSmartRef__\":true,\"id\":219},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"409\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"410\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"411\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"412\":{\"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\"},\"413\":{\"morph\":{\"__isSmartRef__\":true,\"id\":396},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"414\":{\"x\":3,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"415\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"416\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":417},{\"__isSmartRef__\":true,\"id\":419},{\"__isSmartRef__\":true,\"id\":421},{\"__isSmartRef__\":true,\"id\":423}],\"vector\":{\"__isSmartRef__\":true,\"id\":228},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"417\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":418}},\"418\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"419\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":420}},\"420\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"421\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":422}},\"422\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"423\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":424}},\"424\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"425\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":396},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":334},\"targetMethodName\":\"getMenuHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":426},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"426\":{\"source\":{\"__isSmartRef__\":true,\"id\":396},\"target\":{\"__isSmartRef__\":true,\"id\":334}},\"427\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":396},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":334},\"targetMethodName\":\"showTargetMorphMenu\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":428},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"428\":{\"source\":{\"__isSmartRef__\":true,\"id\":396},\"target\":{\"__isSmartRef__\":true,\"id\":334}},\"429\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":430}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":441},\"id\":368,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":445},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":446},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":447},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":448},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":219},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":449},\"label\":{\"__isSmartRef__\":true,\"id\":430},\"owner\":{\"__isSmartRef__\":true,\"id\":349},\"layout\":{\"__isSmartRef__\":true,\"id\":458},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":459},{\"__isSmartRef__\":true,\"id\":461}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"430\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":431},\"id\":369,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":435},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":436}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":438},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Padding\":{\"__isSmartRef__\":true,\"id\":211},\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_Position\":{\"__isSmartRef__\":true,\"id\":439},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":440},\"_MaxTextWidth\":17,\"_MaxTextHeight\":17,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":429},\"isLabel\":true,\"_HandStyle\":\"default\",\"_FontSize\":8,\"_Align\":\"center\",\"eventsAreIgnored\":true,\"_PointerEvents\":\"none\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.Text\"},\"431\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":432},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":433},\"_Extent\":{\"__isSmartRef__\":true,\"id\":434},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":177},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"432\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"433\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"434\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"435\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"436\":{\"style\":{\"__isSmartRef__\":true,\"id\":437},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":430},\"storedString\":\"\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"437\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"438\":{\"morph\":{\"__isSmartRef__\":true,\"id\":430},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"439\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"440\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"441\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":442},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":443},\"_Extent\":{\"__isSmartRef__\":true,\"id\":444},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":218},\"_Fill\":{\"__isSmartRef__\":true,\"id\":219},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"442\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"443\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"444\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"445\":{\"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\"},\"446\":{\"morph\":{\"__isSmartRef__\":true,\"id\":429},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"447\":{\"x\":461,\"y\":3,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"448\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"449\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":450},{\"__isSmartRef__\":true,\"id\":452},{\"__isSmartRef__\":true,\"id\":454},{\"__isSmartRef__\":true,\"id\":456}],\"vector\":{\"__isSmartRef__\":true,\"id\":228},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"450\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":451}},\"451\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"452\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":453}},\"453\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"454\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":455}},\"455\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"456\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":457}},\"457\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"458\":{\"moveHorizontal\":true},\"459\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":429},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":334},\"targetMethodName\":\"getCollapseHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":460},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"460\":{\"source\":{\"__isSmartRef__\":true,\"id\":429},\"target\":{\"__isSmartRef__\":true,\"id\":334}},\"461\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":429},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":334},\"targetMethodName\":\"toggleCollapse\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":462},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"462\":{\"source\":{\"__isSmartRef__\":true,\"id\":429},\"target\":{\"__isSmartRef__\":true,\"id\":334}},\"463\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":464},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":465},\"_Extent\":{\"__isSmartRef__\":true,\"id\":466},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":318},\"_Fill\":{\"__isSmartRef__\":true,\"id\":467},\"_StrokeOpacity\":1,\"_BorderRadius\":\"8px 8px 0px 0px\",\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"464\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"465\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"466\":{\"x\":500,\"y\":22,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"467\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":468},{\"__isSmartRef__\":true,\"id\":470},{\"__isSmartRef__\":true,\"id\":472}],\"vector\":{\"__isSmartRef__\":true,\"id\":228},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"468\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":469}},\"469\":{\"r\":0.8600000000000001,\"g\":0.8600000000000001,\"b\":0.8600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"470\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":471}},\"471\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"472\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":473}},\"473\":{\"r\":0.8600000000000001,\"g\":0.8600000000000001,\"b\":0.8600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"474\":{\"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\"},\"475\":{\"morph\":{\"__isSmartRef__\":true,\"id\":349},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"476\":{\"resizeWidth\":true,\"adjustForNewBounds\":true},\"477\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"478\":{\"x\":500,\"y\":22,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"479\":{\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":480},\"_BorderWidth\":0,\"_Fill\":null,\"_StrokeOpacity\":0,\"_BorderRadius\":0,\"_Extent\":{\"__isSmartRef__\":true,\"id\":481},\"_Position\":{\"__isSmartRef__\":true,\"id\":482},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"480\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"481\":{\"x\":500,\"y\":222,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"482\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"483\":{\"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\"},\"484\":{\"morph\":{\"__isSmartRef__\":true,\"id\":334},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"485\":{\"adjustForNewBounds\":true},\"486\":{\"x\":1131,\"y\":79,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"487\":{\"x\":500,\"y\":222,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"488\":{\"a\":1,\"b\":0,\"c\":0,\"d\":1,\"e\":1131,\"f\":79,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"lively.morphic.Similitude\"},\"489\":{\"x\":500,\"y\":22,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"490\":{\"a\":1,\"b\":0,\"c\":0,\"d\":1,\"e\":1131,\"f\":79,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"lively.morphic.Similitude\"},\"491\":{\"x\":500,\"y\":222,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"492\":{\"x\":1507,\"y\":76,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"493\":{\"x\":1131,\"y\":79,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"494\":{\"x\":1131,\"y\":79,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"495\":{\"x\":377.6609726943286,\"y\":419.5142810783999,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"496\":{\"requiredModules\":[],\"migrationLevel\":2,\"partsSpaceName\":\"PartsBin/Tools\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"comment\":\"Edit scripts and connections of a specific morph. Early version.\",\"partName\":\"ObjectEditor\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"497\":{\"submorphs\":[],\"scripts\":[],\"id\":\"3547765B-E224-48EC-B58F-278C1DC7422E\",\"shape\":{\"__isSmartRef__\":true,\"id\":498},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_Padding\":{\"__isSmartRef__\":true,\"id\":505},\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":true,\"_FontFamily\":\"Monaco,courier\",\"_MaxTextWidth\":689.0285365288845,\"_MaxTextHeight\":null,\"textChunks\":[{\"__isSmartRef__\":true,\"id\":506}],\"layout\":{\"__isSmartRef__\":true,\"id\":508},\"showsHalos\":false,\"prevScroll\":[0,0],\"priorSelectionRange\":[156,156],\"name\":\"ObjectEditorScriptPane\",\"charsReplaced\":\"\",\"lastFindLoc\":152,\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":509},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":510},\"_ClipMode\":\"auto\",\"_FontSize\":9,\"lastSyntaxHighlightTime\":1335016486208,\"doitContext\":null,\"savedTextString\":\"// changed at Thu Feb 02 2012 14:37:57 GMT+0100 (CET) by conradcalmez \\nthis.addScript(function createMenuItems(items) {\\n alertOK(\\\"creating menu items ... like a boss\\\");\\n}).tag([]);\",\"_Align\":\"left\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":511},\"lastSearchString\":\"stringsformat\",\"eventHandler\":{\"__isSmartRef__\":true,\"id\":512},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":513}],\"doNotSerialize\":[\"$$textString\"],\"doNotCopyProperties\":[\"$$textString\"],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":539},\"_MinTextWidth\":689.0285365288845,\"_MinTextHeight\":null,\"previousSelection\":[120,120],\"lastSaveSource\":\"\",\"isBeingDragged\":false,\"draggingEnabled\":false,\"objectEditorPane\":{\"__isSmartRef__\":true,\"id\":1},\"isCopyMorphRef\":true,\"morphRefId\":1,\"statusMorph\":{\"__isSmartRef__\":true,\"id\":540},\"derivationIds\":[219,\"DD5046D0-C1D6-412A-83C9-CD7EE63D40E0\",\"4D92BDFD-A599-4154-A197-A4B1292C1619\",\"98551F68-B128-4262-9BC2-6B8AC7C8D7C0\",\"47731662-FF8E-4C0F-A170-FD5C56A06021\",\"3FC7FDE6-156F-4056-BB04-B76D8B6C5472\",\"C1E8D5BB-56F9-47B3-A520-BEEFEF791823\",\"115FC149-EEF9-415A-A5B7-AB0B9D0170A4\",\"0D66FA39-01E7-4F16-840C-4FA0FA14DD10\",\"B0A74693-DE3F-4867-8DC0-61B098A8F0D1\"],\"_Position\":{\"__isSmartRef__\":true,\"id\":555},\"owner\":{\"__isSmartRef__\":true,\"id\":1},\"textString\":\"\",\"_Rotation\":0,\"_Scale\":1,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":556},\"__LivelyClassName__\":\"lively.morphic.Text\"},\"498\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":499},\"_Extent\":{\"__isSmartRef__\":true,\"id\":500},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":501},\"_Fill\":{\"__isSmartRef__\":true,\"id\":502},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_BorderRadius\":0,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":503},\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"_ClipMode\":\"auto\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":504},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"499\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"500\":{\"x\":691.0285365288845,\"y\":475.61253261443596,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"501\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"502\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"503\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"504\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"505\":{\"x\":2,\"y\":1,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"506\":{\"style\":{\"__isSmartRef__\":true,\"id\":507},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":497},\"storedString\":\"\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\"},\"507\":{\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\"},\"508\":{\"resizeWidth\":true,\"resizeHeight\":true},\"509\":{\"requiredModules\":[],\"partsSpaceName\":\"PartsBin/Widgets/\",\"migrationLevel\":2,\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"510\":{\"x\":691.0285365288845,\"y\":475.61253261443596,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"511\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"512\":{\"morph\":{\"__isSmartRef__\":true,\"id\":497},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"513\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":497},\"sourceAttrName\":\"textString\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":514},\"targetMethodName\":\"indicateUnsavedChanges\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"514\":{\"submorphs\":[],\"scripts\":[],\"id\":\"44CEBF61-9A92-4E36-9576-425D5054B471\",\"shape\":{\"__isSmartRef__\":true,\"id\":515},\"droppingEnabled\":true,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":522},\"showsHalos\":false,\"name\":\"ChangeIndicator\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":523},\"__SourceModuleName__\":\"Global.lively.morphic.Core\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":524},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":525},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"owner\":{\"__isSmartRef__\":true,\"id\":1},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":526},\"layout\":{\"__isSmartRef__\":true,\"id\":527},\"isBeingDragged\":false,\"savedColor\":{\"__isSmartRef__\":true,\"id\":518},\"alarmColor\":{\"__isSmartRef__\":true,\"id\":528},\"grabbingEnabled\":false,\"draggingEnabled\":false,\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":529},\"isCopyMorphRef\":true,\"morphRefId\":26,\"derivationIds\":[220,\"EE491D24-F056-4AFE-A669-7B7048C6C3D1\",\"3FA4A8C3-0FC0-43A0-8C00-00A96F9022E2\",\"62DAD3C6-A81D-450F-B32F-601EA7E619D8\",\"EEDB0C58-5990-481A-A7FF-ACB1A2DF08DD\",\"16F708CB-1259-4A75-BAEF-1A5216C6CB19\",\"97CA61D3-E09B-43CD-9880-D8B36FA303F3\",\"0AF6BEEC-8A57-44FF-9D8D-40BA6CC6A0CD\",\"AF2BEE76-C34F-457E-8699-9896327A4C07\",\"5EC39FF0-602F-44A2-BE3A-04FCA127E5D1\"],\"_ClipMode\":\"visible\",\"_Rotation\":0,\"_Scale\":1,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":530},\"__LivelyClassName__\":\"lively.morphic.Box\"},\"515\":{\"position\":{\"__isSmartRef__\":true,\"id\":516},\"_Extent\":{\"__isSmartRef__\":true,\"id\":517},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":518},\"_Fill\":{\"__isSmartRef__\":true,\"id\":519},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":520},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":521},\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"516\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"517\":{\"x\":8.637782619743348,\"y\":9.712632235981744,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"518\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"519\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"520\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"521\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"522\":{\"x\":883.0245425248855,\"y\":39.999999999999986,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"523\":{\"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\":\"Rectangle\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"524\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"525\":{\"morph\":{\"__isSmartRef__\":true,\"id\":514},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"526\":{\"x\":8.637782619743348,\"y\":10.787481852220026,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"527\":{\"moveHorizontal\":true,\"adjustForNewBounds\":true},\"528\":{\"r\":0.9411764705882353,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"529\":{\"x\":37.328206296760186,\"y\":-17.53316489131697,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"530\":{\"indicateUnsavedChanges\":{\"__isSmartRef__\":true,\"id\":531},\"setColors\":{\"__isSmartRef__\":true,\"id\":535}},\"531\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":532},\"source\":\"function indicateUnsavedChanges() {\\n if (this.owner.scriptPane.hasChanged()) {\\n this.setColors(this.alarmColor);\\n } else {\\n this.setColors(this.savedColor);\\n }\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":533},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"532\":{\"this\":{\"__isSmartRef__\":true,\"id\":514}},\"533\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":534}},\"534\":{\"isSerializedDate\":true,\"string\":\"Tue Sep 27 2011 20:09:19 GMT+0200 (CEST)\"},\"535\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":536},\"source\":\"function setColors(color) {\\n this.setFill(color);\\n this.setBorderColor(color);\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":537},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"536\":{\"this\":{\"__isSmartRef__\":true,\"id\":514}},\"537\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":538}},\"538\":{\"isSerializedDate\":true,\"string\":\"Tue Sep 27 2011 19:06:09 GMT+0200 (CEST)\"},\"539\":{\"x\":341.1979959929888,\"y\":-18.288721442524036,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"540\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":541},\"id\":553,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":548},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":549}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":551},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"visible\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":true,\"_FontFamily\":\"Helvetica\",\"_FontSize\":11,\"_Position\":{\"__isSmartRef__\":true,\"id\":552},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":553},\"_MaxTextWidth\":90,\"_MinTextWidth\":90,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"_Align\":\"center\",\"_VerticalAlign\":\"center\",\"_TextColor\":{\"__isSmartRef__\":true,\"id\":554},\"owner\":null,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.Text\"},\"541\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":542},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":543},\"_Extent\":{\"__isSmartRef__\":true,\"id\":544},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":545},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":546},\"_Fill\":{\"__isSmartRef__\":true,\"id\":547},\"_StrokeOpacity\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"542\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"543\":{\"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\"},\"544\":{\"x\":100,\"y\":25,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"545\":{\"x\":4,\"y\":2,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"546\":{\"r\":0.8,\"g\":0.8,\"b\":0.8,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"547\":{\"r\":1,\"g\":1,\"b\":1,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"548\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"549\":{\"style\":{\"__isSmartRef__\":true,\"id\":550},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":540},\"storedString\":\"\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"550\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"551\":{\"morph\":{\"__isSmartRef__\":true,\"id\":540},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"552\":{\"x\":313.51426826444225,\"y\":228.80626630721798,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"553\":{\"x\":100,\"y\":25,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"554\":{\"r\":0,\"g\":0.8,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"555\":{\"x\":200,\"y\":40,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"556\":{\"doSave\":{\"__isSmartRef__\":true,\"id\":557},\"boundEval\":{\"__isSmartRef__\":true,\"id\":565},\"reset\":{\"__isSmartRef__\":true,\"id\":573},\"display\":{\"__isSmartRef__\":true,\"id\":577},\"hasChanged\":{\"__isSmartRef__\":true,\"id\":581},\"setTarget\":{\"__isSmartRef__\":true,\"id\":585},\"displayStatus\":{\"__isSmartRef__\":true,\"id\":589}},\"557\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":558},\"source\":\"function doSave() {\\n $super();\\n var saved = this.boundEval(this.getTextString());\\n if (saved) {\\n this.lastSaveSource = this.textString;\\n this.owner.changeIndicator.indicateUnsavedChanges();\\n this.owner.updateLists();\\n this.owner.selectChangedContent(this.getTextString());\\n this.displayStatus(\\\"saved source\\\", Color.green);\\n } else {\\n this.displayStatus(\\\"not saved\\\", Color.red);\\n }\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":563},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"558\":{\"this\":{\"__isSmartRef__\":true,\"id\":497},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":559}},\"559\":{\"$super\":{\"__isSmartRef__\":true,\"id\":560}},\"560\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":561},\"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\":562},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"561\":{\"obj\":{\"__isSmartRef__\":true,\"id\":497},\"name\":\"doSave\"},\"562\":{},\"563\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":564},\"user\":\"lauritz\"},\"564\":{\"isSerializedDate\":true,\"string\":\"Thu Nov 17 2011 23:15:19 GMT+0100 (CET)\"},\"565\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":566},\"source\":\"function boundEval(str) {\\n var result;\\n\\n this.objectEditorPane.ensureAnnotationLayer();\\n withLayers([ScriptAnnotationLayer], function() {\\n result = $super(str);\\n })\\n \\n return result\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":571},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"566\":{\"this\":{\"__isSmartRef__\":true,\"id\":497},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":567}},\"567\":{\"$super\":{\"__isSmartRef__\":true,\"id\":568}},\"568\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":569},\"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\":570},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"569\":{\"obj\":{\"__isSmartRef__\":true,\"id\":497},\"name\":\"boundEval\"},\"570\":{},\"571\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":572},\"user\":\"lauritz\",\"categories\":[]},\"572\":{\"isSerializedDate\":true,\"string\":\"Wed Nov 16 2011 05:41:53 GMT+0100 (CET)\"},\"573\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":574},\"source\":\"function reset() {\\n this.doitContext = null;\\n this.lastSaveSource = \\\"\\\";\\n this.textString = \\\"\\\";\\n this.lastSaveSource = this.textString;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":575},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"574\":{\"this\":{\"__isSmartRef__\":true,\"id\":497}},\"575\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":576},\"user\":\"lauritz\",\"categories\":[]},\"576\":{\"isSerializedDate\":true,\"string\":\"Tue Sep 27 2011 20:14:35 GMT+0200 (CEST)\"},\"577\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":578},\"source\":\"function display(jsCode) {\\n this.lastSaveSource = jsCode;\\n this.setTextString(jsCode);\\n this.highlightJavaScriptSyntax();\\n this.applyStyle({align: 'left'});\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":579},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"578\":{\"this\":{\"__isSmartRef__\":true,\"id\":497}},\"579\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":580},\"user\":\"lauritz\",\"categories\":[]},\"580\":{\"isSerializedDate\":true,\"string\":\"Tue Sep 27 2011 19:47:57 GMT+0200 (CEST)\"},\"581\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":582},\"source\":\"function hasChanged() {\\n var cleanText = function (string) {\\n var source = string.trim();\\n if (source.substring(0,2) === \\\"//\\\") {\\n // removes annotation line\\n source = source.substring(source.indexOf(\\\"\\\\n\\\"), source.length);\\n source = source.trim();\\n }\\n if (source === 'undefined' || source === 'null') source = '';\\n return source;\\n }\\n var cleanedTextString = cleanText(this.textString);\\n var cleanedLastSource = cleanText(this.lastSaveSource);\\n return cleanedTextString !== cleanedLastSource;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":583},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"582\":{\"this\":{\"__isSmartRef__\":true,\"id\":497}},\"583\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":584},\"user\":\"lauritz\",\"categories\":[]},\"584\":{\"isSerializedDate\":true,\"string\":\"Mon Oct 03 2011 18:29:45 GMT+0200 (CEST)\"},\"585\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":586},\"source\":\"function setTarget(target) {\\n module('lively.ide.SyntaxHighlighting').load(true);\\n this.doitContext = target;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":587},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"586\":{\"this\":{\"__isSmartRef__\":true,\"id\":497}},\"587\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":588},\"user\":\"lauritz\",\"categories\":[]},\"588\":{\"isSerializedDate\":true,\"string\":\"Thu Nov 17 2011 04:30:39 GMT+0100 (CET)\"},\"589\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":590},\"source\":\"function displayStatus(msg, color, delay) {\\n if (!this.statusMorph) {\\n this.statusMorph = new TextMorph(pt(100,25).extentAsRectangle());\\n this.statusMorph.applyStyle({borderWidth: 1, strokeOpacity: 0, borderColor: Color.gray});\\n this.statusMorph.setFill(this.owner.getFill());\\n this.statusMorph.setFontSize(11);\\n this.statusMorph.setAlign('center');\\n this.statusMorph.setVerticalAlign('center');\\n }\\n this.statusMorph.setTextString(msg);\\n this.statusMorph.centerAt(this.innerBounds().center());\\n this.statusMorph.setTextColor(color || Color.black);\\n this.addMorph(this.statusMorph);\\n (function() { this.statusMorph.remove() }).bind(this).delay(delay || 2); \\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":591},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"590\":{\"this\":{\"__isSmartRef__\":true,\"id\":497}},\"591\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":592},\"user\":\"lauritz\",\"categories\":[]},\"592\":{\"isSerializedDate\":true,\"string\":\"Wed Nov 23 2011 18:23:05 GMT+0100 (CET)\"},\"593\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":594}],\"scripts\":[],\"id\":847,\"shape\":{\"__isSmartRef__\":true,\"id\":608},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"showsMorphMenu\":true,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":623},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":611},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":624},\"label\":{\"__isSmartRef__\":true,\"id\":594},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"_Rotation\":0,\"padding\":{\"__isSmartRef__\":true,\"id\":633},\"name\":\"ObjectEditorClassButton\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":634},\"_Scale\":1,\"owner\":null,\"layout\":{\"__isSmartRef__\":true,\"id\":635},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":636},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":637},\"__LivelyClassName__\":\"lively.morphic.Button\"},\"594\":{\"submorphs\":[],\"scripts\":[],\"id\":848,\"shape\":{\"__isSmartRef__\":true,\"id\":595},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"showsMorphMenu\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_MaxTextWidth\":116,\"_MaxTextHeight\":18,\"fixedHeight\":true,\"allowsInput\":false,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":600},\"textColor\":{\"__isSmartRef__\":true,\"id\":598},\"owner\":{\"__isSmartRef__\":true,\"id\":593},\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":601}],\"padding\":{\"__isSmartRef__\":true,\"id\":603},\"_Padding\":{\"__isSmartRef__\":true,\"id\":604},\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":605},\"_FontFamily\":\"Helvetica, Sans-Serif\",\"_ClipMode\":\"visible\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"_Align\":\"center\",\"_Scale\":1,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":606},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":607},\"_HandStyle\":\"default\",\"_PointerEvents\":\"none\",\"__LivelyClassName__\":\"lively.morphic.Text\"},\"595\":{\"borderWidth\":0,\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":596},\"_Extent\":{\"__isSmartRef__\":true,\"id\":597},\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":598},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":599},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"596\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"597\":{\"x\":116,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"598\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"599\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"600\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"601\":{\"style\":{\"__isSmartRef__\":true,\"id\":602},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":594},\"storedString\":\"\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"602\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"603\":{\"x\":5,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"604\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"605\":{\"x\":116,\"y\":18,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"606\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"607\":{\"morph\":{\"__isSmartRef__\":true,\"id\":594},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"608\":{\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":609},\"_Extent\":{\"__isSmartRef__\":true,\"id\":610},\"_Fill\":{\"__isSmartRef__\":true,\"id\":611},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":621},\"_BorderRadius\":5,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":622},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"609\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"610\":{\"x\":116,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"611\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":612},{\"__isSmartRef__\":true,\"id\":614},{\"__isSmartRef__\":true,\"id\":616},{\"__isSmartRef__\":true,\"id\":618}],\"vector\":{\"__isSmartRef__\":true,\"id\":620},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"612\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":613}},\"613\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"614\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":615}},\"615\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"616\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":617}},\"617\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"618\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":619}},\"619\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"620\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"621\":{\"r\":0.839,\"g\":0.839,\"b\":0.839,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"622\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"623\":{\"x\":820,\"y\":8.999999999999972,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"624\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":625},{\"__isSmartRef__\":true,\"id\":627},{\"__isSmartRef__\":true,\"id\":629},{\"__isSmartRef__\":true,\"id\":631}],\"vector\":{\"__isSmartRef__\":true,\"id\":620},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"625\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":626}},\"626\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"627\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":628}},\"628\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"629\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":630}},\"630\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"631\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":632}},\"632\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"633\":{\"x\":5,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"634\":{\"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\"},\"635\":{\"moveHorizontal\":true},\"636\":{\"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\"},\"637\":{\"morph\":{\"__isSmartRef__\":true,\"id\":593},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"638\":{\"submorphs\":[],\"scripts\":[],\"id\":\"307D3B7C-C0E1-484F-8D7E-39FBA9D8EDA5\",\"shape\":{\"__isSmartRef__\":true,\"id\":639},\"droppingEnabled\":true,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":646},\"itemList\":[],\"selectedLineNo\":1,\"showsHalos\":false,\"name\":\"ObjectEditorConnectionList\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":647},\"__SourceModuleName__\":\"Global.lively.morphic.Core\",\"_ClipMode\":\"auto\",\"owner\":{\"__isSmartRef__\":true,\"id\":1},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":648},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":649}],\"doNotSerialize\":[\"$$selection\"],\"doNotCopyProperties\":[\"$$selection\"],\"prevScroll\":[0,0],\"layout\":{\"__isSmartRef__\":true,\"id\":654},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":655},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":656},\"_FontSize\":10,\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":657},\"grabbingEnabled\":false,\"draggingEnabled\":false,\"isCopyMorphRef\":true,\"morphRefId\":19,\"derivationIds\":[209,\"3900F5DF-0FF7-4C94-8BDB-44AAE12B4A3E\",\"35301083-B60D-4A43-8566-23860EEB4C04\",\"9CC401CC-5A35-4643-935B-FD049C284E16\",\"C9879D40-5E79-4C56-AA79-562ED82BF052\",\"9F6F9261-EB76-4B58-B77D-7D70813A1ED7\",\"8B59E237-F372-4F70-9768-7E9C1A7A021D\",\"FC85F1B9-1978-42D2-850C-BD249981E8B4\",\"D2B607C6-A89B-4B3F-91BB-720451EAB98D\",\"CC361093-FF73-479B-9431-C645CB48F518\"],\"selection\":null,\"_Rotation\":0,\"_Scale\":1,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":658},\"__LivelyClassName__\":\"lively.morphic.List\"},\"639\":{\"position\":{\"__isSmartRef__\":true,\"id\":640},\"_Extent\":{\"__isSmartRef__\":true,\"id\":641},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":642},\"_Fill\":{\"__isSmartRef__\":true,\"id\":643},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_BorderRadius\":0,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":644},\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":645},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"640\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"641\":{\"x\":180,\"y\":74,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"642\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"643\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"644\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"645\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"646\":{\"x\":10,\"y\":441.5965565984398,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"647\":{\"partsSpaceName\":\"PartsBin/NewWorld\",\"migrationLevel\":2,\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"648\":{\"x\":180,\"y\":75,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"649\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":638},\"sourceAttrName\":\"selection\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1},\"targetMethodName\":\"displaySourceForConnection\",\"converterString\":\"function (value) {\\n if (!value) return;\\n return (value === '-- ALL --') ? null : value[1];\\n}\",\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":650},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":651},\"__LivelyClassName__\":\"AttributeConnection\"},\"650\":{\"source\":{\"__isSmartRef__\":true,\"id\":638},\"target\":{\"__isSmartRef__\":true,\"id\":1}},\"651\":{\"converter\":{\"__isSmartRef__\":true,\"id\":652}},\"652\":{\"originalFunc\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":650},\"source\":\"function (value) {\\n if (!value) return;\\n return (value === '-- ALL --') ? null : value[1];\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":653},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"653\":{},\"654\":{\"resizeHeight\":false,\"moveVertical\":true},\"655\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"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\"},\"656\":{\"morph\":{\"__isSmartRef__\":true,\"id\":638},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"657\":{\"x\":124.95989979964943,\"y\":-17.076643708895745,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"658\":{\"preselectItem\":{\"__isSmartRef__\":true,\"id\":659}},\"659\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":660},\"source\":\"function preselectItem() {\\n if (this.getList().size() === 2) {\\n this.selectAt(1);\\n } else {\\n this.selectAt(0);\\n }\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":661},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"660\":{\"this\":{\"__isSmartRef__\":true,\"id\":638}},\"661\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":662},\"user\":\"lauritz\"},\"662\":{\"isSerializedDate\":true,\"string\":\"Thu Nov 17 2011 04:12:58 GMT+0100 (CET)\"},\"663\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":664}],\"scripts\":[],\"id\":47,\"shape\":{\"__isSmartRef__\":true,\"id\":677},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"showsMorphMenu\":true,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":692},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":680},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":693},\"label\":{\"__isSmartRef__\":true,\"id\":664},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":702}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"_Rotation\":0,\"padding\":{\"__isSmartRef__\":true,\"id\":703},\"name\":\"ObjectEditorTargetButton\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":704},\"_Scale\":1,\"owner\":null,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":705},\"isCopyMorphRef\":true,\"morphRefId\":1,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"664\":{\"submorphs\":[],\"scripts\":[],\"id\":48,\"shape\":{\"__isSmartRef__\":true,\"id\":665},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"showsMorphMenu\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_MaxTextWidth\":116,\"_MaxTextHeight\":20,\"fixedHeight\":true,\"allowsInput\":false,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":670},\"textColor\":{\"__isSmartRef__\":true,\"id\":668},\"owner\":{\"__isSmartRef__\":true,\"id\":663},\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":671}],\"padding\":{\"__isSmartRef__\":true,\"id\":673},\"_Padding\":{\"__isSmartRef__\":true,\"id\":674},\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":675},\"_FontFamily\":\"Helvetica, Sans-Serif\",\"_ClipMode\":\"visible\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"_Align\":\"center\",\"_Scale\":1,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":676},\"__LivelyClassName__\":\"lively.morphic.Text\"},\"665\":{\"borderWidth\":0,\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":666},\"_Extent\":{\"__isSmartRef__\":true,\"id\":667},\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":668},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":669},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"666\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"667\":{\"x\":116,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"668\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"669\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setOpacity\":\"setOpacityHTML\"},\"670\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"671\":{\"style\":{\"__isSmartRef__\":true,\"id\":672},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":664},\"storedString\":\"\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"672\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"673\":{\"x\":5,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"674\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"675\":{\"x\":116,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"676\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"677\":{\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":678},\"_Extent\":{\"__isSmartRef__\":true,\"id\":679},\"_Fill\":{\"__isSmartRef__\":true,\"id\":680},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":690},\"_BorderRadius\":5,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":691},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"678\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"679\":{\"x\":116,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"680\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":681},{\"__isSmartRef__\":true,\"id\":683},{\"__isSmartRef__\":true,\"id\":685},{\"__isSmartRef__\":true,\"id\":687}],\"vector\":{\"__isSmartRef__\":true,\"id\":689},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"681\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":682}},\"682\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"683\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":684}},\"684\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"685\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":686}},\"686\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"687\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":688}},\"688\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"689\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"690\":{\"r\":0.839,\"g\":0.839,\"b\":0.839,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"691\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setOpacity\":\"setOpacityHTML\"},\"692\":{\"x\":215,\"y\":35,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"693\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":694},{\"__isSmartRef__\":true,\"id\":696},{\"__isSmartRef__\":true,\"id\":698},{\"__isSmartRef__\":true,\"id\":700}],\"vector\":{\"__isSmartRef__\":true,\"id\":689},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"694\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":695}},\"695\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"696\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":697}},\"697\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"698\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":699}},\"699\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"700\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":701}},\"701\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"702\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":663},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":19},\"targetMethodName\":\"chooseTargetMorphMenu\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"__LivelyClassName__\":\"AttributeConnection\"},\"703\":{\"x\":5,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"704\":{\"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\"},\"705\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"setOrigin\":\"setOriginHTML\",\"setClipMode\":\"setClipModeHTML\",\"setHandStyle\":\"setHandStyleHTML\"},\"706\":{\"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\"},\"707\":{\"x\":715.5,\"y\":73.89999999999998,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"708\":{\"submorphs\":[],\"scripts\":[],\"id\":435,\"shape\":{\"__isSmartRef__\":true,\"id\":709},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":true,\"allowsInput\":true,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":716},\"_MaxTextWidth\":218,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":717},\"showsHalos\":false,\"_FontSize\":12,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"ObjectEditorMorphSelector\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":718},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":719}],\"charsReplaced\":\"\",\"lastFindLoc\":5,\"priorSelectionRange\":[15,15],\"prevScroll\":[0,0],\"_ClipMode\":\"visible\",\"list\":[],\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":721}],\"doNotSerialize\":[\"$$savedTextString\"],\"doNotCopyProperties\":[\"$$savedTextString\"],\"listMorph\":null,\"_WhiteSpaceHandling\":\"pre-wrap\",\"owner\":null,\"priorExtent\":{\"__isSmartRef__\":true,\"id\":723},\"_Align\":\"left\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":724},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":725},\"_MinTextWidth\":218,\"_MinTextHeight\":null,\"scriptAnnotations\":{\"__isSmartRef__\":true,\"id\":726},\"selection\":{\"__isSmartRef__\":true,\"id\":0},\"previousSelection\":[0,13],\"isCopyMorphRef\":true,\"morphRefId\":1,\"isBeingDragged\":false,\"draggingEnabled\":false,\"layout\":{\"__isSmartRef__\":true,\"id\":745},\"_Rotation\":0,\"_Scale\":1,\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":746},\"savedTextString\":\"100\",\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":747},\"__LivelyClassName__\":\"lively.morphic.Text\"},\"709\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":710},\"_Extent\":{\"__isSmartRef__\":true,\"id\":711},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":712},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":713},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":714},\"_BorderRadius\":3.7000000000000006,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"_Fill\":{\"__isSmartRef__\":true,\"id\":715},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"710\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"711\":{\"x\":220,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"712\":{\"r\":0.753,\"g\":0.753,\"b\":0.753,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"713\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"714\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"715\":{\"r\":0.9548430751559654,\"g\":0.9548430751559654,\"b\":0.9548430751559654,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"716\":{\"x\":200,\"y\":10,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"717\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"718\":{\"partsSpaceName\":\"PartsBin/Inputs/\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":2,\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"719\":{\"style\":{\"__isSmartRef__\":true,\"id\":720},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":708},\"storedString\":\"\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"720\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"721\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":708},\"sourceAttrName\":\"savedTextString\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1},\"targetMethodName\":\"setTarget\",\"converter\":null,\"converterString\":\"function (name) { return $world.get(name)}\",\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":722},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"722\":{\"source\":{\"__isSmartRef__\":true,\"id\":708},\"target\":{\"__isSmartRef__\":true,\"id\":1}},\"723\":{\"x\":220,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"724\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"725\":{\"morph\":{\"__isSmartRef__\":true,\"id\":708},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"726\":{\"createListMorph\":{\"__isSmartRef__\":true,\"id\":727},\"displayTopLevelMorphs\":{\"__isSmartRef__\":true,\"id\":729},\"onMouseUp\":{\"__isSmartRef__\":true,\"id\":731},\"resetConnections\":{\"__isSmartRef__\":true,\"id\":733},\"setTargetToListSelection\":{\"__isSmartRef__\":true,\"id\":735},\"setTargetOfPane\":{\"__isSmartRef__\":true,\"id\":737},\"onBlur\":{\"__isSmartRef__\":true,\"id\":739},\"reset\":{\"__isSmartRef__\":true,\"id\":741},\"onMouseDown\":{\"__isSmartRef__\":true,\"id\":743}},\"727\":{\"time\":{\"__isSmartRef__\":true,\"id\":728},\"user\":\"lauritz\"},\"728\":{\"isSerializedDate\":true,\"string\":\"Fri Oct 28 2011 05:27:29 GMT+0200 (CEST)\"},\"729\":{\"time\":{\"__isSmartRef__\":true,\"id\":730},\"user\":\"lauritz\"},\"730\":{\"isSerializedDate\":true,\"string\":\"Fri Oct 14 2011 23:48:37 GMT+0200 (CEST)\"},\"731\":{\"time\":{\"__isSmartRef__\":true,\"id\":732},\"user\":\"lauritz\"},\"732\":{\"isSerializedDate\":true,\"string\":\"Mon Oct 03 2011 18:51:14 GMT+0200 (CEST)\"},\"733\":{\"time\":{\"__isSmartRef__\":true,\"id\":734},\"user\":\"lauritz\"},\"734\":{\"isSerializedDate\":true,\"string\":\"Wed Sep 28 2011 01:03:17 GMT+0200 (CEST)\"},\"735\":{\"time\":{\"__isSmartRef__\":true,\"id\":736},\"user\":\"lauritz\"},\"736\":{\"isSerializedDate\":true,\"string\":\"Sat Oct 15 2011 00:00:58 GMT+0200 (CEST)\"},\"737\":{\"time\":{\"__isSmartRef__\":true,\"id\":738},\"user\":\"lauritz\"},\"738\":{\"isSerializedDate\":true,\"string\":\"Mon Oct 03 2011 18:34:37 GMT+0200 (CEST)\"},\"739\":{\"time\":{\"__isSmartRef__\":true,\"id\":740},\"user\":\"lauritz\"},\"740\":{\"isSerializedDate\":true,\"string\":\"Fri Oct 07 2011 19:24:18 GMT+0200 (CEST)\"},\"741\":{\"time\":{\"__isSmartRef__\":true,\"id\":742},\"user\":\"lauritz\"},\"742\":{\"isSerializedDate\":true,\"string\":\"Fri Oct 07 2011 19:26:15 GMT+0200 (CEST)\"},\"743\":{\"time\":{\"__isSmartRef__\":true,\"id\":744},\"user\":\"lauritz\"},\"744\":{\"isSerializedDate\":true,\"string\":\"Mon Oct 17 2011 19:49:00 GMT+0200 (CEST)\"},\"745\":{},\"746\":{\"x\":153.8540395186758,\"y\":-23.74126935194758,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"747\":{\"getList\":{\"__isSmartRef__\":true,\"id\":748},\"setList\":{\"__isSmartRef__\":true,\"id\":751},\"reset\":{\"__isSmartRef__\":true,\"id\":754},\"example\":{\"__isSmartRef__\":true,\"id\":757},\"removeList\":{\"__isSmartRef__\":true,\"id\":760},\"onBlur\":{\"__isSmartRef__\":true,\"id\":763},\"createListMorph\":{\"__isSmartRef__\":true,\"id\":770},\"resetConnections\":{\"__isSmartRef__\":true,\"id\":773},\"displayTopLevelMorphs\":{\"__isSmartRef__\":true,\"id\":776},\"setTargetToListSelection\":{\"__isSmartRef__\":true,\"id\":779},\"setTargetOfPane\":{\"__isSmartRef__\":true,\"id\":782},\"onMouseDown\":{\"__isSmartRef__\":true,\"id\":785}},\"748\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":749},\"source\":\"function getList() {\\n return this.world().indentedListItemsOfMorphNames();\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":750},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"749\":{\"this\":{\"__isSmartRef__\":true,\"id\":708}},\"750\":{},\"751\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":752},\"source\":\"function setList(list) {\\n return this.list = list;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":753},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"752\":{\"this\":{\"__isSmartRef__\":true,\"id\":708}},\"753\":{},\"754\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":755},\"source\":\"function reset() {\\n this.list = [];\\n this.textString = 'empty';\\n this.removeList();\\n this.resetConnections();\\n this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'})\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":756},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"755\":{\"this\":{\"__isSmartRef__\":true,\"id\":708}},\"756\":{},\"757\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":758},\"source\":\"function example() {\\n/*\\nthis.example()\\nthis.getList()\\n*/\\n this.setList(Array.range(0,100));\\n this.textString = 'empty';\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":759},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"758\":{\"this\":{\"__isSmartRef__\":true,\"id\":708}},\"759\":{},\"760\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":761},\"source\":\"function removeList() {\\n this.listMorph && this.listMorph.remove()\\n this.listMorph = null;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":762},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"761\":{\"this\":{\"__isSmartRef__\":true,\"id\":708}},\"762\":{},\"763\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":764},\"source\":\"function onBlur() {\\n $super();\\n this.removeList();\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":769},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"764\":{\"this\":{\"__isSmartRef__\":true,\"id\":708},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":765}},\"765\":{\"$super\":{\"__isSmartRef__\":true,\"id\":766}},\"766\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":767},\"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\":768},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"767\":{\"obj\":{\"__isSmartRef__\":true,\"id\":708},\"name\":\"onBlur\"},\"768\":{},\"769\":{},\"770\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":771},\"source\":\"function createListMorph() {\\n var list = new lively.morphic.List(new Rectangle(0,0, this.getExtent().x, 520));\\n list.setList(this.getList());\\n list.setFontSize(12);\\n\\n list.disableGrabbing();\\n list.disableDragging();\\n \\n this.addMorph(list);\\n list.setPosition(pt(0,0));\\n\\n connect(list, 'selection', this, 'setTargetToListSelection');\\n \\n return list;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":772},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"771\":{\"this\":{\"__isSmartRef__\":true,\"id\":708}},\"772\":{},\"773\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":774},\"source\":\"function resetConnections() {\\n disconnectAll(this);\\n connect(this, 'savedTextString', this.owner, 'setTarget', {converter: \\n\\tfunction (name) { return $world.get(name)}});\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":775},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"774\":{\"this\":{\"__isSmartRef__\":true,\"id\":708}},\"775\":{},\"776\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":777},\"source\":\"function displayTopLevelMorphs() {\\n if (this.listMorph) { this.removeList(); return true }\\n var list = this.createListMorph(); \\n this.addMorph(list);\\n this.listMorph = list;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":778},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"777\":{\"this\":{\"__isSmartRef__\":true,\"id\":708}},\"778\":{},\"779\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":780},\"source\":\"function setTargetToListSelection(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\":781},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"780\":{\"this\":{\"__isSmartRef__\":true,\"id\":708}},\"781\":{},\"782\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":783},\"source\":\"function setTargetOfPane(selection) {\\n this.owner.setTarget(selection);\\n this.setTextString(selection.getName());\\n this.removeList();\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":784},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"783\":{\"this\":{\"__isSmartRef__\":true,\"id\":708}},\"784\":{},\"785\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":786},\"source\":\"function onMouseDown(evt) {\\n if (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\\n if (this.listMorph) {\\n return false;\\n } else {\\n this.displayTopLevelMorphs();\\n return true;\\n }\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":791},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"786\":{\"this\":{\"__isSmartRef__\":true,\"id\":708},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":787}},\"787\":{\"$super\":{\"__isSmartRef__\":true,\"id\":788}},\"788\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":789},\"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\":790},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"789\":{\"obj\":{\"__isSmartRef__\":true,\"id\":708},\"name\":\"onMouseDown\"},\"790\":{},\"791\":{},\"792\":{\"morph\":{\"__isSmartRef__\":true,\"id\":19},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"793\":{\"sortedScriptNamesOfObj\":{\"__isSmartRef__\":true,\"id\":794},\"setTarget\":{\"__isSmartRef__\":true,\"id\":797},\"generateSourceForScript\":{\"__isSmartRef__\":true,\"id\":800},\"generateSourceForConnection\":{\"__isSmartRef__\":true,\"id\":803},\"generateTargetCode\":{\"__isSmartRef__\":true,\"id\":806},\"sortedConnectionNamesOfObj\":{\"__isSmartRef__\":true,\"id\":809},\"displayJavaScriptSource\":{\"__isSmartRef__\":true,\"id\":812},\"displaySourceForScript\":{\"__isSmartRef__\":true,\"id\":815},\"displaySourceForConnection\":{\"__isSmartRef__\":true,\"id\":818},\"newScript\":{\"__isSmartRef__\":true,\"id\":821},\"newConnection\":{\"__isSmartRef__\":true,\"id\":824},\"deleteSelectedScript\":{\"__isSmartRef__\":true,\"id\":827},\"disconnectConnection\":{\"__isSmartRef__\":true,\"id\":830},\"updateLists\":{\"__isSmartRef__\":true,\"id\":833},\"displayInitialScript\":{\"__isSmartRef__\":true,\"id\":836},\"reset\":{\"__isSmartRef__\":true,\"id\":839},\"selectChangedContent\":{\"__isSmartRef__\":true,\"id\":842}},\"794\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":795},\"source\":\"function sortedScriptNamesOfObj(obj) {\\n if (!Functions.own(obj) || Functions.own(obj).size() == 0) return [];\\n return Functions.own(obj)\\n\\t.select(function(name) { return obj[name].hasLivelyClosure })\\n\\t.sortBy(function(name) { return name.toLowerCase() });\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":796},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"795\":{\"this\":{\"__isSmartRef__\":true,\"id\":19}},\"796\":{},\"797\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":798},\"source\":\"function setTarget(morph) {\\n this.reset();\\n module('lively.ide.SyntaxHighlighting').load(true);\\n this.target = morph;\\n this.morphSelector.textString = (this.target.getName() || this.target.toString());\\n this.scriptPane.doitContext = this.target;\\n this.updateLists();\\n this.displayInitialScript();\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":799},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"798\":{\"this\":{\"__isSmartRef__\":true,\"id\":19}},\"799\":{},\"800\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":801},\"source\":\"function generateSourceForScript(scriptName) {\\n var script = this.target[scriptName].getOriginal();\\n return Strings.format('this.addScript(%s);' ,script)\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":802},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"801\":{\"this\":{\"__isSmartRef__\":true,\"id\":19}},\"802\":{},\"803\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":804},\"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\":805},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"804\":{\"this\":{\"__isSmartRef__\":true,\"id\":19}},\"805\":{},\"806\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":807},\"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\":808},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"807\":{\"this\":{\"__isSmartRef__\":true,\"id\":19}},\"808\":{},\"809\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":810},\"source\":\"function sortedConnectionNamesOfObj(obj) {\\n if (\\\"attributeConnections\\\" in obj) {\\n return obj.attributeConnections\\n .sortBy(function(each) {return name.toLowerCase() })\\n .collect(function(each) {return [each.getSourceAttrName(), each]});\\n } else {\\n return [];\\n }\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":811},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"810\":{\"this\":{\"__isSmartRef__\":true,\"id\":19}},\"811\":{},\"812\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":813},\"source\":\"function displayJavaScriptSource(jsCode) {\\n this.scriptPane.setTextString(jsCode);\\n this.scriptPane.highlightJavaScriptSyntax();\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":814},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"813\":{\"this\":{\"__isSmartRef__\":true,\"id\":19}},\"814\":{},\"815\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":816},\"source\":\"function displaySourceForScript(scriptName) {\\n if (!scriptName) return;\\n var code = \\\"\\\", that = this;\\n if (scriptName === \\\"-- ALL --\\\") {\\n this.sortedScriptNamesOfObj(this.target).forEach(function(each) {\\n code = code.concat(that.generateSourceForScript(each)).concat(\\\"\\\\n\\\\n\\\");\\n });\\n } else {\\n code = this.generateSourceForScript(scriptName); \\n }\\n this.displayJavaScriptSource(code);\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":817},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"816\":{\"this\":{\"__isSmartRef__\":true,\"id\":19}},\"817\":{},\"818\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":819},\"source\":\"function displaySourceForConnection(connection) {\\n if (!connection) return;\\n var code = \\\"\\\", that = this;\\n if ((typeof connection === \\\"string\\\") && connection === \\\"-- ALL --\\\") {\\n this.sortedConnectionNamesOfObj(this.target).forEach(function(each) {\\n code = code.concat(that.generateSourceForConnection(each[1])).concat(\\\"\\\\n\\\\n\\\");\\n })\\n } else {\\n code = this.generateSourceForConnection(connection);\\n }\\n this.displayJavaScriptSource(code);\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":820},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"819\":{\"this\":{\"__isSmartRef__\":true,\"id\":19}},\"820\":{},\"821\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":822},\"source\":\"function newScript() {\\n if (this.target) {\\n var code = \\\"this.addScript(function SCRIPTNAME() {\\\\n\\\\t\\\\n});\\\";\\n this.displayJavaScriptSource(code);\\n }\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":823},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"822\":{\"this\":{\"__isSmartRef__\":true,\"id\":19}},\"823\":{},\"824\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":825},\"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\":826},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"825\":{\"this\":{\"__isSmartRef__\":true,\"id\":19}},\"826\":{},\"827\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":828},\"source\":\"function deleteSelectedScript() {\\n if (this.scriptList.selection && this.target) {\\n if (!this.target.hasOwnProperty(this.scriptList.selection)) return;\\n delete this.target[this.scriptList.selection];\\n this.updateLists();\\n this.displayInitialScript();\\n }\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":829},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"828\":{\"this\":{\"__isSmartRef__\":true,\"id\":19}},\"829\":{},\"830\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":831},\"source\":\"function disconnectConnection() {\\n var selection = this.connectionList.selection;\\n if (selection && \\n (typeof selection !== \\\"string\\\") &&\\n this.target.attributeConnections.indexOf(selection[1]) > -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\":832},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"831\":{\"this\":{\"__isSmartRef__\":true,\"id\":19}},\"832\":{},\"833\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":834},\"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\":835},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"834\":{\"this\":{\"__isSmartRef__\":true,\"id\":19}},\"835\":{},\"836\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":837},\"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\":838},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"837\":{\"this\":{\"__isSmartRef__\":true,\"id\":19}},\"838\":{},\"839\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":840},\"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\":841},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"840\":{\"this\":{\"__isSmartRef__\":true,\"id\":19}},\"841\":{},\"842\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":843},\"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\":1042},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1041\":{\"this\":{\"__isSmartRef__\":true,\"id\":988}},\"1042\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1043},\"user\":\"lauritz\",\"categories\":[]},\"1043\":{\"isSerializedDate\":true,\"string\":\"Fri Nov 11 2011 01:46:54 GMT+0100 (CET)\"},\"1044\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1045}],\"scripts\":[],\"id\":\"99186A50-1411-4B6F-B1CB-FF0742C20D7D\",\"shape\":{\"__isSmartRef__\":true,\"id\":1060},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"showsMorphMenu\":true,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1076},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":1063},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":1077},\"label\":{\"__isSmartRef__\":true,\"id\":1045},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":1086}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"padding\":{\"__isSmartRef__\":true,\"id\":1088},\"name\":\"ObjectEditorRemoveScriptButton\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1089},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1090},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1091},\"owner\":{\"__isSmartRef__\":true,\"id\":1},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1092},\"isCopyMorphRef\":true,\"morphRefId\":24,\"draggingEnabled\":false,\"objectEditorPane\":{\"__isSmartRef__\":true,\"id\":1},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1093},\"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\",\"7DDF7175-34FC-4521-A7C3-580A8BE63351\",\"DEA39C05-FAD7-4882-AB3D-0EE12C3408F9\"],\"_ClipMode\":\"visible\",\"_Rotation\":0,\"_Scale\":1,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":1094},\"__LivelyClassName__\":\"lively.morphic.Button\"},\"1045\":{\"submorphs\":[],\"scripts\":[],\"id\":\"CA91FC2C-D7CC-4123-AFD2-108F8F0C2E97\",\"shape\":{\"__isSmartRef__\":true,\"id\":1046},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"showsMorphMenu\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_MaxTextWidth\":21,\"_MaxTextHeight\":null,\"fixedHeight\":true,\"allowsInput\":false,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1052},\"textColor\":{\"__isSmartRef__\":true,\"id\":1049},\"owner\":{\"__isSmartRef__\":true,\"id\":1044},\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1053}],\"padding\":{\"__isSmartRef__\":true,\"id\":1055},\"_Padding\":{\"__isSmartRef__\":true,\"id\":1056},\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1057},\"_FontFamily\":\"Helvetica, Sans-Serif\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1058},\"_ClipMode\":\"hidden\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"_Align\":\"center\",\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1059},\"_HandStyle\":\"default\",\"_PointerEvents\":\"none\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_MinTextWidth\":21,\"_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\",\"B4C4F09B-F663-47A1-B85F-461D5452F5F8\",\"FD966AB1-4685-4151-9A38-B1B21B0237EF\"],\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1046\":{\"borderWidth\":0,\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1047},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1048},\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1049},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1050},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1051},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1047\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1048\":{\"x\":25,\"y\":20,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"1049\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1050\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"1051\":{\"x\":2,\"y\":2,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1052\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1053\":{\"style\":{\"__isSmartRef__\":true,\"id\":1054},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1045},\"storedString\":\"-\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1054\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"textShadow\":\"0px 1px 0 rgba(255,255,255,1)\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1055\":{\"x\":5,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1056\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1057\":{\"x\":25,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1058\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1059\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1045},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1060\":{\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1061},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1062},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1063},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1073},\"_BorderRadius\":5,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1074},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1075},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1061\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1062\":{\"x\":25,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1063\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1064},{\"__isSmartRef__\":true,\"id\":1066},{\"__isSmartRef__\":true,\"id\":1068},{\"__isSmartRef__\":true,\"id\":1070}],\"vector\":{\"__isSmartRef__\":true,\"id\":1072},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1064\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1065}},\"1065\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1066\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1067}},\"1067\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1068\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1069}},\"1069\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1070\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1071}},\"1071\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1072\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1073\":{\"r\":0.839,\"g\":0.839,\"b\":0.839,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1074\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"1075\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1076\":{\"x\":160,\"y\":40,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1077\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1078},{\"__isSmartRef__\":true,\"id\":1080},{\"__isSmartRef__\":true,\"id\":1082},{\"__isSmartRef__\":true,\"id\":1084}],\"vector\":{\"__isSmartRef__\":true,\"id\":1072},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1078\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1079}},\"1079\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1080\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1081}},\"1081\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1082\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1083}},\"1083\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1084\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1085}},\"1085\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1086\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1044},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1044},\"targetMethodName\":\"deleteSelectedScript\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":1087},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1087\":{\"source\":{\"__isSmartRef__\":true,\"id\":1044},\"target\":{\"__isSmartRef__\":true,\"id\":1044}},\"1088\":{\"x\":5,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1089\":{\"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\"},\"1090\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"1091\":{\"x\":30,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1092\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1044},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1093\":{\"x\":33.35839679439101,\"y\":-21.324811622839547,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1094\":{\"deleteSelectedScript\":{\"__isSmartRef__\":true,\"id\":1095}},\"1095\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1096},\"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\":1097},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1096\":{\"this\":{\"__isSmartRef__\":true,\"id\":1044}},\"1097\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1098},\"user\":\"lauritz\"},\"1098\":{\"isSerializedDate\":true,\"string\":\"Thu Nov 17 2011 18:12:21 GMT+0100 (CET)\"},\"1099\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1100}],\"scripts\":[],\"id\":\"95DC06D5-F4C7-49E2-8A01-110D1B0AFBD0\",\"shape\":{\"__isSmartRef__\":true,\"id\":1116},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"showsMorphMenu\":true,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1132},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":1119},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":1133},\"label\":{\"__isSmartRef__\":true,\"id\":1100},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"padding\":{\"__isSmartRef__\":true,\"id\":1142},\"name\":\"ObjectEditorMorphSelector\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1143},\"list\":[],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1144},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1145},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1146},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1147},\"owner\":{\"__isSmartRef__\":true,\"id\":1},\"textString\":\"\",\"selection\":{\"__isSmartRef__\":true,\"id\":1148},\"_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\",\"A50C1893-4138-4E29-865B-92F53F76D08A\",\"1EC5D2B9-3539-419A-8DD6-CE82DEABB02C\"],\"_Rotation\":0,\"_Scale\":1,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":1165},\"__LivelyClassName__\":\"lively.morphic.Button\"},\"1100\":{\"submorphs\":[],\"scripts\":[],\"id\":\"4E3B3D72-E52C-44ED-AE32-78939BA1ECFD\",\"shape\":{\"__isSmartRef__\":true,\"id\":1101},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"showsMorphMenu\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_MaxTextWidth\":220,\"_MaxTextHeight\":null,\"fixedHeight\":true,\"allowsInput\":false,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1107},\"textColor\":{\"__isSmartRef__\":true,\"id\":1104},\"owner\":{\"__isSmartRef__\":true,\"id\":1099},\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1108}],\"padding\":{\"__isSmartRef__\":true,\"id\":1110},\"_Padding\":{\"__isSmartRef__\":true,\"id\":1110},\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1111},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":1112}],\"doNotSerialize\":[\"$$savedTextString\"],\"doNotCopyProperties\":[\"$$savedTextString\"],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1113},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1114},\"_HandStyle\":\"default\",\"_PointerEvents\":\"none\",\"_ClipMode\":\"hidden\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"_MinTextWidth\":220,\"_MinTextHeight\":null,\"_Align\":\"left\",\"_FontFamily\":\"Arial\",\"_FontSize\":10,\"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\",\"74158C3D-B79E-43E7-B111-48701B10ACE2\",\"B19E117B-E40F-4B9F-86AC-BFB2AAFD5336\"],\"_TextColor\":{\"__isSmartRef__\":true,\"id\":1115},\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1101\":{\"borderWidth\":0,\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1102},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1103},\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1104},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1105},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1106},\"_BorderWidth\":0,\"_Fill\":null,\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1102\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1103\":{\"x\":220,\"y\":20,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"1104\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1105\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"1106\":{\"x\":0,\"y\":3,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1107\":{\"x\":2,\"y\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1108\":{\"style\":{\"__isSmartRef__\":true,\"id\":1109},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1100},\"storedString\":\"empty\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1109\":{\"textShadow\":\"0px 1px 0 rgba(255,255,255,1)\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1110\":{\"x\":5,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1111\":{\"x\":220,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1112\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1100},\"sourceAttrName\":\"savedTextString\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1099},\"targetMethodName\":\"selection\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1113\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1114\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1100},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1115\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1116\":{\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1117},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1118},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1119},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1129},\"_BorderRadius\":5,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1130},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1131},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1117\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1118\":{\"x\":220,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1119\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1120},{\"__isSmartRef__\":true,\"id\":1122},{\"__isSmartRef__\":true,\"id\":1124},{\"__isSmartRef__\":true,\"id\":1126}],\"vector\":{\"__isSmartRef__\":true,\"id\":1128},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1120\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1121}},\"1121\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1122\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1123}},\"1123\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1124\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1125}},\"1125\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1126\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1127}},\"1127\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1128\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1129\":{\"r\":0.839,\"g\":0.839,\"b\":0.839,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1130\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"1131\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1132\":{\"x\":240.1308656788165,\"y\":10,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1133\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1134},{\"__isSmartRef__\":true,\"id\":1136},{\"__isSmartRef__\":true,\"id\":1138},{\"__isSmartRef__\":true,\"id\":1140}],\"vector\":{\"__isSmartRef__\":true,\"id\":1128},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1134\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1135}},\"1135\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1136\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1137}},\"1137\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1138\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1139}},\"1139\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1140\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1141}},\"1141\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1142\":{\"x\":5,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1143\":{\"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\"},\"1144\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"1145\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1099},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1146\":{\"x\":122.93118375058827,\"y\":-11.582832083333244,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1147\":{\"x\":220,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1148\":{\"submorphs\":[],\"scripts\":[],\"id\":181,\"shape\":{\"__isSmartRef__\":true,\"id\":1149},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":true,\"_FontFamily\":\"Helvetica\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1155},\"_MaxTextWidth\":580,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":1156},\"showsHalos\":false,\"_FontSize\":28,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"Title\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1157},\"_TextColor\":{\"__isSmartRef__\":true,\"id\":1158},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1159},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1160}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1162},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1163},\"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\":1164},\"_ClipMode\":\"visible\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"isCopyMorphRef\":true,\"morphRefId\":2,\"prevScroll\":[0,0],\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1149\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1150},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1151},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1152},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1153},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1154},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1150\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1151\":{\"x\":580,\"y\":43,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1152\":{\"r\":1,\"g\":1,\"b\":1,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1153\":{\"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\"},\"1154\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1155\":{\"x\":37,\"y\":23,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1156\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1157\":{\"partsSpaceName\":\"PartsBin/Worlds/\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"comment\":\"For example a world title.\",\"partName\":\"Title\",\"migrationLevel\":2,\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"1158\":{\"r\":0,\"g\":0.309,\"b\":0.595,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1159\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1160\":{\"style\":{\"__isSmartRef__\":true,\"id\":1161},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1148},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1161\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1162\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1148},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1163\":{\"x\":580,\"y\":43,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1164\":{\"x\":221,\"y\":-12,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1165\":{\"createListMorph\":{\"__isSmartRef__\":true,\"id\":1166},\"getList\":{\"__isSmartRef__\":true,\"id\":1170},\"removeList\":{\"__isSmartRef__\":true,\"id\":1174},\"reset\":{\"__isSmartRef__\":true,\"id\":1178},\"displayTopLevelMorphs\":{\"__isSmartRef__\":true,\"id\":1182},\"onMouseDown\":{\"__isSmartRef__\":true,\"id\":1186},\"setTargetOfPane\":{\"__isSmartRef__\":true,\"id\":1194},\"setTargetToListSelection\":{\"__isSmartRef__\":true,\"id\":1198},\"onBlur\":{\"__isSmartRef__\":true,\"id\":1202},\"setTarget\":{\"__isSmartRef__\":true,\"id\":1210},\"setTargetOnSelection\":{\"__isSmartRef__\":true,\"id\":1214}},\"1166\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1167},\"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\":1168},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1167\":{\"this\":{\"__isSmartRef__\":true,\"id\":1099}},\"1168\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1169},\"user\":\"lauritz\",\"tags\":[]},\"1169\":{\"isSerializedDate\":true,\"string\":\"Tue Dec 13 2011 18:55:41 GMT+0100 (CET)\"},\"1170\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1171},\"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\":1172},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1171\":{\"this\":{\"__isSmartRef__\":true,\"id\":1099}},\"1172\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1173},\"user\":\"lauritz\",\"tags\":[]},\"1173\":{\"isSerializedDate\":true,\"string\":\"Mon Nov 21 2011 23:12:23 GMT+0100 (CET)\"},\"1174\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1175},\"source\":\"function removeList() {\\n this.listMorph && this.listMorph.remove();\\n this.listMorph = null;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":1176},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1175\":{\"this\":{\"__isSmartRef__\":true,\"id\":1099}},\"1176\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1177},\"user\":\"lauritz\",\"tags\":[]},\"1177\":{\"isSerializedDate\":true,\"string\":\"Wed Dec 07 2011 05:51:07 GMT+0100 (CET)\"},\"1178\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1179},\"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\":1180},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1179\":{\"this\":{\"__isSmartRef__\":true,\"id\":1099}},\"1180\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1181},\"user\":\"lauritz\",\"tags\":[]},\"1181\":{\"isSerializedDate\":true,\"string\":\"Wed Dec 07 2011 05:34:06 GMT+0100 (CET)\"},\"1182\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1183},\"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\":1184},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1183\":{\"this\":{\"__isSmartRef__\":true,\"id\":1099}},\"1184\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1185},\"user\":\"lauritz\",\"tags\":[]},\"1185\":{\"isSerializedDate\":true,\"string\":\"Tue Dec 13 2011 18:53:20 GMT+0100 (CET)\"},\"1186\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1187},\"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\":1192},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1187\":{\"this\":{\"__isSmartRef__\":true,\"id\":1099},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":1188}},\"1188\":{\"$super\":{\"__isSmartRef__\":true,\"id\":1189}},\"1189\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1190},\"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\":1191},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1190\":{\"obj\":{\"__isSmartRef__\":true,\"id\":1099},\"name\":\"onMouseDown\"},\"1191\":{},\"1192\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1193},\"user\":\"lauritz\",\"tags\":[]},\"1193\":{\"isSerializedDate\":true,\"string\":\"Wed Dec 07 2011 05:30:39 GMT+0100 (CET)\"},\"1194\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1195},\"source\":\"function setTargetOfPane(selection) {\\n this.owner.setTarget(selection);\\n this.label.setAlign('left');\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":1196},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1195\":{\"this\":{\"__isSmartRef__\":true,\"id\":1099}},\"1196\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1197},\"user\":\"lauritz\",\"tags\":[]},\"1197\":{\"isSerializedDate\":true,\"string\":\"Wed Dec 07 2011 04:30:42 GMT+0100 (CET)\"},\"1198\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1199},\"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\":1200},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1199\":{\"this\":{\"__isSmartRef__\":true,\"id\":1099}},\"1200\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1201},\"user\":\"lauritz\",\"tags\":[]},\"1201\":{\"isSerializedDate\":true,\"string\":\"Wed Dec 07 2011 06:06:48 GMT+0100 (CET)\"},\"1202\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1203},\"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\":1208},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1203\":{\"this\":{\"__isSmartRef__\":true,\"id\":1099},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":1204}},\"1204\":{\"$super\":{\"__isSmartRef__\":true,\"id\":1205}},\"1205\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1206},\"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\":1207},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1206\":{\"obj\":{\"__isSmartRef__\":true,\"id\":1099},\"name\":\"onBlur\"},\"1207\":{},\"1208\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1209},\"user\":\"lauritz\",\"tags\":[]},\"1209\":{\"isSerializedDate\":true,\"string\":\"Wed Dec 07 2011 05:30:08 GMT+0100 (CET)\"},\"1210\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1211},\"source\":\"function setTarget(target) {\\n this.label.setTextString(target.getName() || target.toString());\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":1212},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1211\":{\"this\":{\"__isSmartRef__\":true,\"id\":1099}},\"1212\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1213},\"user\":\"lauritz\",\"tags\":[]},\"1213\":{\"isSerializedDate\":true,\"string\":\"Wed Dec 07 2011 04:29:39 GMT+0100 (CET)\"},\"1214\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1215},\"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\":1216},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1215\":{\"this\":{\"__isSmartRef__\":true,\"id\":1099}},\"1216\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1217},\"user\":\"lauritz\",\"tags\":[]},\"1217\":{\"isSerializedDate\":true,\"string\":\"Wed Dec 07 2011 06:12:06 GMT+0100 (CET)\"},\"1218\":{\"submorphs\":[],\"scripts\":[],\"id\":\"F1C241D4-A689-4DB7-942F-ADB5F39D9CAA\",\"shape\":{\"__isSmartRef__\":true,\"id\":1219},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":false,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1225},\"_MaxTextWidth\":64.8979476392384,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":1222},\"showsHalos\":false,\"_FontSize\":9,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"ObjectEditorScriptsText1\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1226},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1227}],\"charsReplaced\":\"Scripts\",\"lastFindLoc\":-7,\"priorSelectionRange\":[0,7],\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1229},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1230},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1231},\"_WhiteSpaceHandling\":\"pre-wrap\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_MinTextWidth\":64.8979476392384,\"_MinTextHeight\":null,\"_ClipMode\":\"visible\",\"draggingEnabled\":false,\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1232},\"eventsAreIgnored\":true,\"owner\":{\"__isSmartRef__\":true,\"id\":1},\"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\",\"36D1ECF9-591F-426B-A4F6-B337D7DB053B\",\"CB52849C-BE64-4053-8D07-758F969F84EB\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1219\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1220},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1221},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1222},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1223},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1224},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1220\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1221\":{\"x\":64.8979476392384,\"y\":14,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"1222\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1223\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"1224\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1225\":{\"x\":198.16434648623274,\"y\":12.911539589748486,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1226\":{\"partsSpaceName\":\"PartsBin/NewWorld\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":1,\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"1227\":{\"style\":{\"__isSmartRef__\":true,\"id\":1228},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1218},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"Target:\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1228\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1229\":{\"x\":64.8979476392384,\"y\":14,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1230\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1231\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1218},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1232\":{\"x\":41.065989525935834,\"y\":-10.506047005169194,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1233\":{\"submorphs\":[],\"scripts\":[],\"id\":\"25199967-E3BA-4763-A704-37BD3152A5F7\",\"shape\":{\"__isSmartRef__\":true,\"id\":1234},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":false,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1240},\"_MaxTextWidth\":64.8979476392384,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":1237},\"showsHalos\":false,\"_FontSize\":9,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"ObjectEditorScriptsText2\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1241},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1242}],\"charsReplaced\":\"Scripts\",\"lastFindLoc\":-7,\"priorSelectionRange\":[0,7],\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1244},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1245},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1246},\"_WhiteSpaceHandling\":\"pre-wrap\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_MinTextWidth\":64.8979476392384,\"_MinTextHeight\":null,\"_ClipMode\":\"visible\",\"draggingEnabled\":false,\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1247},\"eventsAreIgnored\":true,\"isCopyMorphRef\":true,\"morphRefId\":27,\"owner\":{\"__isSmartRef__\":true,\"id\":1},\"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\",\"75C07D11-AE5D-4A36-B2D0-F2A6EA414E72\",\"494AB1C0-2C09-49DE-B4AA-1F24DC7495FF\"],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1234\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1235},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1236},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1237},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1238},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1239},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1235\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1236\":{\"x\":64.8979476392384,\"y\":14,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"1237\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1238\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"1239\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1240\":{\"x\":10,\"y\":12.911539589749026,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1241\":{\"partsSpaceName\":\"PartsBin/NewWorld\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":1,\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"1242\":{\"style\":{\"__isSmartRef__\":true,\"id\":1243},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1233},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"Tag:\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1243\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1244\":{\"x\":64.8979476392384,\"y\":14,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1245\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1246\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1233},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1247\":{\"x\":45.76052154281416,\"y\":-27.783027415339603,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1248\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1249}],\"scripts\":[],\"id\":\"ED802271-AE5C-4BE9-AC4E-7CED44BC864B\",\"shape\":{\"__isSmartRef__\":true,\"id\":1263},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"showsMorphMenu\":true,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1279},\"value\":true,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":1280},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":1266},\"label\":{\"__isSmartRef__\":true,\"id\":1249},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"padding\":{\"__isSmartRef__\":true,\"id\":1289},\"name\":\"ObjectEditorTagChooser\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1290},\"listMorph\":null,\"list\":[],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1291},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1292},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1293},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1294},\"textString\":\"PartsBinBrowser\",\"selection\":\"\",\"_ClipMode\":\"visible\",\"prevScroll\":[0,0],\"owner\":{\"__isSmartRef__\":true,\"id\":1},\"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\",\"C66EBEEC-B7CE-4DD9-8BDF-905F071F965D\",\"D68B143A-A712-4FD0-8803-62CCB4C7F763\"],\"_Rotation\":0,\"_Scale\":1,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":1295},\"__LivelyClassName__\":\"lively.morphic.Button\"},\"1249\":{\"submorphs\":[],\"scripts\":[],\"id\":\"AABED87D-D7C0-494A-8803-26F4601E35FF\",\"shape\":{\"__isSmartRef__\":true,\"id\":1250},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"showsMorphMenu\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_MaxTextWidth\":130,\"_MaxTextHeight\":null,\"fixedHeight\":true,\"allowsInput\":false,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1255},\"textColor\":{\"__isSmartRef__\":true,\"id\":1253},\"owner\":{\"__isSmartRef__\":true,\"id\":1248},\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1256}],\"padding\":{\"__isSmartRef__\":true,\"id\":1258},\"_Padding\":{\"__isSmartRef__\":true,\"id\":1258},\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1259},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":1260}],\"doNotSerialize\":[\"$$savedTextString\"],\"doNotCopyProperties\":[\"$$savedTextString\"],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1261},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1262},\"_HandStyle\":\"default\",\"_PointerEvents\":\"none\",\"_ClipMode\":\"hidden\",\"_WhiteSpaceHandling\":\"pre-wrap\",\"_MinTextWidth\":130,\"_MinTextHeight\":null,\"_Align\":\"left\",\"_FontFamily\":\"Arial\",\"_FontSize\":10,\"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\",\"567FC668-A57C-41CB-8252-8912826B3144\",\"D0B0775F-C8E7-49EB-BBB2-C7BB7DD464BF\"],\"_TextColor\":{\"__isSmartRef__\":true,\"id\":1115},\"_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\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1106},\"_BorderWidth\":0,\"_Fill\":null,\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1251\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1252\":{\"x\":130,\"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\":2,\"y\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1256\":{\"style\":{\"__isSmartRef__\":true,\"id\":1257},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1249},\"storedString\":\"all\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1257\":{\"textShadow\":\"0px 1px 0 rgba(255,255,255,1)\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1258\":{\"x\":5,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1259\":{\"x\":130,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1260\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1249},\"sourceAttrName\":\"savedTextString\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1248},\"targetMethodName\":\"selection\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1261\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1262\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1249},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1263\":{\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1264},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1265},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1266},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1276},\"_BorderRadius\":5,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1277},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1278},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1264\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1265\":{\"x\":130,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1266\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1267},{\"__isSmartRef__\":true,\"id\":1269},{\"__isSmartRef__\":true,\"id\":1271},{\"__isSmartRef__\":true,\"id\":1273}],\"vector\":{\"__isSmartRef__\":true,\"id\":1275},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1267\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1268}},\"1268\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1269\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1270}},\"1270\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1271\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1272}},\"1272\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1273\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1274}},\"1274\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1275\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1276\":{\"r\":0.839,\"g\":0.839,\"b\":0.839,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1277\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"1278\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1279\":{\"x\":39.12381412396891,\"y\":10.000000000000057,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1280\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1281},{\"__isSmartRef__\":true,\"id\":1283},{\"__isSmartRef__\":true,\"id\":1285},{\"__isSmartRef__\":true,\"id\":1287}],\"vector\":{\"__isSmartRef__\":true,\"id\":1275},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1281\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1282}},\"1282\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1283\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1284}},\"1284\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1285\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1286}},\"1286\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1287\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1288}},\"1288\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1289\":{\"x\":5,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1290\":{\"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\"},\"1291\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"1292\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1248},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1293\":{\"x\":85.7442776093583,\"y\":-11.582832083333244,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1294\":{\"x\":130,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1295\":{\"createListMorph\":{\"__isSmartRef__\":true,\"id\":1296},\"getList\":{\"__isSmartRef__\":true,\"id\":1300},\"removeList\":{\"__isSmartRef__\":true,\"id\":1304},\"reset\":{\"__isSmartRef__\":true,\"id\":1308},\"onMouseUp\":{\"__isSmartRef__\":true,\"id\":1312},\"onBlur\":{\"__isSmartRef__\":true,\"id\":1320},\"setTag\":{\"__isSmartRef__\":true,\"id\":1328}},\"1296\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1297},\"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\":1298},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1297\":{\"this\":{\"__isSmartRef__\":true,\"id\":1248}},\"1298\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1299},\"user\":\"lauritz\",\"categories\":[]},\"1299\":{\"isSerializedDate\":true,\"string\":\"Tue Nov 29 2011 04:35:59 GMT+0100 (CET)\"},\"1300\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1301},\"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\":1302},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1301\":{\"this\":{\"__isSmartRef__\":true,\"id\":1248}},\"1302\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1303},\"user\":\"lauritz\",\"tags\":[]},\"1303\":{\"isSerializedDate\":true,\"string\":\"Fri Dec 16 2011 20:27:25 GMT+0100 (CET)\"},\"1304\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1305},\"source\":\"function removeList() {\\n this.listMorph && this.listMorph.remove()\\n this.listMorph = null;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":1306},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1305\":{\"this\":{\"__isSmartRef__\":true,\"id\":1248}},\"1306\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1307},\"user\":\"lauritz\",\"categories\":[]},\"1307\":{\"isSerializedDate\":true,\"string\":\"Thu Nov 17 2011 19:06:51 GMT+0100 (CET)\"},\"1308\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1309},\"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\":1310},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1309\":{\"this\":{\"__isSmartRef__\":true,\"id\":1248}},\"1310\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1311},\"user\":\"lauritz\",\"tags\":[]},\"1311\":{\"isSerializedDate\":true,\"string\":\"Fri Dec 16 2011 20:27:53 GMT+0100 (CET)\"},\"1312\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1313},\"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\":1318},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1313\":{\"this\":{\"__isSmartRef__\":true,\"id\":1248},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":1314}},\"1314\":{\"$super\":{\"__isSmartRef__\":true,\"id\":1315}},\"1315\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1316},\"source\":\"function () {\\n try {\\n return obj.constructor.prototype[name].apply(obj, arguments)\\n } catch(e) {\\n alert('Error in $super call: ' + e + '\\\\n' + e.stack);\\n return null;\\n }\\n }\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":1317},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1316\":{\"obj\":{\"__isSmartRef__\":true,\"id\":1248},\"name\":\"onMouseUp\"},\"1317\":{},\"1318\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1319},\"user\":\"lauritz\",\"categories\":[]},\"1319\":{\"isSerializedDate\":true,\"string\":\"Thu Nov 17 2011 18:59:16 GMT+0100 (CET)\"},\"1320\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1321},\"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\":1326},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1321\":{\"this\":{\"__isSmartRef__\":true,\"id\":1248},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":1322}},\"1322\":{\"$super\":{\"__isSmartRef__\":true,\"id\":1323}},\"1323\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1324},\"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\":1325},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1324\":{\"obj\":{\"__isSmartRef__\":true,\"id\":1248},\"name\":\"onBlur\"},\"1325\":{},\"1326\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1327},\"user\":\"lauritz\",\"categories\":[]},\"1327\":{\"isSerializedDate\":true,\"string\":\"Mon Nov 21 2011 23:10:03 GMT+0100 (CET)\"},\"1328\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1329},\"source\":\"function setTag(tag) {\\n this.setLabel(tag || '');\\n this.label.setAlign('left');\\n this.owner.setTag(tag);\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":1330},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1329\":{\"this\":{\"__isSmartRef__\":true,\"id\":1248}},\"1330\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1331},\"user\":\"lauritz\",\"categories\":[]},\"1331\":{\"isSerializedDate\":true,\"string\":\"Tue Nov 29 2011 04:36:12 GMT+0100 (CET)\"},\"1332\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1333}],\"scripts\":[],\"id\":\"97086CE7-CD46-4035-A371-02A41D555A66\",\"shape\":{\"__isSmartRef__\":true,\"id\":1348},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":1352},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":1364},\"label\":{\"__isSmartRef__\":true,\"id\":1333},\"name\":\"Button\",\"showsHalos\":false,\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1373},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":1374}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1410},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1411},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1412},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1413},\"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\",\"1C6D1DC9-2F9B-4DC4-B453-1CA45B17C516\",\"0E8EC0BF-934B-410B-AEC2-0ECA8C8F774D\"],\"_Position\":{\"__isSmartRef__\":true,\"id\":1414},\"owner\":{\"__isSmartRef__\":true,\"id\":1},\"layout\":{\"__isSmartRef__\":true,\"id\":1415},\"_ClipMode\":\"visible\",\"_Rotation\":0,\"_Scale\":0.994014980014994,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"1333\":{\"submorphs\":[],\"scripts\":[],\"id\":\"714637F0-714A-4833-909B-BA4AF1B4628B\",\"shape\":{\"__isSmartRef__\":true,\"id\":1334},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1340},\"_MaxTextWidth\":97,\"_MaxTextHeight\":null,\"textStyle\":null,\"padding\":{\"__isSmartRef__\":true,\"id\":1341},\"_Padding\":{\"__isSmartRef__\":true,\"id\":1342},\"owner\":{\"__isSmartRef__\":true,\"id\":1332},\"isLabel\":true,\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"_ClipMode\":\"hidden\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1343},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1344}],\"_Align\":\"center\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1346},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1347},\"_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\",\"81041CF7-31DB-4F65-BB39-FE438A4F266F\",\"D03829B3-268E-40A0-A440-3E4BAC344F30\"],\"_MinTextWidth\":97,\"_MinTextHeight\":null,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1334\":{\"position\":{\"__isSmartRef__\":true,\"id\":1335},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1336},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1337},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1338},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1339},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1335\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1336\":{\"x\":101,\"y\":21,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"1337\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1338\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"1339\":{\"x\":2,\"y\":2,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1340\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1341\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1342\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1343\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1344\":{\"style\":{\"__isSmartRef__\":true,\"id\":1345},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1333},\"storedString\":\"run\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1345\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"textShadow\":\"0px 1px 0 rgba(255,255,255,1)\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1346\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1347\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1333},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1348\":{\"position\":{\"__isSmartRef__\":true,\"id\":1349},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1350},\"_BorderWidth\":1.1840000000000002,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1351},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1352},\"_BorderRadius\":5.2,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1362},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1363},\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1349\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1350\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1351\":{\"r\":0.839,\"g\":0.839,\"b\":0.839,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1352\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1353},{\"__isSmartRef__\":true,\"id\":1355},{\"__isSmartRef__\":true,\"id\":1357},{\"__isSmartRef__\":true,\"id\":1359}],\"vector\":{\"__isSmartRef__\":true,\"id\":1361},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1353\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1354}},\"1354\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1355\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1356}},\"1356\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1357\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1358}},\"1358\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1359\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1360}},\"1360\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1361\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1362\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"1363\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1364\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1365},{\"__isSmartRef__\":true,\"id\":1367},{\"__isSmartRef__\":true,\"id\":1369},{\"__isSmartRef__\":true,\"id\":1371}],\"vector\":{\"__isSmartRef__\":true,\"id\":1361},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1365\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1366}},\"1366\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1367\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1368}},\"1368\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1369\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1370}},\"1370\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1371\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1372}},\"1372\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1373\":{\"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\"},\"1374\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1332},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1},\"targetMethodName\":\"runScript\",\"visualConnector\":{\"__isSmartRef__\":true,\"id\":1375},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1375\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1376}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1391},\"derivationIds\":[null],\"id\":\"C89B50A0-17E7-4D22-AE1D-5112520DAEE7\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1398},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1399},\"droppingEnabled\":true,\"halosEnabled\":true,\"owner\":null,\"controlPoints\":[{\"__isSmartRef__\":true,\"id\":1400},{\"__isSmartRef__\":true,\"id\":1401}],\"con\":{\"__isSmartRef__\":true,\"id\":1374},\"showsMorphMenu\":true,\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":1402},\"__LivelyClassName__\":\"lively.morphic.Path\"},\"1376\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1377},\"derivationIds\":[null],\"id\":\"2A71BE9E-6820-46AF-ACED-3C9BDCC918AF\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1388},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1389},\"droppingEnabled\":true,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1390},\"owner\":{\"__isSmartRef__\":true,\"id\":1375},\"_Rotation\":-3.130064002485303,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.Path\"},\"1377\":{\"dontChangeShape\":false,\"cachedVertices\":null,\"_PathElements\":[{\"__isSmartRef__\":true,\"id\":1378},{\"__isSmartRef__\":true,\"id\":1379},{\"__isSmartRef__\":true,\"id\":1380},{\"__isSmartRef__\":true,\"id\":1381}],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1382},\"_ClipMode\":\"visible\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1383},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1384},\"_Padding\":{\"__isSmartRef__\":true,\"id\":1385},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1386},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1387},\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Path\"},\"1378\":{\"isAbsolute\":true,\"x\":-12,\"y\":-6,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.MoveTo\"},\"1379\":{\"isAbsolute\":true,\"x\":-12,\"y\":6,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"1380\":{\"isAbsolute\":true,\"x\":4,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"1381\":{\"isAbsolute\":true,\"x\":-12,\"y\":-6,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"1382\":{\"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\"},\"1383\":{\"x\":-12,\"y\":-6,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1384\":{\"x\":16,\"y\":12,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1385\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1386\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1387\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1388\":{\"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\"},\"1389\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1376},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1390\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1391\":{\"dontChangeShape\":false,\"cachedVertices\":null,\"_PathElements\":[{\"__isSmartRef__\":true,\"id\":1392},{\"__isSmartRef__\":true,\"id\":1393}],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1394},\"_ClipMode\":\"visible\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1395},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1396},\"_Padding\":{\"__isSmartRef__\":true,\"id\":1397},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1386},\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Path\"},\"1392\":{\"isAbsolute\":true,\"x\":829.7085000406639,\"y\":9.565843617262885,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.MoveTo\"},\"1393\":{\"isAbsolute\":true,\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"1394\":{\"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\"},\"1395\":{\"x\":-1,\"y\":-1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1396\":{\"x\":831,\"y\":11,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1397\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1398\":{\"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\"},\"1399\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1375},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1400\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1375},\"index\":0,\"connectedMagnet\":null,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.ControlPoint\"},\"1401\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1375},\"index\":1,\"connectedMagnet\":null,\"marker\":{\"__isSmartRef__\":true,\"id\":1376},\"markerDirection\":\"prev\",\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.ControlPoint\"},\"1402\":{\"morphMenuItems\":{\"__isSmartRef__\":true,\"id\":1403}},\"1403\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1404},\"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\":1409},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1404\":{\"this\":{\"__isSmartRef__\":true,\"id\":1375},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":1405}},\"1405\":{\"$super\":{\"__isSmartRef__\":true,\"id\":1406}},\"1406\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1407},\"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\":1408},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1407\":{\"obj\":{\"__isSmartRef__\":true,\"id\":1375},\"name\":\"morphMenuItems\"},\"1408\":{},\"1409\":{},\"1410\":{\"x\":101,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1411\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"1412\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1332},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1413\":{\"x\":71.99397894387357,\"y\":-13.030105280631261,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1414\":{\"x\":788.7426780861911,\"y\":9.508591852040126,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1415\":{\"centeredHorizontal\":false,\"moveHorizontal\":true},\"1416\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1417}],\"scripts\":[],\"id\":\"49AC923E-5272-4E3C-8F02-4F2AED2BC4E9\",\"shape\":{\"__isSmartRef__\":true,\"id\":1432},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":1436},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":1448},\"label\":{\"__isSmartRef__\":true,\"id\":1417},\"name\":\"saveButton\",\"showsHalos\":false,\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1457},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":1458}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1494},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1495},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1496},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1497},\"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\",\"B05829EB-D452-4D81-983B-E2CE425C8260\",\"32B117E5-52D8-4843-B80E-090B9817E099\"],\"layout\":{\"__isSmartRef__\":true,\"id\":1498},\"_Position\":{\"__isSmartRef__\":true,\"id\":1499},\"owner\":{\"__isSmartRef__\":true,\"id\":1},\"_ClipMode\":\"visible\",\"_Rotation\":0,\"_Scale\":0.9880657804942089,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"1417\":{\"submorphs\":[],\"scripts\":[],\"id\":\"A13FB4E0-72F2-4E7C-A861-EDCBA1393860\",\"shape\":{\"__isSmartRef__\":true,\"id\":1418},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1424},\"_MaxTextWidth\":97,\"_MaxTextHeight\":null,\"textStyle\":null,\"padding\":{\"__isSmartRef__\":true,\"id\":1425},\"_Padding\":{\"__isSmartRef__\":true,\"id\":1426},\"owner\":{\"__isSmartRef__\":true,\"id\":1416},\"isLabel\":true,\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"_ClipMode\":\"hidden\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1427},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1428}],\"_Align\":\"center\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1430},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1431},\"_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\",\"4529D79B-4CC5-467E-91F8-661C3A5F49F8\",\"1E5E570C-FD42-45E3-A7F6-768BB14ACD14\"],\"_MinTextWidth\":97,\"_MinTextHeight\":null,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1418\":{\"position\":{\"__isSmartRef__\":true,\"id\":1419},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1420},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1421},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1422},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1423},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1419\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1420\":{\"x\":101,\"y\":21,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"1421\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1422\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"1423\":{\"x\":2,\"y\":2,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1424\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1425\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1426\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1427\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1428\":{\"style\":{\"__isSmartRef__\":true,\"id\":1429},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1417},\"storedString\":\"save\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1429\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"textShadow\":\"0px 1px 0 rgba(255,255,255,1)\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1430\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1431\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1417},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1432\":{\"position\":{\"__isSmartRef__\":true,\"id\":1433},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1434},\"_BorderWidth\":1.1840000000000002,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1435},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1436},\"_BorderRadius\":5.2,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1446},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1447},\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1433\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1434\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1435\":{\"r\":0.839,\"g\":0.839,\"b\":0.839,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1436\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1437},{\"__isSmartRef__\":true,\"id\":1439},{\"__isSmartRef__\":true,\"id\":1441},{\"__isSmartRef__\":true,\"id\":1443}],\"vector\":{\"__isSmartRef__\":true,\"id\":1445},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1437\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1438}},\"1438\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1439\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1440}},\"1440\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1441\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1442}},\"1442\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1443\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1444}},\"1444\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1445\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1446\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"1447\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1448\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1449},{\"__isSmartRef__\":true,\"id\":1451},{\"__isSmartRef__\":true,\"id\":1453},{\"__isSmartRef__\":true,\"id\":1455}],\"vector\":{\"__isSmartRef__\":true,\"id\":1445},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1449\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1450}},\"1450\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1451\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1452}},\"1452\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1453\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1454}},\"1454\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1455\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1456}},\"1456\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1457\":{\"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\"},\"1458\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1416},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":497},\"targetMethodName\":\"doSave\",\"visualConnector\":{\"__isSmartRef__\":true,\"id\":1459},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1459\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1460}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1475},\"derivationIds\":[null],\"id\":\"F46012D5-C8BE-4E52-BF98-D052FDAAE17A\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1482},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1483},\"droppingEnabled\":true,\"halosEnabled\":true,\"owner\":null,\"controlPoints\":[{\"__isSmartRef__\":true,\"id\":1484},{\"__isSmartRef__\":true,\"id\":1485}],\"con\":{\"__isSmartRef__\":true,\"id\":1458},\"showsMorphMenu\":true,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":1486},\"__LivelyClassName__\":\"lively.morphic.Path\"},\"1460\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":1461},\"derivationIds\":[null],\"id\":\"A2A83C78-09B8-473C-829B-198206D7A9E4\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1472},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1473},\"droppingEnabled\":true,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1474},\"owner\":{\"__isSmartRef__\":true,\"id\":1459},\"_Rotation\":3.077607197692381,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.Path\"},\"1461\":{\"dontChangeShape\":false,\"cachedVertices\":null,\"_PathElements\":[{\"__isSmartRef__\":true,\"id\":1462},{\"__isSmartRef__\":true,\"id\":1463},{\"__isSmartRef__\":true,\"id\":1464},{\"__isSmartRef__\":true,\"id\":1465}],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1466},\"_ClipMode\":\"visible\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1467},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1468},\"_Padding\":{\"__isSmartRef__\":true,\"id\":1469},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1470},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1471},\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Path\"},\"1462\":{\"isAbsolute\":true,\"x\":-12,\"y\":-6,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.MoveTo\"},\"1463\":{\"isAbsolute\":true,\"x\":-12,\"y\":6,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"1464\":{\"isAbsolute\":true,\"x\":4,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"1465\":{\"isAbsolute\":true,\"x\":-12,\"y\":-6,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"1466\":{\"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\"},\"1467\":{\"x\":-12,\"y\":-6,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1468\":{\"x\":16,\"y\":12,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1469\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1470\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1471\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1472\":{\"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\"},\"1473\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1460},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1474\":{\"x\":201.20421122525056,\"y\":40.24084224505009,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1475\":{\"dontChangeShape\":false,\"cachedVertices\":null,\"_PathElements\":[{\"__isSmartRef__\":true,\"id\":1476},{\"__isSmartRef__\":true,\"id\":1477}],\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1478},\"_ClipMode\":\"visible\",\"_Position\":{\"__isSmartRef__\":true,\"id\":1479},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1480},\"_Padding\":{\"__isSmartRef__\":true,\"id\":1481},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1470},\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Path\"},\"1476\":{\"isAbsolute\":true,\"x\":679.4857209639925,\"y\":9.595948897894004,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.MoveTo\"},\"1477\":{\"isAbsolute\":true,\"x\":201.20421122525056,\"y\":40.24084224505009,\"__SourceModuleName__\":\"Global.lively.morphic.PathShapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.LineTo\"},\"1478\":{\"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\"},\"1479\":{\"x\":200,\"y\":9,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1480\":{\"x\":480,\"y\":32,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1481\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1482\":{\"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\"},\"1483\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1459},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1484\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1459},\"index\":0,\"connectedMagnet\":null,\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.ControlPoint\"},\"1485\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1459},\"index\":1,\"connectedMagnet\":null,\"marker\":{\"__isSmartRef__\":true,\"id\":1460},\"markerDirection\":\"prev\",\"__SourceModuleName__\":\"Global.lively.morphic.AdditionalMorphs\",\"__LivelyClassName__\":\"lively.morphic.ControlPoint\"},\"1486\":{\"morphMenuItems\":{\"__isSmartRef__\":true,\"id\":1487}},\"1487\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1488},\"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\":1493},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1488\":{\"this\":{\"__isSmartRef__\":true,\"id\":1459},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":1489}},\"1489\":{\"$super\":{\"__isSmartRef__\":true,\"id\":1490}},\"1490\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1491},\"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\":1492},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1491\":{\"obj\":{\"__isSmartRef__\":true,\"id\":1459},\"name\":\"morphMenuItems\"},\"1492\":{},\"1493\":{},\"1494\":{\"x\":101,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"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\":1416},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1497\":{\"x\":68.77671624028653,\"y\":-14.497241813457947,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1498\":{\"centeredHorizontal\":false,\"moveHorizontal\":true},\"1499\":{\"x\":675.4189853444968,\"y\":9.53851695196505,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1500\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1501}],\"scripts\":[],\"id\":\"5B8D7C39-987A-4849-BFFD-3F316CE03852\",\"shape\":{\"__isSmartRef__\":true,\"id\":1516},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1532},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":1520},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":1533},\"label\":{\"__isSmartRef__\":true,\"id\":1501},\"name\":\"openTestsButton\",\"showsHalos\":false,\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":1542},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":1543}],\"doNotSerialize\":[\"$$fire\"],\"doNotCopyProperties\":[\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1544},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1545},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1546},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":1547},\"derivationIds\":[7251,\"84054D2E-8176-440D-B413-279956A34FC2\",\"79434046-F834-490E-B705-0CE871D9E8B3\",\"FF38CA79-C0DF-4F2F-8FC3-407571EF6A54\",\"B1D50332-9F4F-4F7C-AC3F-95DC6C73EAA4\"],\"owner\":{\"__isSmartRef__\":true,\"id\":1},\"_ClipMode\":\"visible\",\"_Rotation\":0,\"_Scale\":0.9940149800149939,\"__LivelyClassName__\":\"lively.morphic.Button\"},\"1501\":{\"submorphs\":[],\"scripts\":[],\"id\":\"58F098ED-A190-44F2-B73E-80802B2CF2F6\",\"shape\":{\"__isSmartRef__\":true,\"id\":1502},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":1508},\"_MaxTextWidth\":97,\"_MaxTextHeight\":null,\"textStyle\":null,\"padding\":{\"__isSmartRef__\":true,\"id\":1509},\"_Padding\":{\"__isSmartRef__\":true,\"id\":1510},\"owner\":{\"__isSmartRef__\":true,\"id\":1500},\"isLabel\":true,\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"_ClipMode\":\"hidden\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":1511},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":1512}],\"_Align\":\"center\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1514},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":1515},\"_HandStyle\":\"default\",\"_PointerEvents\":\"none\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"derivationIds\":[7252,\"0A0A6CB1-BD92-4F39-A425-2EB3D2D4CBA2\",\"CB475566-05CE-43E2-B04D-EE32BC4CB718\",\"6BB077CE-92E6-47BE-BE88-9A48488562D1\",\"9E359973-2FDB-417B-BB06-AB34D52BD310\"],\"_MinTextWidth\":97,\"_MinTextHeight\":null,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"1502\":{\"position\":{\"__isSmartRef__\":true,\"id\":1503},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1504},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1505},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1506},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1507},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1503\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1504\":{\"x\":101,\"y\":21,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"1505\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1506\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"1507\":{\"x\":2,\"y\":2,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1508\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1509\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1510\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1511\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1512\":{\"style\":{\"__isSmartRef__\":true,\"id\":1513},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":1501},\"storedString\":\"Tests\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"1513\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"textShadow\":\"0px 1px 0 rgba(255,255,255,1)\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"1514\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"1515\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1501},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1516\":{\"position\":{\"__isSmartRef__\":true,\"id\":1517},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1518},\"_BorderWidth\":1.1840000000000002,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1519},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1520},\"_BorderRadius\":5.2,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1530},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1531},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1517\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1518\":{\"x\":101,\"y\":21,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1519\":{\"r\":0.839,\"g\":0.839,\"b\":0.839,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1520\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1521},{\"__isSmartRef__\":true,\"id\":1523},{\"__isSmartRef__\":true,\"id\":1525},{\"__isSmartRef__\":true,\"id\":1527}],\"vector\":{\"__isSmartRef__\":true,\"id\":1529},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1521\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1522}},\"1522\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1523\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1524}},\"1524\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1525\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1526}},\"1526\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1527\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1528}},\"1528\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1529\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1530\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"1531\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1532\":{\"x\":510,\"y\":10,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1533\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":1534},{\"__isSmartRef__\":true,\"id\":1536},{\"__isSmartRef__\":true,\"id\":1538},{\"__isSmartRef__\":true,\"id\":1540}],\"vector\":{\"__isSmartRef__\":true,\"id\":1529},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"1534\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":1535}},\"1535\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1536\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":1537}},\"1537\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1538\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":1539}},\"1539\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1540\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":1541}},\"1541\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1542\":{\"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\"},\"1543\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":1500},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":1},\"targetMethodName\":\"openPartTestRunner\",\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"1544\":{\"x\":101,\"y\":20,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1545\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"1546\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1500},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1547\":{\"x\":65.95178327801523,\"y\":-8.024108360992386,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1548\":{\"position\":{\"__isSmartRef__\":true,\"id\":1549},\"_Extent\":{\"__isSmartRef__\":true,\"id\":1550},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":1551},\"_Fill\":{\"__isSmartRef__\":true,\"id\":1552},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":1553},\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":1554},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"1549\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1550\":{\"x\":909.0285365288845,\"y\":526.612532614436,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1551\":{\"r\":0.372,\"g\":0.369,\"b\":0.372,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"1552\":{\"r\":1,\"g\":1,\"b\":1,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"1553\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\"},\"1554\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"1555\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"comment\":\"Edit scripts and connections of a specific morph.\",\"migrationLevel\":4,\"partName\":\"ObjectEditorPane\",\"changes\":[{\"__isSmartRef__\":true,\"id\":1556}],\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"1556\":{\"date\":{\"__isSmartRef__\":true,\"id\":1557},\"author\":\"lauritz\",\"message\":\"Adapted the update behavior on ticks. Reduces the impact of HTML's autoscroll to selected list items.\"},\"1557\":{\"isSerializedDate\":true,\"string\":\"Fri Oct 21 2011 00:39:30 GMT+0200 (CEST)\"},\"1558\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"onRenderFinished\":\"onRenderFinishedHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"1559\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"1560\":{\"x\":909.0285365288845,\"y\":526.612532614436,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1561\":{\"resizeWidth\":true,\"resizeHeight\":true,\"adjustForNewBounds\":true},\"1562\":{\"x\":350.2386236582805,\"y\":-3.2455173507596555,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1563\":{\"x\":0.971126750461849,\"y\":21.45669012569269,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"1564\":{},\"1565\":{\"displayInitialScript\":{\"__isSmartRef__\":true,\"id\":1566},\"displayJavaScriptSource\":{\"__isSmartRef__\":true,\"id\":1570},\"displaySourceForConnection\":{\"__isSmartRef__\":true,\"id\":1574},\"displaySourceForScript\":{\"__isSmartRef__\":true,\"id\":1578},\"generateSourceForConnection\":{\"__isSmartRef__\":true,\"id\":1582},\"generateSourceForScript\":{\"__isSmartRef__\":true,\"id\":1586},\"generateTargetCode\":{\"__isSmartRef__\":true,\"id\":1590},\"newConnection\":{\"__isSmartRef__\":true,\"id\":1594},\"newScript\":{\"__isSmartRef__\":true,\"id\":1598},\"reset\":{\"__isSmartRef__\":true,\"id\":1602},\"selectChangedContent\":{\"__isSmartRef__\":true,\"id\":1606},\"setTarget\":{\"__isSmartRef__\":true,\"id\":1610},\"sortedConnectionNamesOfObj\":{\"__isSmartRef__\":true,\"id\":1614},\"sortedScriptNamesOfObj\":{\"__isSmartRef__\":true,\"id\":1618},\"updateLists\":{\"__isSmartRef__\":true,\"id\":1622},\"onShutdown\":{\"__isSmartRef__\":true,\"id\":1626},\"confirmUnsavedChanges\":{\"__isSmartRef__\":true,\"id\":1630},\"update\":{\"__isSmartRef__\":true,\"id\":1634},\"ensureAnnotationLayer\":{\"__isSmartRef__\":true,\"id\":1638},\"migrateOldScriptAnnotations\":{\"__isSmartRef__\":true,\"id\":1642},\"copyToPartsBinWithUserRequest\":{\"__isSmartRef__\":true,\"id\":1646},\"printTags\":{\"__isSmartRef__\":true,\"id\":1654},\"setTag\":{\"__isSmartRef__\":true,\"id\":1658},\"runScript\":{\"__isSmartRef__\":true,\"id\":1662},\"openPartTestRunner\":{\"__isSmartRef__\":true,\"id\":1666}},\"1566\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1567},\"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\":1568},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1567\":{\"this\":{\"__isSmartRef__\":true,\"id\":1}},\"1568\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1569},\"user\":\"lauritz\",\"tags\":[]},\"1569\":{\"isSerializedDate\":true,\"string\":\"Thu Nov 17 2011 04:13:43 GMT+0100 (CET)\"},\"1570\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1571},\"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\":1572},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1571\":{\"this\":{\"__isSmartRef__\":true,\"id\":1}},\"1572\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1573},\"user\":\"lauritz\",\"tags\":[]},\"1573\":{\"isSerializedDate\":true,\"string\":\"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)\"},\"1574\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1575},\"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\":1576},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1575\":{\"this\":{\"__isSmartRef__\":true,\"id\":1}},\"1576\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1577},\"user\":\"conradcalmez\",\"tags\":[]},\"1577\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 14:59:30 GMT+0100 (CET)\"},\"1578\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1579},\"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\":1580},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1579\":{\"this\":{\"__isSmartRef__\":true,\"id\":1}},\"1580\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1581},\"user\":\"lauritz\",\"tags\":[]},\"1581\":{\"isSerializedDate\":true,\"string\":\"Thu Nov 17 2011 04:51:37 GMT+0100 (CET)\"},\"1582\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1583},\"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\":1584},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1583\":{\"this\":{\"__isSmartRef__\":true,\"id\":1}},\"1584\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1585},\"user\":\"lauritz\",\"tags\":[]},\"1585\":{\"isSerializedDate\":true,\"string\":\"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)\"},\"1586\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1587},\"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\":1588},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1587\":{\"this\":{\"__isSmartRef__\":true,\"id\":1}},\"1588\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1589},\"user\":\"lauritz\",\"tags\":[]},\"1589\":{\"isSerializedDate\":true,\"string\":\"Tue Nov 29 2011 04:32:42 GMT+0100 (CET)\"},\"1590\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1591},\"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\":1592},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1591\":{\"this\":{\"__isSmartRef__\":true,\"id\":1}},\"1592\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1593},\"user\":\"lauritz\",\"tags\":[]},\"1593\":{\"isSerializedDate\":true,\"string\":\"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)\"},\"1594\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1595},\"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\":1596},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1595\":{\"this\":{\"__isSmartRef__\":true,\"id\":1}},\"1596\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1597},\"user\":\"lauritz\",\"tags\":[]},\"1597\":{\"isSerializedDate\":true,\"string\":\"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)\"},\"1598\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1599},\"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\":1600},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1599\":{\"this\":{\"__isSmartRef__\":true,\"id\":1}},\"1600\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1601},\"user\":\"lauritz\",\"tags\":[]},\"1601\":{\"isSerializedDate\":true,\"string\":\"Tue Nov 29 2011 04:24:25 GMT+0100 (CET)\"},\"1602\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1603},\"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\":1604},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"1603\":{\"this\":{\"__isSmartRef__\":true,\"id\":1}},\"1604\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":1605},\"user\":\"conradcalmez\",\"tags\":[]},\"1605\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 14:57:50 GMT+0100 (CET)\"},\"1606\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":1607},\"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>saveDoesNotAskForCredentialsInSafari.xhtml"},"22414":{"type":"S:modified","url":"/users/martin/measurements/FAQ.xhtml"},"22415":{"type":"S:modified","url":"/users/gerald24/temp.xhtml"},"22416":{"type":"S:modified","url":"/users/markoroeder/MetadataVisualization.xhtml"},"22417":{"type":"S:modified","url":"/demos/WorldSerializationGraph.xhtml"},"22418":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/ImageDroppin.xhtml"},"22419":{"type":"S:modified","url":"/users/Dan/LiveWeb-NewLayout.xhtml"},"22420":{"type":"S:modified","url":"/core/lively/DOMAbstraction.js"},"22421":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/Slider.xhtml"},"22422":{"type":"S:modified","url":"/demos/ScriptingClock.xhtml"},"22423":{"type":"S:modified","url":"/issues/111017_BrowsingSubmorphsWithObjectExplorerBroken.xhtml"},"22424":{"type":"S:modified","url":"/users/Dan/Tutorial1.xhtml"},"22425":{"type":"S:modified","url":"/users/fbo/empty3.xhtml"},"22426":{"type":"S:modified","url":"/demos/visualizations/FPSProtovis.xhtml"},"22427":{"type":"S:modified","url":"/draft/NewWorld/ObjectTracerPart.xhtml"},"22428":{"type":"S:modified","url":"/issues/110629_SlideoverlayIsBrokenAfterSavingItHidden.xhtml"},"22429":{"type":"S:modified","url":"/users/markoroeder/GOTY2011.xhtml"},"22430":{"type":"S:modified","url":"/users/fbo/DraftLayout.xhtml"},"22431":{"type":"S:modified","url":"/users/fbo/onMouseMoveRefactoring.xhtml"},"22432":{"type":"S:modified","url":"/users/Dan/PM/ScripterDev.xhtml"},"22433":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksSebastian.xhtml"},"22434":{"type":"S:modified","url":"/users/fbo/DataTables.xhtml"},"22435":{"type":"S:modified","url":"/users/fbo/myLineWorld.xhtml"},"22436":{"type":"S:modified","url":"/issues/110526_ConnectorsInTheNewWorld.xhtml"},"22437":{"type":"S:modified","url":"/users/Dan/PM/FormLayoutExpt.xhtml"},"22438":{"type":"S:modified","url":"/users/Dan/MyQBF.xhtml"},"22439":{"type":"S:modified","url":"/users/Dan/LiveWeb2.xhtml"},"22440":{"type":"S:modified","url":"/users/fbo/layoutPlaceholdersForDragging.xhtml"},"22441":{"type":"S:modified","url":"/webwerkstatt.xhtml"},"22442":{"type":"S:modified","url":"/users/sofia/georgi/Versions.xhtml"},"22443":{"type":"S:modified","url":"/issues/fixed/110506_CompletelyEmphasizedTextDoesNotSerialize.xhtml"},"22444":{"type":"S:modified","url":"/issues/110518_ShadowOfAMorphDoesNotReflectRotation.xhtml"},"22445":{"type":"S:modified","url":"/users/olmeca/start.xhtml"},"22446":{"type":"S:modified","url":"/users/sofia/martin/3.xhtml"},"22447":{"type":"S:modified","url":"/issues/110514_DontShowEditCursorForHalosMenusEtc.xhtml"},"22448":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/Lists.xhtml"},"22449":{"type":"S:modified","url":"/users/fbo/layoutDragSnap.xhtml"},"22450":{"type":"S:modified","url":"/users/sofia/georgi/new.xhtml"},"22451":{"type":"S:modified","url":"/users/mkilling/ikuh.xhtml"},"22452":{"type":"S:modified","url":"/draft/NewWorld/ClassBrowser.xhtml"},"22453":{"type":"S:modified","url":"/users/fbo/xamppInstaller.xhtml"},"22454":{"type":"S:modified","url":"/users/Kat/QBF2B.xhtml"},"22455":{"type":"S:modified","url":"/demos/visualizations/protovis.xhtml"},"22456":{"type":"S:modified","url":"/users/NikolaySuslov/start.xhtml"},"22457":{"type":"S:modified","url":"/documentation/Lively2Installation.xhtml"},"22458":{"type":"S:modified","url":"/issues/110518_ProblemToOpenDialogs.xhtml"},"22459":{"type":"S:modified","url":"/users/sofia/learning_prototype_js.xhtml"},"22460":{"type":"S:modified","url":"/issues/110809_AsScriptOfMethodDoesNotChangeFunctionName.xhtml"},"22461":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksBenjamin.xhtml"},"22462":{"type":"S:modified","url":"/users/sofia/video1.xhtml"},"22463":{"type":"S:modified","url":"/empty.xhtml"},"22464":{"type":"S:modified","url":"/demos/LiveWeb/LiveWeb.xhtml"},"22465":{"type":"S:modified","url":"/users/cschuster/start.xhtml"},"22466":{"type":"S:modified","url":"/issues/fixed/110509_WorldMenuDoesNotWork.xhtml"},"22467":{"type":"S:modified","url":"/users/Dan/QuickBrownFox.xhtml"},"22468":{"type":"S:modified","url":"/projects/Lively2/Minimal.xhtml"},"22469":{"type":"S:modified","url":"/issues/111005_LineIssues.xhtml"},"22470":{"type":"S:modified","url":"/issues/fixed/110506_PartsbinHasNoAddOrRemoveCategoryButtons.xhtml"},"22471":{"type":"S:modified","url":"/users/sofia/experiments/css_theming.xhtml"},"22472":{"type":"S:modified","url":"/documentation/videoTutorials/110630_CPUVis.xhtml"},"22473":{"type":"S:modified","url":"/users/template/start.xhtml"},"22474":{"type":"S:modified","url":"/documentation/Traits.xhtml"},"22475":{"type":"S:modified","url":"/issues/110717_ShapeOffsetMakesEventsGoMad.xhtml"},"22476":{"type":"S:modified","url":"/users/fbo/jQueryUi.xhtml"},"22477":{"type":"S:modified","url":"/users/robertkrahn/nonexisting.xhtml"},"22478":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/DroppingForImport.xhtml"},"22479":{"type":"S:modified","url":"/cleanup.xhtml"},"22480":{"type":"S:modified","url":"/issues/110522_ListAndTextScrollWorldAfterReachingTheirScrollBounds.xhtml"},"22481":{"type":"S:modified","url":"/projects/BP2012/simple.xhtml"},"22482":{"type":"S:modified","url":"/issues/110831_ScrolingWithNewClippingCodeDoesNotWork.xhtml"},"22483":{"type":"S:modified","url":"/issues/110923_ProtovisVisualizationBroken.xhtml"},"22484":{"type":"S:modified","url":"/issues/111019_PublishingPartsWithCommitMessages.xhtml"},"22485":{"type":"S:modified","url":"/demos/visualizations/jsl4tv-world-000.xhtml"},"22486":{"type":"S:modified","url":"/users/markoroeder/SVN2CodeDB.xhtml"},"22487":{"type":"S:modified","url":"/users/sofia/trac_tickets_pavel.xhtml"},"22488":{"type":"S:modified","url":"/projects/BP2012/2011-11-02-talk.xhtml"},"22489":{"type":"S:modified","url":"/users/fbo/dojoWorld.xhtml"},"22490":{"type":"S:modified","url":"/users/Dan/NewPresentation2.xhtml"},"22491":{"type":"S:modified","url":"/users/tmohr/slide6.xhtml"},"22492":{"type":"S:modified","url":"/projects/DebuggingJS/draft.xhtml"},"22493":{"type":"S:modified","url":"/draft/NewWorld/DirectGrabDragAndCopy.xhtml"},"22494":{"type":"S:modified","url":"/users/sofia/protovis.xhtml"},"22495":{"type":"S:modified","url":"/blank.xhtml"},"22496":{"type":"S:modified","url":"/users/robertkrahn/testCPUVis.xhtml"},"22497":{"type":"S:modified","url":"/projects/Lively2/Converting.xhtml"},"22498":{"type":"S:modified","url":"/users/andyburnett/start.xhtml"},"22499":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/RichText.xhtml"},"22500":{"type":"S:modified","url":"/draft/NewWorld/Presentations.xhtml"},"22501":{"type":"S:modified","url":"/users/robertkrahn/garminExport.xhtml"},"22502":{"type":"S:modified","url":"/tests.xhtml"},"22503":{"type":"S:modified","url":"/issues/110625_PartUploadBroken.xhtml"},"22504":{"type":"S:modified","url":"/issues/fixed/110517_ConnectionsWantToAccessClosureValues.xhtml"},"22505":{"type":"S:modified","url":"/users/markoroeder/DataVisualization.xhtml"},"22506":{"type":"S:modified","url":"/draft/NewWorld/PartsBinSearch.xhtml"},"22507":{"type":"S:modified","url":"/issues/110529_InsertingSomethingInTextRemovesFocus.xhtml"},"22508":{"type":"S:modified","url":"/issues/110512_ListSelectionInScbDoesNotWorkCorrectly.xhtml"},"22509":{"type":"S:modified","url":"/issues/111017_StaticBindingOfSuperInClosures.xhtml"},"22510":{"type":"S:modified","url":"/demos/contextjs/flattening.xhtml"},"22511":{"type":"S:modified","url":"/issues/110511_LinesCannotBeClicked.xhtml"},"22512":{"type":"S:modified","url":"/users/lauritz/miniprojects/gettingStarted.xhtml"},"22513":{"type":"S:modified","url":"/users/markoroeder/Part2Class.xhtml"},"22514":{"type":"S:modified","url":"/users/Dan/EmptyWorld2.xhtml"},"22515":{"type":"S:modified","url":"/projects/LivelyKernel/nextSteps.xhtml"},"22516":{"type":"S:modified","url":"/users/wlcleveland/start.xhtml"},"22517":{"type":"S:modified","url":"/users/swart/start.xhtml"},"22518":{"type":"S:modified","url":"/users/Dan/QBF2Bb.xhtml"},"22519":{"type":"S:modified","url":"/users/tmohr/slide1.xhtml"},"22520":{"type":"S:modified","url":"/users/robertkrahn/DetermineModuleDependencies.xhtml"},"22521":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksHubert2.xhtml"},"22522":{"type":"S:modified","url":"/projects/CodeDB2/info_restructuring.xhtml"},"22523":{"type":"S:modified","url":"/users/Dan/PM/DemoForm.xhtml"},"22524":{"type":"S:modified","url":"/issues/110728_GraffleLayerGrabsWorld.xhtml"},"22525":{"type":"S:modified","url":"/users/Dan/Activities1.xhtml"},"22526":{"type":"S:modified","url":"/users/tmohr/emtpy.xhtml"},"22527":{"type":"S:modified","url":"/documentation/ElProfesor.xhtml"},"22528":{"type":"S:modified","url":"/issues/111022_TheExplorerScrollingIsBroken.xhtml"},"22529":{"type":"S:modified","url":"/users/Dan/WindowPlay.xhtml"},"22530":{"type":"S:modified","url":"/users/martin/Measurements.xhtml"},"22531":{"type":"S:modified","url":"/users/fbo/layoutCycle.xhtml"},"22532":{"type":"S:modified","url":"/documentation/7funthings.xhtml"},"22533":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/jensWorld.xhtml"},"22534":{"type":"S:modified","url":"/users/iho/start.xhtml"},"22535":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/NewMorphicIntroduction.xhtml"},"22536":{"type":"S:modified","url":"/BrokenWorldRepairSite.xhtml"},"22537":{"type":"S:modified","url":"/users/fbo/serverDevPlayground.xhtml"},"22538":{"type":"S:modified","url":"/users/ahold/TrackerDev.xhtml"},"22539":{"type":"S:modified","url":"/users/Dan/LiveWeb3.xhtml"},"22540":{"type":"S:modified","url":"/documentation/Template.xhtml"},"22541":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/secondWorld.xhtml"},"22542":{"type":"S:modified","url":"/documentation/ContextJS.xhtml"},"22543":{"type":"S:modified","url":"/projects/CodeDB2/CodeDB2Dev.xhtml"},"22544":{"type":"S:modified","url":"/users/markoroeder/GrammarTesting.xhtml"},"22545":{"type":"S:modified","url":"/documentation/ScriptingTutorial.xhtml"},"22546":{"type":"S:modified","url":"/users/fbo/deserializeMorphs.xhtml"},"22547":{"type":"S:modified","url":"/issues/110722_ClipModeShouldClipMorphsInTheirBounds.xhtml"},"22548":{"type":"S:modified","url":"/documentation/videoTutorials/110714_NodeJSServerCreation.xhtml"},"22549":{"type":"S:modified","url":"/users/fbo/scrollFixes.xhtml"},"22550":{"type":"S:modified","url":"/users/fbo/empty.xhtml"},"22551":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksConrad.xhtml"},"22552":{"type":"S:modified","url":"/users/keith/deadly.xhtml"},"22553":{"type":"S:modified","url":"/users/robertkrahn/nonexisting2.xhtml"},"22554":{"type":"S:modified","url":"/users/Dan/QBFa.xhtml"},"22555":{"type":"S:modified","url":"/users/cschuster/debugging2.xhtml"},"22556":{"type":"S:modified","url":"/users/fbo/SlickGrid.xhtml"},"22557":{"type":"S:modified","url":"/users/constantin/Snake.xhtml"},"22558":{"type":"S:modified","url":"/documentation/worlds.xhtml"},"22559":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/firstWorld2.xhtml"},"22560":{"type":"S:modified","url":"/issues/110609_TabIndentionForBulletPoints.xhtml"},"22561":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksAstrid.xhtml"},"22562":{"type":"S:modified","url":"/users/sofia/video2.xhtml"},"22563":{"type":"S:modified","url":"/users/keith/notes.xhtml"},"22564":{"type":"S:modified","url":"/issues/110528_ClickBehaviorOfScbIsStrange.xhtml"},"22565":{"type":"S:modified","url":"/demos/Parts.xhtml"},"22566":{"type":"S:modified","url":"/demos/WhereArePeopleFrom.xhtml"},"22567":{"type":"S:modified","url":"/issues/110510_MorphsAreDroppedWhenDndedFromPartsbin.xhtml"},"22568":{"type":"S:modified","url":"/users/fbo/jqueryTabulate.xhtml"},"22569":{"type":"S:modified","url":"/issues/111026_CustomFormattedBinsInPartsBin.xhtml"},"22570":{"type":"S:modified","url":"/users/fbo/learningLively2.xhtml"},"22571":{"type":"S:modified","url":"/issues/111017_svgIssues.xhtml"},"22572":{"type":"S:modified","url":"/users/markoroeder/NewStreamwork.xhtml"},"22573":{"type":"S:modified","url":"/users/markoroeder/MapImport.xhtml"},"22574":{"type":"S:modified","url":"/documentation/Serialization-Interface.xhtml"},"22575":{"type":"S:modified","url":"/issues/fixed/110511_DroppablebehaviorParts.xhtml"},"22576":{"type":"S:modified","url":"/users/markoroeder/newDraft.xhtml"},"22577":{"type":"S:modified","url":"/projects/Lively2/ReleasePlanning.xhtml"},"22578":{"type":"S:modified","url":"/draft/NewWorld/LinesAndCurves.xhtml"},"22579":{"type":"S:modified","url":"/users/Dan/HaloExpt.xhtml"},"22580":{"type":"S:modified","url":"/issues/110921_DropshadowIsOff.xhtml"},"22581":{"type":"S:modified","url":"/users/keith/versionControl.xhtml"},"22582":{"type":"S:modified","url":"/issues/111021_HowToStoreObjectsOnTheServer.xhtml"},"22583":{"type":"S:modified","url":"/documentation/videoTutorials/SystemBrowserDiffingVersions.xhtml"},"22584":{"type":"S:modified","url":"/users/fbo/blank.xhtml"},"22585":{"type":"S:modified","url":"/demos/Clock.xhtml"},"22586":{"type":"S:modified","url":"/users/fbo/scrolling.xhtml"},"22587":{"type":"S:modified","url":"/users/markoroeder/DraftInfoItem.xhtml"},"22588":{"type":"S:modified","url":"/documentation/HowConnectWorks.xhtml"},"22589":{"type":"S:modified","url":"/users/fbo/layoutTests.xhtml"},"22590":{"type":"S:modified","url":"/issues/fixed/110407_NoScriptEditorInNewWorld.xhtml"},"22591":{"type":"S:modified","url":"/projects/BP2012/Requests.xhtml"},"22592":{"type":"S:modified","url":"/users/template/pleaseDoNotChangeOrRemoveWorldsInThisDirectory.xhtml"},"22593":{"type":"S:modified","url":"/users/fbo/journalBug.xhtml"},"22594":{"type":"S:modified","url":"/issues/110701_VisualBindingToStarBroken.xhtml"},"22595":{"type":"S:modified","url":"/users/tmohr/slide7.xhtml"},"22596":{"type":"S:modified","url":"/issues/110723_PathBroken.xhtml"},"22597":{"type":"S:modified","url":"/demos/MyNewWikiPage.xhtml"},"22598":{"type":"S:modified","url":"/issues/fixed/110510_SafariWontOpenToolsFromPartsbin.xhtml"},"22599":{"type":"S:modified","url":"/issues/110720_FirefoxCannotDisplaySvgBasedMorphs.xhtml"},"22600":{"type":"S:modified","url":"/draft/NewWorld/RichText.xhtml"},"22601":{"type":"S:modified","url":"/users/alexwarth/start.xhtml"},"22602":{"type":"S:modified","url":"/draft/NewWorld/SimpleBrowser.xhtml"},"22603":{"type":"S:modified","url":"/draft/NewWorld/OldMorphicObjectConversion.xhtml"},"22604":{"type":"S:modified","url":"/documentation/profesores.xhtml"},"22605":{"type":"S:modified","url":"/documentation/videoTutorials/template.xhtml"},"22606":{"type":"S:modified","url":"/issues/110629_WindmillDoesNotShowInThePartsBin.xhtml"},"22607":{"type":"S:modified","url":"/issues/110519_PasteBug.xhtml"},"22608":{"type":"S:modified","url":"/draft/NewWorld/Engine.xhtml"},"22609":{"type":"S:modified","url":"/draft/NewWorld/ProgressForRequests.xhtml"},"22610":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/Sliders.xhtml"},"22611":{"type":"S:modified","url":"/users/tmohr/bespin.xhtml"},"22612":{"type":"S:modified","url":"/users/fbo/scrollPlayground.xhtml"},"22613":{"type":"S:modified","url":"/users/tfleig/test1.xhtml"},"22614":{"type":"S:modified","url":"/users/fbo/gitSetup.xhtml"},"22615":{"type":"S:modified","url":"/users/constantin/start.xhtml"},"22616":{"type":"S:modified","url":"/users/Dan/Test.xhtml"},"22617":{"type":"S:modified","url":"/issues/110630_MenusLeaveVisibleBounds.xhtml"},"22618":{"type":"S:modified","url":"/projects/CodeDB2/playground_tilman.xhtml"},"22619":{"type":"S:modified","url":"/users/ohshima/start.xhtml"},"22620":{"type":"S:modified","url":"/issues/110704_MapsAreBlacksAfterDeserialization.xhtml"},"22621":{"type":"S:modified","url":"/users/Kat/MyQBF.xhtml"},"22622":{"type":"S:modified","url":"/users/markoroeder/SerializationDebug.xhtml"},"22623":{"type":"S:modified","url":"/issues/111012_BorderWidthIssue.xhtml"},"22624":{"type":"S:modified","url":"/users/mzimmerm/etoys-development-notes.xhtml"},"22625":{"type":"S:modified","url":"/users/Dan/EngineTest.xhtml"},"22626":{"type":"S:modified","url":"/users/tmohr/slide2.xhtml"},"22627":{"type":"S:modified","url":"/users/sofia/protovisPrototype.xhtml"},"22628":{"type":"S:modified","url":"/users/sofia/sofia/georgi/new_world.xhtml"},"22629":{"type":"S:modified","url":"/documentation/FAQ.xhtml"},"22630":{"type":"S:modified","url":"/demos/contextjs/SimpleObjectTracing.xhtml"},"22631":{"type":"S:modified","url":"/users/Dan/PM/Dan.xhtml"},"22632":{"type":"S:modified","url":"/issues/fixed/110518_PartsbinMoveIsNoRealMove.xhtml"},"22633":{"type":"S:modified","url":"/sandbox/sandbox-dgc.xhtml"},"22634":{"type":"S:modified","url":"/issues/110610_AddNewMethodBroken.xhtml"},"22635":{"type":"S:modified","url":"/users/Dan/CC.xhtml"},"22636":{"type":"S:modified","url":"/draft/NewWorld/StringsAsRichText.xhtml"},"22637":{"type":"S:modified","url":"/issues/110704_ClickingOnProtoVisDrawing.xhtml"},"22638":{"type":"S:modified","url":"/users/fbo/layoutGrid.xhtml"},"22639":{"type":"S:modified","url":"/users/Dan/Garbage.xhtml"},"22640":{"type":"S:modified","url":"/welcome.xhtml"},"22641":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/textEditor.xhtml"},"22642":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/prototypeQBF.xhtml"},"22643":{"type":"S:modified","url":"/documentation/videoTutorials/110429_TextAttributes.xhtml"},"22644":{"type":"S:modified","url":"/users/fbo/pongServer.xhtml"},"22645":{"type":"S:modified","url":"/users/miku/start.xhtml"},"22646":{"type":"S:modified","url":"/users/Dan/PM/Lively2.xhtml"},"22647":{"type":"S:modified","url":"/users/cschuster/dev-alpha.xhtml"},"22648":{"type":"S:modified","url":"/users/Dan/PM/PowerPointNot.xhtml"},"22649":{"type":"S:modified","url":"/users/fbo/layoutConfigurator.xhtml"},"22650":{"type":"S:modified","url":"/draft/NewWorld/Diffing.xhtml"},"22651":{"type":"S:modified","url":"/issues/110604_GriddingDoesNotWorkRight.xhtml"},"22652":{"type":"S:modified","url":"/issues/110927_TranslationAndPositionAreNotEqualWhenMorphHasAOwnerWithModifiedOrigin.xhtml"},"22653":{"type":"S:modified","url":"/issues/110809_ChangeOrRemovedScriptsAfterSerializationWrong.xhtml"},"22654":{"type":"S:modified","url":"/issues/110729_ShowHaloItemDuringHaloAction.xhtml"},"22655":{"type":"S:modified","url":"/users/tmohr/demo.xhtml"},"22656":{"type":"S:modified","url":"/documentation/overview.xhtml"},"22657":{"type":"S:modified","url":"/demos/LiveWeb/iPad.xhtml"},"22658":{"type":"S:modified","url":"/issues/110628_MorphOffsetsAfterGrabbingAreBroken.xhtml"},"22659":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/SCBMigration.xhtml"},"22660":{"type":"S:modified","url":"/users/Dan/LiveWeb4.xhtml"},"22661":{"type":"S:modified","url":"/users/olmeca/olmeca3.xhtml"},"22662":{"type":"S:deleted","url":null},"22663":{"type":"S:modified","url":"/issues/111026_AccessingVersionsUsesWrongURLAndVersionCombination.xhtml"},"22664":{"type":"S:modified","url":"/users/sofia/sofia/georgi/video_experiments1.xhtml"},"22665":{"type":"S:modified","url":"/users/wlcleveland/shadowworld.xhtml"},"22666":{"type":"S:modified","url":"/users/mzimmerm/mz-world-from-start-xhtml.xhtml"},"22667":{"type":"S:modified","url":"/users/Dan/FormLayoutExpt.xhtml.xhtml"},"22668":{"type":"S:modified","url":"/users/robertkrahn/writeSite.xhtml"},"22669":{"type":"S:modified","url":"/draft/NewWorld/CurveDrafting.xhtml"},"22670":{"type":"S:modified","url":"/draft/NewWorld/ParseApacheServerLog.xhtml"},"22671":{"type":"S:modified","url":"/issues/fixed/110516_EnterAtTextEndDoesNotAddLineBreak.xhtml"},"22672":{"type":"S:modified","url":"/projects/BP2012/h2.xhtml"},"22673":{"type":"S:modified","url":"/draft/NewWorld/110521_BetterLists.xhtml"},"22674":{"type":"S:modified","url":"/users/Dan/PM/layoutExpts.xhtml"},"22675":{"type":"S:modified","url":"/users/test50/start.xhtml"},"22676":{"type":"S:modified","url":"/MovePages.xhtml"},"22677":{"type":"S:modified","url":"/documentation/Rendering.xhtml"},"22678":{"type":"S:modified","url":"/users/fbo/layoutPlayground.xhtml"},"22679":{"type":"S:modified","url":"/users/martin/measurements/webwerkstatt.xhtml"},"22680":{"type":"S:modified","url":"/issues/111005_MouseMoveChangesFocus.xhtml"},"22681":{"type":"S:modified","url":"/documentation/videoTutorials/110419_ManipulateMorphs.xhtml"},"22682":{"type":"S:modified","url":"/projects/Lively2/Release.xhtml"},"22683":{"type":"S:modified","url":"/issues/110523_RelayMouseEventsToMorphBeneath.xhtml"},"22684":{"type":"S:modified","url":"/users/tmohr/myNewWorld.xhtml"},"22685":{"type":"S:modified","url":"/users/robertkrahn/thingsToExplain.xhtml"},"22686":{"type":"S:modified","url":"/users/fbo/start.xhtml"},"22687":{"type":"S:modified","url":"/issues/110511_WeHaveNoCheckbox.xhtml"},"22688":{"type":"S:modified","url":"/users/Dan/PM/FormsDraft1.xhtml"},"22689":{"type":"S:modified","url":"/users/Dan/EmptyWorld.xhtml"},"22690":{"type":"S:modified","url":"/users/sofia/georgi/empty.xhtml"},"22691":{"type":"S:modified","url":"/issues/110609_AccidentalGrabbing.xhtml"},"22692":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/NewMorphicDevelopment.xhtml"},"22693":{"type":"S:modified","url":"/users/lauritz/personal/snippets.xhtml"},"22694":{"type":"S:modified","url":"/users/lauritz/personal/thoughts.xhtml"},"22695":{"type":"S:modified","url":"/users/Dan/NewEmptyWorld.xhtml"},"22696":{"type":"S:modified","url":"/users/markoroeder/DOMRemovalPlugin.xhtml"},"22697":{"type":"S:modified","url":"/documentation/LivelyInstallation.xhtml"},"22698":{"type":"S:modified","url":"/issues/110530_MakeSyntaxHighlightingFaster.xhtml"},"22699":{"type":"S:modified","url":"/users/lauritz/miniprojects/pongClient.xhtml"},"22700":{"type":"S:modified","url":"/issues/110831_ButtonLabelsAreNotCenteredAnymore.xhtml"},"22701":{"type":"S:modified","url":"/sandbox/ColorfulWindmills.xhtml"},"22702":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/todo.xhtml"},"22703":{"type":"S:modified","url":"/users/robertkrahn/simple.xhtml"},"22704":{"type":"S:modified","url":"/issues/111004_SavingAnEmptyTextObjectSetsTheStringToUndefined.xhtml"},"22705":{"type":"S:modified","url":"/issues/TextDebugWorld.xhtml"},"22706":{"type":"S:modified","url":"/documentation/ShortcutList.xhtml"},"22707":{"type":"S:modified","url":"/users/tmohr/slide8.xhtml"},"22708":{"type":"S:modified","url":"/issues/110522_ClickingTheScrollbarInListsDoesNotWork.xhtml"},"22709":{"type":"S:modified","url":"/draft/NewWorld/ObjectSerializationGraph.xhtml"},"22710":{"type":"S:modified","url":"/users/Dan/TextTest.xhtml"},"22711":{"type":"S:modified","url":"/users/dtornow/start.xhtml"},"22712":{"type":"S:modified","url":"/projects/BP2012/start.xhtml"},"22713":{"type":"S:modified","url":"/users/Dan/Empty.xhtml"},"22714":{"type":"S:modified","url":"/users/keith/start.xhtml"},"22715":{"type":"S:modified","url":"/users/gerald24/start.xhtml"},"22716":{"type":"S:modified","url":"/documentation/videoTutorial.xhtml"},"22717":{"type":"S:modified","url":"/draft/NewWorld/DraftSelection.xhtml"},"22718":{"type":"S:modified","url":"/demos/LiveWeb/Pheonix.xhtml"},"22719":{"type":"S:modified","url":"/users/ahold/siteTracking.xhtml"},"22720":{"type":"S:modified","url":"/issues/110608_GetterAndSettersInIe9.xhtml"},"22721":{"type":"S:modified","url":"/users/iho/1.xhtml"},"22722":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/bootstrap.xhtml"},"22723":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasks.xhtml"},"22724":{"type":"S:modified","url":"/users/Dan/PM/FormsScripter.xhtml"},"22725":{"type":"S:modified","url":"/users/fbo/cassowary.xhtml"},"22726":{"type":"S:modified","url":"/users/MrSteve/start.xhtml"},"22727":{"type":"S:modified","url":"/issues/CreateIssuePage.xhtml"},"22728":{"type":"S:modified","url":"/users/fbo/xamppInstallerWindows.xhtml"},"22729":{"type":"S:modified","url":"/users/Dan/PM/Phoenix.xhtml"},"22730":{"type":"S:modified","url":"/users/tmohr/WebGL.xhtml"},"22731":{"type":"S:modified","url":"/documentation/PartsBin.xhtml"},"22732":{"type":"S:modified","url":"/users/mzimmerm/start.xhtml"},"22733":{"type":"S:modified","url":"/users/markoroeder/SequenceDiagram.xhtml"},"22734":{"type":"S:modified","url":"/demos/Wiki.xhtml"},"22735":{"type":"S:modified","url":"/documentation/Events.xhtml"},"22736":{"type":"S:modified","url":"/users/tmohr/slide3.xhtml"},"22737":{"type":"S:modified","url":"/users/hjust/blank.xhtml"},"22738":{"type":"S:modified","url":"/Lively2.xhtml"},"22739":{"type":"S:modified","url":"/users/tfleig/template.xhtml"},"22740":{"type":"S:modified","url":"/issues/111021_PianoDoesNotMakeASound.xhtml"},"22741":{"type":"S:modified","url":"/issues/fixed/110426_NewStatusMessagesWithMore.xhtml"},"22742":{"type":"S:modified","url":"/users/martin/tests.xhtml"},"22743":{"type":"S:modified","url":"/users/sofia/empty.xhtml"},"22744":{"type":"S:modified","url":"/issues/110601_PartsDoNotLoadThereRequireModulesOnWorldLoad.xhtml"},"22745":{"type":"S:modified","url":"/draft/NewWorld/Sliders.xhtml"},"22746":{"type":"S:modified","url":"/users/davidorban/start.xhtml"},"22747":{"type":"S:modified","url":"/users/orjan/start.xhtml"},"22748":{"type":"S:modified","url":"/users/Dan/PM/FormLayoutExpt-Final.xhtml"},"22749":{"type":"S:modified","url":"/users/sofia/video.xhtml"},"22750":{"type":"S:modified","url":"/demos/contextjs/PersonExample.xhtml"},"22751":{"type":"S:modified","url":"/users/zeebeedee/start.xhtml"},"22752":{"type":"S:modified","url":"/users/robertkrahn/textRain.xhtml"},"22753":{"type":"S:modified","url":"/users/fbo/databaseForms.xhtml"},"22754":{"type":"S:modified","url":"/draft/NewWorld/DraftUploadPDFs.xhtml"},"22755":{"type":"S:modified","url":"/users/olmeca/olmeca4.xhtml"},"22756":{"type":"S:modified","url":"/users/lauritz/miniprojects/livelyExplorer.xhtml"},"22757":{"type":"S:modified","url":"/documentation/videoTutorials/110421_CreatingVideoTutorials.xhtml"},"22758":{"type":"S:modified","url":"/draft/NewWorld/MartinsObjectDiffInNewWorlds.xhtml"},"22759":{"type":"S:modified","url":"/users/Dan/LineTest.xhtml"},"22760":{"type":"S:modified","url":"/draft/NewWorld/Translator.xhtml"},"22761":{"type":"S:modified","url":"/documentation/Styles.xhtml"},"22762":{"type":"S:modified","url":"/draft/NewWorld/MorphOrigin.xhtml"},"22763":{"type":"S:modified","url":"/screenshots.xhtml"},"22764":{"type":"S:modified","url":"/users/Dan/LiveWeb.xhtml"},"22765":{"type":"S:modified","url":"/demos/AntotherPageWithAClock.xhtml"},"22766":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/halloJens2.xhtml"},"22767":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/improvingTheWebPag.xhtml"},"22768":{"type":"S:modified","url":"/users/fbo/constraintLayoutExample.xhtml"},"22769":{"type":"S:modified","url":"/documentation/TutorialList.xhtml"},"22770":{"type":"S:modified","url":"/draft/NewWorld/MakeEventsTriggerOnCapture.xhtml"},"22771":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/prototype.xhtml"},"22772":{"type":"S:modified","url":"/users/Dan/PM/FormLayoutExpt-bk.xhtml"},"22773":{"type":"S:modified","url":"/users/Dan/QBF.xhtml"},"22774":{"type":"S:modified","url":"/users/tmohr/slides.xhtml"},"22775":{"type":"S:modified","url":"/users/Dan/ButtonTest.xhtml"},"22776":{"type":"S:modified","url":"/users/fbo/textInVbox.xhtml"},"22777":{"type":"S:modified","url":"/users/sofia/externalShapeExample.xhtml"},"22778":{"type":"S:modified","url":"/users/hjust/playground.xhtml"},"22779":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/halloJens.xhtml"},"22780":{"type":"S:modified","url":"/users/tmohr/morphSpecificRendering.xhtml"},"22781":{"type":"S:modified","url":"/users/fbo/dataGrid.xhtml"},"22782":{"type":"S:modified","url":"/issues/111020_HighlightTheTargetOfDropping.xhtml"},"22783":{"type":"S:modified","url":"/users/mzimmerm/help.xhtml"},"22784":{"type":"S:modified","url":"/users/fbo/jqGrid.xhtml"},"22785":{"type":"S:modified","url":"/projects/CodeDB2/contents.xhtml"},"22786":{"type":"S:modified","url":"/demos/PartsBin.xhtml"},"22787":{"type":"S:modified","url":"/users/sofia/martin/empty.xhtml"},"22788":{"type":"S:modified","url":"/users/markoroeder/research/Internship.xhtml"},"22789":{"type":"S:modified","url":"/users/tmohr/NewWorld.xhtml"},"22790":{"type":"S:modified","url":"/users/bert/sandbox.xhtml"},"22791":{"type":"S:modified","url":"/draft/NewWorld/GoogleMaps.xhtml"},"22792":{"type":"S:modified","url":"/demos/contextjs/NewContents.xhtml"},"22793":{"type":"S:modified","url":"/users/fbo/meteora.xhtml"},"22794":{"type":"S:modified","url":"/users/Dan/PM/Forms.xhtml"},"22795":{"type":"S:modified","url":"/issues/draft/NewWorld/CurveDrafting_EmbeddableWorld.xhtml"},"22796":{"type":"S:modified","url":"/projects/LivelyHelping/draftLK2.xhtml"},"22797":{"type":"S:modified","url":"/users/lauritz/miniprojects/objectEditor.xhtml"},"22798":{"type":"S:modified","url":"/users/fbo/blank2.xhtml"},"22799":{"type":"S:modified","url":"/issues/110509_ConnectionsInputsGetStackedUp.xhtml"},"22800":{"type":"S:modified","url":"/draft/NewWorld/SimpleLayout.xhtml"},"22801":{"type":"S:modified","url":"/users/mkilling/iKuh2.xhtml"},"22802":{"type":"S:modified","url":"/users/fbo/profesorControls.xhtml"},"22803":{"type":"S:modified","url":"/documentation/Serialization-Overview.xhtml"},"22804":{"type":"S:modified","url":"/users/sofia/georgi/PropertySheet.xhtml"},"22805":{"type":"S:modified","url":"/users/sofia/martin/1.xhtml"},"22806":{"type":"S:modified","url":"/issues/110828_HaloInfoLabelsWontShowUp.xhtml"},"22807":{"type":"S:modified","url":"/users/sofia/georgi/styles.xhtml"},"22808":{"type":"S:modified","url":"/users/fbo/doc/profesores.xhtml"},"22809":{"type":"S:modified","url":"/users/markoroeder/MorphicProtoVis2.xhtml"},"22810":{"type":"S:modified","url":"/issues/110516_EnterAtTextEndDoesNotAddLineBreak.xhtml"},"22811":{"type":"S:modified","url":"/projects/Lively2/LivelyMap.xhtml"},"22812":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/colorFiel.xhtml"},"22813":{"type":"S:modified","url":"/users/tmohr/slide9.xhtml"},"22814":{"type":"S:modified","url":"/issues/110518_TextAttributesBreakOnPaste.xhtml"},"22815":{"type":"S:modified","url":"/demos/LiveWeb/VisualBindings.xhtml"},"22816":{"type":"S:modified","url":"/documentation/Layout.xhtml"},"22817":{"type":"S:modified","url":"/documentation/repository.xhtml"},"22818":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/DontOverwriteChangedFile.xhtml"},"22819":{"type":"S:modified","url":"/users/Dan/Tests/TextTest.xhtml"},"22820":{"type":"S:modified","url":"/issues/fixed/110412_NewSimpleBrowser.xhtml"},"22821":{"type":"S:modified","url":"/users/fbo/proposedUiFixes.xhtml"},"22822":{"type":"S:modified","url":"/issues/NewTemplate.xhtml"},"22823":{"type":"S:modified","url":"/documentation/SVNOnServer.xhtml"},"22824":{"type":"S:modified","url":"/issues/110524_PartsSerializeTheirWorldsSometimes.xhtml"},"22825":{"type":"S:modified","url":"/users/Dan/PM/May.xhtml"},"22826":{"type":"S:modified","url":"/documentation/ignoreOrDisableEvents.xhtml"},"22827":{"type":"S:modified","url":"/issues/110522_FixSubmorphOrderWhenAddingMorphs.xhtml"},"22828":{"type":"S:modified","url":"/users/Dan/CCbkup.xhtml"},"22829":{"type":"S:modified","url":"/users/Dan/LiveWeb2-bk.xhtml"},"22830":{"type":"S:modified","url":"/issues/110704_DontGrabTextWithJensFancyGrabber.xhtml"},"22831":{"type":"S:modified","url":"/users/lauritz/blank.xhtml"},"22832":{"type":"S:modified","url":"/draft/NewWorld/Dragging.xhtml"},"22833":{"type":"S:modified","url":"/users/lauritz/personal/todo.xhtml"},"22834":{"type":"S:modified","url":"/users/fbo/flexigrid.xhtml"},"22835":{"type":"S:modified","url":"/draft/NewWorld/LatestFileChangeViewer.xhtml"},"22836":{"type":"S:modified","url":"/issues/fixed/110729_QucikBrownFoxBackspaceBug.xhtml"},"22837":{"type":"S:modified","url":"/users/lauritz/miniprojects/elProfesorWerkstatt.xhtml"},"22838":{"type":"S:modified","url":"/documentation/VisualBindings.xhtml"},"22839":{"type":"S:modified","url":"/users/robertkrahn/notexisting.xhtml"},"22840":{"type":"S:modified","url":"/draft/NewWorld/TreeMap.xhtml"},"22841":{"type":"S:modified","url":"/draft/NewWorld/Empty.xhtml"},"22842":{"type":"S:modified","url":"/users/Dan/QBF2B.xhtml"},"22843":{"type":"S:modified","url":"/issues/111019_MergingVersionsOfAnObject.xhtml"},"22844":{"type":"S:modified","url":"/issues/110619_SerializingMorphsThatAreNotInTheSceneGraphGivesStrangeErrors.xhtml"},"22845":{"type":"S:modified","url":"/users/lauritz/test.xhtml"},"22846":{"type":"S:modified","url":"/users/tilman.giese/start.xhtml"},"22847":{"type":"S:modified","url":"/users/tmohr/slide4.xhtml"},"22848":{"type":"S:modified","url":"/sandbox/PartsBin.xhtml"},"22849":{"type":"S:modified","url":"/users/markoroeder/DraftObjectExplorer.xhtml"},"22850":{"type":"S:modified","url":"/demos/WhereArePeopleFrom2.xhtml"},"22851":{"type":"S:modified","url":"/projects/CodeDB2/SVN2CodeDB.xhtml"},"22852":{"type":"S:modified","url":"/users/fbo/sqliteQueryServer.xhtml"},"22853":{"type":"S:modified","url":"/issues/fixed/110513_ScrollingWhenSearching.xhtml"},"22854":{"type":"S:modified","url":"/users/lauritz/miniprojects/bugFixing/referencedTextBug.xhtml"},"22855":{"type":"S:modified","url":"/issues/fixed/111020_ScrollingInScripteditorIsBroken.xhtml"},"22856":{"type":"S:modified","url":"/issues/110513_FindMethodsShouldSearchInClassMethodsAndObjects.xhtml"},"22857":{"type":"S:modified","url":"/draft/NewWorld/NewTestWidgetAgain.xhtml"},"22858":{"type":"S:modified","url":"/users/Dan/DansSlideOverview.xhtml"},"22859":{"type":"S:modified","url":"/users/fbo/exportCore.xhtml"},"22860":{"type":"S:modified","url":"/users/olmeca/olmeca.xhtml"},"22861":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/firstWorld.xhtml"},"22862":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/SearchSourceCodeWidge.xhtml"},"22863":{"type":"S:modified","url":"/users/Dan/CircleTest.xhtml"},"22864":{"type":"S:modified","url":"/users/Dan/Tests/SerializationTest2.xhtml"},"22865":{"type":"S:modified","url":"/users/fbo/sandbox.xhtml"},"22866":{"type":"S:modified","url":"/issues/110728_BackspaceTriggersBrowserBack.xhtml"},"22867":{"type":"S:modified","url":"/users/markoroeder/empty.xhtml"},"22868":{"type":"S:modified","url":"/draft/NewWorld/DropStyles.xhtml"},"22869":{"type":"S:modified","url":"/issues/fixed/110513_MakeSyntaxHighlightingWorkInNewWorld.xhtml"},"22870":{"type":"S:modified","url":"/users/MrSteve/lorenzo.start.xhtml"},"22871":{"type":"S:modified","url":"/users/Dan/PM/LiveWeb.xhtml"},"22872":{"type":"S:modified","url":"/users/Dan/PM/FormLayoutExpt-start.xhtml"},"22873":{"type":"S:modified","url":"/draft/NewWorld/ScriptEditor.xhtml"},"22874":{"type":"S:modified","url":"/users/mzimmerm/test-build-simple-webapp.xhtml"},"22875":{"type":"S:modified","url":"/issues/110628_SettingTetAttributesDoesNotAlwaysWork.xhtml"},"22876":{"type":"S:modified","url":"/users/lauritz/miniprojects/spiel.xhtml"},"22877":{"type":"S:modified","url":"/users/robertkrahn/DraftPresentation.xhtml"},"22878":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/layouting.xhtml"},"22879":{"type":"S:modified","url":"/users/Dan/Tests/SerializationTest.xhtml"},"22880":{"type":"S:modified","url":"/users/lauritz/miniprojects/spikes/connectedExplorer.xhtml"},"22881":{"type":"S:modified","url":"/users/fbo/nodejsServerDevelopment.xhtml"},"22882":{"type":"S:modified","url":"/draft/NewWorld/QBFForPartsBin.xhtml"},"22883":{"type":"S:modified","url":"/issues/fixed/110628_CommandAndCurlyBracketGoesBackInBrowserHistory.xhtml"},"22884":{"type":"S:modified","url":"/users/lauritz/miniprojects/connections.xhtml"},"22885":{"type":"S:modified","url":"/users/ahold/start.xhtml"},"22886":{"type":"S:modified","url":"/users/markus/FileBrowser.xhtml"},"22887":{"type":"S:modified","url":"/demos/LiveWeb/CPUVisualizationFinal.xhtml"},"22888":{"type":"S:modified","url":"/users/fbo/jsUiWidgetLibResearch.xhtml"},"22889":{"type":"S:modified","url":"/users/fbo/constraintLayout.xhtml"},"22890":{"type":"S:modified","url":"/users/Dan/Tests/LineTest.xhtml"},"22891":{"type":"S:modified","url":"/sandbox/sandbox.xhtml"},"22892":{"type":"S:modified","url":"/users/fbo/versionControl.xhtml"},"22893":{"type":"S:modified","url":"/draft/NewWorld/CreateDirWhenSaving.xhtml"},"22894":{"type":"S:modified","url":"/demos/Lively2.xhtml"},"22895":{"type":"S:modified","url":"/users/fbo/userIsolationAndGit.xhtml"},"22896":{"type":"S:modified","url":"/draft/NewWorld/KeyboardFocusForMorphs.xhtml"},"22897":{"type":"S:modified","url":"/users/fbo/dwarfcassowaryExample2.xhtml"},"22898":{"type":"S:modified","url":"/users/oudenampsen/start.xhtml"},"22899":{"type":"S:modified","url":"/issues/110517_VlayoutShouldGrowAndShrink.xhtml"},"22900":{"type":"S:modified","url":"/users/fbo/dwarfcassowaryExample.xhtml"},"22901":{"type":"S:modified","url":"/users/tmohr/ace.xhtml"},"22902":{"type":"S:modified","url":"/users/fbo/empty2.xhtml"},"22903":{"type":"S:modified","url":"/users/martin/Workspace.xhtml"},"22904":{"type":"S:modified","url":"/users/Dan/Bug-List.xhtml"},"22905":{"type":"S:modified","url":"/users/Dan/QuickBrownFoxx.xhtml"},"22906":{"type":"S:modified","url":"/demos/LiveWeb/ServerScripting.xhtml"},"22907":{"type":"S:modified","url":"/demos/contextjs/WordCompletion.xhtml"},"22908":{"type":"S:modified","url":"/issues/110715_PartModuleRequirementsAreNotLoadedOnWorldLoad.xhtml"},"22909":{"type":"S:modified","url":"/users/fbo/fabiansTickets.xhtml"},"22910":{"type":"S:modified","url":"/issues/111020_ViewOfTextFieldsAfterSaving.xhtml"},"22911":{"type":"S:modified","url":"/users/martin/Template.xhtml"},"22912":{"type":"S:modified","url":"/projects/CodeDB2/Testing.xhtml"},"22913":{"type":"S:modified","url":"/users/keith/MySetup.xhtml"},"22914":{"type":"S:modified","url":"/users/fbo/noGrabLayer.xhtml"},"22915":{"type":"S:modified","url":"/demos/CPUVisualization.xhtml"},"22916":{"type":"S:modified","url":"/users/sofia/georgi/trac-report.xhtml"},"22917":{"type":"S:modified","url":"/users/fbo/HtmlWrapperMorph.xhtml"},"22918":{"type":"S:modified","url":"/users/sofia/documentation_afterLunch.xhtml"},"22919":{"type":"S:modified","url":"/demos/contextjs/Empty.xhtml"},"22920":{"type":"S:modified","url":"/users/fbo/setExtent.xhtml"},"22921":{"type":"S:modified","url":"/users/sofia/martin/2.xhtml"},"22922":{"type":"S:modified","url":"/users/markoroeder/DropboxUpload.xhtml"},"22923":{"type":"S:modified","url":"/users/fbo/newMouseDownLayer.xhtml"},"22924":{"type":"S:modified","url":"/issues/fixed/110914_StraightLineIssue.xhtml"},"22925":{"type":"S:modified","url":"/users/cschuster/debugging.xhtml"},"22926":{"type":"S:modified","url":"/users/sofia/prototVisPrototype.xhtml"},"22927":{"type":"S:modified","url":"/draft/NewWorld/DraggingAndGrabbing.xhtml"},"22928":{"type":"S:modified","url":"/users/lauritz/miniprojects/annotationPart.xhtml"},"22929":{"rev":111628,"author":"fbo","date":{"__isSmartRef__":true,"id":22930},"url":{"__isSmartRef__":true,"id":22931},"changes":[{"__isSmartRef__":true,"id":22932},{"__isSmartRef__":true,"id":22933}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"22930":{"isSerializedDate":true,"string":"Wed Oct 26 2011 22:42:15 GMT+0200 (CEST)"},"22931":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/kernel/PartsBin","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"22932":{"type":"S:deleted","url":null},"22933":{"type":"S:added","url":null},"22934":{"rev":110429,"author":"lauritz","date":{"__isSmartRef__":true,"id":22935},"url":{"__isSmartRef__":true,"id":22936},"changes":[{"__isSmartRef__":true,"id":22937}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"22935":{"isSerializedDate":true,"string":"Thu Oct 20 2011 22:32:58 GMT+0200 (CEST)"},"22936":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"22937":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"22938":{"rev":109892,"author":"jenslincke","date":{"__isSmartRef__":true,"id":22939},"url":{"__isSmartRef__":true,"id":22940},"changes":[{"__isSmartRef__":true,"id":22941}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"22939":{"isSerializedDate":true,"string":"Wed Oct 19 2011 12:36:18 GMT+0200 (CEST)"},"22940":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"22941":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"22942":{"rev":109190,"author":"lauritz","date":{"__isSmartRef__":true,"id":22943},"url":{"__isSmartRef__":true,"id":22944},"changes":[{"__isSmartRef__":true,"id":22945}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"22943":{"isSerializedDate":true,"string":"Mon Oct 17 2011 22:28:15 GMT+0200 (CEST)"},"22944":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"22945":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"22946":{"rev":109167,"author":"lauritz","date":{"__isSmartRef__":true,"id":22947},"url":{"__isSmartRef__":true,"id":22948},"changes":[{"__isSmartRef__":true,"id":22949}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"22947":{"isSerializedDate":true,"string":"Mon Oct 17 2011 18:22:20 GMT+0200 (CEST)"},"22948":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"22949":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"22950":{"rev":109164,"author":"lauritz","date":{"__isSmartRef__":true,"id":22951},"url":{"__isSmartRef__":true,"id":22952},"changes":[{"__isSmartRef__":true,"id":22953}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"22951":{"isSerializedDate":true,"string":"Mon Oct 17 2011 17:45:04 GMT+0200 (CEST)"},"22952":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"22953":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"22954":{"rev":109022,"author":"lauritz","date":{"__isSmartRef__":true,"id":22955},"url":{"__isSmartRef__":true,"id":22956},"changes":[{"__isSmartRef__":true,"id":22957}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"22955":{"isSerializedDate":true,"string":"Fri Oct 14 2011 22:16:17 GMT+0200 (CEST)"},"22956":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"22957":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"22958":{"rev":109012,"author":"lauritz","date":{"__isSmartRef__":true,"id":22959},"url":{"__isSmartRef__":true,"id":22960},"changes":[{"__isSmartRef__":true,"id":22961}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"22959":{"isSerializedDate":true,"string":"Fri Oct 14 2011 21:55:18 GMT+0200 (CEST)"},"22960":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"22961":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"22962":{"rev":107432,"author":"cschuster","date":{"__isSmartRef__":true,"id":22963},"url":{"__isSmartRef__":true,"id":22964},"changes":[{"__isSmartRef__":true,"id":22965}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"22963":{"isSerializedDate":true,"string":"Tue Oct 04 2011 17:40:19 GMT+0200 (CEST)"},"22964":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"22965":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"22966":{"rev":106789,"author":"lauritz","date":{"__isSmartRef__":true,"id":22967},"url":{"__isSmartRef__":true,"id":22968},"changes":[{"__isSmartRef__":true,"id":22969}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"22967":{"isSerializedDate":true,"string":"Tue Sep 27 2011 23:26:26 GMT+0200 (CEST)"},"22968":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"22969":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"22970":{"rev":106765,"author":"lauritz","date":{"__isSmartRef__":true,"id":22971},"url":{"__isSmartRef__":true,"id":22972},"changes":[{"__isSmartRef__":true,"id":22973}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"22971":{"isSerializedDate":true,"string":"Tue Sep 27 2011 21:31:17 GMT+0200 (CEST)"},"22972":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"22973":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"22974":{"rev":106756,"author":"lauritz","date":{"__isSmartRef__":true,"id":22975},"url":{"__isSmartRef__":true,"id":22976},"changes":[{"__isSmartRef__":true,"id":22977}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"22975":{"isSerializedDate":true,"string":"Tue Sep 27 2011 21:07:46 GMT+0200 (CEST)"},"22976":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"22977":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"22978":{"rev":106745,"author":"lauritz","date":{"__isSmartRef__":true,"id":22979},"url":{"__isSmartRef__":true,"id":22980},"changes":[{"__isSmartRef__":true,"id":22981}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"22979":{"isSerializedDate":true,"string":"Tue Sep 27 2011 20:54:43 GMT+0200 (CEST)"},"22980":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"22981":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"22982":{"rev":106695,"author":"lauritz","date":{"__isSmartRef__":true,"id":22983},"url":{"__isSmartRef__":true,"id":22984},"changes":[{"__isSmartRef__":true,"id":22985}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"22983":{"isSerializedDate":true,"string":"Tue Sep 27 2011 19:53:50 GMT+0200 (CEST)"},"22984":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"22985":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"22986":{"rev":106691,"author":"lauritz","date":{"__isSmartRef__":true,"id":22987},"url":{"__isSmartRef__":true,"id":22988},"changes":[{"__isSmartRef__":true,"id":22989}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"22987":{"isSerializedDate":true,"string":"Tue Sep 27 2011 19:47:23 GMT+0200 (CEST)"},"22988":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"22989":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"22990":{"rev":106687,"author":"lauritz","date":{"__isSmartRef__":true,"id":22991},"url":{"__isSmartRef__":true,"id":22992},"changes":[{"__isSmartRef__":true,"id":22993}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"22991":{"isSerializedDate":true,"string":"Tue Sep 27 2011 19:44:40 GMT+0200 (CEST)"},"22992":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"22993":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"22994":{"rev":106625,"author":"lauritz","date":{"__isSmartRef__":true,"id":22995},"url":{"__isSmartRef__":true,"id":22996},"changes":[{"__isSmartRef__":true,"id":22997}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"22995":{"isSerializedDate":true,"string":"Tue Sep 27 2011 18:15:06 GMT+0200 (CEST)"},"22996":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"22997":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"22998":{"rev":106620,"author":"lauritz","date":{"__isSmartRef__":true,"id":22999},"url":{"__isSmartRef__":true,"id":23000},"changes":[{"__isSmartRef__":true,"id":23001}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"22999":{"isSerializedDate":true,"string":"Tue Sep 27 2011 18:11:55 GMT+0200 (CEST)"},"23000":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23001":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23002":{"rev":106279,"author":"lauritz","date":{"__isSmartRef__":true,"id":23003},"url":{"__isSmartRef__":true,"id":23004},"changes":[{"__isSmartRef__":true,"id":23005}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23003":{"isSerializedDate":true,"string":"Mon Sep 26 2011 20:33:17 GMT+0200 (CEST)"},"23004":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23005":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23006":{"rev":106276,"author":"lauritz","date":{"__isSmartRef__":true,"id":23007},"url":{"__isSmartRef__":true,"id":23008},"changes":[{"__isSmartRef__":true,"id":23009}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23007":{"isSerializedDate":true,"string":"Mon Sep 26 2011 20:32:57 GMT+0200 (CEST)"},"23008":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23009":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23010":{"rev":106273,"author":"lauritz","date":{"__isSmartRef__":true,"id":23011},"url":{"__isSmartRef__":true,"id":23012},"changes":[{"__isSmartRef__":true,"id":23013}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23011":{"isSerializedDate":true,"string":"Mon Sep 26 2011 20:30:51 GMT+0200 (CEST)"},"23012":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23013":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23014":{"rev":96169,"author":"jenslincke","date":{"__isSmartRef__":true,"id":23015},"url":{"__isSmartRef__":true,"id":23016},"changes":[{"__isSmartRef__":true,"id":23017}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23015":{"isSerializedDate":true,"string":"Tue Aug 02 2011 13:53:11 GMT+0200 (CEST)"},"23016":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23017":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23018":{"rev":96166,"author":"jenslincke","date":{"__isSmartRef__":true,"id":23019},"url":{"__isSmartRef__":true,"id":23020},"changes":[{"__isSmartRef__":true,"id":23021}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23019":{"isSerializedDate":true,"string":"Tue Aug 02 2011 13:47:04 GMT+0200 (CEST)"},"23020":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23021":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23022":{"rev":96159,"author":"jenslincke","date":{"__isSmartRef__":true,"id":23023},"url":{"__isSmartRef__":true,"id":23024},"changes":[{"__isSmartRef__":true,"id":23025}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23023":{"isSerializedDate":true,"string":"Tue Aug 02 2011 13:27:17 GMT+0200 (CEST)"},"23024":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23025":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23026":{"rev":96088,"author":"jenslincke","date":{"__isSmartRef__":true,"id":23027},"url":{"__isSmartRef__":true,"id":23028},"changes":[{"__isSmartRef__":true,"id":23029}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23027":{"isSerializedDate":true,"string":"Tue Aug 02 2011 11:47:36 GMT+0200 (CEST)"},"23028":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23029":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23030":{"rev":85436,"author":"lauritz","date":{"__isSmartRef__":true,"id":23031},"url":{"__isSmartRef__":true,"id":23032},"changes":[{"__isSmartRef__":true,"id":23033}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23031":{"isSerializedDate":true,"string":"Thu Jun 16 2011 09:02:09 GMT+0200 (CEST)"},"23032":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23033":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23034":{"rev":85430,"author":"lauritz","date":{"__isSmartRef__":true,"id":23035},"url":{"__isSmartRef__":true,"id":23036},"changes":[{"__isSmartRef__":true,"id":23037}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23035":{"isSerializedDate":true,"string":"Thu Jun 16 2011 08:58:49 GMT+0200 (CEST)"},"23036":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23037":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23038":{"rev":85412,"author":"lauritz","date":{"__isSmartRef__":true,"id":23039},"url":{"__isSmartRef__":true,"id":23040},"changes":[{"__isSmartRef__":true,"id":23041}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23039":{"isSerializedDate":true,"string":"Thu Jun 16 2011 08:40:04 GMT+0200 (CEST)"},"23040":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23041":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23042":{"rev":85328,"author":"lauritz","date":{"__isSmartRef__":true,"id":23043},"url":{"__isSmartRef__":true,"id":23044},"changes":[{"__isSmartRef__":true,"id":23045}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23043":{"isSerializedDate":true,"string":"Thu Jun 16 2011 07:28:20 GMT+0200 (CEST)"},"23044":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23045":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23046":{"rev":85292,"author":"robertkrahn","date":{"__isSmartRef__":true,"id":23047},"url":{"__isSmartRef__":true,"id":23048},"changes":[{"__isSmartRef__":true,"id":23049},{"__isSmartRef__":true,"id":23050},{"__isSmartRef__":true,"id":23051},{"__isSmartRef__":true,"id":23052},{"__isSmartRef__":true,"id":23053},{"__isSmartRef__":true,"id":23054},{"__isSmartRef__":true,"id":23055},{"__isSmartRef__":true,"id":23056},{"__isSmartRef__":true,"id":23057},{"__isSmartRef__":true,"id":23058},{"__isSmartRef__":true,"id":23059}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23047":{"isSerializedDate":true,"string":"Wed Jun 15 2011 23:09:22 GMT+0200 (CEST)"},"23048":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.svg","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23049":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.metainfo"},"23050":{"type":"S:modified","url":"/lively/ide.js"},"23051":{"type":"S:modified","url":"/PartsBin/Debugging/Benchmarker.html"},"23052":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.html"},"23053":{"type":"S:modified","url":"/lively/morphic/Events.js"},"23054":{"type":"S:modified","url":"/PartsBin/Debugging/Benchmarker.json"},"23055":{"type":"S:modified","url":"/lively/morphic/Widgets.js"},"23056":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23057":{"type":"S:modified","url":"/cop/Flatten.js"},"23058":{"type":"S:modified","url":"/cop/Layers.js"},"23059":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.svg"},"23060":{"rev":84928,"author":"lauritz","date":{"__isSmartRef__":true,"id":23061},"url":{"__isSmartRef__":true,"id":23062},"changes":[{"__isSmartRef__":true,"id":23063}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23061":{"isSerializedDate":true,"string":"Wed Jun 15 2011 09:46:59 GMT+0200 (CEST)"},"23062":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23063":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23064":{"rev":84921,"author":"lauritz","date":{"__isSmartRef__":true,"id":23065},"url":{"__isSmartRef__":true,"id":23066},"changes":[{"__isSmartRef__":true,"id":23067}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23065":{"isSerializedDate":true,"string":"Wed Jun 15 2011 09:44:27 GMT+0200 (CEST)"},"23066":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23067":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23068":{"rev":84890,"author":"lauritz","date":{"__isSmartRef__":true,"id":23069},"url":{"__isSmartRef__":true,"id":23070},"changes":[{"__isSmartRef__":true,"id":23071}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23069":{"isSerializedDate":true,"string":"Wed Jun 15 2011 09:29:36 GMT+0200 (CEST)"},"23070":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23071":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23072":{"rev":84431,"author":"Hank","date":{"__isSmartRef__":true,"id":23073},"url":{"__isSmartRef__":true,"id":23074},"changes":[{"__isSmartRef__":true,"id":23075}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23073":{"isSerializedDate":true,"string":"Tue Jun 14 2011 16:33:15 GMT+0200 (CEST)"},"23074":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23075":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23076":{"rev":84427,"author":"Hank","date":{"__isSmartRef__":true,"id":23077},"url":{"__isSmartRef__":true,"id":23078},"changes":[{"__isSmartRef__":true,"id":23079}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23077":{"isSerializedDate":true,"string":"Tue Jun 14 2011 16:32:52 GMT+0200 (CEST)"},"23078":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23079":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23080":{"rev":82559,"author":"lauritz","date":{"__isSmartRef__":true,"id":23081},"url":{"__isSmartRef__":true,"id":23082},"changes":[{"__isSmartRef__":true,"id":23083}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23081":{"isSerializedDate":true,"string":"Tue Jun 07 2011 11:08:40 GMT+0200 (CEST)"},"23082":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23083":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23084":{"rev":82542,"author":"lauritz","date":{"__isSmartRef__":true,"id":23085},"url":{"__isSmartRef__":true,"id":23086},"changes":[{"__isSmartRef__":true,"id":23087}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23085":{"isSerializedDate":true,"string":"Tue Jun 07 2011 10:26:37 GMT+0200 (CEST)"},"23086":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23087":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23088":{"rev":82502,"author":"robertkrahn","date":{"__isSmartRef__":true,"id":23089},"url":{"__isSmartRef__":true,"id":23090},"changes":[{"__isSmartRef__":true,"id":23091}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23089":{"isSerializedDate":true,"string":"Mon Jun 06 2011 23:19:51 GMT+0200 (CEST)"},"23090":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23091":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23092":{"rev":82119,"author":"robertkrahn","date":{"__isSmartRef__":true,"id":23093},"url":{"__isSmartRef__":true,"id":23094},"changes":[{"__isSmartRef__":true,"id":23095}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23093":{"isSerializedDate":true,"string":"Sun Jun 05 2011 14:28:50 GMT+0200 (CEST)"},"23094":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23095":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23096":{"rev":82115,"author":"robertkrahn","date":{"__isSmartRef__":true,"id":23097},"url":{"__isSmartRef__":true,"id":23098},"changes":[{"__isSmartRef__":true,"id":23099}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23097":{"isSerializedDate":true,"string":"Sun Jun 05 2011 14:27:01 GMT+0200 (CEST)"},"23098":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23099":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23100":{"rev":81803,"author":"lauritz","date":{"__isSmartRef__":true,"id":23101},"url":{"__isSmartRef__":true,"id":23102},"changes":[{"__isSmartRef__":true,"id":23103}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23101":{"isSerializedDate":true,"string":"Fri Jun 03 2011 18:22:06 GMT+0200 (CEST)"},"23102":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23103":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23104":{"rev":81796,"author":"lauritz","date":{"__isSmartRef__":true,"id":23105},"url":{"__isSmartRef__":true,"id":23106},"changes":[{"__isSmartRef__":true,"id":23107}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23105":{"isSerializedDate":true,"string":"Fri Jun 03 2011 17:54:06 GMT+0200 (CEST)"},"23106":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23107":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23108":{"rev":81681,"author":"jenslincke","date":{"__isSmartRef__":true,"id":23109},"url":{"__isSmartRef__":true,"id":23110},"changes":[{"__isSmartRef__":true,"id":23111}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23109":{"isSerializedDate":true,"string":"Fri Jun 03 2011 17:21:55 GMT+0200 (CEST)"},"23110":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23111":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23112":{"rev":80056,"author":"lauritz","date":{"__isSmartRef__":true,"id":23113},"url":{"__isSmartRef__":true,"id":23114},"changes":[{"__isSmartRef__":true,"id":23115}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23113":{"isSerializedDate":true,"string":"Wed Jun 01 2011 23:04:07 GMT+0200 (CEST)"},"23114":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23115":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23116":{"rev":79541,"author":"robertkrahn","date":{"__isSmartRef__":true,"id":23117},"url":{"__isSmartRef__":true,"id":23118},"changes":[{"__isSmartRef__":true,"id":23119}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23117":{"isSerializedDate":true,"string":"Wed Jun 01 2011 01:48:05 GMT+0200 (CEST)"},"23118":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23119":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23120":{"rev":79538,"author":"robertkrahn","date":{"__isSmartRef__":true,"id":23121},"url":{"__isSmartRef__":true,"id":23122},"changes":[{"__isSmartRef__":true,"id":23123}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23121":{"isSerializedDate":true,"string":"Wed Jun 01 2011 01:47:34 GMT+0200 (CEST)"},"23122":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23123":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23124":{"rev":77087,"author":"robertkrahn","date":{"__isSmartRef__":true,"id":23125},"url":{"__isSmartRef__":true,"id":23126},"changes":[{"__isSmartRef__":true,"id":23127}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23125":{"isSerializedDate":true,"string":"Thu May 26 2011 07:56:10 GMT+0200 (CEST)"},"23126":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23127":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23128":{"rev":76989,"author":"lauritz","date":{"__isSmartRef__":true,"id":23129},"url":{"__isSmartRef__":true,"id":23130},"changes":[{"__isSmartRef__":true,"id":23131}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23129":{"isSerializedDate":true,"string":"Wed May 25 2011 21:19:49 GMT+0200 (CEST)"},"23130":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23131":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23132":{"rev":76986,"author":"lauritz","date":{"__isSmartRef__":true,"id":23133},"url":{"__isSmartRef__":true,"id":23134},"changes":[{"__isSmartRef__":true,"id":23135}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23133":{"isSerializedDate":true,"string":"Wed May 25 2011 21:17:16 GMT+0200 (CEST)"},"23134":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23135":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23136":{"rev":76972,"author":"lauritz","date":{"__isSmartRef__":true,"id":23137},"url":{"__isSmartRef__":true,"id":23138},"changes":[{"__isSmartRef__":true,"id":23139}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23137":{"isSerializedDate":true,"string":"Wed May 25 2011 20:51:58 GMT+0200 (CEST)"},"23138":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23139":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23140":{"rev":76969,"author":"lauritz","date":{"__isSmartRef__":true,"id":23141},"url":{"__isSmartRef__":true,"id":23142},"changes":[{"__isSmartRef__":true,"id":23143}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23141":{"isSerializedDate":true,"string":"Wed May 25 2011 20:48:22 GMT+0200 (CEST)"},"23142":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23143":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23144":{"rev":76965,"author":"lauritz","date":{"__isSmartRef__":true,"id":23145},"url":{"__isSmartRef__":true,"id":23146},"changes":[{"__isSmartRef__":true,"id":23147}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23145":{"isSerializedDate":true,"string":"Wed May 25 2011 20:38:56 GMT+0200 (CEST)"},"23146":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23147":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23148":{"rev":76952,"author":"lauritz","date":{"__isSmartRef__":true,"id":23149},"url":{"__isSmartRef__":true,"id":23150},"changes":[{"__isSmartRef__":true,"id":23151}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23149":{"isSerializedDate":true,"string":"Wed May 25 2011 20:20:56 GMT+0200 (CEST)"},"23150":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23151":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23152":{"rev":76948,"author":"lauritz","date":{"__isSmartRef__":true,"id":23153},"url":{"__isSmartRef__":true,"id":23154},"changes":[{"__isSmartRef__":true,"id":23155}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23153":{"isSerializedDate":true,"string":"Wed May 25 2011 20:15:09 GMT+0200 (CEST)"},"23154":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23155":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23156":{"rev":76944,"author":"lauritz","date":{"__isSmartRef__":true,"id":23157},"url":{"__isSmartRef__":true,"id":23158},"changes":[{"__isSmartRef__":true,"id":23159}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23157":{"isSerializedDate":true,"string":"Wed May 25 2011 20:07:28 GMT+0200 (CEST)"},"23158":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23159":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23160":{"rev":76941,"author":"lauritz","date":{"__isSmartRef__":true,"id":23161},"url":{"__isSmartRef__":true,"id":23162},"changes":[{"__isSmartRef__":true,"id":23163}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23161":{"isSerializedDate":true,"string":"Wed May 25 2011 20:02:56 GMT+0200 (CEST)"},"23162":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23163":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23164":{"rev":76938,"author":"lauritz","date":{"__isSmartRef__":true,"id":23165},"url":{"__isSmartRef__":true,"id":23166},"changes":[{"__isSmartRef__":true,"id":23167}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23165":{"isSerializedDate":true,"string":"Wed May 25 2011 20:02:48 GMT+0200 (CEST)"},"23166":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23167":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23168":{"rev":76929,"author":"lauritz","date":{"__isSmartRef__":true,"id":23169},"url":{"__isSmartRef__":true,"id":23170},"changes":[{"__isSmartRef__":true,"id":23171}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23169":{"isSerializedDate":true,"string":"Wed May 25 2011 19:58:46 GMT+0200 (CEST)"},"23170":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23171":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23172":{"rev":76925,"author":"lauritz","date":{"__isSmartRef__":true,"id":23173},"url":{"__isSmartRef__":true,"id":23174},"changes":[{"__isSmartRef__":true,"id":23175}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23173":{"isSerializedDate":true,"string":"Wed May 25 2011 19:55:37 GMT+0200 (CEST)"},"23174":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23175":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23176":{"rev":76921,"author":"lauritz","date":{"__isSmartRef__":true,"id":23177},"url":{"__isSmartRef__":true,"id":23178},"changes":[{"__isSmartRef__":true,"id":23179}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23177":{"isSerializedDate":true,"string":"Wed May 25 2011 19:43:04 GMT+0200 (CEST)"},"23178":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23179":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23180":{"rev":76917,"author":"lauritz","date":{"__isSmartRef__":true,"id":23181},"url":{"__isSmartRef__":true,"id":23182},"changes":[{"__isSmartRef__":true,"id":23183}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23181":{"isSerializedDate":true,"string":"Wed May 25 2011 19:34:49 GMT+0200 (CEST)"},"23182":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23183":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23184":{"rev":76914,"author":"lauritz","date":{"__isSmartRef__":true,"id":23185},"url":{"__isSmartRef__":true,"id":23186},"changes":[{"__isSmartRef__":true,"id":23187}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23185":{"isSerializedDate":true,"string":"Wed May 25 2011 19:34:37 GMT+0200 (CEST)"},"23186":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23187":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23188":{"rev":76909,"author":"lauritz","date":{"__isSmartRef__":true,"id":23189},"url":{"__isSmartRef__":true,"id":23190},"changes":[{"__isSmartRef__":true,"id":23191}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23189":{"isSerializedDate":true,"string":"Wed May 25 2011 19:17:27 GMT+0200 (CEST)"},"23190":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23191":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23192":{"rev":76272,"author":"robertkrahn","date":{"__isSmartRef__":true,"id":23193},"url":{"__isSmartRef__":true,"id":23194},"changes":[{"__isSmartRef__":true,"id":23195}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23193":{"isSerializedDate":true,"string":"Tue May 24 2011 15:48:17 GMT+0200 (CEST)"},"23194":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23195":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23196":{"rev":76203,"author":"jenslincke","date":{"__isSmartRef__":true,"id":23197},"url":{"__isSmartRef__":true,"id":23198},"changes":[{"__isSmartRef__":true,"id":23199}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23197":{"isSerializedDate":true,"string":"Tue May 24 2011 14:39:33 GMT+0200 (CEST)"},"23198":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23199":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23200":{"rev":76197,"author":"jenslincke","date":{"__isSmartRef__":true,"id":23201},"url":{"__isSmartRef__":true,"id":23202},"changes":[{"__isSmartRef__":true,"id":23203}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23201":{"isSerializedDate":true,"string":"Tue May 24 2011 14:35:59 GMT+0200 (CEST)"},"23202":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23203":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23204":{"rev":76194,"author":"jenslincke","date":{"__isSmartRef__":true,"id":23205},"url":{"__isSmartRef__":true,"id":23206},"changes":[{"__isSmartRef__":true,"id":23207}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23205":{"isSerializedDate":true,"string":"Tue May 24 2011 14:35:20 GMT+0200 (CEST)"},"23206":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23207":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23208":{"rev":76171,"author":"jenslincke","date":{"__isSmartRef__":true,"id":23209},"url":{"__isSmartRef__":true,"id":23210},"changes":[{"__isSmartRef__":true,"id":23211}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23209":{"isSerializedDate":true,"string":"Tue May 24 2011 14:26:26 GMT+0200 (CEST)"},"23210":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23211":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23212":{"rev":75078,"author":"robertkrahn","date":{"__isSmartRef__":true,"id":23213},"url":{"__isSmartRef__":true,"id":23214},"changes":[{"__isSmartRef__":true,"id":23215}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23213":{"isSerializedDate":true,"string":"Sun May 22 2011 20:08:14 GMT+0200 (CEST)"},"23214":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23215":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23216":{"rev":74975,"author":"lauritz","date":{"__isSmartRef__":true,"id":23217},"url":{"__isSmartRef__":true,"id":23218},"changes":[{"__isSmartRef__":true,"id":23219}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23217":{"isSerializedDate":true,"string":"Sat May 21 2011 10:25:59 GMT+0200 (CEST)"},"23218":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23219":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23220":{"rev":74972,"author":"lauritz","date":{"__isSmartRef__":true,"id":23221},"url":{"__isSmartRef__":true,"id":23222},"changes":[{"__isSmartRef__":true,"id":23223}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23221":{"isSerializedDate":true,"string":"Sat May 21 2011 10:12:50 GMT+0200 (CEST)"},"23222":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23223":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23224":{"rev":74941,"author":"robertkrahn","date":{"__isSmartRef__":true,"id":23225},"url":{"__isSmartRef__":true,"id":23226},"changes":[{"__isSmartRef__":true,"id":23227}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23225":{"isSerializedDate":true,"string":"Sat May 21 2011 00:44:24 GMT+0200 (CEST)"},"23226":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23227":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23228":{"rev":74931,"author":"robertkrahn","date":{"__isSmartRef__":true,"id":23229},"url":{"__isSmartRef__":true,"id":23230},"changes":[{"__isSmartRef__":true,"id":23231}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23229":{"isSerializedDate":true,"string":"Sat May 21 2011 00:24:31 GMT+0200 (CEST)"},"23230":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23231":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23232":{"rev":74843,"author":"lauritz","date":{"__isSmartRef__":true,"id":23233},"url":{"__isSmartRef__":true,"id":23234},"changes":[{"__isSmartRef__":true,"id":23235}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23233":{"isSerializedDate":true,"string":"Fri May 20 2011 18:24:22 GMT+0200 (CEST)"},"23234":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23235":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23236":{"rev":74826,"author":"lauritz","date":{"__isSmartRef__":true,"id":23237},"url":{"__isSmartRef__":true,"id":23238},"changes":[{"__isSmartRef__":true,"id":23239}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23237":{"isSerializedDate":true,"string":"Fri May 20 2011 17:58:56 GMT+0200 (CEST)"},"23238":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23239":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23240":{"rev":74748,"author":"lauritz","date":{"__isSmartRef__":true,"id":23241},"url":{"__isSmartRef__":true,"id":23242},"changes":[{"__isSmartRef__":true,"id":23243}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23241":{"isSerializedDate":true,"string":"Fri May 20 2011 15:27:05 GMT+0200 (CEST)"},"23242":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23243":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23244":{"rev":72758,"author":"robertkrahn","date":{"__isSmartRef__":true,"id":23245},"url":{"__isSmartRef__":true,"id":23246},"changes":[{"__isSmartRef__":true,"id":23247}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23245":{"isSerializedDate":true,"string":"Tue May 17 2011 00:20:13 GMT+0200 (CEST)"},"23246":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23247":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23248":{"rev":72755,"author":"robertkrahn","date":{"__isSmartRef__":true,"id":23249},"url":{"__isSmartRef__":true,"id":23250},"changes":[{"__isSmartRef__":true,"id":23251}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23249":{"isSerializedDate":true,"string":"Tue May 17 2011 00:18:04 GMT+0200 (CEST)"},"23250":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23251":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23252":{"rev":72752,"author":"robertkrahn","date":{"__isSmartRef__":true,"id":23253},"url":{"__isSmartRef__":true,"id":23254},"changes":[{"__isSmartRef__":true,"id":23255}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23253":{"isSerializedDate":true,"string":"Tue May 17 2011 00:14:34 GMT+0200 (CEST)"},"23254":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23255":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23256":{"rev":72749,"author":"robertkrahn","date":{"__isSmartRef__":true,"id":23257},"url":{"__isSmartRef__":true,"id":23258},"changes":[{"__isSmartRef__":true,"id":23259}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23257":{"isSerializedDate":true,"string":"Tue May 17 2011 00:07:35 GMT+0200 (CEST)"},"23258":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23259":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23260":{"rev":72672,"author":"lauritz","date":{"__isSmartRef__":true,"id":23261},"url":{"__isSmartRef__":true,"id":23262},"changes":[{"__isSmartRef__":true,"id":23263}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23261":{"isSerializedDate":true,"string":"Mon May 16 2011 20:42:59 GMT+0200 (CEST)"},"23262":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23263":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23264":{"rev":72667,"author":"lauritz","date":{"__isSmartRef__":true,"id":23265},"url":{"__isSmartRef__":true,"id":23266},"changes":[{"__isSmartRef__":true,"id":23267}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23265":{"isSerializedDate":true,"string":"Mon May 16 2011 18:14:53 GMT+0200 (CEST)"},"23266":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23267":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23268":{"rev":72661,"author":"lauritz","date":{"__isSmartRef__":true,"id":23269},"url":{"__isSmartRef__":true,"id":23270},"changes":[{"__isSmartRef__":true,"id":23271}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23269":{"isSerializedDate":true,"string":"Mon May 16 2011 18:02:26 GMT+0200 (CEST)"},"23270":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23271":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23272":{"rev":72653,"author":"lauritz","date":{"__isSmartRef__":true,"id":23273},"url":{"__isSmartRef__":true,"id":23274},"changes":[{"__isSmartRef__":true,"id":23275}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23273":{"isSerializedDate":true,"string":"Mon May 16 2011 17:47:29 GMT+0200 (CEST)"},"23274":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23275":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23276":{"rev":72649,"author":"lauritz","date":{"__isSmartRef__":true,"id":23277},"url":{"__isSmartRef__":true,"id":23278},"changes":[{"__isSmartRef__":true,"id":23279}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23277":{"isSerializedDate":true,"string":"Mon May 16 2011 17:45:25 GMT+0200 (CEST)"},"23278":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23279":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23280":{"rev":72590,"author":"lauritz","date":{"__isSmartRef__":true,"id":23281},"url":{"__isSmartRef__":true,"id":23282},"changes":[{"__isSmartRef__":true,"id":23283}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23281":{"isSerializedDate":true,"string":"Mon May 16 2011 17:18:48 GMT+0200 (CEST)"},"23282":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23283":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23284":{"rev":72267,"author":"lauritz","date":{"__isSmartRef__":true,"id":23285},"url":{"__isSmartRef__":true,"id":23286},"changes":[{"__isSmartRef__":true,"id":23287}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23285":{"isSerializedDate":true,"string":"Sun May 15 2011 16:10:06 GMT+0200 (CEST)"},"23286":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23287":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23288":{"rev":72263,"author":"lauritz","date":{"__isSmartRef__":true,"id":23289},"url":{"__isSmartRef__":true,"id":23290},"changes":[{"__isSmartRef__":true,"id":23291}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23289":{"isSerializedDate":true,"string":"Sun May 15 2011 16:07:16 GMT+0200 (CEST)"},"23290":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23291":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23292":{"rev":72259,"author":"lauritz","date":{"__isSmartRef__":true,"id":23293},"url":{"__isSmartRef__":true,"id":23294},"changes":[{"__isSmartRef__":true,"id":23295}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23293":{"isSerializedDate":true,"string":"Sun May 15 2011 16:05:00 GMT+0200 (CEST)"},"23294":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23295":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23296":{"rev":72255,"author":"lauritz","date":{"__isSmartRef__":true,"id":23297},"url":{"__isSmartRef__":true,"id":23298},"changes":[{"__isSmartRef__":true,"id":23299}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23297":{"isSerializedDate":true,"string":"Sun May 15 2011 15:58:26 GMT+0200 (CEST)"},"23298":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23299":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23300":{"rev":72252,"author":"lauritz","date":{"__isSmartRef__":true,"id":23301},"url":{"__isSmartRef__":true,"id":23302},"changes":[{"__isSmartRef__":true,"id":23303}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23301":{"isSerializedDate":true,"string":"Sun May 15 2011 15:48:10 GMT+0200 (CEST)"},"23302":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23303":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23304":{"rev":72249,"author":"lauritz","date":{"__isSmartRef__":true,"id":23305},"url":{"__isSmartRef__":true,"id":23306},"changes":[{"__isSmartRef__":true,"id":23307}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23305":{"isSerializedDate":true,"string":"Sun May 15 2011 15:43:25 GMT+0200 (CEST)"},"23306":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23307":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23308":{"rev":72246,"author":"lauritz","date":{"__isSmartRef__":true,"id":23309},"url":{"__isSmartRef__":true,"id":23310},"changes":[{"__isSmartRef__":true,"id":23311}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23309":{"isSerializedDate":true,"string":"Sun May 15 2011 15:16:15 GMT+0200 (CEST)"},"23310":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23311":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23312":{"rev":72243,"author":"lauritz","date":{"__isSmartRef__":true,"id":23313},"url":{"__isSmartRef__":true,"id":23314},"changes":[{"__isSmartRef__":true,"id":23315}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23313":{"isSerializedDate":true,"string":"Sun May 15 2011 15:08:25 GMT+0200 (CEST)"},"23314":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23315":{"type":"S:modified","url":"/PartsBin/Tools/ObjectEditor.json"},"23316":{"rev":72235,"author":"lauritz","date":{"__isSmartRef__":true,"id":23317},"url":{"__isSmartRef__":true,"id":23318},"changes":[{"__isSmartRef__":true,"id":23319}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"23317":{"isSerializedDate":true,"string":"Sun May 15 2011 14:35:54 GMT+0200 (CEST)"},"23318":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/ObjectEditor.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"23319":{"type":"S:added","url":null},"23320":{"submorphs":[{"__isSmartRef__":true,"id":23321},{"__isSmartRef__":true,"id":24988},{"__isSmartRef__":true,"id":25028}],"scripts":[],"shape":{"__isSmartRef__":true,"id":25178},"id":"E4346035-FD30-4A63-BEE8-6EF854D9A996","renderContextTable":{"__isSmartRef__":true,"id":25183},"eventHandler":{"__isSmartRef__":true,"id":25184},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":25185},"LK2":true,"priorExtent":{"__isSmartRef__":true,"id":25186},"targetMorph":{"__isSmartRef__":true,"id":23321},"titleBar":{"__isSmartRef__":true,"id":25028},"contentOffset":{"__isSmartRef__":true,"id":25187},"collapsedTransform":{"__isSmartRef__":true,"id":25188},"collapsedExtent":{"__isSmartRef__":true,"id":25189},"expandedTransform":{"__isSmartRef__":true,"id":25190},"expandedExtent":{"__isSmartRef__":true,"id":25191},"ignoreEventsOnExpand":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":21990},"name":"ObjectEditor","prevDragPos":{"__isSmartRef__":true,"id":25192},"highlighted":true,"cameForward":false,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","expandedPosition":{"__isSmartRef__":true,"id":25193},"state":"shutdown","collapsedPosition":{"__isSmartRef__":true,"id":25194},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"prevScroll":[0,0],"minSize":{"__isSmartRef__":true,"id":25195},"minExtent":{"__isSmartRef__":true,"id":25196},"isCopyMorphRef":true,"morphRefId":16,"derivationIds":[205,"2951753B-EB95-4093-A0DD-249E83AC2204","A32DE788-E06D-492C-B2E6-19C3710B5AE0","96D56291-98FB-42C4-A247-0A20B4183B14","1E6BCC46-3FE3-4950-AE50-9751458F7E18","22248328-5B04-4E39-ADDE-460C107C790F","2F4F6161-9F4C-469E-AF56-24765FF03B72","88EF08D5-C1E7-4B5B-B393-FFF5921009D7","FF731ED6-5217-4053-9B85-77F1BF344BF3","496332F8-A328-4625-A7D5-0DCE90C3D2AE","E57F1D4E-AE08-4CAA-A62D-4E69FC0BFF47"],"_Position":{"__isSmartRef__":true,"id":25197},"moved":true,"_ClipMode":"visible","_Rotation":0,"_Scale":1.008036120330794,"owner":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":25198},"__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"23321":{"submorphs":[{"__isSmartRef__":true,"id":23322},{"__isSmartRef__":true,"id":24175},{"__isSmartRef__":true,"id":23957},{"__isSmartRef__":true,"id":24190},{"__isSmartRef__":true,"id":24206},{"__isSmartRef__":true,"id":24257},{"__isSmartRef__":true,"id":24307},{"__isSmartRef__":true,"id":24363},{"__isSmartRef__":true,"id":23817},{"__isSmartRef__":true,"id":23834},{"__isSmartRef__":true,"id":24418},{"__isSmartRef__":true,"id":24535},{"__isSmartRef__":true,"id":24550},{"__isSmartRef__":true,"id":24565},{"__isSmartRef__":true,"id":24649},{"__isSmartRef__":true,"id":24733},{"__isSmartRef__":true,"id":24817}],"scripts":[{"__isSmartRef__":true,"id":24865}],"id":"7971D614-EC83-4596-B130-30679BADD813","shape":{"__isSmartRef__":true,"id":24866},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"ObjectEditorPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":24873},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":24876},"eventHandler":{"__isSmartRef__":true,"id":24877},"priorExtent":{"__isSmartRef__":true,"id":24878},"layout":{"__isSmartRef__":true,"id":24879},"target":{"__isSmartRef__":true,"id":1352},"scriptPane":{"__isSmartRef__":true,"id":23817},"scriptList":{"__isSmartRef__":true,"id":23322},"connectionList":{"__isSmartRef__":true,"id":23957},"morphSelector":{"__isSmartRef__":true,"id":24418},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"changeIndicator":{"__isSmartRef__":true,"id":23834},"isBeingDragged":false,"prevScroll":[0,0],"grabbingEnabled":false,"draggingEnabled":false,"currentCategory":null,"distanceToDragEvent":{"__isSmartRef__":true,"id":24880},"tagChooser":{"__isSmartRef__":true,"id":24565},"currentTag":null,"derivationIds":[206,"3BDE080D-3D60-4BB9-A690-E6001350F596","00E28CBF-E803-4BC0-93CC-651AC21008A5","1B7E7936-0145-47E4-8433-DFE58134E74B","422B98E3-E52B-4057-9C28-865873682DE1","BCDE8D30-ECC2-4883-9587-2518B6822233","BA6D5198-5AC2-4A63-9597-D4CF98A99CA9","17E22972-5EBC-4511-9779-05E9E665D899","C6F34039-F423-4223-8D6A-85611A138372","7EC3BECE-1BDA-471D-B14C-C4FB822AA55C","88F702A6-6067-4160-8561-54FAD27ADB17"],"_Position":{"__isSmartRef__":true,"id":24881},"owner":{"__isSmartRef__":true,"id":23320},"partTests":{"__isSmartRef__":true,"id":24882},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":24883},"__LivelyClassName__":"lively.morphic.Box"},"23322":{"submorphs":[],"scripts":[],"id":"F7884988-04B3-4DE3-AE5A-F228DB6C8E80","shape":{"__isSmartRef__":true,"id":23323},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":23330},"itemList":["-- ALL --","reset"],"selectedLineNo":1,"showsHalos":false,"name":"ObjectEditorScriptList","partsBinMetaInfo":{"__isSmartRef__":true,"id":23331},"__SourceModuleName__":"Global.lively.morphic.Core","_ClipMode":"auto","owner":{"__isSmartRef__":true,"id":23321},"priorExtent":{"__isSmartRef__":true,"id":23332},"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":23333}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"layout":{"__isSmartRef__":true,"id":23338},"doitContext":{"__isSmartRef__":true,"id":23339},"renderContextTable":{"__isSmartRef__":true,"id":24164},"eventHandler":{"__isSmartRef__":true,"id":24165},"_FontSize":10,"distanceToDragEvent":{"__isSmartRef__":true,"id":24166},"isBeingDragged":false,"grabbingEnabled":false,"draggingEnabled":false,"isCopyMorphRef":true,"morphRefId":17,"currentCategory":null,"derivationIds":[207,"D87334B5-DFB8-438D-8038-D2C55A798E3B","4242A24B-D284-4130-BB19-C1AB8C7E96CB","1F2230C1-4745-4EED-8827-5D3FC0EA8D8A","1260A8AA-AD41-451A-A761-BE75A33282E8","11AABB24-1595-4EDC-95DF-8BC66785F47A","CA99FFE7-13DD-4721-8DE2-6A587B0C65D9","E01A3DAA-0001-4C7C-A6A7-449C3945A3E6","8C3C70BF-E1CE-4FB9-8407-24EA990D4E49","D70897C1-82FA-42AD-9D81-A0698E9072CC","69BB0838-2830-4831-A681-185E03308396"],"selection":"reset","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":24167},"__LivelyClassName__":"lively.morphic.List"},"23323":{"position":{"__isSmartRef__":true,"id":23324},"_Extent":{"__isSmartRef__":true,"id":23325},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":23326},"_Fill":{"__isSmartRef__":true,"id":23327},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"renderContextTable":{"__isSmartRef__":true,"id":23328},"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":23329},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23324":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23325":{"x":180,"y":337.61253261443596,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23326":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23327":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"23328":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23329":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"23330":{"x":10,"y":63.027958027992966,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23331":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"23332":{"x":180,"y":338.61253261443596,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23333":{"sourceObj":{"__isSmartRef__":true,"id":23322},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":23321},"targetMethodName":"displaySourceForScript","converterString":"function (value) {\n return (value === '-- ALL --') ? null : value;\n}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":23334},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":23335},"__LivelyClassName__":"AttributeConnection"},"23334":{"source":{"__isSmartRef__":true,"id":23322},"target":{"__isSmartRef__":true,"id":23321}},"23335":{"converter":{"__isSmartRef__":true,"id":23336}},"23336":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":23334},"source":"function (value) {\n return (value === '-- ALL --') ? null : value;\n}","funcProperties":{"__isSmartRef__":true,"id":23337},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"23337":{},"23338":{"resizeHeight":true},"23339":{"submorphs":[],"scripts":[],"id":836,"shape":{"__isSmartRef__":true,"id":23340},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":23345},"priorExtent":{"__isSmartRef__":true,"id":23346},"titleBar":{"__isSmartRef__":true,"id":23347},"contentOffset":{"__isSmartRef__":true,"id":23488},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":{"__isSmartRef__":true,"id":23489},"expandedExtent":{"__isSmartRef__":true,"id":23490},"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":23491},"showsHalos":false,"name":"ObjectEditor","__SourceModuleName__":"Global.lively.morphic.Widgets","target":{"__isSmartRef__":true,"id":23492},"expandedPosition":{"__isSmartRef__":true,"id":23815},"partsBinMetaInfo":{"__isSmartRef__":true,"id":23816},"scriptList":{"__isSmartRef__":true,"id":23322},"scriptPane":{"__isSmartRef__":true,"id":23817},"classButton":{"__isSmartRef__":true,"id":23912},"connectionList":{"__isSmartRef__":true,"id":23957},"targetButton":{"__isSmartRef__":true,"id":23982},"renderContextTable":{"__isSmartRef__":true,"id":24025},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Position":{"__isSmartRef__":true,"id":24026},"morphSelector":{"__isSmartRef__":true,"id":24027},"eventHandler":{"__isSmartRef__":true,"id":24111},"cameForward":false,"isCopyMorphRef":true,"morphRefId":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":24112},"__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"23340":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":23341},"_StrokeOpacity":0,"_BorderRadius":9.25,"_Extent":{"__isSmartRef__":true,"id":23342},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderColor":{"__isSmartRef__":true,"id":23343},"renderContextTable":{"__isSmartRef__":true,"id":23344},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23341":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23342":{"x":981,"y":585.2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23343":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23344":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23345":{"adjustForNewBounds":true},"23346":{"x":981,"y":585.2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23347":{"submorphs":[{"__isSmartRef__":true,"id":23348},{"__isSmartRef__":true,"id":23361},{"__isSmartRef__":true,"id":23405},{"__isSmartRef__":true,"id":23437}],"scripts":[],"id":837,"shape":{"__isSmartRef__":true,"id":23470},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":23483},"_Position":{"__isSmartRef__":true,"id":23484},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":23339},"label":{"__isSmartRef__":true,"id":23348},"closeButton":{"__isSmartRef__":true,"id":23361},"menuButton":{"__isSmartRef__":true,"id":23405},"collapseButton":{"__isSmartRef__":true,"id":23437},"priorExtent":{"__isSmartRef__":true,"id":23485},"owner":null,"__SourceModuleName__":"Global.lively.morphic.Widgets","name":"ObjectEditorTitleBar","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":23486},"eventHandler":{"__isSmartRef__":true,"id":23487},"__LivelyClassName__":"lively.morphic.TitleBar"},"23348":{"submorphs":[],"scripts":[],"id":838,"shape":{"__isSmartRef__":true,"id":23349},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":23354},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":23355},"priorExtent":{"__isSmartRef__":true,"id":23356},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":23357}],"evalEnabled":false,"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"_Align":"center","owner":{"__isSmartRef__":true,"id":23347},"__SourceModuleName__":"Global.lively.morphic.TextCore","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":23359},"eventHandler":{"__isSmartRef__":true,"id":23360},"_HandStyle":"default","_PointerEvents":"none","__LivelyClassName__":"lively.morphic.Text"},"23349":{"_Position":{"__isSmartRef__":true,"id":23350},"_Extent":{"__isSmartRef__":true,"id":23351},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":23352},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":23353},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23350":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23351":{"x":921.9776803724167,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23352":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23353":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23354":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"23355":{"x":20,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23356":{"x":921.9776803724167,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23357":{"style":{"__isSmartRef__":true,"id":23358},"chunkOwner":{"__isSmartRef__":true,"id":23348},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"23358":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"23359":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"23360":{"morph":{"__isSmartRef__":true,"id":23348},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23361":{"submorphs":[{"__isSmartRef__":true,"id":23362}],"scripts":[],"id":839,"shape":{"__isSmartRef__":true,"id":23374},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":23389},"priorExtent":{"__isSmartRef__":true,"id":23390},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":23378},"lighterFill":{"__isSmartRef__":true,"id":23391},"label":{"__isSmartRef__":true,"id":23362},"owner":{"__isSmartRef__":true,"id":23347},"layout":{"__isSmartRef__":true,"id":23400},"attributeConnections":[{"__isSmartRef__":true,"id":23401},{"__isSmartRef__":true,"id":23402}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":23403},"eventHandler":{"__isSmartRef__":true,"id":23404},"__LivelyClassName__":"lively.morphic.WindowControl"},"23362":{"submorphs":[],"scripts":[],"id":840,"shape":{"__isSmartRef__":true,"id":23363},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":23367},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":23368},"priorExtent":{"__isSmartRef__":true,"id":23369},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":23370}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":23361},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":23372},"eventHandler":{"__isSmartRef__":true,"id":23373},"_HandStyle":"default","_PointerEvents":"none","__LivelyClassName__":"lively.morphic.Text"},"23363":{"_Position":{"__isSmartRef__":true,"id":23364},"_Extent":{"__isSmartRef__":true,"id":23365},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":23352},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":23366},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23364":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23365":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23366":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23367":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"23368":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23369":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23370":{"style":{"__isSmartRef__":true,"id":23371},"chunkOwner":{"__isSmartRef__":true,"id":23362},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"23371":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"23372":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"23373":{"morph":{"__isSmartRef__":true,"id":23362},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23374":{"_Position":{"__isSmartRef__":true,"id":23375},"_Extent":{"__isSmartRef__":true,"id":23376},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":23377},"_Fill":{"__isSmartRef__":true,"id":23378},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":23388},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23375":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23376":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23377":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23378":{"stops":[{"__isSmartRef__":true,"id":23379},{"__isSmartRef__":true,"id":23381},{"__isSmartRef__":true,"id":23383},{"__isSmartRef__":true,"id":23385}],"vector":{"__isSmartRef__":true,"id":23387},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"23379":{"offset":0,"color":{"__isSmartRef__":true,"id":23380}},"23380":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23381":{"offset":0.4,"color":{"__isSmartRef__":true,"id":23382}},"23382":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23383":{"offset":0.6,"color":{"__isSmartRef__":true,"id":23384}},"23384":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23385":{"offset":1,"color":{"__isSmartRef__":true,"id":23386}},"23386":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23387":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"23388":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23389":{"x":960.9776803724167,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23390":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23391":{"stops":[{"__isSmartRef__":true,"id":23392},{"__isSmartRef__":true,"id":23394},{"__isSmartRef__":true,"id":23396},{"__isSmartRef__":true,"id":23398}],"vector":{"__isSmartRef__":true,"id":23387},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"23392":{"offset":0,"color":{"__isSmartRef__":true,"id":23393}},"23393":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23394":{"offset":0.4,"color":{"__isSmartRef__":true,"id":23395}},"23395":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23396":{"offset":0.6,"color":{"__isSmartRef__":true,"id":23397}},"23397":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23398":{"offset":1,"color":{"__isSmartRef__":true,"id":23399}},"23399":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23400":{"moveHorizontal":true},"23401":{"sourceObj":{"__isSmartRef__":true,"id":23361},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":23339},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"23402":{"sourceObj":{"__isSmartRef__":true,"id":23361},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":23339},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"23403":{"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"},"23404":{"morph":{"__isSmartRef__":true,"id":23361},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23405":{"submorphs":[{"__isSmartRef__":true,"id":23406}],"scripts":[],"id":841,"shape":{"__isSmartRef__":true,"id":23418},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":23422},"priorExtent":{"__isSmartRef__":true,"id":23423},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":23378},"lighterFill":{"__isSmartRef__":true,"id":23424},"label":{"__isSmartRef__":true,"id":23406},"owner":{"__isSmartRef__":true,"id":23347},"attributeConnections":[{"__isSmartRef__":true,"id":23433},{"__isSmartRef__":true,"id":23434}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","showsHalos":false,"_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":23435},"eventHandler":{"__isSmartRef__":true,"id":23436},"__LivelyClassName__":"lively.morphic.WindowControl"},"23406":{"submorphs":[],"scripts":[],"id":842,"shape":{"__isSmartRef__":true,"id":23407},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":23411},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":23412},"priorExtent":{"__isSmartRef__":true,"id":23413},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":23414}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":23405},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":23416},"eventHandler":{"__isSmartRef__":true,"id":23417},"_HandStyle":"default","_PointerEvents":"none","__LivelyClassName__":"lively.morphic.Text"},"23407":{"_Position":{"__isSmartRef__":true,"id":23408},"_Extent":{"__isSmartRef__":true,"id":23409},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":23352},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":23410},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23408":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23409":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23410":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23411":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"23412":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23413":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23414":{"style":{"__isSmartRef__":true,"id":23415},"chunkOwner":{"__isSmartRef__":true,"id":23406},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"23415":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"23416":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"23417":{"morph":{"__isSmartRef__":true,"id":23406},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23418":{"_Position":{"__isSmartRef__":true,"id":23419},"_Extent":{"__isSmartRef__":true,"id":23420},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":23377},"_Fill":{"__isSmartRef__":true,"id":23378},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":23421},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23419":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23420":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23421":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23422":{"x":3,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23423":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23424":{"stops":[{"__isSmartRef__":true,"id":23425},{"__isSmartRef__":true,"id":23427},{"__isSmartRef__":true,"id":23429},{"__isSmartRef__":true,"id":23431}],"vector":{"__isSmartRef__":true,"id":23387},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"23425":{"offset":0,"color":{"__isSmartRef__":true,"id":23426}},"23426":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23427":{"offset":0.4,"color":{"__isSmartRef__":true,"id":23428}},"23428":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23429":{"offset":0.6,"color":{"__isSmartRef__":true,"id":23430}},"23430":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23431":{"offset":1,"color":{"__isSmartRef__":true,"id":23432}},"23432":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23433":{"sourceObj":{"__isSmartRef__":true,"id":23405},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":23339},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"23434":{"sourceObj":{"__isSmartRef__":true,"id":23405},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":23339},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"23435":{"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"},"23436":{"morph":{"__isSmartRef__":true,"id":23405},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23437":{"submorphs":[{"__isSmartRef__":true,"id":23438}],"scripts":[],"id":843,"shape":{"__isSmartRef__":true,"id":23450},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":23454},"priorExtent":{"__isSmartRef__":true,"id":23455},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":23378},"lighterFill":{"__isSmartRef__":true,"id":23456},"label":{"__isSmartRef__":true,"id":23438},"owner":{"__isSmartRef__":true,"id":23347},"layout":{"__isSmartRef__":true,"id":23465},"attributeConnections":[{"__isSmartRef__":true,"id":23466},{"__isSmartRef__":true,"id":23467}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":23468},"eventHandler":{"__isSmartRef__":true,"id":23469},"__LivelyClassName__":"lively.morphic.WindowControl"},"23438":{"submorphs":[],"scripts":[],"id":844,"shape":{"__isSmartRef__":true,"id":23439},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":23443},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":23444},"priorExtent":{"__isSmartRef__":true,"id":23445},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":23446}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":23437},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":23448},"eventHandler":{"__isSmartRef__":true,"id":23449},"_HandStyle":"default","_PointerEvents":"none","__LivelyClassName__":"lively.morphic.Text"},"23439":{"_Position":{"__isSmartRef__":true,"id":23440},"_Extent":{"__isSmartRef__":true,"id":23441},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":23352},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":23442},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23440":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23441":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23442":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23443":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"23444":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23445":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23446":{"style":{"__isSmartRef__":true,"id":23447},"chunkOwner":{"__isSmartRef__":true,"id":23438},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"23447":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"23448":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"23449":{"morph":{"__isSmartRef__":true,"id":23438},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23450":{"_Position":{"__isSmartRef__":true,"id":23451},"_Extent":{"__isSmartRef__":true,"id":23452},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":23377},"_Fill":{"__isSmartRef__":true,"id":23378},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":23453},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23451":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23452":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23453":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23454":{"x":941.9776803724167,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23455":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23456":{"stops":[{"__isSmartRef__":true,"id":23457},{"__isSmartRef__":true,"id":23459},{"__isSmartRef__":true,"id":23461},{"__isSmartRef__":true,"id":23463}],"vector":{"__isSmartRef__":true,"id":23387},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"23457":{"offset":0,"color":{"__isSmartRef__":true,"id":23458}},"23458":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23459":{"offset":0.4,"color":{"__isSmartRef__":true,"id":23460}},"23460":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23461":{"offset":0.6,"color":{"__isSmartRef__":true,"id":23462}},"23462":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23463":{"offset":1,"color":{"__isSmartRef__":true,"id":23464}},"23464":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23465":{"moveHorizontal":true},"23466":{"sourceObj":{"__isSmartRef__":true,"id":23437},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":23339},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"23467":{"sourceObj":{"__isSmartRef__":true,"id":23437},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":23339},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"23468":{"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"},"23469":{"morph":{"__isSmartRef__":true,"id":23437},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23470":{"_Position":{"__isSmartRef__":true,"id":23471},"_Extent":{"__isSmartRef__":true,"id":23472},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":23473},"_Fill":{"__isSmartRef__":true,"id":23474},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":23482},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23471":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23472":{"x":980.9776803724167,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23473":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23474":{"stops":[{"__isSmartRef__":true,"id":23475},{"__isSmartRef__":true,"id":23477},{"__isSmartRef__":true,"id":23479}],"vector":{"__isSmartRef__":true,"id":23481},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"23475":{"offset":0,"color":{"__isSmartRef__":true,"id":23476}},"23476":{"r":0.7200000000000001,"g":0.7200000000000001,"b":0.7200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23477":{"offset":0.6,"color":{"__isSmartRef__":true,"id":23478}},"23478":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23479":{"offset":1,"color":{"__isSmartRef__":true,"id":23480}},"23480":{"r":0.7200000000000001,"g":0.7200000000000001,"b":0.7200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23481":{"x":0,"y":1,"width":0,"height":-1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"23482":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23483":{"resizeWidth":true,"adjustForNewBounds":true},"23484":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23485":{"x":980.9776803724167,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23486":{"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"},"23487":{"morph":{"__isSmartRef__":true,"id":23347},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23488":{"x":0,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23489":{"a":1,"b":0,"c":0,"d":1,"e":377.6609726943286,"f":419.5142810783999,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"lively.morphic.Similitude"},"23490":{"x":861.5223196275833,"y":575.166499196892,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23491":{"x":613,"y":129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23492":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":23493},"id":394,"renderContextTable":{"__isSmartRef__":true,"id":23499},"textChunks":[{"__isSmartRef__":true,"id":23500}],"eventHandler":{"__isSmartRef__":true,"id":23502},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":23503},"_ClipMode":"auto","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":23504},"priorExtent":{"__isSmartRef__":true,"id":23505},"_MaxTextWidth":500,"_MaxTextHeight":200,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":23506},"layout":{"__isSmartRef__":true,"id":23653},"doitContext":{"__isSmartRef__":true,"id":23654},"priorSelectionRange":[0,36],"charsReplaced":"","lastFindLoc":20,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"23493":{"_Position":{"__isSmartRef__":true,"id":23494},"renderContextTable":{"__isSmartRef__":true,"id":23495},"_Extent":{"__isSmartRef__":true,"id":23496},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":23497},"_Fill":{"__isSmartRef__":true,"id":23498},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23494":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23495":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23496":{"x":500,"y":200,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23497":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23498":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23499":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"23500":{"style":{"__isSmartRef__":true,"id":23501},"chunkOwner":{"__isSmartRef__":true,"id":23492},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"23501":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"23502":{"morph":{"__isSmartRef__":true,"id":23492},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23503":{"x":2,"y":1,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"23504":{"x":0,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23505":{"x":500,"y":200,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23506":{"submorphs":[{"__isSmartRef__":true,"id":23492},{"__isSmartRef__":true,"id":23507}],"scripts":[],"shape":{"__isSmartRef__":true,"id":23644},"id":395,"renderContextTable":{"__isSmartRef__":true,"id":23647},"eventHandler":{"__isSmartRef__":true,"id":23648},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":23649},"LK2":true,"_Position":{"__isSmartRef__":true,"id":23650},"priorExtent":{"__isSmartRef__":true,"id":23651},"targetMorph":{"__isSmartRef__":true,"id":23492},"titleBar":{"__isSmartRef__":true,"id":23507},"contentOffset":{"__isSmartRef__":true,"id":23504},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":23652},"cameForward":false,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"23507":{"submorphs":[{"__isSmartRef__":true,"id":23508},{"__isSmartRef__":true,"id":23521},{"__isSmartRef__":true,"id":23567},{"__isSmartRef__":true,"id":23600}],"scripts":[],"shape":{"__isSmartRef__":true,"id":23634},"id":396,"renderContextTable":{"__isSmartRef__":true,"id":23639},"eventHandler":{"__isSmartRef__":true,"id":23640},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":23641},"_Position":{"__isSmartRef__":true,"id":23642},"windowMorph":{"__isSmartRef__":true,"id":23506},"label":{"__isSmartRef__":true,"id":23508},"closeButton":{"__isSmartRef__":true,"id":23521},"menuButton":{"__isSmartRef__":true,"id":23567},"collapseButton":{"__isSmartRef__":true,"id":23600},"priorExtent":{"__isSmartRef__":true,"id":23643},"owner":{"__isSmartRef__":true,"id":23506},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"23508":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":23509},"id":397,"renderContextTable":{"__isSmartRef__":true,"id":23513},"textChunks":[{"__isSmartRef__":true,"id":23514}],"eventHandler":{"__isSmartRef__":true,"id":23516},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":23517},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":23518},"_FontSize":10,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":23507},"priorExtent":{"__isSmartRef__":true,"id":23519},"_MaxTextWidth":441,"_MaxTextHeight":17,"_Position":{"__isSmartRef__":true,"id":23520},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"23509":{"_Position":{"__isSmartRef__":true,"id":23510},"renderContextTable":{"__isSmartRef__":true,"id":23511},"_Extent":{"__isSmartRef__":true,"id":23512},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":23497},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23510":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23511":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23512":{"x":441,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23513":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"23514":{"style":{"__isSmartRef__":true,"id":23515},"chunkOwner":{"__isSmartRef__":true,"id":23508},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"23515":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"23516":{"morph":{"__isSmartRef__":true,"id":23508},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23517":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"23518":{"resizeWidth":true},"23519":{"x":0,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23520":{"x":20,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23521":{"submorphs":[{"__isSmartRef__":true,"id":23522}],"scripts":[],"shape":{"__isSmartRef__":true,"id":23534},"id":398,"renderContextTable":{"__isSmartRef__":true,"id":23549},"eventHandler":{"__isSmartRef__":true,"id":23550},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":23551},"priorExtent":{"__isSmartRef__":true,"id":23552},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":23539},"lighterFill":{"__isSmartRef__":true,"id":23553},"label":{"__isSmartRef__":true,"id":23522},"owner":{"__isSmartRef__":true,"id":23507},"layout":{"__isSmartRef__":true,"id":23562},"attributeConnections":[{"__isSmartRef__":true,"id":23563},{"__isSmartRef__":true,"id":23565}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"23522":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":23523},"id":399,"renderContextTable":{"__isSmartRef__":true,"id":23527},"textChunks":[{"__isSmartRef__":true,"id":23528}],"eventHandler":{"__isSmartRef__":true,"id":23530},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":23531},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":23532},"priorExtent":{"__isSmartRef__":true,"id":23533},"_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":23521},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"23523":{"_Position":{"__isSmartRef__":true,"id":23524},"renderContextTable":{"__isSmartRef__":true,"id":23525},"_Extent":{"__isSmartRef__":true,"id":23526},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":23497},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23524":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23525":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23526":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23527":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"23528":{"style":{"__isSmartRef__":true,"id":23529},"chunkOwner":{"__isSmartRef__":true,"id":23522},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"23529":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"23530":{"morph":{"__isSmartRef__":true,"id":23522},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23531":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"23532":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23533":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23534":{"_Position":{"__isSmartRef__":true,"id":23535},"renderContextTable":{"__isSmartRef__":true,"id":23536},"_Extent":{"__isSmartRef__":true,"id":23537},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":23538},"_Fill":{"__isSmartRef__":true,"id":23539},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23535":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23536":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23537":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23538":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23539":{"stops":[{"__isSmartRef__":true,"id":23540},{"__isSmartRef__":true,"id":23542},{"__isSmartRef__":true,"id":23544},{"__isSmartRef__":true,"id":23546}],"vector":{"__isSmartRef__":true,"id":23548},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"23540":{"offset":0,"color":{"__isSmartRef__":true,"id":23541}},"23541":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23542":{"offset":0.4,"color":{"__isSmartRef__":true,"id":23543}},"23543":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23544":{"offset":0.6,"color":{"__isSmartRef__":true,"id":23545}},"23545":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23546":{"offset":1,"color":{"__isSmartRef__":true,"id":23547}},"23547":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23548":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"23549":{"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"},"23550":{"morph":{"__isSmartRef__":true,"id":23521},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23551":{"x":480,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23552":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23553":{"stops":[{"__isSmartRef__":true,"id":23554},{"__isSmartRef__":true,"id":23556},{"__isSmartRef__":true,"id":23558},{"__isSmartRef__":true,"id":23560}],"vector":{"__isSmartRef__":true,"id":23548},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"23554":{"offset":0,"color":{"__isSmartRef__":true,"id":23555}},"23555":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23556":{"offset":0.4,"color":{"__isSmartRef__":true,"id":23557}},"23557":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23558":{"offset":0.6,"color":{"__isSmartRef__":true,"id":23559}},"23559":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23560":{"offset":1,"color":{"__isSmartRef__":true,"id":23561}},"23561":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23562":{"moveHorizontal":true},"23563":{"sourceObj":{"__isSmartRef__":true,"id":23521},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":23506},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":23564},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"23564":{"source":{"__isSmartRef__":true,"id":23521},"target":{"__isSmartRef__":true,"id":23506}},"23565":{"sourceObj":{"__isSmartRef__":true,"id":23521},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":23506},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":23566},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"23566":{"source":{"__isSmartRef__":true,"id":23521},"target":{"__isSmartRef__":true,"id":23506}},"23567":{"submorphs":[{"__isSmartRef__":true,"id":23568}],"scripts":[],"shape":{"__isSmartRef__":true,"id":23579},"id":400,"renderContextTable":{"__isSmartRef__":true,"id":23583},"eventHandler":{"__isSmartRef__":true,"id":23584},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":23585},"priorExtent":{"__isSmartRef__":true,"id":23586},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":23539},"lighterFill":{"__isSmartRef__":true,"id":23587},"label":{"__isSmartRef__":true,"id":23568},"owner":{"__isSmartRef__":true,"id":23507},"attributeConnections":[{"__isSmartRef__":true,"id":23596},{"__isSmartRef__":true,"id":23598}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"23568":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":23569},"id":401,"renderContextTable":{"__isSmartRef__":true,"id":23573},"textChunks":[{"__isSmartRef__":true,"id":23574}],"eventHandler":{"__isSmartRef__":true,"id":23576},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":23531},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":23577},"priorExtent":{"__isSmartRef__":true,"id":23578},"_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":23567},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"23569":{"_Position":{"__isSmartRef__":true,"id":23570},"renderContextTable":{"__isSmartRef__":true,"id":23571},"_Extent":{"__isSmartRef__":true,"id":23572},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":23497},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23570":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23571":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23572":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23573":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"23574":{"style":{"__isSmartRef__":true,"id":23575},"chunkOwner":{"__isSmartRef__":true,"id":23568},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"23575":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"23576":{"morph":{"__isSmartRef__":true,"id":23568},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23577":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23578":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23579":{"_Position":{"__isSmartRef__":true,"id":23580},"renderContextTable":{"__isSmartRef__":true,"id":23581},"_Extent":{"__isSmartRef__":true,"id":23582},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":23538},"_Fill":{"__isSmartRef__":true,"id":23539},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23580":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23581":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23582":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23583":{"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"},"23584":{"morph":{"__isSmartRef__":true,"id":23567},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23585":{"x":3,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23586":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23587":{"stops":[{"__isSmartRef__":true,"id":23588},{"__isSmartRef__":true,"id":23590},{"__isSmartRef__":true,"id":23592},{"__isSmartRef__":true,"id":23594}],"vector":{"__isSmartRef__":true,"id":23548},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"23588":{"offset":0,"color":{"__isSmartRef__":true,"id":23589}},"23589":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23590":{"offset":0.4,"color":{"__isSmartRef__":true,"id":23591}},"23591":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23592":{"offset":0.6,"color":{"__isSmartRef__":true,"id":23593}},"23593":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23594":{"offset":1,"color":{"__isSmartRef__":true,"id":23595}},"23595":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23596":{"sourceObj":{"__isSmartRef__":true,"id":23567},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":23506},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":23597},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"23597":{"source":{"__isSmartRef__":true,"id":23567},"target":{"__isSmartRef__":true,"id":23506}},"23598":{"sourceObj":{"__isSmartRef__":true,"id":23567},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":23506},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":23599},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"23599":{"source":{"__isSmartRef__":true,"id":23567},"target":{"__isSmartRef__":true,"id":23506}},"23600":{"submorphs":[{"__isSmartRef__":true,"id":23601}],"scripts":[],"shape":{"__isSmartRef__":true,"id":23612},"id":402,"renderContextTable":{"__isSmartRef__":true,"id":23616},"eventHandler":{"__isSmartRef__":true,"id":23617},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":23618},"priorExtent":{"__isSmartRef__":true,"id":23619},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":23539},"lighterFill":{"__isSmartRef__":true,"id":23620},"label":{"__isSmartRef__":true,"id":23601},"owner":{"__isSmartRef__":true,"id":23507},"layout":{"__isSmartRef__":true,"id":23629},"attributeConnections":[{"__isSmartRef__":true,"id":23630},{"__isSmartRef__":true,"id":23632}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"23601":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":23602},"id":403,"renderContextTable":{"__isSmartRef__":true,"id":23606},"textChunks":[{"__isSmartRef__":true,"id":23607}],"eventHandler":{"__isSmartRef__":true,"id":23609},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":23531},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":23610},"priorExtent":{"__isSmartRef__":true,"id":23611},"_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":23600},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"23602":{"_Position":{"__isSmartRef__":true,"id":23603},"renderContextTable":{"__isSmartRef__":true,"id":23604},"_Extent":{"__isSmartRef__":true,"id":23605},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":23497},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23603":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23604":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23605":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23606":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"23607":{"style":{"__isSmartRef__":true,"id":23608},"chunkOwner":{"__isSmartRef__":true,"id":23601},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"23608":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"23609":{"morph":{"__isSmartRef__":true,"id":23601},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23610":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23611":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23612":{"_Position":{"__isSmartRef__":true,"id":23613},"renderContextTable":{"__isSmartRef__":true,"id":23614},"_Extent":{"__isSmartRef__":true,"id":23615},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":23538},"_Fill":{"__isSmartRef__":true,"id":23539},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23613":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23614":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23615":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23616":{"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"},"23617":{"morph":{"__isSmartRef__":true,"id":23600},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23618":{"x":461,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23619":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23620":{"stops":[{"__isSmartRef__":true,"id":23621},{"__isSmartRef__":true,"id":23623},{"__isSmartRef__":true,"id":23625},{"__isSmartRef__":true,"id":23627}],"vector":{"__isSmartRef__":true,"id":23548},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"23621":{"offset":0,"color":{"__isSmartRef__":true,"id":23622}},"23622":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23623":{"offset":0.4,"color":{"__isSmartRef__":true,"id":23624}},"23624":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23625":{"offset":0.6,"color":{"__isSmartRef__":true,"id":23626}},"23626":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23627":{"offset":1,"color":{"__isSmartRef__":true,"id":23628}},"23628":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23629":{"moveHorizontal":true},"23630":{"sourceObj":{"__isSmartRef__":true,"id":23600},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":23506},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":23631},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"23631":{"source":{"__isSmartRef__":true,"id":23600},"target":{"__isSmartRef__":true,"id":23506}},"23632":{"sourceObj":{"__isSmartRef__":true,"id":23600},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":23506},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":23633},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"23633":{"source":{"__isSmartRef__":true,"id":23600},"target":{"__isSmartRef__":true,"id":23506}},"23634":{"_Position":{"__isSmartRef__":true,"id":23635},"renderContextTable":{"__isSmartRef__":true,"id":23636},"_Extent":{"__isSmartRef__":true,"id":23637},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":23638},"_Fill":{"__isSmartRef__":true,"id":23474},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23635":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23636":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23637":{"x":500,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23638":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23639":{"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"},"23640":{"morph":{"__isSmartRef__":true,"id":23507},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23641":{"resizeWidth":true,"adjustForNewBounds":true},"23642":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23643":{"x":500,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23644":{"renderContextTable":{"__isSmartRef__":true,"id":23645},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":23646},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23645":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23646":{"x":500,"y":222,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23647":{"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"},"23648":{"morph":{"__isSmartRef__":true,"id":23506},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23649":{"adjustForNewBounds":true},"23650":{"x":1234,"y":448,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23651":{"x":500,"y":222,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23652":{"x":1478,"y":453,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23653":{"resizeWidth":true,"resizeHeight":true},"23654":{"submorphs":[{"__isSmartRef__":true,"id":23655},{"__isSmartRef__":true,"id":23669}],"scripts":[],"shape":{"__isSmartRef__":true,"id":23799},"id":361,"renderContextTable":{"__isSmartRef__":true,"id":23803},"eventHandler":{"__isSmartRef__":true,"id":23804},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":23805},"LK2":true,"_Position":{"__isSmartRef__":true,"id":23806},"priorExtent":{"__isSmartRef__":true,"id":23807},"targetMorph":{"__isSmartRef__":true,"id":23655},"titleBar":{"__isSmartRef__":true,"id":23669},"contentOffset":{"__isSmartRef__":true,"id":23665},"collapsedTransform":{"__isSmartRef__":true,"id":23808},"collapsedExtent":{"__isSmartRef__":true,"id":23809},"expandedTransform":{"__isSmartRef__":true,"id":23810},"expandedExtent":{"__isSmartRef__":true,"id":23811},"ignoreEventsOnExpand":false,"owner":null,"showsHalos":false,"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":23812},"expandedPosition":{"__isSmartRef__":true,"id":23813},"state":"shutdown","collapsedPosition":{"__isSmartRef__":true,"id":23814},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"23655":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":23656},"id":360,"renderContextTable":{"__isSmartRef__":true,"id":23661},"textChunks":[{"__isSmartRef__":true,"id":23662}],"eventHandler":{"__isSmartRef__":true,"id":23664},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":23503},"_ClipMode":"auto","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco,monospace","_Position":{"__isSmartRef__":true,"id":23665},"priorExtent":{"__isSmartRef__":true,"id":23666},"_MaxTextWidth":500,"_MaxTextHeight":0,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":23654},"layout":{"__isSmartRef__":true,"id":23667},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":23668}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"lastSyntaxHighlightTime":1307282796737,"accessibleInInactiveWindow":true,"eventsAreIgnored":false,"_HandStyle":"default","_PointerEvents":"auto","_Visible":true,"priorSelectionRange":[0,22],"charsReplaced":"","lastFindLoc":15,"__SourceModuleName__":"Global.lively.morphic.TextCore","textString":"undefined","cachedTextString":"undefined","__LivelyClassName__":"lively.morphic.Text"},"23656":{"_Position":{"__isSmartRef__":true,"id":23657},"renderContextTable":{"__isSmartRef__":true,"id":23658},"_Extent":{"__isSmartRef__":true,"id":23659},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":23497},"_Fill":{"__isSmartRef__":true,"id":23660},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23657":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23658":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23659":{"x":500,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23660":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23661":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"23662":{"style":{"__isSmartRef__":true,"id":23663},"chunkOwner":{"__isSmartRef__":true,"id":23655},"storedString":"undefined","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"23663":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"23664":{"morph":{"__isSmartRef__":true,"id":23655},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23665":{"x":0,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23666":{"x":500,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23667":{"resizeWidth":true,"resizeHeight":true},"23668":{"sourceObj":{"__isSmartRef__":true,"id":23655},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":23655},"targetMethodName":"highlightJavaScriptSyntax","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"23669":{"submorphs":[{"__isSmartRef__":true,"id":23670},{"__isSmartRef__":true,"id":23682},{"__isSmartRef__":true,"id":23716},{"__isSmartRef__":true,"id":23749}],"scripts":[],"shape":{"__isSmartRef__":true,"id":23783},"id":362,"renderContextTable":{"__isSmartRef__":true,"id":23794},"eventHandler":{"__isSmartRef__":true,"id":23795},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":23796},"_Position":{"__isSmartRef__":true,"id":23797},"windowMorph":{"__isSmartRef__":true,"id":23654},"label":{"__isSmartRef__":true,"id":23670},"closeButton":{"__isSmartRef__":true,"id":23682},"menuButton":{"__isSmartRef__":true,"id":23716},"collapseButton":{"__isSmartRef__":true,"id":23749},"priorExtent":{"__isSmartRef__":true,"id":23798},"owner":{"__isSmartRef__":true,"id":23654},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"23670":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":23671},"id":363,"renderContextTable":{"__isSmartRef__":true,"id":23675},"textChunks":[{"__isSmartRef__":true,"id":23676}],"eventHandler":{"__isSmartRef__":true,"id":23678},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":23517},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":23679},"_FontSize":10,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":23669},"priorExtent":{"__isSmartRef__":true,"id":23680},"_MaxTextWidth":441,"_MaxTextHeight":17,"_Position":{"__isSmartRef__":true,"id":23681},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"23671":{"_Position":{"__isSmartRef__":true,"id":23672},"renderContextTable":{"__isSmartRef__":true,"id":23673},"_Extent":{"__isSmartRef__":true,"id":23674},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":23497},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23672":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23673":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23674":{"x":441,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23675":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"23676":{"style":{"__isSmartRef__":true,"id":23677},"chunkOwner":{"__isSmartRef__":true,"id":23670},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"23677":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"23678":{"morph":{"__isSmartRef__":true,"id":23670},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23679":{"resizeWidth":true},"23680":{"x":0,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23681":{"x":20,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23682":{"submorphs":[{"__isSmartRef__":true,"id":23683}],"scripts":[],"shape":{"__isSmartRef__":true,"id":23694},"id":364,"renderContextTable":{"__isSmartRef__":true,"id":23698},"eventHandler":{"__isSmartRef__":true,"id":23699},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":23700},"priorExtent":{"__isSmartRef__":true,"id":23701},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":23539},"lighterFill":{"__isSmartRef__":true,"id":23702},"label":{"__isSmartRef__":true,"id":23683},"owner":{"__isSmartRef__":true,"id":23669},"layout":{"__isSmartRef__":true,"id":23711},"attributeConnections":[{"__isSmartRef__":true,"id":23712},{"__isSmartRef__":true,"id":23714}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"23683":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":23684},"id":365,"renderContextTable":{"__isSmartRef__":true,"id":23688},"textChunks":[{"__isSmartRef__":true,"id":23689}],"eventHandler":{"__isSmartRef__":true,"id":23691},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":23531},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":23692},"priorExtent":{"__isSmartRef__":true,"id":23693},"_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":23682},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"23684":{"_Position":{"__isSmartRef__":true,"id":23685},"renderContextTable":{"__isSmartRef__":true,"id":23686},"_Extent":{"__isSmartRef__":true,"id":23687},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":23497},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23685":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23686":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23687":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23688":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"23689":{"style":{"__isSmartRef__":true,"id":23690},"chunkOwner":{"__isSmartRef__":true,"id":23683},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"23690":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"23691":{"morph":{"__isSmartRef__":true,"id":23683},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23692":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23693":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23694":{"_Position":{"__isSmartRef__":true,"id":23695},"renderContextTable":{"__isSmartRef__":true,"id":23696},"_Extent":{"__isSmartRef__":true,"id":23697},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":23538},"_Fill":{"__isSmartRef__":true,"id":23539},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23695":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23696":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23697":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23698":{"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"},"23699":{"morph":{"__isSmartRef__":true,"id":23682},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23700":{"x":480,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23701":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23702":{"stops":[{"__isSmartRef__":true,"id":23703},{"__isSmartRef__":true,"id":23705},{"__isSmartRef__":true,"id":23707},{"__isSmartRef__":true,"id":23709}],"vector":{"__isSmartRef__":true,"id":23548},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"23703":{"offset":0,"color":{"__isSmartRef__":true,"id":23704}},"23704":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23705":{"offset":0.4,"color":{"__isSmartRef__":true,"id":23706}},"23706":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23707":{"offset":0.6,"color":{"__isSmartRef__":true,"id":23708}},"23708":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23709":{"offset":1,"color":{"__isSmartRef__":true,"id":23710}},"23710":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23711":{"moveHorizontal":true},"23712":{"sourceObj":{"__isSmartRef__":true,"id":23682},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":23654},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":23713},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"23713":{"source":{"__isSmartRef__":true,"id":23682},"target":{"__isSmartRef__":true,"id":23654}},"23714":{"sourceObj":{"__isSmartRef__":true,"id":23682},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":23654},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":23715},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"23715":{"source":{"__isSmartRef__":true,"id":23682},"target":{"__isSmartRef__":true,"id":23654}},"23716":{"submorphs":[{"__isSmartRef__":true,"id":23717}],"scripts":[],"shape":{"__isSmartRef__":true,"id":23728},"id":366,"renderContextTable":{"__isSmartRef__":true,"id":23732},"eventHandler":{"__isSmartRef__":true,"id":23733},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":23734},"priorExtent":{"__isSmartRef__":true,"id":23735},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":23539},"lighterFill":{"__isSmartRef__":true,"id":23736},"label":{"__isSmartRef__":true,"id":23717},"owner":{"__isSmartRef__":true,"id":23669},"attributeConnections":[{"__isSmartRef__":true,"id":23745},{"__isSmartRef__":true,"id":23747}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"23717":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":23718},"id":367,"renderContextTable":{"__isSmartRef__":true,"id":23722},"textChunks":[{"__isSmartRef__":true,"id":23723}],"eventHandler":{"__isSmartRef__":true,"id":23725},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":23531},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":23726},"priorExtent":{"__isSmartRef__":true,"id":23727},"_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":23716},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"23718":{"_Position":{"__isSmartRef__":true,"id":23719},"renderContextTable":{"__isSmartRef__":true,"id":23720},"_Extent":{"__isSmartRef__":true,"id":23721},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":23497},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23719":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23720":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23721":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23722":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"23723":{"style":{"__isSmartRef__":true,"id":23724},"chunkOwner":{"__isSmartRef__":true,"id":23717},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"23724":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"23725":{"morph":{"__isSmartRef__":true,"id":23717},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23726":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23727":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23728":{"_Position":{"__isSmartRef__":true,"id":23729},"renderContextTable":{"__isSmartRef__":true,"id":23730},"_Extent":{"__isSmartRef__":true,"id":23731},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":23538},"_Fill":{"__isSmartRef__":true,"id":23539},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23729":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23730":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23731":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23732":{"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"},"23733":{"morph":{"__isSmartRef__":true,"id":23716},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23734":{"x":3,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23735":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23736":{"stops":[{"__isSmartRef__":true,"id":23737},{"__isSmartRef__":true,"id":23739},{"__isSmartRef__":true,"id":23741},{"__isSmartRef__":true,"id":23743}],"vector":{"__isSmartRef__":true,"id":23548},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"23737":{"offset":0,"color":{"__isSmartRef__":true,"id":23738}},"23738":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23739":{"offset":0.4,"color":{"__isSmartRef__":true,"id":23740}},"23740":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23741":{"offset":0.6,"color":{"__isSmartRef__":true,"id":23742}},"23742":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23743":{"offset":1,"color":{"__isSmartRef__":true,"id":23744}},"23744":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23745":{"sourceObj":{"__isSmartRef__":true,"id":23716},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":23654},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":23746},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"23746":{"source":{"__isSmartRef__":true,"id":23716},"target":{"__isSmartRef__":true,"id":23654}},"23747":{"sourceObj":{"__isSmartRef__":true,"id":23716},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":23654},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":23748},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"23748":{"source":{"__isSmartRef__":true,"id":23716},"target":{"__isSmartRef__":true,"id":23654}},"23749":{"submorphs":[{"__isSmartRef__":true,"id":23750}],"scripts":[],"shape":{"__isSmartRef__":true,"id":23761},"id":368,"renderContextTable":{"__isSmartRef__":true,"id":23765},"eventHandler":{"__isSmartRef__":true,"id":23766},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":23767},"priorExtent":{"__isSmartRef__":true,"id":23768},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":23539},"lighterFill":{"__isSmartRef__":true,"id":23769},"label":{"__isSmartRef__":true,"id":23750},"owner":{"__isSmartRef__":true,"id":23669},"layout":{"__isSmartRef__":true,"id":23778},"attributeConnections":[{"__isSmartRef__":true,"id":23779},{"__isSmartRef__":true,"id":23781}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"23750":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":23751},"id":369,"renderContextTable":{"__isSmartRef__":true,"id":23755},"textChunks":[{"__isSmartRef__":true,"id":23756}],"eventHandler":{"__isSmartRef__":true,"id":23758},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":23531},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":23759},"priorExtent":{"__isSmartRef__":true,"id":23760},"_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":23749},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"23751":{"_Position":{"__isSmartRef__":true,"id":23752},"renderContextTable":{"__isSmartRef__":true,"id":23753},"_Extent":{"__isSmartRef__":true,"id":23754},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":23497},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23752":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23753":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23754":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23755":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"23756":{"style":{"__isSmartRef__":true,"id":23757},"chunkOwner":{"__isSmartRef__":true,"id":23750},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"23757":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"23758":{"morph":{"__isSmartRef__":true,"id":23750},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23759":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23760":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23761":{"_Position":{"__isSmartRef__":true,"id":23762},"renderContextTable":{"__isSmartRef__":true,"id":23763},"_Extent":{"__isSmartRef__":true,"id":23764},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":23538},"_Fill":{"__isSmartRef__":true,"id":23539},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23762":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23763":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23764":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23765":{"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"},"23766":{"morph":{"__isSmartRef__":true,"id":23749},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23767":{"x":461,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23768":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23769":{"stops":[{"__isSmartRef__":true,"id":23770},{"__isSmartRef__":true,"id":23772},{"__isSmartRef__":true,"id":23774},{"__isSmartRef__":true,"id":23776}],"vector":{"__isSmartRef__":true,"id":23548},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"23770":{"offset":0,"color":{"__isSmartRef__":true,"id":23771}},"23771":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23772":{"offset":0.4,"color":{"__isSmartRef__":true,"id":23773}},"23773":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23774":{"offset":0.6,"color":{"__isSmartRef__":true,"id":23775}},"23775":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23776":{"offset":1,"color":{"__isSmartRef__":true,"id":23777}},"23777":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23778":{"moveHorizontal":true},"23779":{"sourceObj":{"__isSmartRef__":true,"id":23749},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":23654},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":23780},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"23780":{"source":{"__isSmartRef__":true,"id":23749},"target":{"__isSmartRef__":true,"id":23654}},"23781":{"sourceObj":{"__isSmartRef__":true,"id":23749},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":23654},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":23782},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"23782":{"source":{"__isSmartRef__":true,"id":23749},"target":{"__isSmartRef__":true,"id":23654}},"23783":{"_Position":{"__isSmartRef__":true,"id":23784},"renderContextTable":{"__isSmartRef__":true,"id":23785},"_Extent":{"__isSmartRef__":true,"id":23786},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":23638},"_Fill":{"__isSmartRef__":true,"id":23787},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23784":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23785":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23786":{"x":500,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23787":{"stops":[{"__isSmartRef__":true,"id":23788},{"__isSmartRef__":true,"id":23790},{"__isSmartRef__":true,"id":23792}],"vector":{"__isSmartRef__":true,"id":23548},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"23788":{"offset":0,"color":{"__isSmartRef__":true,"id":23789}},"23789":{"r":0.8600000000000001,"g":0.8600000000000001,"b":0.8600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23790":{"offset":0.6,"color":{"__isSmartRef__":true,"id":23791}},"23791":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23792":{"offset":1,"color":{"__isSmartRef__":true,"id":23793}},"23793":{"r":0.8600000000000001,"g":0.8600000000000001,"b":0.8600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23794":{"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"},"23795":{"morph":{"__isSmartRef__":true,"id":23669},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23796":{"resizeWidth":true,"adjustForNewBounds":true},"23797":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23798":{"x":500,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23799":{"renderContextTable":{"__isSmartRef__":true,"id":23800},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":23801},"_Position":{"__isSmartRef__":true,"id":23802},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23800":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23801":{"x":500,"y":222,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23802":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23803":{"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"},"23804":{"morph":{"__isSmartRef__":true,"id":23654},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23805":{"adjustForNewBounds":true},"23806":{"x":1131,"y":79,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23807":{"x":500,"y":222,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23808":{"a":1,"b":0,"c":0,"d":1,"e":1131,"f":79,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"lively.morphic.Similitude"},"23809":{"x":500,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23810":{"a":1,"b":0,"c":0,"d":1,"e":1131,"f":79,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"lively.morphic.Similitude"},"23811":{"x":500,"y":222,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23812":{"x":1507,"y":76,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23813":{"x":1131,"y":79,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23814":{"x":1131,"y":79,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23815":{"x":377.6609726943286,"y":419.5142810783999,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23816":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Tools","__SourceModuleName__":"Global.lively.PartsBin","comment":"Edit scripts and connections of a specific morph. Early version.","partName":"ObjectEditor","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"23817":{"submorphs":[],"scripts":[],"id":"55849B10-E1C4-49DB-B56B-8A25CCFFEE6A","shape":{"__isSmartRef__":true,"id":23818},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":23825},"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco,courier","_MaxTextWidth":689.0285365288845,"_MaxTextHeight":null,"textChunks":[{"__isSmartRef__":true,"id":23826}],"layout":{"__isSmartRef__":true,"id":23828},"showsHalos":false,"prevScroll":[0,0],"priorSelectionRange":[156,156],"name":"ObjectEditorScriptPane","charsReplaced":"","lastFindLoc":152,"partsBinMetaInfo":{"__isSmartRef__":true,"id":23829},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":23830},"_ClipMode":"auto","_FontSize":9,"lastSyntaxHighlightTime":1336169036296,"doitContext":{"__isSmartRef__":true,"id":1352},"savedTextString":"// changed at Thu Feb 02 2012 14:37:57 GMT+0100 (CET) by conradcalmez \nthis.addScript(function createMenuItems(items) {\n alertOK(\"creating menu items ... like a boss\");\n}).tag([]);","_Align":"left","renderContextTable":{"__isSmartRef__":true,"id":23831},"lastSearchString":"stringsformat","eventHandler":{"__isSmartRef__":true,"id":23832},"attributeConnections":[{"__isSmartRef__":true,"id":23833}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"distanceToDragEvent":{"__isSmartRef__":true,"id":23858},"_MinTextWidth":689.0285365288845,"_MinTextHeight":null,"previousSelection":[120,120],"lastSaveSource":"// changed at Mon Feb 13 2012 12:28:52 GMT+0100 (CET) by conradcalmez \nthis.addScript(function reset() {\n this.disableDropping();\n this.submorphs.invoke('disableDropping');\n}).tag([]);","isBeingDragged":false,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":23321},"isCopyMorphRef":true,"morphRefId":1,"statusMorph":{"__isSmartRef__":true,"id":23859},"derivationIds":[219,"DD5046D0-C1D6-412A-83C9-CD7EE63D40E0","4D92BDFD-A599-4154-A197-A4B1292C1619","98551F68-B128-4262-9BC2-6B8AC7C8D7C0","47731662-FF8E-4C0F-A170-FD5C56A06021","3FC7FDE6-156F-4056-BB04-B76D8B6C5472","C1E8D5BB-56F9-47B3-A520-BEEFEF791823","115FC149-EEF9-415A-A5B7-AB0B9D0170A4","0D66FA39-01E7-4F16-840C-4FA0FA14DD10","B0A74693-DE3F-4867-8DC0-61B098A8F0D1","3547765B-E224-48EC-B58F-278C1DC7422E"],"_Position":{"__isSmartRef__":true,"id":23874},"owner":{"__isSmartRef__":true,"id":23321},"_Rotation":0,"_Scale":1,"textString":"// changed at Mon Feb 13 2012 12:28:52 GMT+0100 (CET) by conradcalmez \nthis.addScript(function reset() {\n this.disableDropping();\n this.submorphs.invoke('disableDropping');\n}).tag([]);","cachedTextString":"// changed at Mon Feb 13 2012 12:28:52 GMT+0100 (CET) by conradcalmez \nthis.addScript(function reset() {\n this.disableDropping();\n this.submorphs.invoke('disableDropping');\n}).tag([]);","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":23875},"__LivelyClassName__":"lively.morphic.Text"},"23818":{"_Position":{"__isSmartRef__":true,"id":23819},"_Extent":{"__isSmartRef__":true,"id":23820},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":23821},"_Fill":{"__isSmartRef__":true,"id":23822},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"renderContextTable":{"__isSmartRef__":true,"id":23823},"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":23824},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23819":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23820":{"x":691.0285365288845,"y":475.61253261443596,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"23821":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23822":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"23823":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23824":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"23825":{"x":2,"y":1,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"23826":{"style":{"__isSmartRef__":true,"id":23827},"chunkOwner":{"__isSmartRef__":true,"id":23817},"storedString":"// changed at Mon Feb 13 2012 12:28:52 GMT+0100 (CET) by conradcalmez \nthis.addScript(function reset() {\n this.disableDropping();\n this.submorphs.invoke('disableDropping');\n}).tag([]);","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"23827":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"23828":{"resizeWidth":true,"resizeHeight":true},"23829":{"requiredModules":[],"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"23830":{"x":691.0285365288845,"y":475.61253261443596,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23831":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"23832":{"morph":{"__isSmartRef__":true,"id":23817},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23833":{"sourceObj":{"__isSmartRef__":true,"id":23817},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":23834},"targetMethodName":"indicateUnsavedChanges","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"23834":{"submorphs":[],"scripts":[],"id":"592231A9-AC04-4847-9F67-15FC92D58B86","shape":{"__isSmartRef__":true,"id":23835},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":23841},"showsHalos":false,"name":"ChangeIndicator","partsBinMetaInfo":{"__isSmartRef__":true,"id":23842},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":23843},"eventHandler":{"__isSmartRef__":true,"id":23844},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":23321},"priorExtent":{"__isSmartRef__":true,"id":23845},"layout":{"__isSmartRef__":true,"id":23846},"isBeingDragged":false,"savedColor":{"__isSmartRef__":true,"id":23838},"alarmColor":{"__isSmartRef__":true,"id":23847},"grabbingEnabled":false,"draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":23848},"isCopyMorphRef":true,"morphRefId":26,"derivationIds":[220,"EE491D24-F056-4AFE-A669-7B7048C6C3D1","3FA4A8C3-0FC0-43A0-8C00-00A96F9022E2","62DAD3C6-A81D-450F-B32F-601EA7E619D8","EEDB0C58-5990-481A-A7FF-ACB1A2DF08DD","16F708CB-1259-4A75-BAEF-1A5216C6CB19","97CA61D3-E09B-43CD-9880-D8B36FA303F3","0AF6BEEC-8A57-44FF-9D8D-40BA6CC6A0CD","AF2BEE76-C34F-457E-8699-9896327A4C07","5EC39FF0-602F-44A2-BE3A-04FCA127E5D1","44CEBF61-9A92-4E36-9576-425D5054B471"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":23849},"__LivelyClassName__":"lively.morphic.Box"},"23835":{"position":{"__isSmartRef__":true,"id":23836},"_Extent":{"__isSmartRef__":true,"id":23837},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":23838},"_Fill":{"__isSmartRef__":true,"id":23838},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":23839},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":23840},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23836":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23837":{"x":8.637782619743348,"y":9.712632235981744,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23838":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23839":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23840":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"23841":{"x":883.0245425248855,"y":39.999999999999986,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23842":{"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":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"23843":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"23844":{"morph":{"__isSmartRef__":true,"id":23834},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23845":{"x":8.637782619743348,"y":10.787481852220026,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23846":{"moveHorizontal":true,"adjustForNewBounds":true},"23847":{"r":0.9411764705882353,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23848":{"x":37.328206296760186,"y":-17.53316489131697,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23849":{"indicateUnsavedChanges":{"__isSmartRef__":true,"id":23850},"setColors":{"__isSmartRef__":true,"id":23854}},"23850":{"varMapping":{"__isSmartRef__":true,"id":23851},"source":"function indicateUnsavedChanges() {\n if (this.owner.scriptPane.hasChanged()) {\n this.setColors(this.alarmColor);\n } else {\n this.setColors(this.savedColor);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":23852},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"23851":{"this":{"__isSmartRef__":true,"id":23834}},"23852":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":23853}},"23853":{"isSerializedDate":true,"string":"Tue Sep 27 2011 20:09:19 GMT+0200 (CEST)"},"23854":{"varMapping":{"__isSmartRef__":true,"id":23855},"source":"function setColors(color) {\n this.setFill(color);\n this.setBorderColor(color);\n}","funcProperties":{"__isSmartRef__":true,"id":23856},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"23855":{"this":{"__isSmartRef__":true,"id":23834}},"23856":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":23857}},"23857":{"isSerializedDate":true,"string":"Tue Sep 27 2011 19:06:09 GMT+0200 (CEST)"},"23858":{"x":341.1979959929888,"y":-18.288721442524036,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23859":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":23860},"id":553,"renderContextTable":{"__isSmartRef__":true,"id":23867},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":23868}],"eventHandler":{"__isSmartRef__":true,"id":23870},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"visible","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":11,"_Position":{"__isSmartRef__":true,"id":23871},"priorExtent":{"__isSmartRef__":true,"id":23872},"_MaxTextWidth":90,"_MinTextWidth":90,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"_Align":"center","_VerticalAlign":"center","_TextColor":{"__isSmartRef__":true,"id":23873},"owner":null,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"23860":{"_Position":{"__isSmartRef__":true,"id":23861},"renderContextTable":{"__isSmartRef__":true,"id":23862},"_Extent":{"__isSmartRef__":true,"id":23863},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":23864},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":23865},"_Fill":{"__isSmartRef__":true,"id":23866},"_StrokeOpacity":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23861":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23862":{"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"},"23863":{"x":100,"y":25,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23864":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"23865":{"r":0.8,"g":0.8,"b":0.8,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23866":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23867":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"23868":{"style":{"__isSmartRef__":true,"id":23869},"chunkOwner":{"__isSmartRef__":true,"id":23859},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"23869":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"23870":{"morph":{"__isSmartRef__":true,"id":23859},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23871":{"x":313.51426826444225,"y":228.80626630721798,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23872":{"x":100,"y":25,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23873":{"r":0,"g":0.8,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23874":{"x":200,"y":40,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23875":{"doSave":{"__isSmartRef__":true,"id":23876},"boundEval":{"__isSmartRef__":true,"id":23884},"reset":{"__isSmartRef__":true,"id":23892},"display":{"__isSmartRef__":true,"id":23896},"hasChanged":{"__isSmartRef__":true,"id":23900},"setTarget":{"__isSmartRef__":true,"id":23904},"displayStatus":{"__isSmartRef__":true,"id":23908}},"23876":{"varMapping":{"__isSmartRef__":true,"id":23877},"source":"function doSave() {\n $super();\n var saved = this.boundEval(this.getTextString());\n if (saved) {\n this.lastSaveSource = this.textString;\n this.owner.changeIndicator.indicateUnsavedChanges();\n this.owner.updateLists();\n this.owner.selectChangedContent(this.getTextString());\n this.displayStatus(\"saved source\", Color.green);\n } else {\n this.displayStatus(\"not saved\", Color.red);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":23882},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"23877":{"this":{"__isSmartRef__":true,"id":23817},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":23878}},"23878":{"$super":{"__isSmartRef__":true,"id":23879}},"23879":{"varMapping":{"__isSmartRef__":true,"id":23880},"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":23881},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"23880":{"obj":{"__isSmartRef__":true,"id":23817},"name":"doSave"},"23881":{},"23882":{"timestamp":{"__isSmartRef__":true,"id":23883},"user":"lauritz"},"23883":{"isSerializedDate":true,"string":"Thu Nov 17 2011 23:15:19 GMT+0100 (CET)"},"23884":{"varMapping":{"__isSmartRef__":true,"id":23885},"source":"function boundEval(str) {\n var result;\n\n this.objectEditorPane.ensureAnnotationLayer();\n withLayers([ScriptAnnotationLayer], function() {\n result = $super(str);\n })\n \n return result\n}","funcProperties":{"__isSmartRef__":true,"id":23890},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"23885":{"this":{"__isSmartRef__":true,"id":23817},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":23886}},"23886":{"$super":{"__isSmartRef__":true,"id":23887}},"23887":{"varMapping":{"__isSmartRef__":true,"id":23888},"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":23889},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"23888":{"obj":{"__isSmartRef__":true,"id":23817},"name":"boundEval"},"23889":{},"23890":{"timestamp":{"__isSmartRef__":true,"id":23891},"user":"lauritz","categories":[]},"23891":{"isSerializedDate":true,"string":"Wed Nov 16 2011 05:41:53 GMT+0100 (CET)"},"23892":{"varMapping":{"__isSmartRef__":true,"id":23893},"source":"function reset() {\n this.doitContext = null;\n this.lastSaveSource = \"\";\n this.textString = \"\";\n this.lastSaveSource = this.textString;\n}","funcProperties":{"__isSmartRef__":true,"id":23894},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"23893":{"this":{"__isSmartRef__":true,"id":23817}},"23894":{"timestamp":{"__isSmartRef__":true,"id":23895},"user":"lauritz","categories":[]},"23895":{"isSerializedDate":true,"string":"Tue Sep 27 2011 20:14:35 GMT+0200 (CEST)"},"23896":{"varMapping":{"__isSmartRef__":true,"id":23897},"source":"function display(jsCode) {\n this.lastSaveSource = jsCode;\n this.setTextString(jsCode);\n this.highlightJavaScriptSyntax();\n this.applyStyle({align: 'left'});\n}","funcProperties":{"__isSmartRef__":true,"id":23898},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"23897":{"this":{"__isSmartRef__":true,"id":23817}},"23898":{"timestamp":{"__isSmartRef__":true,"id":23899},"user":"lauritz","categories":[]},"23899":{"isSerializedDate":true,"string":"Tue Sep 27 2011 19:47:57 GMT+0200 (CEST)"},"23900":{"varMapping":{"__isSmartRef__":true,"id":23901},"source":"function hasChanged() {\n var cleanText = function (string) {\n var source = string.trim();\n if (source.substring(0,2) === \"//\") {\n // removes annotation line\n source = source.substring(source.indexOf(\"\\n\"), source.length);\n source = source.trim();\n }\n if (source === 'undefined' || source === 'null') source = '';\n return source;\n }\n var cleanedTextString = cleanText(this.textString);\n var cleanedLastSource = cleanText(this.lastSaveSource);\n return cleanedTextString !== cleanedLastSource;\n}","funcProperties":{"__isSmartRef__":true,"id":23902},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"23901":{"this":{"__isSmartRef__":true,"id":23817}},"23902":{"timestamp":{"__isSmartRef__":true,"id":23903},"user":"lauritz","categories":[]},"23903":{"isSerializedDate":true,"string":"Mon Oct 03 2011 18:29:45 GMT+0200 (CEST)"},"23904":{"varMapping":{"__isSmartRef__":true,"id":23905},"source":"function setTarget(target) {\n module('lively.ide.SyntaxHighlighting').load(true);\n this.doitContext = target;\n}","funcProperties":{"__isSmartRef__":true,"id":23906},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"23905":{"this":{"__isSmartRef__":true,"id":23817}},"23906":{"timestamp":{"__isSmartRef__":true,"id":23907},"user":"lauritz","categories":[]},"23907":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:30:39 GMT+0100 (CET)"},"23908":{"varMapping":{"__isSmartRef__":true,"id":23909},"source":"function displayStatus(msg, color, delay) {\n if (!this.statusMorph) {\n this.statusMorph = new TextMorph(pt(100,25).extentAsRectangle());\n this.statusMorph.applyStyle({borderWidth: 1, strokeOpacity: 0, borderColor: Color.gray});\n this.statusMorph.setFill(this.owner.getFill());\n this.statusMorph.setFontSize(11);\n this.statusMorph.setAlign('center');\n this.statusMorph.setVerticalAlign('center');\n }\n this.statusMorph.setTextString(msg);\n this.statusMorph.centerAt(this.innerBounds().center());\n this.statusMorph.setTextColor(color || Color.black);\n this.addMorph(this.statusMorph);\n (function() { this.statusMorph.remove() }).bind(this).delay(delay || 2); \n}","funcProperties":{"__isSmartRef__":true,"id":23910},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"23909":{"this":{"__isSmartRef__":true,"id":23817}},"23910":{"timestamp":{"__isSmartRef__":true,"id":23911},"user":"lauritz","categories":[]},"23911":{"isSerializedDate":true,"string":"Wed Nov 23 2011 18:23:05 GMT+0100 (CET)"},"23912":{"submorphs":[{"__isSmartRef__":true,"id":23913}],"scripts":[],"id":847,"shape":{"__isSmartRef__":true,"id":23927},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":23942},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":23930},"lighterFill":{"__isSmartRef__":true,"id":23943},"label":{"__isSmartRef__":true,"id":23913},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","_Rotation":0,"padding":{"__isSmartRef__":true,"id":23952},"name":"ObjectEditorClassButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":23953},"_Scale":1,"owner":null,"layout":{"__isSmartRef__":true,"id":23954},"renderContextTable":{"__isSmartRef__":true,"id":23955},"eventHandler":{"__isSmartRef__":true,"id":23956},"__LivelyClassName__":"lively.morphic.Button"},"23913":{"submorphs":[],"scripts":[],"id":848,"shape":{"__isSmartRef__":true,"id":23914},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":18,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":23919},"textColor":{"__isSmartRef__":true,"id":23917},"owner":{"__isSmartRef__":true,"id":23912},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":23920}],"padding":{"__isSmartRef__":true,"id":23922},"_Padding":{"__isSmartRef__":true,"id":23923},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":23924},"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":23925},"eventHandler":{"__isSmartRef__":true,"id":23926},"_HandStyle":"default","_PointerEvents":"none","__LivelyClassName__":"lively.morphic.Text"},"23914":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":23915},"_Extent":{"__isSmartRef__":true,"id":23916},"_BorderColor":{"__isSmartRef__":true,"id":23917},"renderContextTable":{"__isSmartRef__":true,"id":23918},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23915":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23916":{"x":116,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23917":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23918":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23919":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23920":{"style":{"__isSmartRef__":true,"id":23921},"chunkOwner":{"__isSmartRef__":true,"id":23913},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"23921":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"23922":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"23923":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"23924":{"x":116,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23925":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"23926":{"morph":{"__isSmartRef__":true,"id":23913},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23927":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":23928},"_Extent":{"__isSmartRef__":true,"id":23929},"_Fill":{"__isSmartRef__":true,"id":23930},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":23940},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":23941},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23928":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23929":{"x":116,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23930":{"stops":[{"__isSmartRef__":true,"id":23931},{"__isSmartRef__":true,"id":23933},{"__isSmartRef__":true,"id":23935},{"__isSmartRef__":true,"id":23937}],"vector":{"__isSmartRef__":true,"id":23939},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"23931":{"offset":0,"color":{"__isSmartRef__":true,"id":23932}},"23932":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23933":{"offset":0.4,"color":{"__isSmartRef__":true,"id":23934}},"23934":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23935":{"offset":0.6,"color":{"__isSmartRef__":true,"id":23936}},"23936":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23937":{"offset":1,"color":{"__isSmartRef__":true,"id":23938}},"23938":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23939":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"23940":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23941":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23942":{"x":820,"y":8.999999999999972,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23943":{"stops":[{"__isSmartRef__":true,"id":23944},{"__isSmartRef__":true,"id":23946},{"__isSmartRef__":true,"id":23948},{"__isSmartRef__":true,"id":23950}],"vector":{"__isSmartRef__":true,"id":23939},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"23944":{"offset":0,"color":{"__isSmartRef__":true,"id":23945}},"23945":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23946":{"offset":0.4,"color":{"__isSmartRef__":true,"id":23947}},"23947":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23948":{"offset":0.6,"color":{"__isSmartRef__":true,"id":23949}},"23949":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23950":{"offset":1,"color":{"__isSmartRef__":true,"id":23951}},"23951":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23952":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"23953":{"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"},"23954":{"moveHorizontal":true},"23955":{"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"},"23956":{"morph":{"__isSmartRef__":true,"id":23912},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23957":{"submorphs":[],"scripts":[],"id":"66A07DE5-DAE1-4B14-9DF1-1A80E7F3B90A","shape":{"__isSmartRef__":true,"id":23958},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":23965},"itemList":["-- ALL --"],"selectedLineNo":1,"showsHalos":false,"name":"ObjectEditorConnectionList","partsBinMetaInfo":{"__isSmartRef__":true,"id":23966},"__SourceModuleName__":"Global.lively.morphic.Core","_ClipMode":"auto","owner":{"__isSmartRef__":true,"id":23321},"priorExtent":{"__isSmartRef__":true,"id":23967},"attributeConnections":[{"__isSmartRef__":true,"id":23968}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"prevScroll":[0,0],"layout":{"__isSmartRef__":true,"id":23973},"renderContextTable":{"__isSmartRef__":true,"id":23974},"eventHandler":{"__isSmartRef__":true,"id":23975},"_FontSize":10,"distanceToDragEvent":{"__isSmartRef__":true,"id":23976},"grabbingEnabled":false,"draggingEnabled":false,"isCopyMorphRef":true,"morphRefId":19,"derivationIds":[209,"3900F5DF-0FF7-4C94-8BDB-44AAE12B4A3E","35301083-B60D-4A43-8566-23860EEB4C04","9CC401CC-5A35-4643-935B-FD049C284E16","C9879D40-5E79-4C56-AA79-562ED82BF052","9F6F9261-EB76-4B58-B77D-7D70813A1ED7","8B59E237-F372-4F70-9768-7E9C1A7A021D","FC85F1B9-1978-42D2-850C-BD249981E8B4","D2B607C6-A89B-4B3F-91BB-720451EAB98D","CC361093-FF73-479B-9431-C645CB48F518","307D3B7C-C0E1-484F-8D7E-39FBA9D8EDA5"],"selection":null,"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":23977},"__LivelyClassName__":"lively.morphic.List"},"23958":{"position":{"__isSmartRef__":true,"id":23959},"_Extent":{"__isSmartRef__":true,"id":23960},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":23961},"_Fill":{"__isSmartRef__":true,"id":23962},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"renderContextTable":{"__isSmartRef__":true,"id":23963},"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":23964},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23959":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23960":{"x":180,"y":74,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23961":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23962":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"23963":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23964":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"23965":{"x":10,"y":441.5965565984398,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23966":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"23967":{"x":180,"y":75,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23968":{"sourceObj":{"__isSmartRef__":true,"id":23957},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":23321},"targetMethodName":"displaySourceForConnection","converterString":"function (value) {\n if (!value) return;\n return (value === '-- ALL --') ? null : value[1];\n}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":23969},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":23970},"__LivelyClassName__":"AttributeConnection"},"23969":{"source":{"__isSmartRef__":true,"id":23957},"target":{"__isSmartRef__":true,"id":23321}},"23970":{"converter":{"__isSmartRef__":true,"id":23971}},"23971":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":23969},"source":"function (value) {\n if (!value) return;\n return (value === '-- ALL --') ? null : value[1];\n}","funcProperties":{"__isSmartRef__":true,"id":23972},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"23972":{},"23973":{"resizeHeight":false,"moveVertical":true},"23974":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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"},"23975":{"morph":{"__isSmartRef__":true,"id":23957},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"23976":{"x":124.95989979964943,"y":-17.076643708895745,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23977":{"preselectItem":{"__isSmartRef__":true,"id":23978}},"23978":{"varMapping":{"__isSmartRef__":true,"id":23979},"source":"function preselectItem() {\n if (this.getList().size() === 2) {\n this.selectAt(1);\n } else {\n this.selectAt(0);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":23980},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"23979":{"this":{"__isSmartRef__":true,"id":23957}},"23980":{"timestamp":{"__isSmartRef__":true,"id":23981},"user":"lauritz"},"23981":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:12:58 GMT+0100 (CET)"},"23982":{"submorphs":[{"__isSmartRef__":true,"id":23983}],"scripts":[],"id":47,"shape":{"__isSmartRef__":true,"id":23996},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":24011},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":23999},"lighterFill":{"__isSmartRef__":true,"id":24012},"label":{"__isSmartRef__":true,"id":23983},"attributeConnections":[{"__isSmartRef__":true,"id":24021}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","_Rotation":0,"padding":{"__isSmartRef__":true,"id":24022},"name":"ObjectEditorTargetButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":24023},"_Scale":1,"owner":null,"renderContextTable":{"__isSmartRef__":true,"id":24024},"isCopyMorphRef":true,"morphRefId":1,"__LivelyClassName__":"lively.morphic.Button"},"23983":{"submorphs":[],"scripts":[],"id":48,"shape":{"__isSmartRef__":true,"id":23984},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":20,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":23989},"textColor":{"__isSmartRef__":true,"id":23987},"owner":{"__isSmartRef__":true,"id":23982},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":23990}],"padding":{"__isSmartRef__":true,"id":23992},"_Padding":{"__isSmartRef__":true,"id":23993},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":23994},"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":23995},"__LivelyClassName__":"lively.morphic.Text"},"23984":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":23985},"_Extent":{"__isSmartRef__":true,"id":23986},"_BorderColor":{"__isSmartRef__":true,"id":23987},"renderContextTable":{"__isSmartRef__":true,"id":23988},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23985":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23986":{"x":116,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23987":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"23988":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"23989":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23990":{"style":{"__isSmartRef__":true,"id":23991},"chunkOwner":{"__isSmartRef__":true,"id":23983},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"23991":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"23992":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"23993":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"23994":{"x":116,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23995":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"23996":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":23997},"_Extent":{"__isSmartRef__":true,"id":23998},"_Fill":{"__isSmartRef__":true,"id":23999},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":24009},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":24010},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"23997":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23998":{"x":116,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"23999":{"stops":[{"__isSmartRef__":true,"id":24000},{"__isSmartRef__":true,"id":24002},{"__isSmartRef__":true,"id":24004},{"__isSmartRef__":true,"id":24006}],"vector":{"__isSmartRef__":true,"id":24008},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"24000":{"offset":0,"color":{"__isSmartRef__":true,"id":24001}},"24001":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24002":{"offset":0.4,"color":{"__isSmartRef__":true,"id":24003}},"24003":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24004":{"offset":0.6,"color":{"__isSmartRef__":true,"id":24005}},"24005":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24006":{"offset":1,"color":{"__isSmartRef__":true,"id":24007}},"24007":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24008":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24009":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24010":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"24011":{"x":215,"y":35,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24012":{"stops":[{"__isSmartRef__":true,"id":24013},{"__isSmartRef__":true,"id":24015},{"__isSmartRef__":true,"id":24017},{"__isSmartRef__":true,"id":24019}],"vector":{"__isSmartRef__":true,"id":24008},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"24013":{"offset":0,"color":{"__isSmartRef__":true,"id":24014}},"24014":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24015":{"offset":0.4,"color":{"__isSmartRef__":true,"id":24016}},"24016":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24017":{"offset":0.6,"color":{"__isSmartRef__":true,"id":24018}},"24018":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24019":{"offset":1,"color":{"__isSmartRef__":true,"id":24020}},"24020":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24021":{"sourceObj":{"__isSmartRef__":true,"id":23982},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":23339},"targetMethodName":"chooseTargetMorphMenu","__SourceModuleName__":"Global.lively.bindings","converter":null,"converterString":null,"updater":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection"},"24022":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24023":{"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"},"24024":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"24025":{"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"},"24026":{"x":715.5,"y":73.89999999999998,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24027":{"submorphs":[],"scripts":[],"id":435,"shape":{"__isSmartRef__":true,"id":24028},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":24035},"_MaxTextWidth":218,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":24036},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorMorphSelector","partsBinMetaInfo":{"__isSmartRef__":true,"id":24037},"textChunks":[{"__isSmartRef__":true,"id":24038}],"charsReplaced":"","lastFindLoc":5,"priorSelectionRange":[15,15],"prevScroll":[0,0],"_ClipMode":"visible","list":[],"attributeConnections":[{"__isSmartRef__":true,"id":24040}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"listMorph":null,"_WhiteSpaceHandling":"pre-wrap","owner":null,"priorExtent":{"__isSmartRef__":true,"id":24042},"_Align":"left","renderContextTable":{"__isSmartRef__":true,"id":24043},"eventHandler":{"__isSmartRef__":true,"id":24044},"_MinTextWidth":218,"_MinTextHeight":null,"scriptAnnotations":{"__isSmartRef__":true,"id":24045},"selection":{"__isSmartRef__":true,"id":23320},"previousSelection":[0,13],"isCopyMorphRef":true,"morphRefId":1,"isBeingDragged":false,"draggingEnabled":false,"layout":{"__isSmartRef__":true,"id":24064},"_Rotation":0,"_Scale":1,"distanceToDragEvent":{"__isSmartRef__":true,"id":24065},"savedTextString":"100","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":24066},"__LivelyClassName__":"lively.morphic.Text"},"24028":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":24029},"_Extent":{"__isSmartRef__":true,"id":24030},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":24031},"renderContextTable":{"__isSmartRef__":true,"id":24032},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":24033},"_BorderRadius":3.7000000000000006,"_Opacity":1,"_BorderStyle":"solid","_Fill":{"__isSmartRef__":true,"id":24034},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"24029":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24030":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24031":{"r":0.753,"g":0.753,"b":0.753,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24032":{"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"},"24033":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24034":{"r":0.9548430751559654,"g":0.9548430751559654,"b":0.9548430751559654,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24035":{"x":200,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24036":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24037":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"24038":{"style":{"__isSmartRef__":true,"id":24039},"chunkOwner":{"__isSmartRef__":true,"id":24027},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"24039":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"24040":{"sourceObj":{"__isSmartRef__":true,"id":24027},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":23321},"targetMethodName":"setTarget","converter":null,"converterString":"function (name) { return $world.get(name)}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":24041},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"24041":{"source":{"__isSmartRef__":true,"id":24027},"target":{"__isSmartRef__":true,"id":23321}},"24042":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24043":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"24044":{"morph":{"__isSmartRef__":true,"id":24027},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"24045":{"createListMorph":{"__isSmartRef__":true,"id":24046},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":24048},"onMouseUp":{"__isSmartRef__":true,"id":24050},"resetConnections":{"__isSmartRef__":true,"id":24052},"setTargetToListSelection":{"__isSmartRef__":true,"id":24054},"setTargetOfPane":{"__isSmartRef__":true,"id":24056},"onBlur":{"__isSmartRef__":true,"id":24058},"reset":{"__isSmartRef__":true,"id":24060},"onMouseDown":{"__isSmartRef__":true,"id":24062}},"24046":{"time":{"__isSmartRef__":true,"id":24047},"user":"lauritz"},"24047":{"isSerializedDate":true,"string":"Fri Oct 28 2011 05:27:29 GMT+0200 (CEST)"},"24048":{"time":{"__isSmartRef__":true,"id":24049},"user":"lauritz"},"24049":{"isSerializedDate":true,"string":"Fri Oct 14 2011 23:48:37 GMT+0200 (CEST)"},"24050":{"time":{"__isSmartRef__":true,"id":24051},"user":"lauritz"},"24051":{"isSerializedDate":true,"string":"Mon Oct 03 2011 18:51:14 GMT+0200 (CEST)"},"24052":{"time":{"__isSmartRef__":true,"id":24053},"user":"lauritz"},"24053":{"isSerializedDate":true,"string":"Wed Sep 28 2011 01:03:17 GMT+0200 (CEST)"},"24054":{"time":{"__isSmartRef__":true,"id":24055},"user":"lauritz"},"24055":{"isSerializedDate":true,"string":"Sat Oct 15 2011 00:00:58 GMT+0200 (CEST)"},"24056":{"time":{"__isSmartRef__":true,"id":24057},"user":"lauritz"},"24057":{"isSerializedDate":true,"string":"Mon Oct 03 2011 18:34:37 GMT+0200 (CEST)"},"24058":{"time":{"__isSmartRef__":true,"id":24059},"user":"lauritz"},"24059":{"isSerializedDate":true,"string":"Fri Oct 07 2011 19:24:18 GMT+0200 (CEST)"},"24060":{"time":{"__isSmartRef__":true,"id":24061},"user":"lauritz"},"24061":{"isSerializedDate":true,"string":"Fri Oct 07 2011 19:26:15 GMT+0200 (CEST)"},"24062":{"time":{"__isSmartRef__":true,"id":24063},"user":"lauritz"},"24063":{"isSerializedDate":true,"string":"Mon Oct 17 2011 19:49:00 GMT+0200 (CEST)"},"24064":{},"24065":{"x":153.8540395186758,"y":-23.74126935194758,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24066":{"getList":{"__isSmartRef__":true,"id":24067},"setList":{"__isSmartRef__":true,"id":24070},"reset":{"__isSmartRef__":true,"id":24073},"example":{"__isSmartRef__":true,"id":24076},"removeList":{"__isSmartRef__":true,"id":24079},"onBlur":{"__isSmartRef__":true,"id":24082},"createListMorph":{"__isSmartRef__":true,"id":24089},"resetConnections":{"__isSmartRef__":true,"id":24092},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":24095},"setTargetToListSelection":{"__isSmartRef__":true,"id":24098},"setTargetOfPane":{"__isSmartRef__":true,"id":24101},"onMouseDown":{"__isSmartRef__":true,"id":24104}},"24067":{"varMapping":{"__isSmartRef__":true,"id":24068},"source":"function getList() {\n return this.world().indentedListItemsOfMorphNames();\n}","funcProperties":{"__isSmartRef__":true,"id":24069},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24068":{"this":{"__isSmartRef__":true,"id":24027}},"24069":{},"24070":{"varMapping":{"__isSmartRef__":true,"id":24071},"source":"function setList(list) {\n return this.list = list;\n}","funcProperties":{"__isSmartRef__":true,"id":24072},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24071":{"this":{"__isSmartRef__":true,"id":24027}},"24072":{},"24073":{"varMapping":{"__isSmartRef__":true,"id":24074},"source":"function reset() {\n this.list = [];\n this.textString = 'empty';\n this.removeList();\n this.resetConnections();\n this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'})\n}","funcProperties":{"__isSmartRef__":true,"id":24075},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24074":{"this":{"__isSmartRef__":true,"id":24027}},"24075":{},"24076":{"varMapping":{"__isSmartRef__":true,"id":24077},"source":"function example() {\n/*\nthis.example()\nthis.getList()\n*/\n this.setList(Array.range(0,100));\n this.textString = 'empty';\n}","funcProperties":{"__isSmartRef__":true,"id":24078},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24077":{"this":{"__isSmartRef__":true,"id":24027}},"24078":{},"24079":{"varMapping":{"__isSmartRef__":true,"id":24080},"source":"function removeList() {\n this.listMorph && this.listMorph.remove()\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":24081},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24080":{"this":{"__isSmartRef__":true,"id":24027}},"24081":{},"24082":{"varMapping":{"__isSmartRef__":true,"id":24083},"source":"function onBlur() {\n $super();\n this.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":24088},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24083":{"this":{"__isSmartRef__":true,"id":24027},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":24084}},"24084":{"$super":{"__isSmartRef__":true,"id":24085}},"24085":{"varMapping":{"__isSmartRef__":true,"id":24086},"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":24087},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24086":{"obj":{"__isSmartRef__":true,"id":24027},"name":"onBlur"},"24087":{},"24088":{},"24089":{"varMapping":{"__isSmartRef__":true,"id":24090},"source":"function createListMorph() {\n var list = new lively.morphic.List(new Rectangle(0,0, this.getExtent().x, 520));\n list.setList(this.getList());\n list.setFontSize(12);\n\n list.disableGrabbing();\n list.disableDragging();\n \n this.addMorph(list);\n list.setPosition(pt(0,0));\n\n connect(list, 'selection', this, 'setTargetToListSelection');\n \n return list;\n}","funcProperties":{"__isSmartRef__":true,"id":24091},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24090":{"this":{"__isSmartRef__":true,"id":24027}},"24091":{},"24092":{"varMapping":{"__isSmartRef__":true,"id":24093},"source":"function resetConnections() {\n disconnectAll(this);\n connect(this, 'savedTextString', this.owner, 'setTarget', {converter: \n\tfunction (name) { return $world.get(name)}});\n}","funcProperties":{"__isSmartRef__":true,"id":24094},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24093":{"this":{"__isSmartRef__":true,"id":24027}},"24094":{},"24095":{"varMapping":{"__isSmartRef__":true,"id":24096},"source":"function displayTopLevelMorphs() {\n if (this.listMorph) { this.removeList(); return true }\n var list = this.createListMorph(); \n this.addMorph(list);\n this.listMorph = list;\n}","funcProperties":{"__isSmartRef__":true,"id":24097},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24096":{"this":{"__isSmartRef__":true,"id":24027}},"24097":{},"24098":{"varMapping":{"__isSmartRef__":true,"id":24099},"source":"function setTargetToListSelection(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":24100},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24099":{"this":{"__isSmartRef__":true,"id":24027}},"24100":{},"24101":{"varMapping":{"__isSmartRef__":true,"id":24102},"source":"function setTargetOfPane(selection) {\n this.owner.setTarget(selection);\n this.setTextString(selection.getName());\n this.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":24103},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24102":{"this":{"__isSmartRef__":true,"id":24027}},"24103":{},"24104":{"varMapping":{"__isSmartRef__":true,"id":24105},"source":"function onMouseDown(evt) {\n if (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n if (this.listMorph) {\n return false;\n } else {\n this.displayTopLevelMorphs();\n return true;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":24110},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24105":{"this":{"__isSmartRef__":true,"id":24027},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":24106}},"24106":{"$super":{"__isSmartRef__":true,"id":24107}},"24107":{"varMapping":{"__isSmartRef__":true,"id":24108},"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":24109},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24108":{"obj":{"__isSmartRef__":true,"id":24027},"name":"onMouseDown"},"24109":{},"24110":{},"24111":{"morph":{"__isSmartRef__":true,"id":23339},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"24112":{"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":24113},"setTarget":{"__isSmartRef__":true,"id":24116},"generateSourceForScript":{"__isSmartRef__":true,"id":24119},"generateSourceForConnection":{"__isSmartRef__":true,"id":24122},"generateTargetCode":{"__isSmartRef__":true,"id":24125},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":24128},"displayJavaScriptSource":{"__isSmartRef__":true,"id":24131},"displaySourceForScript":{"__isSmartRef__":true,"id":24134},"displaySourceForConnection":{"__isSmartRef__":true,"id":24137},"newScript":{"__isSmartRef__":true,"id":24140},"newConnection":{"__isSmartRef__":true,"id":24143},"deleteSelectedScript":{"__isSmartRef__":true,"id":24146},"disconnectConnection":{"__isSmartRef__":true,"id":24149},"updateLists":{"__isSmartRef__":true,"id":24152},"displayInitialScript":{"__isSmartRef__":true,"id":24155},"reset":{"__isSmartRef__":true,"id":24158},"selectChangedContent":{"__isSmartRef__":true,"id":24161}},"24113":{"varMapping":{"__isSmartRef__":true,"id":24114},"source":"function sortedScriptNamesOfObj(obj) {\n if (!Functions.own(obj) || Functions.own(obj).size() == 0) return [];\n return Functions.own(obj)\n\t.select(function(name) { return obj[name].hasLivelyClosure })\n\t.sortBy(function(name) { return name.toLowerCase() });\n}","funcProperties":{"__isSmartRef__":true,"id":24115},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24114":{"this":{"__isSmartRef__":true,"id":23339}},"24115":{},"24116":{"varMapping":{"__isSmartRef__":true,"id":24117},"source":"function setTarget(morph) {\n this.reset();\n module('lively.ide.SyntaxHighlighting').load(true);\n this.target = morph;\n this.morphSelector.textString = (this.target.getName() || this.target.toString());\n this.scriptPane.doitContext = this.target;\n this.updateLists();\n this.displayInitialScript();\n}","funcProperties":{"__isSmartRef__":true,"id":24118},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24117":{"this":{"__isSmartRef__":true,"id":23339}},"24118":{},"24119":{"varMapping":{"__isSmartRef__":true,"id":24120},"source":"function generateSourceForScript(scriptName) {\n var script = this.target[scriptName].getOriginal();\n return Strings.format('this.addScript(%s);' ,script)\n}","funcProperties":{"__isSmartRef__":true,"id":24121},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24120":{"this":{"__isSmartRef__":true,"id":23339}},"24121":{},"24122":{"varMapping":{"__isSmartRef__":true,"id":24123},"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":24124},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24123":{"this":{"__isSmartRef__":true,"id":23339}},"24124":{},"24125":{"varMapping":{"__isSmartRef__":true,"id":24126},"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":24127},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24126":{"this":{"__isSmartRef__":true,"id":23339}},"24127":{},"24128":{"varMapping":{"__isSmartRef__":true,"id":24129},"source":"function sortedConnectionNamesOfObj(obj) {\n if (\"attributeConnections\" in obj) {\n return obj.attributeConnections\n .sortBy(function(each) {return name.toLowerCase() })\n .collect(function(each) {return [each.getSourceAttrName(), each]});\n } else {\n return [];\n }\n}","funcProperties":{"__isSmartRef__":true,"id":24130},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24129":{"this":{"__isSmartRef__":true,"id":23339}},"24130":{},"24131":{"varMapping":{"__isSmartRef__":true,"id":24132},"source":"function displayJavaScriptSource(jsCode) {\n this.scriptPane.setTextString(jsCode);\n this.scriptPane.highlightJavaScriptSyntax();\n}","funcProperties":{"__isSmartRef__":true,"id":24133},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24132":{"this":{"__isSmartRef__":true,"id":23339}},"24133":{},"24134":{"varMapping":{"__isSmartRef__":true,"id":24135},"source":"function displaySourceForScript(scriptName) {\n if (!scriptName) return;\n var code = \"\", that = this;\n if (scriptName === \"-- ALL --\") {\n this.sortedScriptNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForScript(each)).concat(\"\\n\\n\");\n });\n } else {\n code = this.generateSourceForScript(scriptName); \n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":24136},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24135":{"this":{"__isSmartRef__":true,"id":23339}},"24136":{},"24137":{"varMapping":{"__isSmartRef__":true,"id":24138},"source":"function displaySourceForConnection(connection) {\n if (!connection) return;\n var code = \"\", that = this;\n if ((typeof connection === \"string\") && connection === \"-- ALL --\") {\n this.sortedConnectionNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForConnection(each[1])).concat(\"\\n\\n\");\n })\n } else {\n code = this.generateSourceForConnection(connection);\n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":24139},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24138":{"this":{"__isSmartRef__":true,"id":23339}},"24139":{},"24140":{"varMapping":{"__isSmartRef__":true,"id":24141},"source":"function newScript() {\n if (this.target) {\n var code = \"this.addScript(function SCRIPTNAME() {\\n\\t\\n});\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":24142},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24141":{"this":{"__isSmartRef__":true,"id":23339}},"24142":{},"24143":{"varMapping":{"__isSmartRef__":true,"id":24144},"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":24145},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24144":{"this":{"__isSmartRef__":true,"id":23339}},"24145":{},"24146":{"varMapping":{"__isSmartRef__":true,"id":24147},"source":"function deleteSelectedScript() {\n if (this.scriptList.selection && this.target) {\n if (!this.target.hasOwnProperty(this.scriptList.selection)) return;\n delete this.target[this.scriptList.selection];\n this.updateLists();\n this.displayInitialScript();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":24148},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24147":{"this":{"__isSmartRef__":true,"id":23339}},"24148":{},"24149":{"varMapping":{"__isSmartRef__":true,"id":24150},"source":"function disconnectConnection() {\n var selection = this.connectionList.selection;\n if (selection && \n (typeof selection !== \"string\") &&\n this.target.attributeConnections.indexOf(selection[1]) > -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":24151},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24150":{"this":{"__isSmartRef__":true,"id":23339}},"24151":{},"24152":{"varMapping":{"__isSmartRef__":true,"id":24153},"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":24154},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24153":{"this":{"__isSmartRef__":true,"id":23339}},"24154":{},"24155":{"varMapping":{"__isSmartRef__":true,"id":24156},"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":24157},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24156":{"this":{"__isSmartRef__":true,"id":23339}},"24157":{},"24158":{"varMapping":{"__isSmartRef__":true,"id":24159},"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":24160},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24159":{"this":{"__isSmartRef__":true,"id":23339}},"24160":{},"24161":{"varMapping":{"__isSmartRef__":true,"id":24162},"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":24361},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24360":{"this":{"__isSmartRef__":true,"id":24307}},"24361":{"timestamp":{"__isSmartRef__":true,"id":24362},"user":"lauritz","categories":[]},"24362":{"isSerializedDate":true,"string":"Fri Nov 11 2011 01:46:54 GMT+0100 (CET)"},"24363":{"submorphs":[{"__isSmartRef__":true,"id":24364}],"scripts":[],"id":"5DE847D9-D949-42EA-A042-720ED4C9A189","shape":{"__isSmartRef__":true,"id":24379},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":24395},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":24382},"lighterFill":{"__isSmartRef__":true,"id":24396},"label":{"__isSmartRef__":true,"id":24364},"attributeConnections":[{"__isSmartRef__":true,"id":24405}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":24407},"name":"ObjectEditorRemoveScriptButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":24408},"renderContextTable":{"__isSmartRef__":true,"id":24409},"priorExtent":{"__isSmartRef__":true,"id":24410},"owner":{"__isSmartRef__":true,"id":23321},"eventHandler":{"__isSmartRef__":true,"id":24411},"isCopyMorphRef":true,"morphRefId":24,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":23321},"distanceToDragEvent":{"__isSmartRef__":true,"id":24412},"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","7DDF7175-34FC-4521-A7C3-580A8BE63351","DEA39C05-FAD7-4882-AB3D-0EE12C3408F9","99186A50-1411-4B6F-B1CB-FF0742C20D7D"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":24413},"__LivelyClassName__":"lively.morphic.Button"},"24364":{"submorphs":[],"scripts":[],"id":"F6879302-9EAA-40E1-95BD-48C71DFE9D49","shape":{"__isSmartRef__":true,"id":24365},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":21,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":24371},"textColor":{"__isSmartRef__":true,"id":24368},"owner":{"__isSmartRef__":true,"id":24363},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":24372}],"padding":{"__isSmartRef__":true,"id":24374},"_Padding":{"__isSmartRef__":true,"id":24375},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":24376},"_FontFamily":"Helvetica, Sans-Serif","renderContextTable":{"__isSmartRef__":true,"id":24377},"_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":24378},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":21,"_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","B4C4F09B-F663-47A1-B85F-461D5452F5F8","FD966AB1-4685-4151-9A38-B1B21B0237EF","CA91FC2C-D7CC-4123-AFD2-108F8F0C2E97"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"24365":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":24366},"_Extent":{"__isSmartRef__":true,"id":24367},"_BorderColor":{"__isSmartRef__":true,"id":24368},"renderContextTable":{"__isSmartRef__":true,"id":24369},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":24370},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"24366":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24367":{"x":25,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"24368":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24369":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"24370":{"x":2,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24371":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24372":{"style":{"__isSmartRef__":true,"id":24373},"chunkOwner":{"__isSmartRef__":true,"id":24364},"storedString":"-","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"24373":{"__SourceModuleName__":"Global.lively.morphic.TextCore","textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis"},"24374":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24375":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24376":{"x":25,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24377":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"24378":{"morph":{"__isSmartRef__":true,"id":24364},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"24379":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":24380},"_Extent":{"__isSmartRef__":true,"id":24381},"_Fill":{"__isSmartRef__":true,"id":24382},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":24392},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":24393},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":24394},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"24380":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24381":{"x":25,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24382":{"stops":[{"__isSmartRef__":true,"id":24383},{"__isSmartRef__":true,"id":24385},{"__isSmartRef__":true,"id":24387},{"__isSmartRef__":true,"id":24389}],"vector":{"__isSmartRef__":true,"id":24391},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"24383":{"offset":0,"color":{"__isSmartRef__":true,"id":24384}},"24384":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24385":{"offset":0.4,"color":{"__isSmartRef__":true,"id":24386}},"24386":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24387":{"offset":0.6,"color":{"__isSmartRef__":true,"id":24388}},"24388":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24389":{"offset":1,"color":{"__isSmartRef__":true,"id":24390}},"24390":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24391":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24392":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24393":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"24394":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24395":{"x":160,"y":40,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24396":{"stops":[{"__isSmartRef__":true,"id":24397},{"__isSmartRef__":true,"id":24399},{"__isSmartRef__":true,"id":24401},{"__isSmartRef__":true,"id":24403}],"vector":{"__isSmartRef__":true,"id":24391},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"24397":{"offset":0,"color":{"__isSmartRef__":true,"id":24398}},"24398":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24399":{"offset":0.4,"color":{"__isSmartRef__":true,"id":24400}},"24400":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24401":{"offset":0.6,"color":{"__isSmartRef__":true,"id":24402}},"24402":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24403":{"offset":1,"color":{"__isSmartRef__":true,"id":24404}},"24404":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24405":{"sourceObj":{"__isSmartRef__":true,"id":24363},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":24363},"targetMethodName":"deleteSelectedScript","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":24406},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"24406":{"source":{"__isSmartRef__":true,"id":24363},"target":{"__isSmartRef__":true,"id":24363}},"24407":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24408":{"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"},"24409":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"24410":{"x":30,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24411":{"morph":{"__isSmartRef__":true,"id":24363},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"24412":{"x":33.35839679439101,"y":-21.324811622839547,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24413":{"deleteSelectedScript":{"__isSmartRef__":true,"id":24414}},"24414":{"varMapping":{"__isSmartRef__":true,"id":24415},"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":24416},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24415":{"this":{"__isSmartRef__":true,"id":24363}},"24416":{"timestamp":{"__isSmartRef__":true,"id":24417},"user":"lauritz"},"24417":{"isSerializedDate":true,"string":"Thu Nov 17 2011 18:12:21 GMT+0100 (CET)"},"24418":{"submorphs":[{"__isSmartRef__":true,"id":24419}],"scripts":[],"id":"074BC164-36A6-4849-A637-970600F90F80","shape":{"__isSmartRef__":true,"id":24433},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":24449},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":24436},"lighterFill":{"__isSmartRef__":true,"id":24450},"label":{"__isSmartRef__":true,"id":24419},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":24459},"name":"ObjectEditorMorphSelector","partsBinMetaInfo":{"__isSmartRef__":true,"id":24460},"list":[],"renderContextTable":{"__isSmartRef__":true,"id":24461},"eventHandler":{"__isSmartRef__":true,"id":24462},"distanceToDragEvent":{"__isSmartRef__":true,"id":24463},"priorExtent":{"__isSmartRef__":true,"id":24464},"owner":{"__isSmartRef__":true,"id":23321},"textString":"","selection":{"__isSmartRef__":true,"id":24465},"_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","A50C1893-4138-4E29-865B-92F53F76D08A","1EC5D2B9-3539-419A-8DD6-CE82DEABB02C","95DC06D5-F4C7-49E2-8A01-110D1B0AFBD0"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":24482},"__LivelyClassName__":"lively.morphic.Button"},"24419":{"submorphs":[],"scripts":[],"id":"AC632110-0AA5-48DC-B007-93D8A996FE86","shape":{"__isSmartRef__":true,"id":24420},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":220,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":24425},"textColor":{"__isSmartRef__":true,"id":24423},"owner":{"__isSmartRef__":true,"id":24418},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":24426}],"padding":{"__isSmartRef__":true,"id":24428},"_Padding":{"__isSmartRef__":true,"id":24428},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":24429},"attributeConnections":[{"__isSmartRef__":true,"id":24430}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"renderContextTable":{"__isSmartRef__":true,"id":24431},"eventHandler":{"__isSmartRef__":true,"id":24432},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":220,"_MinTextHeight":null,"_Align":"left","_FontFamily":"Arial","_FontSize":10,"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","74158C3D-B79E-43E7-B111-48701B10ACE2","B19E117B-E40F-4B9F-86AC-BFB2AAFD5336","4E3B3D72-E52C-44ED-AE32-78939BA1ECFD"],"_TextColor":{"__isSmartRef__":true,"id":778},"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"24420":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":24421},"_Extent":{"__isSmartRef__":true,"id":24422},"_BorderColor":{"__isSmartRef__":true,"id":24423},"renderContextTable":{"__isSmartRef__":true,"id":24424},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":18625},"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"24421":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24422":{"x":220,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"24423":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24424":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"24425":{"x":2,"y":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24426":{"style":{"__isSmartRef__":true,"id":24427},"chunkOwner":{"__isSmartRef__":true,"id":24419},"storedString":"Header","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"24427":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"24428":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24429":{"x":220,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"24430":{"sourceObj":{"__isSmartRef__":true,"id":24419},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":24418},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"24431":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"24432":{"morph":{"__isSmartRef__":true,"id":24419},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"24433":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":24434},"_Extent":{"__isSmartRef__":true,"id":24435},"_Fill":{"__isSmartRef__":true,"id":24436},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":24446},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":24447},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":24448},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"24434":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24435":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24436":{"stops":[{"__isSmartRef__":true,"id":24437},{"__isSmartRef__":true,"id":24439},{"__isSmartRef__":true,"id":24441},{"__isSmartRef__":true,"id":24443}],"vector":{"__isSmartRef__":true,"id":24445},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"24437":{"offset":0,"color":{"__isSmartRef__":true,"id":24438}},"24438":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24439":{"offset":0.4,"color":{"__isSmartRef__":true,"id":24440}},"24440":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24441":{"offset":0.6,"color":{"__isSmartRef__":true,"id":24442}},"24442":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24443":{"offset":1,"color":{"__isSmartRef__":true,"id":24444}},"24444":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24445":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24446":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24447":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"24448":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24449":{"x":240.1308656788165,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24450":{"stops":[{"__isSmartRef__":true,"id":24451},{"__isSmartRef__":true,"id":24453},{"__isSmartRef__":true,"id":24455},{"__isSmartRef__":true,"id":24457}],"vector":{"__isSmartRef__":true,"id":24445},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"24451":{"offset":0,"color":{"__isSmartRef__":true,"id":24452}},"24452":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24453":{"offset":0.4,"color":{"__isSmartRef__":true,"id":24454}},"24454":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24455":{"offset":0.6,"color":{"__isSmartRef__":true,"id":24456}},"24456":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24457":{"offset":1,"color":{"__isSmartRef__":true,"id":24458}},"24458":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24459":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24460":{"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"},"24461":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"24462":{"morph":{"__isSmartRef__":true,"id":24418},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"24463":{"x":122.93118375058827,"y":-11.582832083333244,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24464":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24465":{"submorphs":[],"scripts":[],"id":181,"shape":{"__isSmartRef__":true,"id":24466},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":24472},"_MaxTextWidth":580,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":24473},"showsHalos":false,"_FontSize":28,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Title","partsBinMetaInfo":{"__isSmartRef__":true,"id":24474},"_TextColor":{"__isSmartRef__":true,"id":24475},"renderContextTable":{"__isSmartRef__":true,"id":24476},"textChunks":[{"__isSmartRef__":true,"id":24477}],"eventHandler":{"__isSmartRef__":true,"id":24479},"priorExtent":{"__isSmartRef__":true,"id":24480},"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":24481},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","isCopyMorphRef":true,"morphRefId":2,"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.Text"},"24466":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":24467},"_Extent":{"__isSmartRef__":true,"id":24468},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":24469},"renderContextTable":{"__isSmartRef__":true,"id":24470},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":24471},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"24467":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24468":{"x":580,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24469":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24470":{"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"},"24471":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24472":{"x":37,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24473":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24474":{"partsSpaceName":"PartsBin/Worlds/","__SourceModuleName__":"Global.lively.PartsBin","comment":"For example a world title.","partName":"Title","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"24475":{"r":0,"g":0.309,"b":0.595,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24476":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"24477":{"style":{"__isSmartRef__":true,"id":24478},"chunkOwner":{"__isSmartRef__":true,"id":24465},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"24478":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"24479":{"morph":{"__isSmartRef__":true,"id":24465},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"24480":{"x":580,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24481":{"x":221,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24482":{"createListMorph":{"__isSmartRef__":true,"id":24483},"getList":{"__isSmartRef__":true,"id":24487},"removeList":{"__isSmartRef__":true,"id":24491},"reset":{"__isSmartRef__":true,"id":24495},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":24499},"onMouseDown":{"__isSmartRef__":true,"id":24503},"setTargetOfPane":{"__isSmartRef__":true,"id":24511},"setTargetToListSelection":{"__isSmartRef__":true,"id":24515},"onBlur":{"__isSmartRef__":true,"id":24519},"setTarget":{"__isSmartRef__":true,"id":24527},"setTargetOnSelection":{"__isSmartRef__":true,"id":24531}},"24483":{"varMapping":{"__isSmartRef__":true,"id":24484},"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":24485},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24484":{"this":{"__isSmartRef__":true,"id":24418}},"24485":{"timestamp":{"__isSmartRef__":true,"id":24486},"user":"lauritz","tags":[]},"24486":{"isSerializedDate":true,"string":"Tue Dec 13 2011 18:55:41 GMT+0100 (CET)"},"24487":{"varMapping":{"__isSmartRef__":true,"id":24488},"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":24489},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24488":{"this":{"__isSmartRef__":true,"id":24418}},"24489":{"timestamp":{"__isSmartRef__":true,"id":24490},"user":"lauritz","tags":[]},"24490":{"isSerializedDate":true,"string":"Mon Nov 21 2011 23:12:23 GMT+0100 (CET)"},"24491":{"varMapping":{"__isSmartRef__":true,"id":24492},"source":"function removeList() {\n this.listMorph && this.listMorph.remove();\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":24493},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24492":{"this":{"__isSmartRef__":true,"id":24418}},"24493":{"timestamp":{"__isSmartRef__":true,"id":24494},"user":"lauritz","tags":[]},"24494":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:51:07 GMT+0100 (CET)"},"24495":{"varMapping":{"__isSmartRef__":true,"id":24496},"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":24497},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24496":{"this":{"__isSmartRef__":true,"id":24418}},"24497":{"timestamp":{"__isSmartRef__":true,"id":24498},"user":"lauritz","tags":[]},"24498":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:34:06 GMT+0100 (CET)"},"24499":{"varMapping":{"__isSmartRef__":true,"id":24500},"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":24501},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24500":{"this":{"__isSmartRef__":true,"id":24418}},"24501":{"timestamp":{"__isSmartRef__":true,"id":24502},"user":"lauritz","tags":[]},"24502":{"isSerializedDate":true,"string":"Tue Dec 13 2011 18:53:20 GMT+0100 (CET)"},"24503":{"varMapping":{"__isSmartRef__":true,"id":24504},"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":24509},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24504":{"this":{"__isSmartRef__":true,"id":24418},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":24505}},"24505":{"$super":{"__isSmartRef__":true,"id":24506}},"24506":{"varMapping":{"__isSmartRef__":true,"id":24507},"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":24508},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24507":{"obj":{"__isSmartRef__":true,"id":24418},"name":"onMouseDown"},"24508":{},"24509":{"timestamp":{"__isSmartRef__":true,"id":24510},"user":"lauritz","tags":[]},"24510":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:30:39 GMT+0100 (CET)"},"24511":{"varMapping":{"__isSmartRef__":true,"id":24512},"source":"function setTargetOfPane(selection) {\n this.owner.setTarget(selection);\n this.label.setAlign('left');\n}","funcProperties":{"__isSmartRef__":true,"id":24513},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24512":{"this":{"__isSmartRef__":true,"id":24418}},"24513":{"timestamp":{"__isSmartRef__":true,"id":24514},"user":"lauritz","tags":[]},"24514":{"isSerializedDate":true,"string":"Wed Dec 07 2011 04:30:42 GMT+0100 (CET)"},"24515":{"varMapping":{"__isSmartRef__":true,"id":24516},"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":24517},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24516":{"this":{"__isSmartRef__":true,"id":24418}},"24517":{"timestamp":{"__isSmartRef__":true,"id":24518},"user":"lauritz","tags":[]},"24518":{"isSerializedDate":true,"string":"Wed Dec 07 2011 06:06:48 GMT+0100 (CET)"},"24519":{"varMapping":{"__isSmartRef__":true,"id":24520},"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":24525},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24520":{"this":{"__isSmartRef__":true,"id":24418},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":24521}},"24521":{"$super":{"__isSmartRef__":true,"id":24522}},"24522":{"varMapping":{"__isSmartRef__":true,"id":24523},"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":24524},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24523":{"obj":{"__isSmartRef__":true,"id":24418},"name":"onBlur"},"24524":{},"24525":{"timestamp":{"__isSmartRef__":true,"id":24526},"user":"lauritz","tags":[]},"24526":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:30:08 GMT+0100 (CET)"},"24527":{"varMapping":{"__isSmartRef__":true,"id":24528},"source":"function setTarget(target) {\n this.label.setTextString(target.getName() || target.toString());\n}","funcProperties":{"__isSmartRef__":true,"id":24529},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24528":{"this":{"__isSmartRef__":true,"id":24418}},"24529":{"timestamp":{"__isSmartRef__":true,"id":24530},"user":"lauritz","tags":[]},"24530":{"isSerializedDate":true,"string":"Wed Dec 07 2011 04:29:39 GMT+0100 (CET)"},"24531":{"varMapping":{"__isSmartRef__":true,"id":24532},"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":24533},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24532":{"this":{"__isSmartRef__":true,"id":24418}},"24533":{"timestamp":{"__isSmartRef__":true,"id":24534},"user":"lauritz","tags":[]},"24534":{"isSerializedDate":true,"string":"Wed Dec 07 2011 06:12:06 GMT+0100 (CET)"},"24535":{"submorphs":[],"scripts":[],"id":"B56AA4E0-7052-4277-B137-54B067C30614","shape":{"__isSmartRef__":true,"id":24536},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":24542},"_MaxTextWidth":64.8979476392384,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":24539},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorScriptsText1","partsBinMetaInfo":{"__isSmartRef__":true,"id":24543},"textChunks":[{"__isSmartRef__":true,"id":24544}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":24546},"renderContextTable":{"__isSmartRef__":true,"id":24547},"eventHandler":{"__isSmartRef__":true,"id":24548},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_MinTextHeight":null,"_ClipMode":"visible","draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":24549},"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":23321},"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","36D1ECF9-591F-426B-A4F6-B337D7DB053B","CB52849C-BE64-4053-8D07-758F969F84EB","F1C241D4-A689-4DB7-942F-ADB5F39D9CAA"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"24536":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":24537},"_Extent":{"__isSmartRef__":true,"id":24538},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":24539},"renderContextTable":{"__isSmartRef__":true,"id":24540},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":24541},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"24537":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24538":{"x":64.8979476392384,"y":15,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"24539":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24540":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"24541":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24542":{"x":198.16434648623274,"y":12.911539589748486,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24543":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"24544":{"style":{"__isSmartRef__":true,"id":24545},"chunkOwner":{"__isSmartRef__":true,"id":24535},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Target:","__LivelyClassName__":"lively.morphic.TextChunk"},"24545":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"24546":{"x":64.8979476392384,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24547":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"24548":{"morph":{"__isSmartRef__":true,"id":24535},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"24549":{"x":41.065989525935834,"y":-10.506047005169194,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24550":{"submorphs":[],"scripts":[],"id":"A8BEFBE8-E73E-4314-9432-7A9EEF8AE58E","shape":{"__isSmartRef__":true,"id":24551},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":24557},"_MaxTextWidth":64.8979476392384,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":24554},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorScriptsText2","partsBinMetaInfo":{"__isSmartRef__":true,"id":24558},"textChunks":[{"__isSmartRef__":true,"id":24559}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":24561},"renderContextTable":{"__isSmartRef__":true,"id":24562},"eventHandler":{"__isSmartRef__":true,"id":24563},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_MinTextHeight":null,"_ClipMode":"visible","draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":24564},"eventsAreIgnored":true,"isCopyMorphRef":true,"morphRefId":27,"owner":{"__isSmartRef__":true,"id":23321},"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","75C07D11-AE5D-4A36-B2D0-F2A6EA414E72","494AB1C0-2C09-49DE-B4AA-1F24DC7495FF","25199967-E3BA-4763-A704-37BD3152A5F7"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"24551":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":24552},"_Extent":{"__isSmartRef__":true,"id":24553},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":24554},"renderContextTable":{"__isSmartRef__":true,"id":24555},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":24556},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"24552":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24553":{"x":64.8979476392384,"y":15,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"24554":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24555":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"24556":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24557":{"x":10,"y":12.911539589749026,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24558":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"24559":{"style":{"__isSmartRef__":true,"id":24560},"chunkOwner":{"__isSmartRef__":true,"id":24550},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Tag:","__LivelyClassName__":"lively.morphic.TextChunk"},"24560":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"24561":{"x":64.8979476392384,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24562":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"24563":{"morph":{"__isSmartRef__":true,"id":24550},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"24564":{"x":45.76052154281416,"y":-27.783027415339603,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24565":{"submorphs":[{"__isSmartRef__":true,"id":24566}],"scripts":[],"id":"8E922665-4AB3-43E9-932F-87DD8C323014","shape":{"__isSmartRef__":true,"id":24580},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":24596},"value":true,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":24597},"lighterFill":{"__isSmartRef__":true,"id":24583},"label":{"__isSmartRef__":true,"id":24566},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":24606},"name":"ObjectEditorTagChooser","partsBinMetaInfo":{"__isSmartRef__":true,"id":24607},"listMorph":null,"list":[],"renderContextTable":{"__isSmartRef__":true,"id":24608},"eventHandler":{"__isSmartRef__":true,"id":24609},"distanceToDragEvent":{"__isSmartRef__":true,"id":24610},"priorExtent":{"__isSmartRef__":true,"id":24611},"textString":"PartsBinBrowser","selection":"","_ClipMode":"visible","prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":23321},"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","C66EBEEC-B7CE-4DD9-8BDF-905F071F965D","D68B143A-A712-4FD0-8803-62CCB4C7F763","ED802271-AE5C-4BE9-AC4E-7CED44BC864B"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":24612},"__LivelyClassName__":"lively.morphic.Button"},"24566":{"submorphs":[],"scripts":[],"id":"134533BB-B15E-437B-9793-5482C470D091","shape":{"__isSmartRef__":true,"id":24567},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":130,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":24572},"textColor":{"__isSmartRef__":true,"id":24570},"owner":{"__isSmartRef__":true,"id":24565},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":24573}],"padding":{"__isSmartRef__":true,"id":24575},"_Padding":{"__isSmartRef__":true,"id":24575},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":24576},"attributeConnections":[{"__isSmartRef__":true,"id":24577}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"renderContextTable":{"__isSmartRef__":true,"id":24578},"eventHandler":{"__isSmartRef__":true,"id":24579},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":130,"_MinTextHeight":null,"_Align":"left","_FontFamily":"Arial","_FontSize":10,"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","567FC668-A57C-41CB-8252-8912826B3144","D0B0775F-C8E7-49EB-BBB2-C7BB7DD464BF","AABED87D-D7C0-494A-8803-26F4601E35FF"],"_TextColor":{"__isSmartRef__":true,"id":778},"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"24567":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":24568},"_Extent":{"__isSmartRef__":true,"id":24569},"_BorderColor":{"__isSmartRef__":true,"id":24570},"renderContextTable":{"__isSmartRef__":true,"id":24571},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":18625},"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"24568":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24569":{"x":130,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"24570":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24571":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"24572":{"x":2,"y":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24573":{"style":{"__isSmartRef__":true,"id":24574},"chunkOwner":{"__isSmartRef__":true,"id":24566},"storedString":"all","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"24574":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"24575":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24576":{"x":130,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"24577":{"sourceObj":{"__isSmartRef__":true,"id":24566},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":24565},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"24578":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"24579":{"morph":{"__isSmartRef__":true,"id":24566},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"24580":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":24581},"_Extent":{"__isSmartRef__":true,"id":24582},"_Fill":{"__isSmartRef__":true,"id":24583},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":24593},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":24594},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":24595},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"24581":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24582":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24583":{"stops":[{"__isSmartRef__":true,"id":24584},{"__isSmartRef__":true,"id":24586},{"__isSmartRef__":true,"id":24588},{"__isSmartRef__":true,"id":24590}],"vector":{"__isSmartRef__":true,"id":24592},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"24584":{"offset":0,"color":{"__isSmartRef__":true,"id":24585}},"24585":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24586":{"offset":0.4,"color":{"__isSmartRef__":true,"id":24587}},"24587":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24588":{"offset":0.6,"color":{"__isSmartRef__":true,"id":24589}},"24589":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24590":{"offset":1,"color":{"__isSmartRef__":true,"id":24591}},"24591":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24592":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24593":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24594":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"24595":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24596":{"x":39.12381412396891,"y":10.000000000000057,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24597":{"stops":[{"__isSmartRef__":true,"id":24598},{"__isSmartRef__":true,"id":24600},{"__isSmartRef__":true,"id":24602},{"__isSmartRef__":true,"id":24604}],"vector":{"__isSmartRef__":true,"id":24592},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"24598":{"offset":0,"color":{"__isSmartRef__":true,"id":24599}},"24599":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24600":{"offset":0.4,"color":{"__isSmartRef__":true,"id":24601}},"24601":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24602":{"offset":0.6,"color":{"__isSmartRef__":true,"id":24603}},"24603":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24604":{"offset":1,"color":{"__isSmartRef__":true,"id":24605}},"24605":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24606":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24607":{"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"},"24608":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"24609":{"morph":{"__isSmartRef__":true,"id":24565},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"24610":{"x":85.7442776093583,"y":-11.582832083333244,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24611":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24612":{"createListMorph":{"__isSmartRef__":true,"id":24613},"getList":{"__isSmartRef__":true,"id":24617},"removeList":{"__isSmartRef__":true,"id":24621},"reset":{"__isSmartRef__":true,"id":24625},"onMouseUp":{"__isSmartRef__":true,"id":24629},"onBlur":{"__isSmartRef__":true,"id":24637},"setTag":{"__isSmartRef__":true,"id":24645}},"24613":{"varMapping":{"__isSmartRef__":true,"id":24614},"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":24615},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24614":{"this":{"__isSmartRef__":true,"id":24565}},"24615":{"timestamp":{"__isSmartRef__":true,"id":24616},"user":"lauritz","categories":[]},"24616":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:35:59 GMT+0100 (CET)"},"24617":{"varMapping":{"__isSmartRef__":true,"id":24618},"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":24619},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24618":{"this":{"__isSmartRef__":true,"id":24565}},"24619":{"timestamp":{"__isSmartRef__":true,"id":24620},"user":"lauritz","tags":[]},"24620":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:27:25 GMT+0100 (CET)"},"24621":{"varMapping":{"__isSmartRef__":true,"id":24622},"source":"function removeList() {\n this.listMorph && this.listMorph.remove()\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":24623},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24622":{"this":{"__isSmartRef__":true,"id":24565}},"24623":{"timestamp":{"__isSmartRef__":true,"id":24624},"user":"lauritz","categories":[]},"24624":{"isSerializedDate":true,"string":"Thu Nov 17 2011 19:06:51 GMT+0100 (CET)"},"24625":{"varMapping":{"__isSmartRef__":true,"id":24626},"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":24627},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24626":{"this":{"__isSmartRef__":true,"id":24565}},"24627":{"timestamp":{"__isSmartRef__":true,"id":24628},"user":"lauritz","tags":[]},"24628":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:27:53 GMT+0100 (CET)"},"24629":{"varMapping":{"__isSmartRef__":true,"id":24630},"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":24635},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24630":{"this":{"__isSmartRef__":true,"id":24565},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":24631}},"24631":{"$super":{"__isSmartRef__":true,"id":24632}},"24632":{"varMapping":{"__isSmartRef__":true,"id":24633},"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":24634},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24633":{"obj":{"__isSmartRef__":true,"id":24565},"name":"onMouseUp"},"24634":{},"24635":{"timestamp":{"__isSmartRef__":true,"id":24636},"user":"lauritz","categories":[]},"24636":{"isSerializedDate":true,"string":"Thu Nov 17 2011 18:59:16 GMT+0100 (CET)"},"24637":{"varMapping":{"__isSmartRef__":true,"id":24638},"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":24643},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24638":{"this":{"__isSmartRef__":true,"id":24565},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":24639}},"24639":{"$super":{"__isSmartRef__":true,"id":24640}},"24640":{"varMapping":{"__isSmartRef__":true,"id":24641},"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":24642},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24641":{"obj":{"__isSmartRef__":true,"id":24565},"name":"onBlur"},"24642":{},"24643":{"timestamp":{"__isSmartRef__":true,"id":24644},"user":"lauritz","categories":[]},"24644":{"isSerializedDate":true,"string":"Mon Nov 21 2011 23:10:03 GMT+0100 (CET)"},"24645":{"varMapping":{"__isSmartRef__":true,"id":24646},"source":"function setTag(tag) {\n this.setLabel(tag || '');\n this.label.setAlign('left');\n this.owner.setTag(tag);\n}","funcProperties":{"__isSmartRef__":true,"id":24647},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24646":{"this":{"__isSmartRef__":true,"id":24565}},"24647":{"timestamp":{"__isSmartRef__":true,"id":24648},"user":"lauritz","categories":[]},"24648":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:36:12 GMT+0100 (CET)"},"24649":{"submorphs":[{"__isSmartRef__":true,"id":24650}],"scripts":[],"id":"C645CA67-9BBB-4DD8-8785-7BEEBD28E099","shape":{"__isSmartRef__":true,"id":24665},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":24669},"lighterFill":{"__isSmartRef__":true,"id":24681},"label":{"__isSmartRef__":true,"id":24650},"name":"Button","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":24690},"attributeConnections":[{"__isSmartRef__":true,"id":24691}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":24727},"renderContextTable":{"__isSmartRef__":true,"id":24728},"eventHandler":{"__isSmartRef__":true,"id":24729},"distanceToDragEvent":{"__isSmartRef__":true,"id":24730},"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","1C6D1DC9-2F9B-4DC4-B453-1CA45B17C516","0E8EC0BF-934B-410B-AEC2-0ECA8C8F774D","97086CE7-CD46-4035-A371-02A41D555A66"],"_Position":{"__isSmartRef__":true,"id":24731},"owner":{"__isSmartRef__":true,"id":23321},"layout":{"__isSmartRef__":true,"id":24732},"_ClipMode":"visible","_Rotation":0,"_Scale":0.994014980014994,"__LivelyClassName__":"lively.morphic.Button"},"24650":{"submorphs":[],"scripts":[],"id":"32ECA4D6-0398-4FF4-A1A1-88DE81DAA197","shape":{"__isSmartRef__":true,"id":24651},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":24657},"_MaxTextWidth":97,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":24658},"_Padding":{"__isSmartRef__":true,"id":24659},"owner":{"__isSmartRef__":true,"id":24649},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":24660},"textChunks":[{"__isSmartRef__":true,"id":24661}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":24663},"eventHandler":{"__isSmartRef__":true,"id":24664},"_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","81041CF7-31DB-4F65-BB39-FE438A4F266F","D03829B3-268E-40A0-A440-3E4BAC344F30","714637F0-714A-4833-909B-BA4AF1B4628B"],"_MinTextWidth":97,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"24651":{"position":{"__isSmartRef__":true,"id":24652},"_Extent":{"__isSmartRef__":true,"id":24653},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":24654},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":24655},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":24656},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"24652":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24653":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"24654":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24655":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"24656":{"x":2,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24657":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24658":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24659":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24660":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24661":{"style":{"__isSmartRef__":true,"id":24662},"chunkOwner":{"__isSmartRef__":true,"id":24650},"storedString":"run","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"24662":{"__SourceModuleName__":"Global.lively.morphic.TextCore","textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis"},"24663":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"24664":{"morph":{"__isSmartRef__":true,"id":24650},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"24665":{"position":{"__isSmartRef__":true,"id":24666},"_Extent":{"__isSmartRef__":true,"id":24667},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":24668},"_Fill":{"__isSmartRef__":true,"id":24669},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":24679},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":24680},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"24666":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24667":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24668":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24669":{"stops":[{"__isSmartRef__":true,"id":24670},{"__isSmartRef__":true,"id":24672},{"__isSmartRef__":true,"id":24674},{"__isSmartRef__":true,"id":24676}],"vector":{"__isSmartRef__":true,"id":24678},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"24670":{"offset":0,"color":{"__isSmartRef__":true,"id":24671}},"24671":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24672":{"offset":0.4,"color":{"__isSmartRef__":true,"id":24673}},"24673":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24674":{"offset":0.6,"color":{"__isSmartRef__":true,"id":24675}},"24675":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24676":{"offset":1,"color":{"__isSmartRef__":true,"id":24677}},"24677":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24678":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24679":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"24680":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24681":{"stops":[{"__isSmartRef__":true,"id":24682},{"__isSmartRef__":true,"id":24684},{"__isSmartRef__":true,"id":24686},{"__isSmartRef__":true,"id":24688}],"vector":{"__isSmartRef__":true,"id":24678},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"24682":{"offset":0,"color":{"__isSmartRef__":true,"id":24683}},"24683":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24684":{"offset":0.4,"color":{"__isSmartRef__":true,"id":24685}},"24685":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24686":{"offset":0.6,"color":{"__isSmartRef__":true,"id":24687}},"24687":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24688":{"offset":1,"color":{"__isSmartRef__":true,"id":24689}},"24689":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24690":{"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"},"24691":{"sourceObj":{"__isSmartRef__":true,"id":24649},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":23321},"targetMethodName":"runScript","visualConnector":{"__isSmartRef__":true,"id":24692},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"24692":{"submorphs":[{"__isSmartRef__":true,"id":24693}],"scripts":[],"shape":{"__isSmartRef__":true,"id":24708},"derivationIds":[null],"id":"C89B50A0-17E7-4D22-AE1D-5112520DAEE7","renderContextTable":{"__isSmartRef__":true,"id":24715},"eventHandler":{"__isSmartRef__":true,"id":24716},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":24717},{"__isSmartRef__":true,"id":24718}],"con":{"__isSmartRef__":true,"id":24691},"showsMorphMenu":true,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":24719},"__LivelyClassName__":"lively.morphic.Path"},"24693":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":24694},"derivationIds":[null],"id":"2A71BE9E-6820-46AF-ACED-3C9BDCC918AF","renderContextTable":{"__isSmartRef__":true,"id":24705},"eventHandler":{"__isSmartRef__":true,"id":24706},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":24707},"owner":{"__isSmartRef__":true,"id":24692},"_Rotation":-3.130064002485303,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"24694":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":24695},{"__isSmartRef__":true,"id":24696},{"__isSmartRef__":true,"id":24697},{"__isSmartRef__":true,"id":24698}],"renderContextTable":{"__isSmartRef__":true,"id":24699},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":24700},"_Extent":{"__isSmartRef__":true,"id":24701},"_Padding":{"__isSmartRef__":true,"id":24702},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":24703},"_Fill":{"__isSmartRef__":true,"id":24704},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"24695":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"24696":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"24697":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"24698":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"24699":{"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"},"24700":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24701":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24702":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24703":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24704":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24705":{"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"},"24706":{"morph":{"__isSmartRef__":true,"id":24693},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"24707":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24708":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":24709},{"__isSmartRef__":true,"id":24710}],"renderContextTable":{"__isSmartRef__":true,"id":24711},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":24712},"_Extent":{"__isSmartRef__":true,"id":24713},"_Padding":{"__isSmartRef__":true,"id":24714},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":24703},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"24709":{"isAbsolute":true,"x":829.7085000406639,"y":9.565843617262885,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"24710":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"24711":{"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"},"24712":{"x":-1,"y":-1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24713":{"x":831,"y":11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24714":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24715":{"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"},"24716":{"morph":{"__isSmartRef__":true,"id":24692},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"24717":{"morph":{"__isSmartRef__":true,"id":24692},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"24718":{"morph":{"__isSmartRef__":true,"id":24692},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":24693},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"24719":{"morphMenuItems":{"__isSmartRef__":true,"id":24720}},"24720":{"varMapping":{"__isSmartRef__":true,"id":24721},"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":24726},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24721":{"this":{"__isSmartRef__":true,"id":24692},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":24722}},"24722":{"$super":{"__isSmartRef__":true,"id":24723}},"24723":{"varMapping":{"__isSmartRef__":true,"id":24724},"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":24725},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24724":{"obj":{"__isSmartRef__":true,"id":24692},"name":"morphMenuItems"},"24725":{},"24726":{},"24727":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24728":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"24729":{"morph":{"__isSmartRef__":true,"id":24649},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"24730":{"x":71.99397894387357,"y":-13.030105280631261,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24731":{"x":788.7426780861911,"y":9.508591852040126,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24732":{"centeredHorizontal":false,"moveHorizontal":true},"24733":{"submorphs":[{"__isSmartRef__":true,"id":24734}],"scripts":[],"id":"FCF4F8AF-D775-4436-8707-BD764AEC721E","shape":{"__isSmartRef__":true,"id":24749},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":24753},"lighterFill":{"__isSmartRef__":true,"id":24765},"label":{"__isSmartRef__":true,"id":24734},"name":"saveButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":24774},"attributeConnections":[{"__isSmartRef__":true,"id":24775}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":24811},"renderContextTable":{"__isSmartRef__":true,"id":24812},"eventHandler":{"__isSmartRef__":true,"id":24813},"distanceToDragEvent":{"__isSmartRef__":true,"id":24814},"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","B05829EB-D452-4D81-983B-E2CE425C8260","32B117E5-52D8-4843-B80E-090B9817E099","49AC923E-5272-4E3C-8F02-4F2AED2BC4E9"],"layout":{"__isSmartRef__":true,"id":24815},"_Position":{"__isSmartRef__":true,"id":24816},"owner":{"__isSmartRef__":true,"id":23321},"_ClipMode":"visible","_Rotation":0,"_Scale":0.9880657804942089,"__LivelyClassName__":"lively.morphic.Button"},"24734":{"submorphs":[],"scripts":[],"id":"08590B8F-BDB1-4250-8665-C9FA5FA5157D","shape":{"__isSmartRef__":true,"id":24735},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":24741},"_MaxTextWidth":97,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":24742},"_Padding":{"__isSmartRef__":true,"id":24743},"owner":{"__isSmartRef__":true,"id":24733},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":24744},"textChunks":[{"__isSmartRef__":true,"id":24745}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":24747},"eventHandler":{"__isSmartRef__":true,"id":24748},"_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","4529D79B-4CC5-467E-91F8-661C3A5F49F8","1E5E570C-FD42-45E3-A7F6-768BB14ACD14","A13FB4E0-72F2-4E7C-A861-EDCBA1393860"],"_MinTextWidth":97,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"24735":{"position":{"__isSmartRef__":true,"id":24736},"_Extent":{"__isSmartRef__":true,"id":24737},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":24738},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":24739},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":24740},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"24736":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24737":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"24738":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24739":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"24740":{"x":2,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24741":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24742":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24743":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24744":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24745":{"style":{"__isSmartRef__":true,"id":24746},"chunkOwner":{"__isSmartRef__":true,"id":24734},"storedString":"save","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"24746":{"__SourceModuleName__":"Global.lively.morphic.TextCore","textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis"},"24747":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"24748":{"morph":{"__isSmartRef__":true,"id":24734},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"24749":{"position":{"__isSmartRef__":true,"id":24750},"_Extent":{"__isSmartRef__":true,"id":24751},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":24752},"_Fill":{"__isSmartRef__":true,"id":24753},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":24763},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":24764},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"24750":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24751":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24752":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24753":{"stops":[{"__isSmartRef__":true,"id":24754},{"__isSmartRef__":true,"id":24756},{"__isSmartRef__":true,"id":24758},{"__isSmartRef__":true,"id":24760}],"vector":{"__isSmartRef__":true,"id":24762},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"24754":{"offset":0,"color":{"__isSmartRef__":true,"id":24755}},"24755":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24756":{"offset":0.4,"color":{"__isSmartRef__":true,"id":24757}},"24757":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24758":{"offset":0.6,"color":{"__isSmartRef__":true,"id":24759}},"24759":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24760":{"offset":1,"color":{"__isSmartRef__":true,"id":24761}},"24761":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24762":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24763":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"24764":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24765":{"stops":[{"__isSmartRef__":true,"id":24766},{"__isSmartRef__":true,"id":24768},{"__isSmartRef__":true,"id":24770},{"__isSmartRef__":true,"id":24772}],"vector":{"__isSmartRef__":true,"id":24762},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"24766":{"offset":0,"color":{"__isSmartRef__":true,"id":24767}},"24767":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24768":{"offset":0.4,"color":{"__isSmartRef__":true,"id":24769}},"24769":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24770":{"offset":0.6,"color":{"__isSmartRef__":true,"id":24771}},"24771":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24772":{"offset":1,"color":{"__isSmartRef__":true,"id":24773}},"24773":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24774":{"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"},"24775":{"sourceObj":{"__isSmartRef__":true,"id":24733},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":23817},"targetMethodName":"doSave","visualConnector":{"__isSmartRef__":true,"id":24776},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"24776":{"submorphs":[{"__isSmartRef__":true,"id":24777}],"scripts":[],"shape":{"__isSmartRef__":true,"id":24792},"derivationIds":[null],"id":"F46012D5-C8BE-4E52-BF98-D052FDAAE17A","renderContextTable":{"__isSmartRef__":true,"id":24799},"eventHandler":{"__isSmartRef__":true,"id":24800},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":24801},{"__isSmartRef__":true,"id":24802}],"con":{"__isSmartRef__":true,"id":24775},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":24803},"__LivelyClassName__":"lively.morphic.Path"},"24777":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":24778},"derivationIds":[null],"id":"A2A83C78-09B8-473C-829B-198206D7A9E4","renderContextTable":{"__isSmartRef__":true,"id":24789},"eventHandler":{"__isSmartRef__":true,"id":24790},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":24791},"owner":{"__isSmartRef__":true,"id":24776},"_Rotation":3.077607197692381,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"24778":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":24779},{"__isSmartRef__":true,"id":24780},{"__isSmartRef__":true,"id":24781},{"__isSmartRef__":true,"id":24782}],"renderContextTable":{"__isSmartRef__":true,"id":24783},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":24784},"_Extent":{"__isSmartRef__":true,"id":24785},"_Padding":{"__isSmartRef__":true,"id":24786},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":24787},"_Fill":{"__isSmartRef__":true,"id":24788},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"24779":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"24780":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"24781":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"24782":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"24783":{"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"},"24784":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24785":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24786":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24787":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24788":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24789":{"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"},"24790":{"morph":{"__isSmartRef__":true,"id":24777},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"24791":{"x":201.20421122525056,"y":40.24084224505009,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24792":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":24793},{"__isSmartRef__":true,"id":24794}],"renderContextTable":{"__isSmartRef__":true,"id":24795},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":24796},"_Extent":{"__isSmartRef__":true,"id":24797},"_Padding":{"__isSmartRef__":true,"id":24798},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":24787},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"24793":{"isAbsolute":true,"x":679.4857209639925,"y":9.595948897894004,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"24794":{"isAbsolute":true,"x":201.20421122525056,"y":40.24084224505009,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"24795":{"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"},"24796":{"x":200,"y":9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24797":{"x":480,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24798":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24799":{"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"},"24800":{"morph":{"__isSmartRef__":true,"id":24776},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"24801":{"morph":{"__isSmartRef__":true,"id":24776},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"24802":{"morph":{"__isSmartRef__":true,"id":24776},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":24777},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"24803":{"morphMenuItems":{"__isSmartRef__":true,"id":24804}},"24804":{"varMapping":{"__isSmartRef__":true,"id":24805},"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":24810},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24805":{"this":{"__isSmartRef__":true,"id":24776},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":24806}},"24806":{"$super":{"__isSmartRef__":true,"id":24807}},"24807":{"varMapping":{"__isSmartRef__":true,"id":24808},"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":24809},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24808":{"obj":{"__isSmartRef__":true,"id":24776},"name":"morphMenuItems"},"24809":{},"24810":{},"24811":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24812":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"24813":{"morph":{"__isSmartRef__":true,"id":24733},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"24814":{"x":68.77671624028653,"y":-14.497241813457947,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24815":{"centeredHorizontal":false,"moveHorizontal":true},"24816":{"x":675.4189853444968,"y":9.53851695196505,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24817":{"submorphs":[{"__isSmartRef__":true,"id":24818}],"scripts":[],"id":"A6FF60ED-F281-42C6-B4A4-BD6A906D63FD","shape":{"__isSmartRef__":true,"id":24833},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":24849},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":24837},"lighterFill":{"__isSmartRef__":true,"id":24850},"label":{"__isSmartRef__":true,"id":24818},"name":"openTestsButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":24859},"attributeConnections":[{"__isSmartRef__":true,"id":24860}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":24861},"renderContextTable":{"__isSmartRef__":true,"id":24862},"eventHandler":{"__isSmartRef__":true,"id":24863},"distanceToDragEvent":{"__isSmartRef__":true,"id":24864},"derivationIds":[7251,"84054D2E-8176-440D-B413-279956A34FC2","79434046-F834-490E-B705-0CE871D9E8B3","FF38CA79-C0DF-4F2F-8FC3-407571EF6A54","B1D50332-9F4F-4F7C-AC3F-95DC6C73EAA4","5B8D7C39-987A-4849-BFFD-3F316CE03852"],"owner":{"__isSmartRef__":true,"id":23321},"_ClipMode":"visible","_Rotation":0,"_Scale":0.9940149800149939,"__LivelyClassName__":"lively.morphic.Button"},"24818":{"submorphs":[],"scripts":[],"id":"B06CCF6E-6414-45FD-832A-30133881C343","shape":{"__isSmartRef__":true,"id":24819},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":24825},"_MaxTextWidth":97,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":24826},"_Padding":{"__isSmartRef__":true,"id":24827},"owner":{"__isSmartRef__":true,"id":24817},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":24828},"textChunks":[{"__isSmartRef__":true,"id":24829}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":24831},"eventHandler":{"__isSmartRef__":true,"id":24832},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"0A0A6CB1-BD92-4F39-A425-2EB3D2D4CBA2","CB475566-05CE-43E2-B04D-EE32BC4CB718","6BB077CE-92E6-47BE-BE88-9A48488562D1","9E359973-2FDB-417B-BB06-AB34D52BD310","58F098ED-A190-44F2-B73E-80802B2CF2F6"],"_MinTextWidth":97,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"24819":{"position":{"__isSmartRef__":true,"id":24820},"_Extent":{"__isSmartRef__":true,"id":24821},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":24822},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":24823},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":24824},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"24820":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24821":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"24822":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24823":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"24824":{"x":2,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24825":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24826":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24827":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24828":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24829":{"style":{"__isSmartRef__":true,"id":24830},"chunkOwner":{"__isSmartRef__":true,"id":24818},"storedString":"Tests","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"24830":{"__SourceModuleName__":"Global.lively.morphic.TextCore","textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis"},"24831":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"24832":{"morph":{"__isSmartRef__":true,"id":24818},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"24833":{"position":{"__isSmartRef__":true,"id":24834},"_Extent":{"__isSmartRef__":true,"id":24835},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":24836},"_Fill":{"__isSmartRef__":true,"id":24837},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":24847},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":24848},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"24834":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24835":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24836":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24837":{"stops":[{"__isSmartRef__":true,"id":24838},{"__isSmartRef__":true,"id":24840},{"__isSmartRef__":true,"id":24842},{"__isSmartRef__":true,"id":24844}],"vector":{"__isSmartRef__":true,"id":24846},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"24838":{"offset":0,"color":{"__isSmartRef__":true,"id":24839}},"24839":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24840":{"offset":0.4,"color":{"__isSmartRef__":true,"id":24841}},"24841":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24842":{"offset":0.6,"color":{"__isSmartRef__":true,"id":24843}},"24843":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24844":{"offset":1,"color":{"__isSmartRef__":true,"id":24845}},"24845":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24846":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24847":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"24848":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24849":{"x":510,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24850":{"stops":[{"__isSmartRef__":true,"id":24851},{"__isSmartRef__":true,"id":24853},{"__isSmartRef__":true,"id":24855},{"__isSmartRef__":true,"id":24857}],"vector":{"__isSmartRef__":true,"id":24846},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"24851":{"offset":0,"color":{"__isSmartRef__":true,"id":24852}},"24852":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24853":{"offset":0.4,"color":{"__isSmartRef__":true,"id":24854}},"24854":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24855":{"offset":0.6,"color":{"__isSmartRef__":true,"id":24856}},"24856":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24857":{"offset":1,"color":{"__isSmartRef__":true,"id":24858}},"24858":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24859":{"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"},"24860":{"sourceObj":{"__isSmartRef__":true,"id":24817},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":23321},"targetMethodName":"openPartTestRunner","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"24861":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24862":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"24863":{"morph":{"__isSmartRef__":true,"id":24817},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"24864":{"x":65.95178327801523,"y":-8.024108360992386,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24865":{"target":{"__isSmartRef__":true,"id":23321},"selector":"update","args":[],"stopped":true,"tickTime":500,"currentTimeout":12239,"suspended":true,"__LivelyClassName__":"lively.morphic.TargetScript","__SourceModuleName__":"Global.lively.morphic.Core"},"24866":{"position":{"__isSmartRef__":true,"id":24867},"_Extent":{"__isSmartRef__":true,"id":24868},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":24869},"_Fill":{"__isSmartRef__":true,"id":24870},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":24871},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":24872},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"24867":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24868":{"x":909.0285365288845,"y":526.612532614436,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24869":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"24870":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"24871":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"24872":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24873":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"Edit scripts and connections of a specific morph.","migrationLevel":4,"partName":"ObjectEditorPane","changes":[{"__isSmartRef__":true,"id":24874}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"24874":{"date":{"__isSmartRef__":true,"id":24875},"author":"lauritz","message":"Adapted the update behavior on ticks. Reduces the impact of HTML's autoscroll to selected list items."},"24875":{"isSerializedDate":true,"string":"Fri Oct 21 2011 00:39:30 GMT+0200 (CEST)"},"24876":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"24877":{"morph":{"__isSmartRef__":true,"id":23321},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"24878":{"x":909.0285365288845,"y":526.612532614436,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24879":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"24880":{"x":350.2386236582805,"y":-3.2455173507596555,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24881":{"x":0.971126750461849,"y":21.45669012569269,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24882":{},"24883":{"displayInitialScript":{"__isSmartRef__":true,"id":24884},"displayJavaScriptSource":{"__isSmartRef__":true,"id":24888},"displaySourceForConnection":{"__isSmartRef__":true,"id":24892},"displaySourceForScript":{"__isSmartRef__":true,"id":24896},"generateSourceForConnection":{"__isSmartRef__":true,"id":24900},"generateSourceForScript":{"__isSmartRef__":true,"id":24904},"generateTargetCode":{"__isSmartRef__":true,"id":24908},"newConnection":{"__isSmartRef__":true,"id":24912},"newScript":{"__isSmartRef__":true,"id":24916},"reset":{"__isSmartRef__":true,"id":24920},"selectChangedContent":{"__isSmartRef__":true,"id":24924},"setTarget":{"__isSmartRef__":true,"id":24928},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":24932},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":24936},"updateLists":{"__isSmartRef__":true,"id":24940},"onShutdown":{"__isSmartRef__":true,"id":24944},"confirmUnsavedChanges":{"__isSmartRef__":true,"id":24948},"update":{"__isSmartRef__":true,"id":24952},"ensureAnnotationLayer":{"__isSmartRef__":true,"id":24956},"migrateOldScriptAnnotations":{"__isSmartRef__":true,"id":24960},"copyToPartsBinWithUserRequest":{"__isSmartRef__":true,"id":24964},"printTags":{"__isSmartRef__":true,"id":24972},"setTag":{"__isSmartRef__":true,"id":24976},"runScript":{"__isSmartRef__":true,"id":24980},"openPartTestRunner":{"__isSmartRef__":true,"id":24984}},"24884":{"varMapping":{"__isSmartRef__":true,"id":24885},"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":24886},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24885":{"this":{"__isSmartRef__":true,"id":23321}},"24886":{"timestamp":{"__isSmartRef__":true,"id":24887},"user":"lauritz","tags":[]},"24887":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:13:43 GMT+0100 (CET)"},"24888":{"varMapping":{"__isSmartRef__":true,"id":24889},"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":24890},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24889":{"this":{"__isSmartRef__":true,"id":23321}},"24890":{"timestamp":{"__isSmartRef__":true,"id":24891},"user":"lauritz","tags":[]},"24891":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"24892":{"varMapping":{"__isSmartRef__":true,"id":24893},"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":24894},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24893":{"this":{"__isSmartRef__":true,"id":23321}},"24894":{"timestamp":{"__isSmartRef__":true,"id":24895},"user":"conradcalmez","tags":[]},"24895":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:59:30 GMT+0100 (CET)"},"24896":{"varMapping":{"__isSmartRef__":true,"id":24897},"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":24898},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24897":{"this":{"__isSmartRef__":true,"id":23321}},"24898":{"timestamp":{"__isSmartRef__":true,"id":24899},"user":"lauritz","tags":[]},"24899":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:51:37 GMT+0100 (CET)"},"24900":{"varMapping":{"__isSmartRef__":true,"id":24901},"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":24902},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24901":{"this":{"__isSmartRef__":true,"id":23321}},"24902":{"timestamp":{"__isSmartRef__":true,"id":24903},"user":"lauritz","tags":[]},"24903":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"24904":{"varMapping":{"__isSmartRef__":true,"id":24905},"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":24906},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24905":{"this":{"__isSmartRef__":true,"id":23321}},"24906":{"timestamp":{"__isSmartRef__":true,"id":24907},"user":"lauritz","tags":[]},"24907":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:32:42 GMT+0100 (CET)"},"24908":{"varMapping":{"__isSmartRef__":true,"id":24909},"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":24910},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24909":{"this":{"__isSmartRef__":true,"id":23321}},"24910":{"timestamp":{"__isSmartRef__":true,"id":24911},"user":"lauritz","tags":[]},"24911":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"24912":{"varMapping":{"__isSmartRef__":true,"id":24913},"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":24914},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24913":{"this":{"__isSmartRef__":true,"id":23321}},"24914":{"timestamp":{"__isSmartRef__":true,"id":24915},"user":"lauritz","tags":[]},"24915":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"24916":{"varMapping":{"__isSmartRef__":true,"id":24917},"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":24918},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24917":{"this":{"__isSmartRef__":true,"id":23321}},"24918":{"timestamp":{"__isSmartRef__":true,"id":24919},"user":"lauritz","tags":[]},"24919":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:24:25 GMT+0100 (CET)"},"24920":{"varMapping":{"__isSmartRef__":true,"id":24921},"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":24922},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"24921":{"this":{"__isSmartRef__":true,"id":23321}},"24922":{"timestamp":{"__isSmartRef__":true,"id":24923},"user":"conradcalmez","tags":[]},"24923":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:57:50 GMT+0100 (CET)"},"24924":{"varMapping":{"__isSmartRef__":true,"id":24925},"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 (http://lively-kernel.org/repository/webwerkstatt/core/lively/bootstrap.js:190:17)","privateRequirements":[{"__isSmartRef__":true,"id":25217},{"__isSmartRef__":true,"id":25219},{"__isSmartRef__":true,"id":25221},{"__isSmartRef__":true,"id":25221},{"__isSmartRef__":true,"id":18163},{"__isSmartRef__":true,"id":18181},{"__isSmartRef__":true,"id":18132},{"__isSmartRef__":true,"id":25217},{"__isSmartRef__":true,"id":25219},{"__isSmartRef__":true,"id":18165},{"__isSmartRef__":true,"id":18126},{"__isSmartRef__":true,"id":18179},{"__isSmartRef__":true,"id":18120},{"__isSmartRef__":true,"id":25223},{"__isSmartRef__":true,"id":25225},{"__isSmartRef__":true,"id":25227},{"__isSmartRef__":true,"id":18159},{"__isSmartRef__":true,"id":18136},{"__isSmartRef__":true,"id":18175},{"__isSmartRef__":true,"id":18201},{"__isSmartRef__":true,"id":18128},{"__isSmartRef__":true,"id":25229},{"__isSmartRef__":true,"id":18173},{"__isSmartRef__":true,"id":18177},{"__isSmartRef__":true,"id":18130},{"__isSmartRef__":true,"id":18134},{"__isSmartRef__":true,"id":18138},{"__isSmartRef__":true,"id":18171},{"__isSmartRef__":true,"id":18140},{"__isSmartRef__":true,"id":18142},{"__isSmartRef__":true,"id":18146},{"__isSmartRef__":true,"id":18148},{"__isSmartRef__":true,"id":18150},{"__isSmartRef__":true,"id":18152},{"__isSmartRef__":true,"id":18154},{"__isSmartRef__":true,"id":18157},{"__isSmartRef__":true,"id":18167},{"__isSmartRef__":true,"id":18169},{"__isSmartRef__":true,"id":18183},{"__isSmartRef__":true,"id":18185},{"__isSmartRef__":true,"id":18187},{"__isSmartRef__":true,"id":18189},{"__isSmartRef__":true,"id":18191},{"__isSmartRef__":true,"id":25231},{"__isSmartRef__":true,"id":18197},{"__isSmartRef__":true,"id":18199},{"__isSmartRef__":true,"id":25213},{"__isSmartRef__":true,"id":18124},{"__isSmartRef__":true,"id":18122},{"__isSmartRef__":true,"id":25233},{"__isSmartRef__":true,"id":18118}],"pendingRequirements":[],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/anonymous_module_0","_isLoaded":true,"__LivelyClassName__":"Namespace"},"25216":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"25217":{"namespaceIdentifier":"Global.lively.lang.Closure","createTime":{"__isSmartRef__":true,"id":25218},"wasDefined":true,"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/lang/Closure.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"25218":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"25219":{"namespaceIdentifier":"Global.lively.lang.UUID","createTime":{"__isSmartRef__":true,"id":25220},"wasDefined":true,"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/lang/UUID.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"25220":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"25221":{"namespaceIdentifier":"Global.lively.LocalStorage","createTime":{"__isSmartRef__":true,"id":25222},"wasDefined":true,"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/LocalStorage.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"25222":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"25223":{"namespaceIdentifier":"Global.apps.CouchDB","createTime":{"__isSmartRef__":true,"id":25224},"wasDefined":true,"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/apps/CouchDB.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"25224":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"25225":{"namespaceIdentifier":"Global.apps.DateFormat","createTime":{"__isSmartRef__":true,"id":25226},"wasDefined":true,"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/apps/DateFormat.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"25226":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"25227":{"namespaceIdentifier":"Global.lively.ChangeSet","createTime":{"__isSmartRef__":true,"id":25228},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18181}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/ChangeSet.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"25228":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"25229":{"namespaceIdentifier":"Global.lively.Main","createTime":{"__isSmartRef__":true,"id":25230},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18179},{"__isSmartRef__":true,"id":25227}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/Main.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"25230":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"25231":{"namespaceIdentifier":"Global.lively.ide.BrowserFramework","createTime":{"__isSmartRef__":true,"id":25232},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18142},{"__isSmartRef__":true,"id":18157},{"__isSmartRef__":true,"id":18185}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/ide/BrowserFramework.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"25232":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"25233":{"namespaceIdentifier":"Global.lively.ide.SyntaxHighlighting","createTime":{"__isSmartRef__":true,"id":25234},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":18124},{"__isSmartRef__":true,"id":25231}],"pendingRequirements":[],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/ide/SyntaxHighlighting.js","dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":25215}],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"25234":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:40 GMT+0200 (CEST)"},"25235":{"3":{"__isSmartRef__":true,"id":25236},"4":{"__isSmartRef__":true,"id":25239},"name":"PathOriginHackLayer","namespaceName":"Global.lively.morphic","sourceModule":{"__isSmartRef__":true,"id":18191},"__LivelyClassName__":"Layer","__SourceModuleName__":"Global.cop.Layers"},"25236":{"_layered_object":{"__isSmartRef__":true,"id":25237}},"25237":{"isPath":true,"style":{"__isSmartRef__":true,"id":25238},"_layer_object_id":3,"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"25238":{"borderWidth":1,"borderColor":{"__isSmartRef__":true,"id":778}},"25239":{"_layered_object":{"__isSmartRef__":true,"id":25240}},"25240":{"_layer_object_id":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"25241":{"5":{"__isSmartRef__":true,"id":25242},"7":{"__isSmartRef__":true,"id":25246},"name":"VisualBindingsLayer","namespaceName":"Global.lively.morphic","sourceModule":{"__isSmartRef__":true,"id":18197},"__LivelyClassName__":"Layer","__SourceModuleName__":"Global.cop.Layers"},"25242":{"_layered_object":{"__isSmartRef__":true,"id":25243}},"25243":{"style":{"__isSmartRef__":true,"id":25244},"isWorld":true,"htmlDispatchTable":{"__isSmartRef__":true,"id":25245},"doNotSerialize":["revisionOnLoad","clickedOnMorph","draggedMorph"],"_layer_object_id":5,"__LivelyClassName__":"lively.morphic.World","__SourceModuleName__":"Global.lively.morphic.Core"},"25244":{"fill":{"__isSmartRef__":true,"id":6759},"enableGrabbing":false,"enableHalos":true,"enableMorphMenu":true,"enableDragging":true},"25245":{"setScroll":"setScrollHTML"},"25246":{"_layered_object":{"__isSmartRef__":true,"id":10157}},"25247":{"7":{"__isSmartRef__":true,"id":25248},"name":"GrabbingDefaultLayer","namespaceName":"Global.lively.morphic","sourceModule":{"__isSmartRef__":true,"id":18118},"__LivelyClassName__":"Layer","__SourceModuleName__":"Global.cop.Layers"},"25248":{"_layered_object":{"__isSmartRef__":true,"id":10157}},"25249":{"namespaceIdentifier":"Global.lively.morphic.DiffMerge","createTime":{"__isSmartRef__":true,"id":25250},"dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":25251}],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/DiffMerge.js","wasDefined":true,"callbacks":[],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"25250":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:41 GMT+0200 (CEST)"},"25251":{"namespaceIdentifier":"Global.anonymous_module_4","createTime":{"__isSmartRef__":true,"id":25252},"wasDefined":true,"_isAnonymous":true,"sourceModuleName":"Global.anonymous_module_3","defStack":"Error\n at require (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?bd38c4e1129da1f8f2e29946c85ca51c:11727:21)\n at http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?bd38c4e1129da1f8f2e29946c85ca51c:21784:17\n at curried (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?bd38c4e1129da1f8f2e29946c85ca51c:9932:33)\n at http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?bd38c4e1129da1f8f2e29946c85ca51c:11700:30\n at Namespace.runOnloadCallbacks (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?bd38c4e1129da1f8f2e29946c85ca51c:12387:26)\n at Namespace.load (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?bd38c4e1129da1f8f2e29946c85ca51c:12426:18)\n at Object.toRun (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?bd38c4e1129da1f8f2e29946c85ca51c:11709:24)\n at http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?bd38c4e1129da1f8f2e29946c85ca51c:21781:55\n at curried (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?bd38c4e1129da1f8f2e29946c85ca51c:9932:33)\n at http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?bd38c4e1129da1f8f2e29946c85ca51c:11700:30","privateRequirements":[{"__isSmartRef__":true,"id":25253},{"__isSmartRef__":true,"id":25255},{"__isSmartRef__":true,"id":25249},{"__isSmartRef__":true,"id":18142}],"pendingRequirements":[],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/anonymous_module_4","_isLoaded":true,"__LivelyClassName__":"Namespace"},"25252":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:41 GMT+0200 (CEST)"},"25253":{"namespaceIdentifier":"Global.projects.BP2012.InteractionWithIPad.Preloader","createTime":{"__isSmartRef__":true,"id":25254},"dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":25251}],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/projects/BP2012/InteractionWithIPad/Preloader.js","wasDefined":true,"callbacks":[],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"25254":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:41 GMT+0200 (CEST)"},"25255":{"namespaceIdentifier":"Global.projects.BP2012.InteractionWithIPad.IPad","createTime":{"__isSmartRef__":true,"id":25256},"dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":25251}],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/projects/BP2012/InteractionWithIPad/IPad.js","wasDefined":true,"callbacks":[],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"25256":{"isSerializedDate":true,"string":"Fri May 04 2012 23:38:41 GMT+0200 (CEST)"},"25257":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25258":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25259":{"updateExpanderColor":{"__isSmartRef__":true,"id":25260},"onMouseDown":{"__isSmartRef__":true,"id":25263},"isRoot":{"__isSmartRef__":true,"id":25270},"displayValue":{"__isSmartRef__":true,"id":25273},"update":{"__isSmartRef__":true,"id":25276}},"25260":{"varMapping":{"__isSmartRef__":true,"id":25261},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":25262},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25261":{"this":{"__isSmartRef__":true,"id":10113}},"25262":{},"25263":{"varMapping":{"__isSmartRef__":true,"id":25264},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":25269},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25264":{"this":{"__isSmartRef__":true,"id":10113},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":25265}},"25265":{"$super":{"__isSmartRef__":true,"id":25266}},"25266":{"varMapping":{"__isSmartRef__":true,"id":25267},"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":25268},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25267":{"obj":{"__isSmartRef__":true,"id":10113},"name":"onMouseDown"},"25268":{},"25269":{},"25270":{"varMapping":{"__isSmartRef__":true,"id":25271},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":25272},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25271":{"this":{"__isSmartRef__":true,"id":10113}},"25272":{},"25273":{"varMapping":{"__isSmartRef__":true,"id":25274},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":25275},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25274":{"this":{"__isSmartRef__":true,"id":10113}},"25275":{},"25276":{"varMapping":{"__isSmartRef__":true,"id":25277},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":25278},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25277":{"this":{"__isSmartRef__":true,"id":10113}},"25278":{},"25279":{"_Position":{"__isSmartRef__":true,"id":25280},"renderContextTable":{"__isSmartRef__":true,"id":25281},"_Extent":{"__isSmartRef__":true,"id":25282},"_Padding":{"__isSmartRef__":true,"id":25283},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"25280":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25281":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"25282":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25283":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25284":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"25285":{"morph":{"__isSmartRef__":true,"id":10112},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"25286":{"layouter":{"__isSmartRef__":true,"id":25287},"resizeWidth":true},"25287":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":10112},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"25288":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25289":{"x":0,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25290":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":25291}},"25291":{"varMapping":{"__isSmartRef__":true,"id":25292},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":25297},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25292":{"this":{"__isSmartRef__":true,"id":10112},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":25293}},"25293":{"$super":{"__isSmartRef__":true,"id":25294}},"25294":{"varMapping":{"__isSmartRef__":true,"id":25295},"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":25296},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25295":{"obj":{"__isSmartRef__":true,"id":10112},"name":"getLayoutableSubmorphs"},"25296":{},"25297":{},"25298":{"_Position":{"__isSmartRef__":true,"id":25299},"renderContextTable":{"__isSmartRef__":true,"id":25300},"_Extent":{"__isSmartRef__":true,"id":25301},"_Padding":{"__isSmartRef__":true,"id":25302},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"25299":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25300":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"25301":{"x":100,"y":780,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25302":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25303":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"25304":{"morph":{"__isSmartRef__":true,"id":7003},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"25305":{"layouter":{"__isSmartRef__":true,"id":25306},"resizeWidth":true},"25306":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":7003},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"25307":{"x":100,"y":780,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25308":{"x":0,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25309":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":25310},"addTreeNodesForProperties":{"__isSmartRef__":true,"id":25317}},"25310":{"varMapping":{"__isSmartRef__":true,"id":25311},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":25316},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25311":{"this":{"__isSmartRef__":true,"id":7003},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":25312}},"25312":{"$super":{"__isSmartRef__":true,"id":25313}},"25313":{"varMapping":{"__isSmartRef__":true,"id":25314},"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":25315},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25314":{"obj":{"__isSmartRef__":true,"id":7003},"name":"getLayoutableSubmorphs"},"25315":{},"25316":{},"25317":{"varMapping":{"__isSmartRef__":true,"id":25318},"source":"function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n }","funcProperties":{"__isSmartRef__":true,"id":25319},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25318":{"this":{"__isSmartRef__":true,"id":7003}},"25319":{},"25320":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25321":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":25322}},"25322":{"varMapping":{"__isSmartRef__":true,"id":25323},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":25328},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25323":{"this":{"__isSmartRef__":true,"id":6992},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":25324}},"25324":{"$super":{"__isSmartRef__":true,"id":25325}},"25325":{"varMapping":{"__isSmartRef__":true,"id":25326},"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":25327},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25326":{"obj":{"__isSmartRef__":true,"id":6992},"name":"getLayoutableSubmorphs"},"25327":{},"25328":{},"25329":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25330":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25331":{"updateExpanderColor":{"__isSmartRef__":true,"id":25332},"onMouseDown":{"__isSmartRef__":true,"id":25335},"isRoot":{"__isSmartRef__":true,"id":25342},"displayValue":{"__isSmartRef__":true,"id":25345},"update":{"__isSmartRef__":true,"id":25348}},"25332":{"varMapping":{"__isSmartRef__":true,"id":25333},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":25334},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25333":{"this":{"__isSmartRef__":true,"id":6950}},"25334":{},"25335":{"varMapping":{"__isSmartRef__":true,"id":25336},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":25341},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25336":{"this":{"__isSmartRef__":true,"id":6950},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":25337}},"25337":{"$super":{"__isSmartRef__":true,"id":25338}},"25338":{"varMapping":{"__isSmartRef__":true,"id":25339},"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":25340},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25339":{"obj":{"__isSmartRef__":true,"id":6950},"name":"onMouseDown"},"25340":{},"25341":{},"25342":{"varMapping":{"__isSmartRef__":true,"id":25343},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":25344},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25343":{"this":{"__isSmartRef__":true,"id":6950}},"25344":{},"25345":{"varMapping":{"__isSmartRef__":true,"id":25346},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":25347},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25346":{"this":{"__isSmartRef__":true,"id":6950}},"25347":{},"25348":{"varMapping":{"__isSmartRef__":true,"id":25349},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":25350},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25349":{"this":{"__isSmartRef__":true,"id":6950}},"25350":{},"25351":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25352":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25353":{"updateExpanderColor":{"__isSmartRef__":true,"id":25354},"onMouseDown":{"__isSmartRef__":true,"id":25357},"isRoot":{"__isSmartRef__":true,"id":25364},"displayValue":{"__isSmartRef__":true,"id":25367},"update":{"__isSmartRef__":true,"id":25370}},"25354":{"varMapping":{"__isSmartRef__":true,"id":25355},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":25356},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25355":{"this":{"__isSmartRef__":true,"id":6906}},"25356":{},"25357":{"varMapping":{"__isSmartRef__":true,"id":25358},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":25363},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25358":{"this":{"__isSmartRef__":true,"id":6906},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":25359}},"25359":{"$super":{"__isSmartRef__":true,"id":25360}},"25360":{"varMapping":{"__isSmartRef__":true,"id":25361},"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":25362},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25361":{"obj":{"__isSmartRef__":true,"id":6906},"name":"onMouseDown"},"25362":{},"25363":{},"25364":{"varMapping":{"__isSmartRef__":true,"id":25365},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":25366},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25365":{"this":{"__isSmartRef__":true,"id":6906}},"25366":{},"25367":{"varMapping":{"__isSmartRef__":true,"id":25368},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":25369},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25368":{"this":{"__isSmartRef__":true,"id":6906}},"25369":{},"25370":{"varMapping":{"__isSmartRef__":true,"id":25371},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":25372},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25371":{"this":{"__isSmartRef__":true,"id":6906}},"25372":{},"25373":{"_Position":{"__isSmartRef__":true,"id":25374},"renderContextTable":{"__isSmartRef__":true,"id":25375},"_Extent":{"__isSmartRef__":true,"id":25376},"_Padding":{"__isSmartRef__":true,"id":25377},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"25374":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25375":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"25376":{"x":100,"y":800,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25377":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25378":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"25379":{"morph":{"__isSmartRef__":true,"id":6905},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"25380":{"layouter":{"__isSmartRef__":true,"id":25381},"resizeWidth":true},"25381":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":6905},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"25382":{"x":100,"y":780,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25383":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":25384}},"25384":{"varMapping":{"__isSmartRef__":true,"id":25385},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":25390},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25385":{"this":{"__isSmartRef__":true,"id":6905},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":25386}},"25386":{"$super":{"__isSmartRef__":true,"id":25387}},"25387":{"varMapping":{"__isSmartRef__":true,"id":25388},"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":25389},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25388":{"obj":{"__isSmartRef__":true,"id":6905},"name":"getLayoutableSubmorphs"},"25389":{},"25390":{},"25391":{"_Position":{"__isSmartRef__":true,"id":25392},"renderContextTable":{"__isSmartRef__":true,"id":25393},"_Extent":{"__isSmartRef__":true,"id":25394},"_Padding":{"__isSmartRef__":true,"id":25395},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"25392":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25393":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"25394":{"x":959.8398611920343,"y":402.4698859496224,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25395":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25396":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"25397":{"morph":{"__isSmartRef__":true,"id":6904},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"25398":{"x":10,"y":10,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25399":{"resizeWidth":true,"resizeHeight":true},"25400":{"x":959.8398611920343,"y":406.4698859496224,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25401":{"setClipModeHTML":{"__isSmartRef__":true,"id":25402}},"25402":{"varMapping":{"__isSmartRef__":true,"id":25403},"source":"function setClipModeHTML(ctx, modeString) {\n $super(ctx, modeString);\n ctx.morphNode.style['overflow-x'] = 'hidden';\n }","funcProperties":{"__isSmartRef__":true,"id":25408},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25403":{"this":{"__isSmartRef__":true,"id":6904},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":25404}},"25404":{"$super":{"__isSmartRef__":true,"id":25405}},"25405":{"varMapping":{"__isSmartRef__":true,"id":25406},"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":25407},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25406":{"obj":{"__isSmartRef__":true,"id":6904},"name":"setClipModeHTML"},"25407":{},"25408":{},"25409":{"target":{"__isSmartRef__":true,"id":6903},"selector":"update","args":[],"stopped":false,"tickTime":500,"currentTimeout":13000,"suspended":false,"__LivelyClassName__":"lively.morphic.TargetScript","__SourceModuleName__":"Global.lively.morphic.Core"},"25410":{"position":{"__isSmartRef__":true,"id":25411},"_Extent":{"__isSmartRef__":true,"id":25412},"_BorderWidth":1.9240000000000002,"_BorderColor":{"__isSmartRef__":true,"id":25413},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":25414},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":25415},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"25411":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25412":{"x":979.8398611920343,"y":422.4698859496224,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25413":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"25414":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"25415":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"25416":{"x":10,"y":10,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25417":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A tree view morph. You can visualize a graph of object data with it (for example).","migrationLevel":4,"partName":"TreeView","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"25418":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"25419":{"morph":{"__isSmartRef__":true,"id":6903},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"25420":{"x":979.8398611920343,"y":426.4698859496224,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25421":{"layouter":{"__isSmartRef__":true,"id":25422},"resizeWidth":true,"resizeHeight":true,"moveVertical":false,"moveHorizontal":false,"adjustForNewBounds":true},"25422":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":10,"spacing":15,"container":{"__isSmartRef__":true,"id":6903},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.VerticalLayout"},"25423":{"x":164.35052570087606,"y":-15.96995493992489,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25424":{"border":{"__isSmartRef__":true,"id":6913},"contractedExpander":{"__isSmartRef__":true,"id":25425},"expandedExpander":{"__isSmartRef__":true,"id":6759},"focusedText":{"__isSmartRef__":true,"id":6929},"emphasizedText":{"__isSmartRef__":true,"id":6935}},"25425":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25426":{"size":10},"25427":{"wrapperExtent":{"__isSmartRef__":true,"id":25428},"expanderExtent":{"__isSmartRef__":true,"id":25429},"expanderOffset":{"__isSmartRef__":true,"id":25430},"textOffset":{"__isSmartRef__":true,"id":25431},"levelIndent":10,"maxTextWidth":500},"25428":{"x":0,"y":0,"width":100,"height":18,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25429":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25430":{"x":8,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25431":{"x":18,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25432":{"renderTree":{"__isSmartRef__":true,"id":25433},"createTreeNode":{"__isSmartRef__":true,"id":25437},"createTreeWrapper":{"__isSmartRef__":true,"id":25441},"reset":{"__isSmartRef__":true,"id":25445},"createTreeNodeMorph":{"__isSmartRef__":true,"id":25449},"createExpanderButton":{"__isSmartRef__":true,"id":25453},"createPropertyText":{"__isSmartRef__":true,"id":25457},"createScrollClip":{"__isSmartRef__":true,"id":25461},"resetDefaults":{"__isSmartRef__":true,"id":25465},"addScriptsToTreeNode":{"__isSmartRef__":true,"id":25469},"addScriptsToExpander":{"__isSmartRef__":true,"id":25472},"getDisplayStringFor":{"__isSmartRef__":true,"id":25475},"update":{"__isSmartRef__":true,"id":25479},"addScriptsToText":{"__isSmartRef__":true,"id":25483},"toggleAll":{"__isSmartRef__":true,"id":25487}},"25433":{"varMapping":{"__isSmartRef__":true,"id":25434},"source":"function renderTree(data) {\n this.rootNode = this.createTreeNode('Properties', data);\n this.addMorph(this.rootNode);\n     \n var wrapper = this.createTreeWrapper(this.rootNode);\n var scroll = this.createScrollClip(wrapper);\n\n this.addMorph(scroll);\n\n this.startStepping(500/*ms*/, 'update'); \n}","funcProperties":{"__isSmartRef__":true,"id":25435},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25434":{"this":{"__isSmartRef__":true,"id":6903}},"25435":{"timestamp":{"__isSmartRef__":true,"id":25436},"user":"lauritz","tags":[]},"25436":{"isSerializedDate":true,"string":"Fri Jan 27 2012 02:23:33 GMT+0100 (CET)"},"25437":{"varMapping":{"__isSmartRef__":true,"id":25438},"source":"function createTreeNode(label, data, level, parent) {\n level = level || 0;\n\n // create morph / layout\n var treeNode = this.createTreeNodeMorph(data, level);\n\n // add scripts\n this.addScriptsToTreeNode(treeNode);\n\n // initialization\n treeNode.data = data;\n treeNode.propertyList = [].pushAll(Properties.own(treeNode.data));\n treeNode.level = level;\n treeNode.treeView = this;\n treeNode.label = label;\n treeNode.children = [];\n treeNode.parent = (parent ? parent : null);\n\n var expander = this.createExpanderButton(treeNode);\n treeNode.addMorph(expander);\n\n var text = this.createPropertyText(treeNode);\n treeNode.addMorph(text);\n\n\n return treeNode;\n}","funcProperties":{"__isSmartRef__":true,"id":25439},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25438":{"this":{"__isSmartRef__":true,"id":6903}},"25439":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":25440}},"25440":{"isSerializedDate":true,"string":"Mon Sep 26 2011 23:43:34 GMT+0200 (CEST)"},"25441":{"varMapping":{"__isSmartRef__":true,"id":25442},"source":"function createTreeWrapper(node) {\n\n var rectangleMorph = new lively.morphic.Shapes.Rectangle(this.sizes.wrapperExtent);\n var wrapper = new lively.morphic.Morph(rectangleMorph);\n\n wrapper.addScript(function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n });\n\n var layouter = new lively.morphic.Layout.JournalLayout(wrapper);\n var superBasicLayout = layouter.basicLayout;\n layouter.basicLayout = function(container, submorphs) {\n submorphs.sortBy = function() { return this };\n superBasicLayout.bind(layouter)(container, submorphs);\n delete submorphs.sortBy;\n };\n layouter.borderSize = 0;\n layouter.spacing = 0;\n wrapper.setLayouter(layouter);\n wrapper.layout.resizeWidth = true;\n\n if (node)\n wrapper.addMorph(node);\n\n return wrapper;\n}","funcProperties":{"__isSmartRef__":true,"id":25443},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25442":{"this":{"__isSmartRef__":true,"id":6903}},"25443":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":25444}},"25444":{"isSerializedDate":true,"string":"Tue Sep 20 2011 17:05:52 GMT+0200 (CEST)"},"25445":{"varMapping":{"__isSmartRef__":true,"id":25446},"source":"function reset() {\n this.removeAllMorphs();\n this.resetDefaults();\n this.rootNode = null; \n this.stopStepping();\n}","funcProperties":{"__isSmartRef__":true,"id":25447},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25446":{"this":{"__isSmartRef__":true,"id":6903}},"25447":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":25448}},"25448":{"isSerializedDate":true,"string":"Sat Oct 15 2011 00:41:57 GMT+0200 (CEST)"},"25449":{"varMapping":{"__isSmartRef__":true,"id":25450},"source":"function createTreeNodeMorph(data, level) {\n var treeNodeExtent = new lively.morphic.Shapes.Rectangle(pt(100, 20).extentAsRectangle());\n var treeNode = new lively.morphic.Morph(treeNodeExtent);\n\n treeNode.layout = {\n layouter: undefined,\n resizeWidth: true\n }\n treeNode.disableGrabbing();\n treeNode.disableDragging();\n\n return treeNode; \n}","funcProperties":{"__isSmartRef__":true,"id":25451},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25450":{"this":{"__isSmartRef__":true,"id":6903}},"25451":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":25452}},"25452":{"isSerializedDate":true,"string":"Tue Oct 25 2011 19:24:35 GMT+0200 (CEST)"},"25453":{"varMapping":{"__isSmartRef__":true,"id":25454},"source":"function createExpanderButton(treeNode) {\n\n var expanderPositionX = this.sizes.expanderOffset.x + this.sizes.levelIndent * treeNode.level;\n var expanderPosition = pt(expanderPositionX, this.sizes.expanderOffset.y);\n var expander = new lively.morphic.Box(expanderPosition.extent(this.sizes.expanderExtent));\n\n // layout\n expander.setBorderWidth(1);\n expander.setBorderColor(this.colors.border);\n expander.disableGrabbing();\n expander.disableDragging();\n treeNode.expander = expander;\n\n // add scripts\n this.addScriptsToExpander(expander);\n\n // initialization\n expander.isExpanded = false;\n treeNode.updateExpanderColor();\n\n return expander;\n}","funcProperties":{"__isSmartRef__":true,"id":25455},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25454":{"this":{"__isSmartRef__":true,"id":6903}},"25455":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":25456}},"25456":{"isSerializedDate":true,"string":"Mon Sep 26 2011 23:32:58 GMT+0200 (CEST)"},"25457":{"varMapping":{"__isSmartRef__":true,"id":25458},"source":"function createPropertyText(treeNode) {\n \n var textPosition = pt(this.sizes.textOffset.x + this.sizes.levelIndent * treeNode.level, this.sizes.textOffset.y);\n\n var textMorph = new lively.morphic.Text(textPosition.extent(pt(0, 0)), \"\");  \n this.addScriptsToText(textMorph);\n textMorph.layoutText(this.fonts);\n\n treeNode.text = textMorph;\n treeNode.displayValue();\n\n return textMorph;\n}","funcProperties":{"__isSmartRef__":true,"id":25459},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25458":{"this":{"__isSmartRef__":true,"id":6903}},"25459":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":25460}},"25460":{"isSerializedDate":true,"string":"Mon Sep 26 2011 23:18:07 GMT+0200 (CEST)"},"25461":{"varMapping":{"__isSmartRef__":true,"id":25462},"source":"function createScrollClip(wrapper) {\n var scroll = new lively.morphic.Clip(this.getExtent().extentAsRectangle());\n\n // layout\n scroll.layout = {\n resizeWidth: true,\n resizeHeight: true\n };\n scroll.disableGrabbing();\n scroll.disableDragging();\n scroll.setName('TreeViewScrollPane');\n\n scroll.addScript(function setClipModeHTML(ctx, modeString) {\n $super(ctx, modeString);\n ctx.morphNode.style['overflow-x'] = 'hidden';\n });\n\n scroll.addMorph(wrapper);\n return scroll;\n}","funcProperties":{"__isSmartRef__":true,"id":25463},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25462":{"this":{"__isSmartRef__":true,"id":6903}},"25463":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":25464}},"25464":{"isSerializedDate":true,"string":"Mon Sep 19 2011 19:54:00 GMT+0200 (CEST)"},"25465":{"varMapping":{"__isSmartRef__":true,"id":25466},"source":"function resetDefaults() {\n this.colors = {\n border : Color.rgb(145,145,145),\n contractedExpander : Color.rgb(145,145,145),\n expandedExpander : Color.white,\n focusedText : Color.rgb(243,243,243),\n emphasizedText : Color.rgb(145,145,145)\n };\n this.fonts = {\n size : 10\n };\n this.sizes = {\n wrapperExtent : pt(100, 18).extentAsRectangle(),\n expanderExtent : pt(8, 8),\n expanderOffset : pt(8, 5),\n textOffset : pt(18, 0),\n levelIndent : 10,\n maxTextWidth : 500\n }\n}","funcProperties":{"__isSmartRef__":true,"id":25467},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25466":{"this":{"__isSmartRef__":true,"id":6903}},"25467":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":25468}},"25468":{"isSerializedDate":true,"string":"Wed Sep 21 2011 19:38:04 GMT+0200 (CEST)"},"25469":{"varMapping":{"__isSmartRef__":true,"id":25470},"source":"function addScriptsToTreeNode(treeNode) {\n\n treeNode.addScript(function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n });\n\n treeNode.addScript(function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n });\n\n treeNode.addScript(function isRoot() {\n return (this.parent === null || this.parent === undefined);\n });\n\n treeNode.addScript(function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n });\n \n treeNode.addScript(function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n });\n\n}","funcProperties":{"__isSmartRef__":true,"id":25471},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25470":{"this":{"__isSmartRef__":true,"id":6903}},"25471":{},"25472":{"varMapping":{"__isSmartRef__":true,"id":25473},"source":"function addScriptsToExpander(expander) {\n\n expander.addScript(function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n });\n\n expander.addScript(function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n });\n\n}","funcProperties":{"__isSmartRef__":true,"id":25474},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25473":{"this":{"__isSmartRef__":true,"id":6903}},"25474":{},"25475":{"varMapping":{"__isSmartRef__":true,"id":25476},"source":"function getDisplayStringFor(treeNode) {\n var typeInfo = '';\n if (treeNode.data && treeNode.data.name) {\n typeInfo = treeNode.data.name;\n } else {\n typeInfo = (Objects.isMutableType(treeNode.data) ? \n Objects.shortPrintStringOf(treeNode.data) : treeNode.data);\n }\n return treeNode.label + \": \" + typeInfo;\n}","funcProperties":{"__isSmartRef__":true,"id":25477},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25476":{"this":{"__isSmartRef__":true,"id":6903}},"25477":{"timestamp":{"__isSmartRef__":true,"id":25478},"user":"lauritz","tags":[]},"25478":{"isSerializedDate":true,"string":"Fri Jan 27 2012 02:35:06 GMT+0100 (CET)"},"25479":{"varMapping":{"__isSmartRef__":true,"id":25480},"source":"function update() {\n this.rootNode.update();\n}","funcProperties":{"__isSmartRef__":true,"id":25481},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25480":{"this":{"__isSmartRef__":true,"id":6903}},"25481":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":25482}},"25482":{"isSerializedDate":true,"string":"Sat Oct 15 2011 00:42:27 GMT+0200 (CEST)"},"25483":{"varMapping":{"__isSmartRef__":true,"id":25484},"source":"function addScriptsToText(textMorph) {\n\n textMorph.addScript(function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n });\n\n}","funcProperties":{"__isSmartRef__":true,"id":25485},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25484":{"this":{"__isSmartRef__":true,"id":6903}},"25485":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":25486}},"25486":{"isSerializedDate":true,"string":"Mon Sep 26 2011 23:16:48 GMT+0200 (CEST)"},"25487":{"varMapping":{"__isSmartRef__":true,"id":25488},"source":"function toggleAll() {\n\n if (!this.rootNode) return;\n\n try {\n JSON.stringify(this.rootNode.data);\n } catch (e) {\n // probably a circular structure\n return;\n }\n\n var toggleChildren = function (node) {\n\n if (!node.children) return;\n\n (function() {\n node.children.forEach(function (each) {\n each.expander.toggleExpansion();\n toggleChildren(each);\n });\n }).bind(this).delay(0); // asynchronous\n }\n\n toggleChildren(this.rootNode);\n \n}","funcProperties":{"__isSmartRef__":true,"id":25489},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25488":{"this":{"__isSmartRef__":true,"id":6903}},"25489":{"timestamp":{"__isSmartRef__":true,"id":25490},"user":"lauritz","tags":[]},"25490":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:58:11 GMT+0100 (CET)"},"25491":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":25492},"id":"DDB8E5B6-6640-4F56-9B67-F6DE250F43FF","renderContextTable":{"__isSmartRef__":true,"id":25499},"textChunks":[{"__isSmartRef__":true,"id":25500}],"eventHandler":{"__isSmartRef__":true,"id":25502},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"auto","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":25503},"priorExtent":{"__isSmartRef__":true,"id":25504},"_MaxTextWidth":974.8398611920343,"_MinTextWidth":974.8398611920343,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"layout":{"__isSmartRef__":true,"id":25505},"doitContext":{"__isSmartRef__":true,"id":1371},"previousSelection":[0,79],"charsReplaced":"this.setList([\"Hello, this is a long test sentence. Can this go even longer?\"])","lastFindLoc":79,"__SourceModuleName__":"Global.lively.morphic.TextCore","prevScroll":[0,0],"isBeingDragged":false,"showsHalos":false,"name":"Workspace","owner":{"__isSmartRef__":true,"id":6902},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"distanceToDragEvent":{"__isSmartRef__":true,"id":25506},"isCopyMorphRef":true,"morphRefId":1,"scriptAnnotations":{"__isSmartRef__":true,"id":25507},"lastDragTime":1317079672221,"derivationIds":[372,"3BBD270B-A828-436A-915C-D23688CF2067","D0890AA7-6E65-4B35-9600-1AD66DF96797","243534E4-AE49-45EC-9DB9-384D7DE4B994","251CC01A-7FDF-4357-9313-99DE732BDF7B","49FB5C89-127F-411D-9E7D-74274AFC6322","4BCE87D8-39F3-4B7F-A78F-10398B72A854"],"_Rotation":0,"_Scale":1,"priorSelectionRange":[92,92],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":25510},"__LivelyClassName__":"lively.morphic.Text"},"25492":{"_Position":{"__isSmartRef__":true,"id":25493},"renderContextTable":{"__isSmartRef__":true,"id":25494},"_Extent":{"__isSmartRef__":true,"id":25495},"_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":25496},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":25497},"_Fill":{"__isSmartRef__":true,"id":25498},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":4,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"25493":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25494":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"25495":{"x":979.8398611920343,"y":81.00200300400502,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25496":{"x":3,"y":3,"width":-3,"height":-3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"25497":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"25498":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25499":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"25500":{"style":{"__isSmartRef__":true,"id":25501},"chunkOwner":{"__isSmartRef__":true,"id":25491},"storedString":"this.setHeader(\"another very long sentence, with a question mark, too, so you can remember\")","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"25501":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"25502":{"morph":{"__isSmartRef__":true,"id":25491},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"25503":{"x":10,"y":447.4698859496224,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25504":{"x":979.8398611920343,"y":81.00200300400502,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25505":{"resizeWidth":true,"resizeHeight":false,"moveVertical":true,"adjustForNewBounds":true},"25506":{"x":164.35052570087606,"y":-17.252879506132672,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25507":{"reset":{"__isSmartRef__":true,"id":25508}},"25508":{"time":{"__isSmartRef__":true,"id":25509},"user":"lauritz"},"25509":{"isSerializedDate":true,"string":"Tue Nov 15 2011 23:03:51 GMT+0100 (CET)"},"25510":{"reset":{"__isSmartRef__":true,"id":25511}},"25511":{"varMapping":{"__isSmartRef__":true,"id":25512},"source":"function reset() {\n this.doitContext = null;\n this.setTextString(\"\");\n}","funcProperties":{"__isSmartRef__":true,"id":25513},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25512":{"this":{"__isSmartRef__":true,"id":25491}},"25513":{},"25514":{"position":{"__isSmartRef__":true,"id":25515},"_Extent":{"__isSmartRef__":true,"id":25516},"_BorderWidth":1.4500000000000002,"_BorderColor":{"__isSmartRef__":true,"id":25517},"_Fill":{"__isSmartRef__":true,"id":25518},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":25519},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":25520},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"25515":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25516":{"x":999.8398611920343,"y":538.4718889536274,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25517":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"25518":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25519":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"25520":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"25521":{"x":0,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25522":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":4,"partName":"ExplorerPane","changes":[{"__isSmartRef__":true,"id":25523}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"25523":{"date":{"__isSmartRef__":true,"id":25524},"author":"lauritz","message":"Disabled grabbing and dragging on other submorphs as well..."},"25524":{"isSerializedDate":true,"string":"Tue Oct 25 2011 20:21:08 GMT+0200 (CEST)"},"25525":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"25526":{"morph":{"__isSmartRef__":true,"id":6902},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"25527":{"x":999.8398611920343,"y":542.4718889536274,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25528":{"x":212.32023310549857,"y":-12.472093186624761,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25529":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true,"layouter":{"__isSmartRef__":true,"id":25530}},"25530":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":10,"spacing":15,"container":{"__isSmartRef__":true,"id":6902},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.VerticalLayout"},"25531":{"reset":{"__isSmartRef__":true,"id":25532},"moveFocusTo":{"__isSmartRef__":true,"id":25536},"explore":{"__isSmartRef__":true,"id":25540},"toggleAll":{"__isSmartRef__":true,"id":25544}},"25532":{"varMapping":{"__isSmartRef__":true,"id":25533},"source":"function reset() {\n this.workspace.reset();\n this.treeView.reset();\n this.focusedNode = null;\n}","funcProperties":{"__isSmartRef__":true,"id":25534},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25533":{"this":{"__isSmartRef__":true,"id":6902}},"25534":{"timestamp":{"__isSmartRef__":true,"id":25535},"user":"lauritz","tags":[]},"25535":{"isSerializedDate":true,"string":"Wed Sep 21 2011 01:48:08 GMT+0200 (CEST)"},"25536":{"varMapping":{"__isSmartRef__":true,"id":25537},"source":"function moveFocusTo(focusedNode) {\n\n // set workspace context\n var previouslyFocusedNode = this.focusedNode;\n this.focusedNode = focusedNode;\n this.workspace.doitContext = this.focusedNode.data;\n\n // display focus\n if (previouslyFocusedNode && previouslyFocusedNode.setFill) \n previouslyFocusedNode.text.setFill(null);\n this.focusedNode.text.setFill(this.focusedNode.treeView.colors.focusedText);\n this.focusedNode.expander.toggle();\n}","funcProperties":{"__isSmartRef__":true,"id":25538},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25537":{"this":{"__isSmartRef__":true,"id":6902}},"25538":{"timestamp":{"__isSmartRef__":true,"id":25539},"user":"lauritz","tags":[]},"25539":{"isSerializedDate":true,"string":"Tue Dec 13 2011 23:21:02 GMT+0100 (CET)"},"25540":{"varMapping":{"__isSmartRef__":true,"id":25541},"source":"function explore(object) {\n this.reset();\n this.treeView.renderTree(object);\n\n this.moveFocusTo(this.treeView.rootNode);\n this.workspace.setTextString(\"this\");\n}","funcProperties":{"__isSmartRef__":true,"id":25542},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25541":{"this":{"__isSmartRef__":true,"id":6902}},"25542":{"timestamp":{"__isSmartRef__":true,"id":25543},"user":"lauritz","tags":[]},"25543":{"isSerializedDate":true,"string":"Tue Dec 13 2011 23:21:07 GMT+0100 (CET)"},"25544":{"varMapping":{"__isSmartRef__":true,"id":25545},"source":"function toggleAll() {\n this.treeView.toggleAll();\n}","funcProperties":{"__isSmartRef__":true,"id":25546},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25545":{"this":{"__isSmartRef__":true,"id":6902}},"25546":{"timestamp":{"__isSmartRef__":true,"id":25547},"user":"lauritz","tags":[]},"25547":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:40:54 GMT+0100 (CET)"},"25548":{"submorphs":[],"scripts":[],"id":"CA2E1730-5859-4232-8B4A-4F5D4EF9A16D","shape":{"__isSmartRef__":true,"id":25549},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":25556},"showsHalos":false,"name":"ResizeCorner3","partsBinMetaInfo":{"__isSmartRef__":true,"id":25557},"__SourceModuleName__":"Global.lively.morphic.Core","__layered_draggingEnabled__":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":25558},"originalTargetExtent":null,"renderContextTable":{"__isSmartRef__":true,"id":25559},"eventHandler":{"__isSmartRef__":true,"id":25560},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":6901},"priorExtent":{"__isSmartRef__":true,"id":25561},"distanceToDragEvent":{"__isSmartRef__":true,"id":25562},"derivationIds":[373,"EE44AF79-9BA3-4128-9A82-23CA02A35CBA","2DF62558-574F-4341-A678-C082E7B62474","0B40BDFA-37E3-4097-9157-BE8CCF94B0A1","3600D2AA-3070-493B-839E-BF41427E5A08","B8F4C02B-011E-483E-A3AB-BE57DC9B1FBE","4C05283E-F381-40A9-9AEF-6D6D233F85FF"],"_Rotation":0,"_Scale":1,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":25563},"__LivelyClassName__":"lively.morphic.Box"},"25549":{"position":{"__isSmartRef__":true,"id":25550},"_Extent":{"__isSmartRef__":true,"id":25551},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":25552},"_Fill":{"__isSmartRef__":true,"id":25553},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":25554},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":25555},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"25550":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25551":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25552":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"25553":{"r":0.258,"g":0.258,"b":0.258,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25554":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"25555":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"25556":{"x":989.4967289451413,"y":548.9213818423029,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25557":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"25558":{"x":239,"y":138,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25559":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"25560":{"morph":{"__isSmartRef__":true,"id":25548},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"25561":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25562":{"x":33.337083585580785,"y":-5.721794364406264,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25563":{"onDrag":{"__isSmartRef__":true,"id":25564},"onDragEnd":{"__isSmartRef__":true,"id":25571},"onDragStart":{"__isSmartRef__":true,"id":25578}},"25564":{"varMapping":{"__isSmartRef__":true,"id":25565},"source":"function onDrag(evt) {\n\t// alert(\"onDrag\")\n\t\tvar moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n\t\tif (evt.isShiftDown()) {\n\t\t\tvar maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t\t\tmoveDelta = pt(maxDelta, maxDelta);\n\t\t}\n\t\tthis.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n\t\tthis.align(this.bounds().bottomRight(), this.owner.getExtent())\n}","funcProperties":{"__isSmartRef__":true,"id":25570},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25565":{"this":{"__isSmartRef__":true,"id":25548},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":25566}},"25566":{"$super":{"__isSmartRef__":true,"id":25567}},"25567":{"varMapping":{"__isSmartRef__":true,"id":25568},"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":25569},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25568":{"obj":{"__isSmartRef__":true,"id":25548},"name":"onDrag"},"25569":{},"25570":{},"25571":{"varMapping":{"__isSmartRef__":true,"id":25572},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":25577},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25572":{"this":{"__isSmartRef__":true,"id":25548},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":25573}},"25573":{"$super":{"__isSmartRef__":true,"id":25574}},"25574":{"varMapping":{"__isSmartRef__":true,"id":25575},"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":25576},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25575":{"obj":{"__isSmartRef__":true,"id":25548},"name":"onDragEnd"},"25576":{},"25577":{},"25578":{"varMapping":{"__isSmartRef__":true,"id":25579},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":25584},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25579":{"this":{"__isSmartRef__":true,"id":25548},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":25580}},"25580":{"$super":{"__isSmartRef__":true,"id":25581}},"25581":{"varMapping":{"__isSmartRef__":true,"id":25582},"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":25583},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25582":{"obj":{"__isSmartRef__":true,"id":25548},"name":"onDragStart"},"25583":{},"25584":{},"25585":{"submorphs":[{"__isSmartRef__":true,"id":25586},{"__isSmartRef__":true,"id":25600},{"__isSmartRef__":true,"id":25647},{"__isSmartRef__":true,"id":25682}],"scripts":[],"shape":{"__isSmartRef__":true,"id":25718},"id":"0F10A883-09C1-487E-9CB8-9D953FC45D91","renderContextTable":{"__isSmartRef__":true,"id":25724},"eventHandler":{"__isSmartRef__":true,"id":25725},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":25726},"_Position":{"__isSmartRef__":true,"id":25727},"windowMorph":{"__isSmartRef__":true,"id":6901},"label":{"__isSmartRef__":true,"id":25586},"closeButton":{"__isSmartRef__":true,"id":25600},"menuButton":{"__isSmartRef__":true,"id":25647},"collapseButton":{"__isSmartRef__":true,"id":25682},"priorExtent":{"__isSmartRef__":true,"id":25728},"owner":{"__isSmartRef__":true,"id":6901},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"derivationIds":[374,"CFE848EF-BE01-4E69-BBD0-796826FDBA2C","27B1F973-A4A1-49ED-8194-15A2125092E5","1AAC1E25-BFD3-4949-82B7-CA49C7FE30CC","AAFC6ADC-565B-42D5-B95A-49BB4FAE6F07","AA057279-ADDD-4D59-9A0A-E86FD7D21BE6","8EADAC43-54B0-4FAC-AF1C-A0D8FDD9E3CA"],"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.TitleBar"},"25586":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":25587},"id":"D38EE550-03E8-4169-9FE0-ABF790E54C54","renderContextTable":{"__isSmartRef__":true,"id":25593},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":25594}],"eventHandler":{"__isSmartRef__":true,"id":25596},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":25597},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":25585},"priorExtent":{"__isSmartRef__":true,"id":25598},"_MaxTextWidth":940.4967289451413,"_MinTextWidth":940.4967289451413,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":25599},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[375,"73673BCB-A91C-4ECA-A36D-D85A24B4F4A3","2EE1A4B9-842D-4C63-ABEA-21DC74163CEE","3F973521-D5D9-4B44-BCF8-822B923644E8","F50BD739-1DA1-4EB3-9653-7B3145EA8817","A7AE88A1-BD5C-4F03-9E65-373F047B2C25","F8F2EE4C-88F2-4D50-ABC7-1F747DC646BB"],"__LivelyClassName__":"lively.morphic.Text"},"25587":{"_Position":{"__isSmartRef__":true,"id":25588},"renderContextTable":{"__isSmartRef__":true,"id":25589},"_Extent":{"__isSmartRef__":true,"id":25590},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":25591},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":25592},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"25588":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25589":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"25590":{"x":940.4967289451413,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25591":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"25592":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"25593":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"25594":{"style":{"__isSmartRef__":true,"id":25595},"chunkOwner":{"__isSmartRef__":true,"id":25586},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Explorer","__LivelyClassName__":"lively.morphic.TextChunk"},"25595":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"normal","__LivelyClassName__":"lively.morphic.TextEmphasis"},"25596":{"morph":{"__isSmartRef__":true,"id":25586},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"25597":{"resizeWidth":true},"25598":{"x":940.4967289451413,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25599":{"x":20,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25600":{"submorphs":[{"__isSmartRef__":true,"id":25601}],"scripts":[],"shape":{"__isSmartRef__":true,"id":25613},"id":"10EFA3C3-9002-4148-988E-F48E69E2CB0E","renderContextTable":{"__isSmartRef__":true,"id":25629},"eventHandler":{"__isSmartRef__":true,"id":25630},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":25631},"priorExtent":{"__isSmartRef__":true,"id":25632},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":25619},"lighterFill":{"__isSmartRef__":true,"id":25633},"label":{"__isSmartRef__":true,"id":25601},"owner":{"__isSmartRef__":true,"id":25585},"layout":{"__isSmartRef__":true,"id":25642},"attributeConnections":[{"__isSmartRef__":true,"id":25643},{"__isSmartRef__":true,"id":25645}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[376,"C3AC01F3-7977-4D0A-A42C-700DE29F8F8E","A9533421-3987-49B1-B8FE-11D3B48B77B3","EC79C6DC-0809-4378-8061-032B4DD2D496","4DB70E9E-760D-401A-9BAD-25367B78CF72","1DC03620-BC8A-47EC-978A-2036FF929A8A","B048691C-3D91-4A6E-B21D-2AF0EB3E85C7"],"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.WindowControl"},"25601":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":25602},"id":"250CCC4B-1F38-4C26-B8C6-875DE716CB21","renderContextTable":{"__isSmartRef__":true,"id":25607},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":25608}],"eventHandler":{"__isSmartRef__":true,"id":25610},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":25611},"priorExtent":{"__isSmartRef__":true,"id":25612},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":25600},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[377,"C621D837-4DB4-4C83-A8C9-1C995944A45D","BCB8C9A6-BD1A-49F5-8BDD-7C6C8BFB840C","9AA4F44C-9D66-4990-B0E2-2998FC750C65","E136552C-1013-430B-8229-122AA2720D75","D343D9D5-BB6B-471C-89FD-977D04A54C18","198CEAEE-A3BF-4CED-8D10-C86583D458D7"],"__LivelyClassName__":"lively.morphic.Text"},"25602":{"_Position":{"__isSmartRef__":true,"id":25603},"renderContextTable":{"__isSmartRef__":true,"id":25604},"_Extent":{"__isSmartRef__":true,"id":25605},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":25606},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":25592},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"25603":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25604":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"25605":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25606":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"25607":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"25608":{"style":{"__isSmartRef__":true,"id":25609},"chunkOwner":{"__isSmartRef__":true,"id":25601},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk"},"25609":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"25610":{"morph":{"__isSmartRef__":true,"id":25601},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"25611":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25612":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25613":{"_Position":{"__isSmartRef__":true,"id":25614},"renderContextTable":{"__isSmartRef__":true,"id":25615},"_Extent":{"__isSmartRef__":true,"id":25616},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":25617},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":25618},"_Fill":{"__isSmartRef__":true,"id":25619},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"25614":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25615":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"25616":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25617":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"25618":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"25619":{"stops":[{"__isSmartRef__":true,"id":25620},{"__isSmartRef__":true,"id":25622},{"__isSmartRef__":true,"id":25624},{"__isSmartRef__":true,"id":25626}],"vector":{"__isSmartRef__":true,"id":25628},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"25620":{"offset":0,"color":{"__isSmartRef__":true,"id":25621}},"25621":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"25622":{"offset":0.4,"color":{"__isSmartRef__":true,"id":25623}},"25623":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"25624":{"offset":0.6,"color":{"__isSmartRef__":true,"id":25625}},"25625":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"25626":{"offset":1,"color":{"__isSmartRef__":true,"id":25627}},"25627":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"25628":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"25629":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"25630":{"morph":{"__isSmartRef__":true,"id":25600},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"25631":{"x":979.4967289451413,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25632":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25633":{"stops":[{"__isSmartRef__":true,"id":25634},{"__isSmartRef__":true,"id":25636},{"__isSmartRef__":true,"id":25638},{"__isSmartRef__":true,"id":25640}],"vector":{"__isSmartRef__":true,"id":25628},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"25634":{"offset":0,"color":{"__isSmartRef__":true,"id":25635}},"25635":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"25636":{"offset":0.4,"color":{"__isSmartRef__":true,"id":25637}},"25637":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"25638":{"offset":0.6,"color":{"__isSmartRef__":true,"id":25639}},"25639":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"25640":{"offset":1,"color":{"__isSmartRef__":true,"id":25641}},"25641":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"25642":{"moveHorizontal":true},"25643":{"sourceObj":{"__isSmartRef__":true,"id":25600},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":6901},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":25644},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"25644":{"source":{"__isSmartRef__":true,"id":25600},"target":{"__isSmartRef__":true,"id":6901}},"25645":{"sourceObj":{"__isSmartRef__":true,"id":25600},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":6901},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":25646},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"25646":{"source":{"__isSmartRef__":true,"id":25600},"target":{"__isSmartRef__":true,"id":6901}},"25647":{"submorphs":[{"__isSmartRef__":true,"id":25648}],"scripts":[],"shape":{"__isSmartRef__":true,"id":25660},"id":"97DE5AEC-89BE-4030-AC13-A94628FB320F","renderContextTable":{"__isSmartRef__":true,"id":25665},"eventHandler":{"__isSmartRef__":true,"id":25666},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":25667},"priorExtent":{"__isSmartRef__":true,"id":25668},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":25619},"lighterFill":{"__isSmartRef__":true,"id":25669},"label":{"__isSmartRef__":true,"id":25648},"owner":{"__isSmartRef__":true,"id":25585},"attributeConnections":[{"__isSmartRef__":true,"id":25678},{"__isSmartRef__":true,"id":25680}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","prevScroll":[0,0],"derivationIds":[378,"FF4FE4CA-DFFC-40C6-A1E8-32667E37F3EC","A8A6A338-D618-4672-AFA8-914FD7C2A19E","85D2A7A2-F0B5-45CD-BB83-E6F60E8B681C","535E0653-E19D-4F22-952A-34C8EDED44E9","977A1381-981C-4500-B887-78143DE21406","62DA4EDF-FBE4-4D01-834D-C3E763CF55DE"],"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.WindowControl"},"25648":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":25649},"id":"26546EA0-9F51-4FC5-9DB8-BAE769C80D2F","renderContextTable":{"__isSmartRef__":true,"id":25654},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":25655}],"eventHandler":{"__isSmartRef__":true,"id":25657},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":25658},"priorExtent":{"__isSmartRef__":true,"id":25659},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":25647},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"derivationIds":[379,"9C08820E-6B60-44C2-9150-BD546391671F","36F5662C-375A-4549-B94E-F150DCBCE3F8","030ACD5E-7567-45E7-928D-24821846DBD3","B1DB7B8C-99F5-44D9-8312-ADD58545154E","9037A2C8-C56D-4C9B-B2B6-FFEBD4CFC0B0","353D5A24-E404-457D-93C4-BC195B094724"],"__LivelyClassName__":"lively.morphic.Text"},"25649":{"_Position":{"__isSmartRef__":true,"id":25650},"renderContextTable":{"__isSmartRef__":true,"id":25651},"_Extent":{"__isSmartRef__":true,"id":25652},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":25653},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":25592},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"25650":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25651":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"25652":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25653":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"25654":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"25655":{"style":{"__isSmartRef__":true,"id":25656},"chunkOwner":{"__isSmartRef__":true,"id":25648},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk"},"25656":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"25657":{"morph":{"__isSmartRef__":true,"id":25648},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"25658":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25659":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25660":{"_Position":{"__isSmartRef__":true,"id":25661},"renderContextTable":{"__isSmartRef__":true,"id":25662},"_Extent":{"__isSmartRef__":true,"id":25663},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":25664},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":25618},"_Fill":{"__isSmartRef__":true,"id":25619},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"25661":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25662":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"25663":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25664":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"25665":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"25666":{"morph":{"__isSmartRef__":true,"id":25647},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"25667":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25668":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25669":{"stops":[{"__isSmartRef__":true,"id":25670},{"__isSmartRef__":true,"id":25672},{"__isSmartRef__":true,"id":25674},{"__isSmartRef__":true,"id":25676}],"vector":{"__isSmartRef__":true,"id":25628},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"25670":{"offset":0,"color":{"__isSmartRef__":true,"id":25671}},"25671":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"25672":{"offset":0.4,"color":{"__isSmartRef__":true,"id":25673}},"25673":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"25674":{"offset":0.6,"color":{"__isSmartRef__":true,"id":25675}},"25675":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"25676":{"offset":1,"color":{"__isSmartRef__":true,"id":25677}},"25677":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"25678":{"sourceObj":{"__isSmartRef__":true,"id":25647},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":6901},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":25679},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"25679":{"source":{"__isSmartRef__":true,"id":25647},"target":{"__isSmartRef__":true,"id":6901}},"25680":{"sourceObj":{"__isSmartRef__":true,"id":25647},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":6901},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":25681},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"25681":{"source":{"__isSmartRef__":true,"id":25647},"target":{"__isSmartRef__":true,"id":6901}},"25682":{"submorphs":[{"__isSmartRef__":true,"id":25683}],"scripts":[],"shape":{"__isSmartRef__":true,"id":25695},"id":"65670C89-272E-40D5-A418-5EDA0FE4411D","renderContextTable":{"__isSmartRef__":true,"id":25700},"eventHandler":{"__isSmartRef__":true,"id":25701},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":25702},"priorExtent":{"__isSmartRef__":true,"id":25703},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":25619},"lighterFill":{"__isSmartRef__":true,"id":25704},"label":{"__isSmartRef__":true,"id":25683},"owner":{"__isSmartRef__":true,"id":25585},"layout":{"__isSmartRef__":true,"id":25713},"attributeConnections":[{"__isSmartRef__":true,"id":25714},{"__isSmartRef__":true,"id":25716}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[380,"B603C6F6-E6E9-4618-BF46-1521ADDE21FE","7D67707D-A36A-46C7-AF4E-DBA063259CD8","0CE8DB38-9500-4B3D-BA30-191E72ABDE7C","9C2B6C81-CB1C-4AD9-941A-5307CCDA74CC","27DE4ECD-BBB4-4CA2-9C13-DBE49DE7A744","B9D13F17-7AA4-44BC-AA55-FF1F6DB50D8C"],"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.WindowControl"},"25683":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":25684},"id":"D4D8018F-42D0-4152-B5DF-FEE0506D2074","renderContextTable":{"__isSmartRef__":true,"id":25689},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":25690}],"eventHandler":{"__isSmartRef__":true,"id":25692},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":25693},"priorExtent":{"__isSmartRef__":true,"id":25694},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":25682},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[381,"B48F0AA9-A9AE-4316-865F-D969FFFD4C87","3CE2E949-41E5-4680-ADB0-8AF865F87CA7","C865C749-7005-416E-B5A2-0FB224AB308E","CAED6589-594E-438B-ADB7-264F9B9D92B0","A391E593-03B1-4FDA-B6B3-978336437357","40913CEC-D4ED-4CA1-97B2-858D96CDC1F3"],"__LivelyClassName__":"lively.morphic.Text"},"25684":{"_Position":{"__isSmartRef__":true,"id":25685},"renderContextTable":{"__isSmartRef__":true,"id":25686},"_Extent":{"__isSmartRef__":true,"id":25687},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":25688},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":25592},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"25685":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25686":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"25687":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25688":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"25689":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"25690":{"style":{"__isSmartRef__":true,"id":25691},"chunkOwner":{"__isSmartRef__":true,"id":25683},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk"},"25691":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"25692":{"morph":{"__isSmartRef__":true,"id":25683},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"25693":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25694":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25695":{"_Position":{"__isSmartRef__":true,"id":25696},"renderContextTable":{"__isSmartRef__":true,"id":25697},"_Extent":{"__isSmartRef__":true,"id":25698},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":25699},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":25618},"_Fill":{"__isSmartRef__":true,"id":25619},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"25696":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25697":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"25698":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25699":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"25700":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"25701":{"morph":{"__isSmartRef__":true,"id":25682},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"25702":{"x":960.4967289451413,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25703":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25704":{"stops":[{"__isSmartRef__":true,"id":25705},{"__isSmartRef__":true,"id":25707},{"__isSmartRef__":true,"id":25709},{"__isSmartRef__":true,"id":25711}],"vector":{"__isSmartRef__":true,"id":25628},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"25705":{"offset":0,"color":{"__isSmartRef__":true,"id":25706}},"25706":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"25707":{"offset":0.4,"color":{"__isSmartRef__":true,"id":25708}},"25708":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"25709":{"offset":0.6,"color":{"__isSmartRef__":true,"id":25710}},"25710":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"25711":{"offset":1,"color":{"__isSmartRef__":true,"id":25712}},"25712":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"25713":{"moveHorizontal":true},"25714":{"sourceObj":{"__isSmartRef__":true,"id":25682},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":6901},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":25715},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"25715":{"source":{"__isSmartRef__":true,"id":25682},"target":{"__isSmartRef__":true,"id":6901}},"25716":{"sourceObj":{"__isSmartRef__":true,"id":25682},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":6901},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":25717},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"25717":{"source":{"__isSmartRef__":true,"id":25682},"target":{"__isSmartRef__":true,"id":6901}},"25718":{"_Position":{"__isSmartRef__":true,"id":25719},"renderContextTable":{"__isSmartRef__":true,"id":25720},"_Extent":{"__isSmartRef__":true,"id":25721},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":25722},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":25723},"_Fill":{"__isSmartRef__":true,"id":6757},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","_Opacity":1,"_BorderStyle":"solid","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"25719":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25720":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"25721":{"x":999.4967289451413,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25722":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"25723":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"25724":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"25725":{"morph":{"__isSmartRef__":true,"id":25585},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"25726":{"resizeWidth":true,"adjustForNewBounds":true},"25727":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25728":{"x":999.4967289451413,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25729":{"renderContextTable":{"__isSmartRef__":true,"id":25730},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":25731},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":25732},"__SourceModuleName__":"Global.lively.morphic.Shapes","_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"25730":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"25731":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"25732":{"x":999.4967289451413,"y":558.9213818423029,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25733":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"25734":{"morph":{"__isSmartRef__":true,"id":6901},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"25735":{"adjustForNewBounds":true},"25736":{"x":76.88778387652951,"y":524.0776954539076,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25737":{"x":999.4967289451413,"y":558.9213818423029,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25738":{"x":0,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25739":{"partsSpaceName":"PartsBin/Tools","__SourceModuleName__":"Global.lively.PartsBin","comment":"Displays object properties and provides a workspace. The workspace's context is set to the last clicked element.","migrationLevel":4,"partName":"Explorer","changes":[{"__isSmartRef__":true,"id":25740},{"__isSmartRef__":true,"id":25742},{"__isSmartRef__":true,"id":25744},{"__isSmartRef__":true,"id":25746},{"__isSmartRef__":true,"id":25748},{"__isSmartRef__":true,"id":25750},{"__isSmartRef__":true,"id":25752},{"__isSmartRef__":true,"id":25754},{"__isSmartRef__":true,"id":25756},{"__isSmartRef__":true,"id":25758},{"__isSmartRef__":true,"id":25760},{"__isSmartRef__":true,"id":25762},{"__isSmartRef__":true,"id":25764},{"__isSmartRef__":true,"id":25766},{"__isSmartRef__":true,"id":25768},{"__isSmartRef__":true,"id":25770},{"__isSmartRef__":true,"id":25772},{"__isSmartRef__":true,"id":25774},{"__isSmartRef__":true,"id":25776},{"__isSmartRef__":true,"id":25778},{"__isSmartRef__":true,"id":25780},{"__isSmartRef__":true,"id":25782}],"revisionOnLoad":148785,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"25740":{"date":{"__isSmartRef__":true,"id":25741},"author":"lauritz","message":"","id":"41FC1B0F-23FC-4454-A424-F141A1C09663"},"25741":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:46:05 GMT+0100 (CET)"},"25742":{"date":{"__isSmartRef__":true,"id":25743},"author":"lauritz","message":"added >>expandAllNodes() which can expand complete trees, but not graphs.","id":"60178F3F-BA87-45A8-BD26-CF776AC017A7"},"25743":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:33:39 GMT+0100 (CET)"},"25744":{"date":{"__isSmartRef__":true,"id":25745},"author":"lauritz","message":"decreased width a bit","id":"837B2170-C0B8-4FA1-99D3-D6A1EB465519"},"25745":{"isSerializedDate":true,"string":"Sat Dec 03 2011 00:36:19 GMT+0100 (CET)"},"25746":{"date":{"__isSmartRef__":true,"id":25747},"author":"lauritz","message":"made expanding loop asynchronous","id":"5DFF88BC-08E6-43BD-B5B1-A9E8C93C7B19"},"25747":{"isSerializedDate":true,"string":"Wed Nov 30 2011 23:23:19 GMT+0100 (CET)"},"25748":{"date":{"__isSmartRef__":true,"id":25749},"author":"lauritz","message":"corrected toggling","id":"BFC57057-2596-42D0-89A1-811C34FCF5E1"},"25749":{"isSerializedDate":true,"string":"Tue Nov 22 2011 22:44:25 GMT+0100 (CET)"},"25750":{"date":{"__isSmartRef__":true,"id":25751},"author":"lauritz","message":"set a minimal extent","id":"D1DCDCB8-84EE-48D9-8AAE-3926E9D97D30"},"25751":{"isSerializedDate":true,"string":"Tue Nov 15 2011 23:39:16 GMT+0100 (CET)"},"25752":{"date":{"__isSmartRef__":true,"id":25753},"author":"lauritz","message":"convenience preset by default: tree is expanded, workspace says \"this\"","id":"D364A417-6014-4266-8DF3-CEA313F15793"},"25753":{"isSerializedDate":true,"string":"Tue Nov 15 2011 23:18:29 GMT+0100 (CET)"},"25754":{"date":{"__isSmartRef__":true,"id":25755},"author":"lauritz","message":"Disabled grabbing and dragging on other morphs as well."},"25755":{"isSerializedDate":true,"string":"Tue Oct 25 2011 20:23:10 GMT+0200 (CEST)"},"25756":{"date":{"__isSmartRef__":true,"id":25757},"author":"lauritz","message":"Disabled dragging and grabbing on tree nodes. Those should only be clickable."},"25757":{"isSerializedDate":true,"string":"Tue Oct 25 2011 19:25:14 GMT+0200 (CEST)"},"25758":{"date":{"__isSmartRef__":true,"id":25759},"author":"lauritz","message":"Fixed a bug by adding a condition to getClassNameOf. In case an object has no constructor."},"25759":{"isSerializedDate":true,"string":"Tue Oct 25 2011 22:37:11 GMT+0200 (CEST)"},"25760":{"date":{"__isSmartRef__":true,"id":25761},"author":"jenslincke","message":"reset scales","id":"5E64592A-C360-44DD-BDAE-AD956FBA7675"},"25761":{"isSerializedDate":true,"string":"Fri Oct 28 2011 16:11:21 GMT+0200 (CEST)"},"25762":{"date":{"__isSmartRef__":true,"id":25763},"author":"jenslincke","message":"bring resize corner to front","id":"765AA8A1-AA38-433A-B800-FFF743B3B9EF"},"25763":{"isSerializedDate":true,"string":"Thu Nov 03 2011 16:10:26 GMT+0100 (CET)"},"25764":{"date":{"__isSmartRef__":true,"id":25765},"author":"lauritz","message":"layout changes","id":"F09F5196-5203-405A-8EC3-1648A100FFF5"},"25765":{"isSerializedDate":true,"string":"Fri Nov 18 2011 23:54:38 GMT+0100 (CET)"},"25766":{"date":{"__isSmartRef__":true,"id":25767},"author":"lauritz","message":"corrected the order of array elements","id":"B41E19A0-DDED-40DC-BD23-6AB94F76D76D"},"25767":{"isSerializedDate":true,"string":"Tue Nov 22 2011 23:44:29 GMT+0100 (CET)"},"25768":{"date":{"__isSmartRef__":true,"id":25769},"author":"fbo","message":"fix Date bug","id":"64EDCB63-EB39-477E-A73D-E066101A8B21"},"25769":{"isSerializedDate":true,"string":"Sat Dec 03 2011 00:07:10 GMT+0100 (CET)"},"25770":{"date":{"__isSmartRef__":true,"id":25771},"author":"lauritz","message":"significantly reduced a performance problem regarding \"long\" string properties, doesnt freeze anymore.","id":"EA85DB22-3FD3-4D13-B769-763C4483C445"},"25771":{"isSerializedDate":true,"string":"Tue Dec 06 2011 00:55:19 GMT+0100 (CET)"},"25772":{"date":{"__isSmartRef__":true,"id":25773},"author":"lauritz","message":"clicking a node no longer resets the workspace content","id":"C8AE0678-08F5-4FFB-9662-77D7120DA285"},"25773":{"isSerializedDate":true,"string":"Tue Dec 13 2011 23:22:10 GMT+0100 (CET)"},"25774":{"date":{"__isSmartRef__":true,"id":25775},"author":"lauritz","message":"renamed >>#expandAllNodes to >>#toggleAll","id":"D9931ABA-396B-4C81-9C7E-7C2712405803"},"25775":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:41:44 GMT+0100 (CET)"},"25776":{"date":{"__isSmartRef__":true,"id":25777},"author":"lauritz","message":"asynchronous >>#toggleAll, because toggling is actually asynchronous and rendering as well...","id":"3B15F99C-CFD6-41FA-9778-D2BFBBD53B8D"},"25777":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:58:54 GMT+0100 (CET)"},"25778":{"date":{"__isSmartRef__":true,"id":25779},"author":"lauritz","message":"cleaned up how all typeof stuff","id":"98CD54B3-3527-4C4C-8577-A0B7476D8718"},"25779":{"isSerializedDate":true,"string":"Fri Jan 27 2012 02:31:53 GMT+0100 (CET)"},"25780":{"date":{"__isSmartRef__":true,"id":25781},"author":"lauritz","message":"","id":"183BD443-7A32-4E3B-8F6B-96473B0C4CB7"},"25781":{"isSerializedDate":true,"string":"Fri Jan 27 2012 02:35:42 GMT+0100 (CET)"},"25782":{"date":{"__isSmartRef__":true,"id":25783},"author":"jenslincke","message":"style tweak","id":"C366B53C-40DC-445D-B882-F5F147CD349F"},"25783":{"isSerializedDate":true,"string":"Mon Jan 30 2012 14:04:58 GMT+0100 (CET)"},"25784":{"x":977,"y":548,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25785":{"x":178,"y":269,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25786":{"explore":{"__isSmartRef__":true,"id":25787},"reset":{"__isSmartRef__":true,"id":25791},"inspect":{"__isSmartRef__":true,"id":25795},"toggleAll":{"__isSmartRef__":true,"id":25799}},"25787":{"varMapping":{"__isSmartRef__":true,"id":25788},"source":"function explore(object) {\n // please see this window's pane, \"ExplorerPane\"\n this.explorer.explore(object);\n}","funcProperties":{"__isSmartRef__":true,"id":25789},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25788":{"this":{"__isSmartRef__":true,"id":6901}},"25789":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":25790}},"25790":{"isSerializedDate":true,"string":"Wed Sep 21 2011 19:25:04 GMT+0200 (CEST)"},"25791":{"varMapping":{"__isSmartRef__":true,"id":25792},"source":"function reset() {\n // please see this window's pane, \"ExplorerPane\"\n this.explorer.reset();\n}","funcProperties":{"__isSmartRef__":true,"id":25793},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25792":{"this":{"__isSmartRef__":true,"id":6901}},"25793":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":25794}},"25794":{"isSerializedDate":true,"string":"Wed Sep 21 2011 19:25:04 GMT+0200 (CEST)"},"25795":{"varMapping":{"__isSmartRef__":true,"id":25796},"source":"function inspect(object) {\n // alias for explore\n this.explore(object);\n}","funcProperties":{"__isSmartRef__":true,"id":25797},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25796":{"this":{"__isSmartRef__":true,"id":6901}},"25797":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":25798}},"25798":{"isSerializedDate":true,"string":"Tue Nov 15 2011 23:04:54 GMT+0100 (CET)"},"25799":{"varMapping":{"__isSmartRef__":true,"id":25800},"source":"function toggleAll() {\n this.explorer.toggleAll();\n}","funcProperties":{"__isSmartRef__":true,"id":25801},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25800":{"this":{"__isSmartRef__":true,"id":6901}},"25801":{"timestamp":{"__isSmartRef__":true,"id":25802},"user":"lauritz","tags":[]},"25802":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:40:45 GMT+0100 (CET)"},"25803":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":25804},"id":2,"renderContextTable":{"__isSmartRef__":true,"id":25810},"eventHandler":{"__isSmartRef__":true,"id":25811},"droppingEnabled":false,"halosEnabled":false,"_world":{"__isSmartRef__":true,"id":0},"eventsAreIgnored":true,"_HandStyle":"default","_PointerEvents":"none","_Position":{"__isSmartRef__":true,"id":25812},"priorExtent":{"__isSmartRef__":true,"id":25813},"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"__SourceModuleName__":"Global.lively.morphic.Events","internalClickedOnMorph":{"__isSmartRef__":true,"id":25814},"carriesGrabbedMorphs":false,"lastScrollTime":1336169102838,"_ClipMode":"visible","scrollFocusMorph":{"__isSmartRef__":true,"id":25814},"__LivelyClassName__":"lively.morphic.HandMorph","withLayers":["Global.NoMagnetsLayer"]},"25804":{"_Position":{"__isSmartRef__":true,"id":25805},"renderContextTable":{"__isSmartRef__":true,"id":25806},"_Extent":{"__isSmartRef__":true,"id":25807},"_Fill":{"__isSmartRef__":true,"id":25808},"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":25809},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"25805":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25806":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"25807":{"x":2,"y":2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25808":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25809":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"25810":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"25811":{"morph":{"__isSmartRef__":true,"id":25803},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"25812":{"x":59,"y":494,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25813":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25814":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":25815},"derivationIds":[null],"id":"E0B8C0E0-0C0D-4154-A33B-320F211148F5","renderContextTable":{"__isSmartRef__":true,"id":25825},"_WhiteSpaceHandling":"pre","eventHandler":{"__isSmartRef__":true,"id":25826},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"textChunks":[{"__isSmartRef__":true,"id":25827}],"evalEnabled":false,"_HandStyle":"default","priorExtent":{"__isSmartRef__":true,"id":25829},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"isSelected":true,"_TextColor":{"__isSmartRef__":true,"id":6759},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":25830},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"25815":{"_Position":{"__isSmartRef__":true,"id":25816},"renderContextTable":{"__isSmartRef__":true,"id":25817},"_Extent":{"__isSmartRef__":true,"id":25818},"_Padding":{"__isSmartRef__":true,"id":25819},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":778},"_Fill":{"__isSmartRef__":true,"id":25820},"_BorderRadius":4,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"25816":{"x":0,"y":184,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25817":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"25818":{"x":172,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25819":{"x":3,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25820":{"stops":[{"__isSmartRef__":true,"id":25821},{"__isSmartRef__":true,"id":25823}],"vector":{"__isSmartRef__":true,"id":797},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"25821":{"offset":0,"color":{"__isSmartRef__":true,"id":25822}},"25822":{"r":0.39215686274509803,"g":0.5137254901960784,"b":0.9725490196078431,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25823":{"offset":1,"color":{"__isSmartRef__":true,"id":25824}},"25824":{"r":0.13333333333333333,"g":0.3333333333333333,"b":0.9607843137254902,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25825":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"25826":{"morph":{"__isSmartRef__":true,"id":25814},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"25827":{"style":{"__isSmartRef__":true,"id":25828},"chunkOwner":{"__isSmartRef__":true,"id":25814},"storedString":"save world","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"25828":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"25829":{"x":73,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25830":{"onMouseWheel":{"__isSmartRef__":true,"id":25831},"onSelectStart":{"__isSmartRef__":true,"id":25838},"deselect":{"__isSmartRef__":true,"id":25845}},"25831":{"varMapping":{"__isSmartRef__":true,"id":25832},"source":"function onMouseWheel(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":25837},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25832":{"this":{"__isSmartRef__":true,"id":25814},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":25833}},"25833":{"$super":{"__isSmartRef__":true,"id":25834}},"25834":{"varMapping":{"__isSmartRef__":true,"id":25835},"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":25836},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25835":{"obj":{"__isSmartRef__":true,"id":25814},"name":"onMouseWheel"},"25836":{},"25837":{},"25838":{"varMapping":{"__isSmartRef__":true,"id":25839},"source":"function onSelectStart(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":25844},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25839":{"this":{"__isSmartRef__":true,"id":25814},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":25840}},"25840":{"$super":{"__isSmartRef__":true,"id":25841}},"25841":{"varMapping":{"__isSmartRef__":true,"id":25842},"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":25843},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25842":{"obj":{"__isSmartRef__":true,"id":25814},"name":"onSelectStart"},"25843":{},"25844":{},"25845":{"varMapping":{"__isSmartRef__":true,"id":25846},"source":"function deselect(evt) {\n this.isSelected = false;\n this.applyStyle({fill: null, textColor: Color.black});\n }","funcProperties":{"__isSmartRef__":true,"id":25847},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25846":{"this":{"__isSmartRef__":true,"id":25814}},"25847":{},"25848":{"_Position":{"__isSmartRef__":true,"id":25849},"renderContextTable":{"__isSmartRef__":true,"id":25850},"_Extent":{"__isSmartRef__":true,"id":25851},"_Fill":{"__isSmartRef__":true,"id":25852},"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":25853},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"25849":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25850":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"25851":{"x":5000,"y":3000,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25852":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25853":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"25854":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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"},"25855":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"25856":{"x":-1,"y":-2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25857":{"x":1024,"y":768,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25858":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"25859":{"x":56,"y":490,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25860":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/projects/WebDev2012/Telautim/menu.xhtml","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"25861":{"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":25862},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":25863},"__LivelyClassName__":"AttributeConnection"},"25862":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"25863":{"updater":{"__isSmartRef__":true,"id":25864}},"25864":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":25862},"source":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) {\n $upd(v)\n }\n }","funcProperties":{"__isSmartRef__":true,"id":25865},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"25865":{},"isSimplifiedRegistry":true}}]]>