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":1724},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1719":{"this":{"__isSmartRef__":true,"id":1359},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1720}},"1720":{"$super":{"__isSmartRef__":true,"id":1721}},"1721":{"varMapping":{"__isSmartRef__":true,"id":1722},"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":1723},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1722":{"obj":{"__isSmartRef__":true,"id":1359},"name":"onTouchEnd"},"1723":{},"1724":{"timestamp":{"__isSmartRef__":true,"id":1725},"user":"sstamm","tags":[]},"1725":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (Mitteleuropäische Zeit)"},"1726":{"varMapping":{"__isSmartRef__":true,"id":1727},"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":1728},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1727":{"this":{"__isSmartRef__":true,"id":1359}},"1728":{"timestamp":{"__isSmartRef__":true,"id":1729},"user":"sstamm","tags":[]},"1729":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (Mitteleuropäische Zeit)"},"1730":{"varMapping":{"__isSmartRef__":true,"id":1731},"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":1732},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1731":{"this":{"__isSmartRef__":true,"id":1359}},"1732":{"timestamp":{"__isSmartRef__":true,"id":1733},"user":"sstamm","tags":[]},"1733":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (Mitteleuropäische Zeit)"},"1734":{"position":{"__isSmartRef__":true,"id":1735},"_Extent":{"__isSmartRef__":true,"id":1736},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1737},"_Fill":{"__isSmartRef__":true,"id":1738},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1739},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1740},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1735":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1736":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1737":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1738":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1739":{},"1740":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1741":{"x":7,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1742":{"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":1743},{"__isSmartRef__":true,"id":1745},{"__isSmartRef__":true,"id":1747},{"__isSmartRef__":true,"id":1749}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1743":{"date":{"__isSmartRef__":true,"id":1744},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"1744":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (Mitteleuropäische Zeit)"},"1745":{"date":{"__isSmartRef__":true,"id":1746},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"1746":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (Mitteleuropäische Zeit)"},"1747":{"date":{"__isSmartRef__":true,"id":1748},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"1748":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (Mitteleuropäische Zeit)"},"1749":{"date":{"__isSmartRef__":true,"id":1750},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"1750":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (Mitteleuropäische Zeit)"},"1751":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1752":{"morph":{"__isSmartRef__":true,"id":1358},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1753":{"sourceObj":{"__isSmartRef__":true,"id":1358},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1358},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1754":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1755":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"1756":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1757":{"onrestore":{"__isSmartRef__":true,"id":1758},"initialize":{"__isSmartRef__":true,"id":1766},"addItem":{"__isSmartRef__":true,"id":1774},"createListItem":{"__isSmartRef__":true,"id":1778},"touchstartCallback":{"__isSmartRef__":true,"id":1396},"touchmoveCallback":{"__isSmartRef__":true,"id":1400},"touchendCallback":{"__isSmartRef__":true,"id":1404},"updateSelection":{"__isSmartRef__":true,"id":1782},"handleClick":{"__isSmartRef__":true,"id":1786},"initializeListEntries":{"__isSmartRef__":true,"id":1790}},"1758":{"varMapping":{"__isSmartRef__":true,"id":1759},"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":1764},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1759":{"this":{"__isSmartRef__":true,"id":1358},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1760}},"1760":{"$super":{"__isSmartRef__":true,"id":1761}},"1761":{"varMapping":{"__isSmartRef__":true,"id":1762},"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":1763},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1762":{"obj":{"__isSmartRef__":true,"id":1358},"name":"onrestore"},"1763":{},"1764":{"timestamp":{"__isSmartRef__":true,"id":1765},"user":"sstamm","tags":[]},"1765":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (Mitteleuropäische Zeit)"},"1766":{"varMapping":{"__isSmartRef__":true,"id":1767},"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":1772},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1767":{"this":{"__isSmartRef__":true,"id":1358},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1768}},"1768":{"$super":{"__isSmartRef__":true,"id":1769}},"1769":{"varMapping":{"__isSmartRef__":true,"id":1770},"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":1771},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1770":{"obj":{"__isSmartRef__":true,"id":1358},"name":"initialize"},"1771":{},"1772":{"timestamp":{"__isSmartRef__":true,"id":1773},"user":"sstamm","tags":[]},"1773":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (Mitteleuropäische Zeit)"},"1774":{"varMapping":{"__isSmartRef__":true,"id":1775},"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":1776},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1775":{"this":{"__isSmartRef__":true,"id":1358}},"1776":{"timestamp":{"__isSmartRef__":true,"id":1777},"user":"sstamm","tags":[]},"1777":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (Mitteleuropäische Zeit)"},"1778":{"varMapping":{"__isSmartRef__":true,"id":1779},"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":1780},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1779":{"this":{"__isSmartRef__":true,"id":1358}},"1780":{"timestamp":{"__isSmartRef__":true,"id":1781},"user":"sstamm","tags":[]},"1781":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (Mitteleuropäische Zeit)"},"1782":{"varMapping":{"__isSmartRef__":true,"id":1783},"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":1784},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1783":{"this":{"__isSmartRef__":true,"id":1358}},"1784":{"timestamp":{"__isSmartRef__":true,"id":1785},"user":"sstamm","tags":[]},"1785":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (Mitteleuropäische Zeit)"},"1786":{"varMapping":{"__isSmartRef__":true,"id":1787},"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":1788},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1787":{"this":{"__isSmartRef__":true,"id":1358}},"1788":{"timestamp":{"__isSmartRef__":true,"id":1789},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"1789":{"isSerializedDate":true,"string":"Tue Jan 31 2012 13:26:04 GMT+0100 (Mitteleuropäische Zeit)"},"1790":{"varMapping":{"__isSmartRef__":true,"id":1791},"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":1792},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1791":{"this":{"__isSmartRef__":true,"id":1358}},"1792":{"timestamp":{"__isSmartRef__":true,"id":1793},"user":"conradcalmez","tags":[]},"1793":{"isSerializedDate":true,"string":"Tue Jan 31 2012 11:56:41 GMT+0100 (Mitteleuropäische Zeit)"},"1794":{"onTouchStart":{"__isSmartRef__":true,"id":1795},"onTouchMove":{"__isSmartRef__":true,"id":1803},"onTouchEnd":{"__isSmartRef__":true,"id":1811},"stayInBounds":{"__isSmartRef__":true,"id":1819},"isInBounds":{"__isSmartRef__":true,"id":1823}},"1795":{"varMapping":{"__isSmartRef__":true,"id":1796},"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":1801},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1796":{"this":{"__isSmartRef__":true,"id":1343},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1797}},"1797":{"$super":{"__isSmartRef__":true,"id":1798}},"1798":{"varMapping":{"__isSmartRef__":true,"id":1799},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1800},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1799":{"obj":{"__isSmartRef__":true,"id":1343},"name":"onTouchStart"},"1800":{},"1801":{"timestamp":{"__isSmartRef__":true,"id":1802},"user":"sstamm","tags":[]},"1802":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (Mitteleuropäische Zeit)"},"1803":{"varMapping":{"__isSmartRef__":true,"id":1804},"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":1809},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1804":{"this":{"__isSmartRef__":true,"id":1343},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1805}},"1805":{"$super":{"__isSmartRef__":true,"id":1806}},"1806":{"varMapping":{"__isSmartRef__":true,"id":1807},"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":1808},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1807":{"obj":{"__isSmartRef__":true,"id":1343},"name":"onTouchMove"},"1808":{},"1809":{"timestamp":{"__isSmartRef__":true,"id":1810},"user":"sstamm","tags":[]},"1810":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:54:39 GMT+0100 (Mitteleuropäische Zeit)"},"1811":{"varMapping":{"__isSmartRef__":true,"id":1812},"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":1817},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1812":{"this":{"__isSmartRef__":true,"id":1343},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1813}},"1813":{"$super":{"__isSmartRef__":true,"id":1814}},"1814":{"varMapping":{"__isSmartRef__":true,"id":1815},"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":1816},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1815":{"obj":{"__isSmartRef__":true,"id":1343},"name":"onTouchEnd"},"1816":{},"1817":{"timestamp":{"__isSmartRef__":true,"id":1818},"user":"sstamm","tags":[]},"1818":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (Mitteleuropäische Zeit)"},"1819":{"varMapping":{"__isSmartRef__":true,"id":1820},"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":1821},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1820":{"this":{"__isSmartRef__":true,"id":1343}},"1821":{"timestamp":{"__isSmartRef__":true,"id":1822},"user":"sstamm","tags":[]},"1822":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (Mitteleuropäische Zeit)"},"1823":{"varMapping":{"__isSmartRef__":true,"id":1824},"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":1825},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1824":{"this":{"__isSmartRef__":true,"id":1343}},"1825":{"timestamp":{"__isSmartRef__":true,"id":1826},"user":"sstamm","tags":[]},"1826":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (Mitteleuropäische Zeit)"},"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":1832},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1833},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1828":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1829":{"x":348,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1830":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1831":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1832":{},"1833":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1834":{"x":-174.5,"y":84,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1835":{"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":1836},{"__isSmartRef__":true,"id":1838},{"__isSmartRef__":true,"id":1840},{"__isSmartRef__":true,"id":1842}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1836":{"date":{"__isSmartRef__":true,"id":1837},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"1837":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (Mitteleuropäische Zeit)"},"1838":{"date":{"__isSmartRef__":true,"id":1839},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"1839":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (Mitteleuropäische Zeit)"},"1840":{"date":{"__isSmartRef__":true,"id":1841},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"1841":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (Mitteleuropäische Zeit)"},"1842":{"date":{"__isSmartRef__":true,"id":1843},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"1843":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (Mitteleuropäische Zeit)"},"1844":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1845":{"morph":{"__isSmartRef__":true,"id":1342},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1846":{"sourceObj":{"__isSmartRef__":true,"id":1342},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1342},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1847":{"x":348,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1848":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"1849":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1850":{"onrestore":{"__isSmartRef__":true,"id":1851},"addItem":{"__isSmartRef__":true,"id":1859},"createListItem":{"__isSmartRef__":true,"id":1863},"touchstartCallback":{"__isSmartRef__":true,"id":1867},"touchmoveCallback":{"__isSmartRef__":true,"id":1871},"touchendCallback":{"__isSmartRef__":true,"id":1875},"updateSelection":{"__isSmartRef__":true,"id":1879},"handleClick":{"__isSmartRef__":true,"id":1883},"createMenuItems":{"__isSmartRef__":true,"id":1887},"testSimpleCreate":{"__isSmartRef__":true,"id":1891},"removeAllMenuItems":{"__isSmartRef__":true,"id":1895},"setup":{"__isSmartRef__":true,"id":1899},"testCreateMenuItemsWithSubmenus":{"__isSmartRef__":true,"id":1903},"reset":{"__isSmartRef__":true,"id":1907}},"1851":{"varMapping":{"__isSmartRef__":true,"id":1852},"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\");\n }, 100);\n}","funcProperties":{"__isSmartRef__":true,"id":1857},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1852":{"this":{"__isSmartRef__":true,"id":1342},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1853}},"1853":{"$super":{"__isSmartRef__":true,"id":1854}},"1854":{"varMapping":{"__isSmartRef__":true,"id":1855},"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":1856},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1855":{"obj":{"__isSmartRef__":true,"id":1342},"name":"onrestore"},"1856":{},"1857":{"timestamp":{"__isSmartRef__":true,"id":1858},"user":"conradcalmez","tags":[]},"1858":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:37:10 GMT+0100 (Mitteleuropäische Zeit)"},"1859":{"varMapping":{"__isSmartRef__":true,"id":1860},"source":"function addItem(item) {\n var newMorph = this.createListItem(item);\n newMorph.disableDropping();\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":1861},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1860":{"this":{"__isSmartRef__":true,"id":1342}},"1861":{"timestamp":{"__isSmartRef__":true,"id":1862},"user":"conradcalmez","tags":[]},"1862":{"isSerializedDate":true,"string":"Mon Feb 13 2012 12:30:52 GMT+0100 (Mitteleuropäische Zeit)"},"1863":{"varMapping":{"__isSmartRef__":true,"id":1864},"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.index = this.itemList.length;\n part.item = item;\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 part.onTouchStart = this.touchstartCallback;\n part.onTouchMove = this.touchmoveCallback;\n part.onTouchEnd = this.touchendCallback;\n\n var text = new TextMorph(new Rectangle(0,0,this.getExtent().x,10));\n text.applyStyle({fill: null, borderWidth: 0});\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 text.ignoreEvents();\n part.addMorph(text);\n\n return part;\n}","funcProperties":{"__isSmartRef__":true,"id":1865},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1864":{"this":{"__isSmartRef__":true,"id":1342}},"1865":{"timestamp":{"__isSmartRef__":true,"id":1866},"user":"conradcalmez","tags":[]},"1866":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:30:10 GMT+0100 (Mitteleuropäische Zeit)"},"1867":{"varMapping":{"__isSmartRef__":true,"id":1868},"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":1869},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1868":{"this":{"__isSmartRef__":true,"id":1342}},"1869":{"timestamp":{"__isSmartRef__":true,"id":1870},"user":"sstamm","tags":[]},"1870":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (Mitteleuropäische Zeit)"},"1871":{"varMapping":{"__isSmartRef__":true,"id":1872},"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":1873},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1872":{"this":{"__isSmartRef__":true,"id":1342}},"1873":{"timestamp":{"__isSmartRef__":true,"id":1874},"user":"sstamm","tags":[]},"1874":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (Mitteleuropäische Zeit)"},"1875":{"varMapping":{"__isSmartRef__":true,"id":1876},"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":1877},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1876":{"this":{"__isSmartRef__":true,"id":1342}},"1877":{"timestamp":{"__isSmartRef__":true,"id":1878},"user":"conradcalmez","tags":[]},"1878":{"isSerializedDate":true,"string":"Fri Feb 03 2012 14:01:21 GMT+0100 (Mitteleuropäische Zeit)"},"1879":{"varMapping":{"__isSmartRef__":true,"id":1880},"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":1881},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1880":{"this":{"__isSmartRef__":true,"id":1342}},"1881":{"timestamp":{"__isSmartRef__":true,"id":1882},"user":"conradcalmez","tags":[]},"1882":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:44:22 GMT+0100 (Mitteleuropäische Zeit)"},"1883":{"varMapping":{"__isSmartRef__":true,"id":1884},"source":"function handleClick(selection) {\n if (!selection) return;\n if (selection[1] instanceof Array) {\n (function () {\n this.backStack.push(this.items);\n this.titleStack.push(this.owner.get(\"MenuPosition\").textString);\n this.removeAllMenuItems();\n this.get(\"BackButton\").setVisible(true);\n this.owner.get(\"MenuPosition\").textString = selection[0];\n this.createMenuItems(selection[1]);\n }).bind(this).delay(0);\n return;\n }\n if (selection[1] instanceof Function) {\n selection[1].call();\n return;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1885},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1884":{"this":{"__isSmartRef__":true,"id":1342}},"1885":{"timestamp":{"__isSmartRef__":true,"id":1886},"user":"conradcalmez","tags":[""]},"1886":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:10:38 GMT+0100 (Mitteleuropäische Zeit)"},"1887":{"varMapping":{"__isSmartRef__":true,"id":1888},"source":"function createMenuItems(items) {\n this.items = 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":1889},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1888":{"this":{"__isSmartRef__":true,"id":1342}},"1889":{"timestamp":{"__isSmartRef__":true,"id":1890},"user":"conradcalmez","tags":[]},"1890":{"isSerializedDate":true,"string":"Thu Feb 02 2012 18:42:49 GMT+0100 (Mitteleuropäische Zeit)"},"1891":{"varMapping":{"__isSmartRef__":true,"id":1892},"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":1893},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1892":{"this":{"__isSmartRef__":true,"id":1342}},"1893":{"timestamp":{"__isSmartRef__":true,"id":1894},"user":"conradcalmez","tags":["test"]},"1894":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:39:19 GMT+0100 (Mitteleuropäische Zeit)"},"1895":{"varMapping":{"__isSmartRef__":true,"id":1896},"source":"function removeAllMenuItems() {\n this.items = [];\n this.itemList = [];\n var itemContainer = this.get(\"ListItemContainer\");\n itemContainer.setPosition(pt(0,0));\n itemContainer.submorphs.invoke(\"remove\");\n}","funcProperties":{"__isSmartRef__":true,"id":1897},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1896":{"this":{"__isSmartRef__":true,"id":1342}},"1897":{"timestamp":{"__isSmartRef__":true,"id":1898},"user":"conradcalmez","tags":[]},"1898":{"isSerializedDate":true,"string":"Fri Feb 03 2012 14:36:43 GMT+0100 (Mitteleuropäische Zeit)"},"1899":{"varMapping":{"__isSmartRef__":true,"id":1900},"source":"function setup(itemList) {\n console.log(\"in setup\");\n this.selection = null;\n this.selectedLineNo = -1;\n this.selectedMorph = null;\n this.shape.setClipMode(\"hidden\");\n this.backStack = [];\n this.titleStack = [];\n this.removeAllMenuItems();\n //world menu entries\n this.createMenuItems(itemList);\n}","funcProperties":{"__isSmartRef__":true,"id":1901},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1900":{"this":{"__isSmartRef__":true,"id":1342}},"1901":{"timestamp":{"__isSmartRef__":true,"id":1902},"user":"conradcalmez","tags":[]},"1902":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:24:52 GMT+0100 (Mitteleuropäische Zeit)"},"1903":{"varMapping":{"__isSmartRef__":true,"id":1904},"source":"function testCreateMenuItemsWithSubmenus() {\n var helloWasRun = false;\n this.setup([\n [\"sub\", [\n [\"hello\", function() {\n helloWasRun = true;}] \n ]\n ]\n ]);\n this.updateSelection(this.itemList.first());\n (function () {\n this.updateSelection(this.itemList.first());\n assert(helloWasRun, \"hello callback was not run\");\n }).bind(this).delay(0);\n}","funcProperties":{"__isSmartRef__":true,"id":1905},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1904":{"this":{"__isSmartRef__":true,"id":1342}},"1905":{"timestamp":{"__isSmartRef__":true,"id":1906},"user":"conradcalmez","tags":["test"]},"1906":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:58:41 GMT+0100 (Mitteleuropäische Zeit)"},"1907":{"varMapping":{"__isSmartRef__":true,"id":1908},"source":"function reset() {\n this.disableDropping();\n this.submorphs.invoke('disableDropping');\n this.setup([]);\n}","funcProperties":{"__isSmartRef__":true,"id":1909},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1908":{"this":{"__isSmartRef__":true,"id":1342}},"1909":{"timestamp":{"__isSmartRef__":true,"id":1910},"user":"conradcalmez","tags":[]},"1910":{"isSerializedDate":true,"string":"Mon Feb 13 2012 12:30:08 GMT+0100 (Mitteleuropäische Zeit)"},"1911":{"position":{"__isSmartRef__":true,"id":1912},"_Extent":{"__isSmartRef__":true,"id":1913},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1914},"_Fill":{"__isSmartRef__":true,"id":1915},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1916},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1917},"_BorderRadius":12.215000000000002,"_Opacity":1,"_BorderStyle":"solid","_Position":{"__isSmartRef__":true,"id":1918},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1912":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1913":{"x":361,"y":318,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1914":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1915":{"r":0.03529411764705882,"g":0.06274509803921569,"b":0.11372549019607843,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1916":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1917":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1918":{"x":-180.5,"y":55,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1919":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1920":{"partsSpaceName":"PartsBin/iPad Widgets","__SourceModuleName__":"Global.lively.PartsBin","comment":"menu in iPad style","migrationLevel":4,"partName":"TouchMenu","changes":[{"__isSmartRef__":true,"id":1921},{"__isSmartRef__":true,"id":1923},{"__isSmartRef__":true,"id":1925},{"__isSmartRef__":true,"id":1927},{"__isSmartRef__":true,"id":1929},{"__isSmartRef__":true,"id":1931},{"__isSmartRef__":true,"id":1933},{"__isSmartRef__":true,"id":1935},{"__isSmartRef__":true,"id":1937},{"__isSmartRef__":true,"id":1939}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1921":{"date":{"__isSmartRef__":true,"id":1922},"author":"conradcalmez","message":"set origin to pop over \"nose\"","id":"329961F3-2C7F-4C44-A4A7-81035EA1E614"},"1922":{"isSerializedDate":true,"string":"Tue Feb 07 2012 16:01:37 GMT+0100 (Mitteleuropäische Zeit)"},"1923":{"date":{"__isSmartRef__":true,"id":1924},"author":"conradcalmez","message":"added setup method to menu morph","id":"3CF652E7-5357-4D3B-8FE6-B153DBF67435"},"1924":{"isSerializedDate":true,"string":"Tue Feb 07 2012 15:46:00 GMT+0100 (Mitteleuropäische Zeit)"},"1925":{"date":{"__isSmartRef__":true,"id":1926},"author":"conradcalmez","message":"lets try it w/o registering events","id":"0A3D2905-3B19-4207-9310-74A4EFBBE0C9"},"1926":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:30:33 GMT+0100 (Mitteleuropäische Zeit)"},"1927":{"date":{"__isSmartRef__":true,"id":1928},"author":"conradcalmez","message":"fixed test cases ... ;)","id":"0BE6E5BE-28F1-47B7-9B8A-D4CCEDE700EF"},"1928":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:56:19 GMT+0100 (Mitteleuropäische Zeit)"},"1929":{"date":{"__isSmartRef__":true,"id":1930},"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"},"1930":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:28:30 GMT+0100 (Mitteleuropäische Zeit)"},"1931":{"date":{"__isSmartRef__":true,"id":1932},"author":"conradcalmez","message":"removed debug output in TouchList","id":"74DEA054-9267-4622-AC05-D2F63B0F7327"},"1932":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:11:17 GMT+0100 (Mitteleuropäische Zeit)"},"1933":{"date":{"__isSmartRef__":true,"id":1934},"author":"conradcalmez","message":"refactored so that the menu uses actual world menu entries","id":"51FECE38-542D-4FCE-8227-90896E50DA74"},"1934":{"isSerializedDate":true,"string":"Fri Feb 03 2012 13:29:59 GMT+0100 (Mitteleuropäische Zeit)"},"1935":{"date":{"__isSmartRef__":true,"id":1936},"author":"conradcalmez","message":"just exchange between worlds","id":"E9721E6D-E28B-4EEF-B190-F3B428EFA7AF"},"1936":{"isSerializedDate":true,"string":"Tue Jan 31 2012 20:57:01 GMT+0100 (Mitteleuropäische Zeit)"},"1937":{"date":{"__isSmartRef__":true,"id":1938},"author":"athomschke","message":"","id":"EEC630B7-8288-4E1C-A3B0-9CC18BACC8C6"},"1938":{"isSerializedDate":true,"string":"Thu Feb 02 2012 09:59:13 GMT+0100 (Mitteleuropäische Zeit)"},"1939":{"date":{"__isSmartRef__":true,"id":1940},"author":"conradcalmez","message":"disabled dropping","id":"F84C2DCC-AA8F-4426-8E3A-EF818DCC7A9C"},"1940":{"isSerializedDate":true,"string":"Mon Feb 13 2012 12:31:33 GMT+0100 (Mitteleuropäische Zeit)"},"1941":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1942":{"morph":{"__isSmartRef__":true,"id":1178},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1943":{"x":361,"y":318,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1944":{"isSerializedDate":true,"string":"Wed Jan 25 2012 12:10:02 GMT+0100 (Mitteleuropäische Zeit)"},"1945":{"adjustForNewBounds":true},"1946":{"WorldMenu":{"__isSmartRef__":true,"id":1342},"Parts":{"__isSmartRef__":true,"id":1358},"Tools":{"__isSmartRef__":true,"id":1947},"Preferences":{"__isSmartRef__":true,"id":2719},"Debugging":{"__isSmartRef__":true,"id":3421},"Wiki":{"__isSmartRef__":true,"id":4228},"Documentation":{"__isSmartRef__":true,"id":4523}},"1947":{"submorphs":[{"__isSmartRef__":true,"id":1948}],"scripts":[],"id":"328F78A9-1F33-4E59-832D-6E0958245D6C","shape":{"__isSmartRef__":true,"id":2659},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2666},"showsHalos":false,"name":"TouchList2","partsBinMetaInfo":{"__isSmartRef__":true,"id":2667},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2676},"eventHandler":{"__isSmartRef__":true,"id":2677},"attributeConnections":[{"__isSmartRef__":true,"id":2678}],"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":2679},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":2680},"itemList":[{"__isSmartRef__":true,"id":1949},{"__isSmartRef__":true,"id":1996},{"__isSmartRef__":true,"id":2031},{"__isSmartRef__":true,"id":2066},{"__isSmartRef__":true,"id":2101}],"_ClipMode":"hidden","selectedMorph":null,"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":2681},"owner":null,"_Visible":false,"_Rotation":0,"_Scale":1,"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2682},"__LivelyClassName__":"lively.morphic.Box"},"1948":{"submorphs":[{"__isSmartRef__":true,"id":1949},{"__isSmartRef__":true,"id":1996},{"__isSmartRef__":true,"id":2031},{"__isSmartRef__":true,"id":2066},{"__isSmartRef__":true,"id":2101}],"scripts":[],"id":"D5218CB2-3CA3-4C76-BB43-2D494F372DAD","shape":{"__isSmartRef__":true,"id":2136},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2143},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":2144},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2145},"eventHandler":{"__isSmartRef__":true,"id":2146},"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":1947},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":2147},"layout":{"__isSmartRef__":true,"id":2148},"lists":{"__isSmartRef__":true,"id":2149},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2626},"__LivelyClassName__":"lively.morphic.Box"},"1949":{"submorphs":[{"__isSmartRef__":true,"id":1950}],"scripts":[],"id":"86D6AC44-D485-4A8C-8A65-8DEC0134E3BF","shape":{"__isSmartRef__":true,"id":1966},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1977},"showsHalos":false,"name":"Rectangle23","partsBinMetaInfo":{"__isSmartRef__":true,"id":1978},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1979},"eventHandler":{"__isSmartRef__":true,"id":1980},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"5B3BE47D-EEA1-4F7B-9741-7EF837C47DCF","5109BBCC-1A71-4D2B-9C96-8466CFC3E1AF"],"index":0,"priorExtent":{"__isSmartRef__":true,"id":1981},"layout":{"__isSmartRef__":true,"id":1982},"owner":{"__isSmartRef__":true,"id":1948},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1983},"__LivelyClassName__":"lively.morphic.Box"},"1950":{"submorphs":[],"scripts":[],"id":"3FC40CD1-8DE9-4DA2-988D-AE143469DB23","shape":{"__isSmartRef__":true,"id":1951},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1957},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1954},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text25","partsBinMetaInfo":{"__isSmartRef__":true,"id":1958},"textChunks":[{"__isSmartRef__":true,"id":1959}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1961},"renderContextTable":{"__isSmartRef__":true,"id":1962},"eventHandler":{"__isSmartRef__":true,"id":1963},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1964},"_ClipMode":"visible","derivationIds":[355,"227400A1-23FF-45BB-9D29-B56CF0CC5C25","438BEA72-AEF2-4DFB-8F23-96B0FCDA2779"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":1965},"owner":{"__isSmartRef__":true,"id":1949},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1951":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1952},"_Extent":{"__isSmartRef__":true,"id":1953},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1954},"renderContextTable":{"__isSmartRef__":true,"id":1955},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1956},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1952":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1953":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1954":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1955":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1956":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1957":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1958":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1959":{"style":{"__isSmartRef__":true,"id":1960},"chunkOwner":{"__isSmartRef__":true,"id":1950},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"1960":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1961":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1962":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1963":{"morph":{"__isSmartRef__":true,"id":1950},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1964":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1965":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1966":{"position":{"__isSmartRef__":true,"id":1967},"_Extent":{"__isSmartRef__":true,"id":1968},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1969},"_Fill":{"__isSmartRef__":true,"id":1970},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1975},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1976},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1967":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1968":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1969":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1970":{"stops":[{"__isSmartRef__":true,"id":1971},{"__isSmartRef__":true,"id":1973}],"vector":{"__isSmartRef__":true,"id":1386},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1971":{"offset":0,"color":{"__isSmartRef__":true,"id":1972}},"1972":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1973":{"offset":1,"color":{"__isSmartRef__":true,"id":1974}},"1974":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"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"},"1976":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1977":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1978":{"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"},"1979":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","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":1949},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1981":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1982":{"resizeWidth":true},"1983":{"onTouchStart":{"__isSmartRef__":true,"id":1984},"onTouchMove":{"__isSmartRef__":true,"id":1988},"onTouchEnd":{"__isSmartRef__":true,"id":1992}},"1984":{"varMapping":{"__isSmartRef__":true,"id":1985},"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":1986},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1985":{"this":{"__isSmartRef__":true,"id":1947}},"1986":{"timestamp":{"__isSmartRef__":true,"id":1987},"user":"sstamm","tags":[]},"1987":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (Mitteleuropäische Zeit)"},"1988":{"varMapping":{"__isSmartRef__":true,"id":1989},"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":1990},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1989":{"this":{"__isSmartRef__":true,"id":1947}},"1990":{"timestamp":{"__isSmartRef__":true,"id":1991},"user":"sstamm","tags":[]},"1991":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (Mitteleuropäische Zeit)"},"1992":{"varMapping":{"__isSmartRef__":true,"id":1993},"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":1994},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1993":{"this":{"__isSmartRef__":true,"id":1947}},"1994":{"timestamp":{"__isSmartRef__":true,"id":1995},"user":"sstamm","tags":[]},"1995":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (Mitteleuropäische Zeit)"},"1996":{"submorphs":[{"__isSmartRef__":true,"id":1997}],"scripts":[],"id":"32524821-0B95-4BBB-BE07-D16375CEEE4D","shape":{"__isSmartRef__":true,"id":2013},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2024},"showsHalos":false,"name":"Rectangle24","partsBinMetaInfo":{"__isSmartRef__":true,"id":2025},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2026},"eventHandler":{"__isSmartRef__":true,"id":2027},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"0343561B-A7AB-48DA-B201-6FA2AF439A7C","7C0687E5-22BA-4EC5-BA6F-54DBF58C0930"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":2028},"layout":{"__isSmartRef__":true,"id":2029},"owner":{"__isSmartRef__":true,"id":1948},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2030},"__LivelyClassName__":"lively.morphic.Box"},"1997":{"submorphs":[],"scripts":[],"id":"BE4F4F07-F5FD-4E37-88DF-79E1B4544C1A","shape":{"__isSmartRef__":true,"id":1998},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2004},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2001},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text26","partsBinMetaInfo":{"__isSmartRef__":true,"id":2005},"textChunks":[{"__isSmartRef__":true,"id":2006}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2008},"renderContextTable":{"__isSmartRef__":true,"id":2009},"eventHandler":{"__isSmartRef__":true,"id":2010},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2011},"_ClipMode":"visible","derivationIds":[355,"CE285E6A-C918-476E-9844-15CF2420324B","98C423C1-8E48-4284-8A04-DCE9D143ACDB"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2012},"owner":{"__isSmartRef__":true,"id":1996},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1998":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1999},"_Extent":{"__isSmartRef__":true,"id":2000},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2001},"renderContextTable":{"__isSmartRef__":true,"id":2002},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2003},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1999":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2000":{"x":476,"y":32,"__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":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2005":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2006":{"style":{"__isSmartRef__":true,"id":2007},"chunkOwner":{"__isSmartRef__":true,"id":1997},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"2007":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2008":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2009":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2010":{"morph":{"__isSmartRef__":true,"id":1997},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2011":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2012":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2013":{"position":{"__isSmartRef__":true,"id":2014},"_Extent":{"__isSmartRef__":true,"id":2015},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2016},"_Fill":{"__isSmartRef__":true,"id":2017},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2022},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2023},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2014":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2015":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2016":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2017":{"stops":[{"__isSmartRef__":true,"id":2018},{"__isSmartRef__":true,"id":2020}],"vector":{"__isSmartRef__":true,"id":1386},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2018":{"offset":0,"color":{"__isSmartRef__":true,"id":2019}},"2019":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2020":{"offset":1,"color":{"__isSmartRef__":true,"id":2021}},"2021":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2022":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2023":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2024":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2025":{"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"},"2026":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2027":{"morph":{"__isSmartRef__":true,"id":1996},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2028":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2029":{"resizeWidth":true},"2030":{"onTouchStart":{"__isSmartRef__":true,"id":1984},"onTouchMove":{"__isSmartRef__":true,"id":1988},"onTouchEnd":{"__isSmartRef__":true,"id":1992}},"2031":{"submorphs":[{"__isSmartRef__":true,"id":2032}],"scripts":[],"id":"502F9970-AB83-4E82-ABA0-DCE672CB0FE7","shape":{"__isSmartRef__":true,"id":2048},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2059},"showsHalos":false,"name":"Rectangle25","partsBinMetaInfo":{"__isSmartRef__":true,"id":2060},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2061},"eventHandler":{"__isSmartRef__":true,"id":2062},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"BE18A732-94BB-4993-8CF7-A9BAFEDAEEA1","37D50731-16F2-4971-9231-D91F5D20ECCC"],"index":2,"priorExtent":{"__isSmartRef__":true,"id":2063},"layout":{"__isSmartRef__":true,"id":2064},"owner":{"__isSmartRef__":true,"id":1948},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2065},"__LivelyClassName__":"lively.morphic.Box"},"2032":{"submorphs":[],"scripts":[],"id":"DF7A4634-D1C4-4812-990D-19DF603FAAC2","shape":{"__isSmartRef__":true,"id":2033},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2039},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2036},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text27","partsBinMetaInfo":{"__isSmartRef__":true,"id":2040},"textChunks":[{"__isSmartRef__":true,"id":2041}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2043},"renderContextTable":{"__isSmartRef__":true,"id":2044},"eventHandler":{"__isSmartRef__":true,"id":2045},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2046},"_ClipMode":"visible","derivationIds":[355,"2542118F-0717-4378-B067-43E3706547CA","E84BE39E-3CDE-4199-A915-D4ADC5F3B888"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2047},"owner":{"__isSmartRef__":true,"id":2031},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2033":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2034},"_Extent":{"__isSmartRef__":true,"id":2035},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2036},"renderContextTable":{"__isSmartRef__":true,"id":2037},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2038},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2034":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2035":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2036":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2037":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2038":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2039":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2040":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2041":{"style":{"__isSmartRef__":true,"id":2042},"chunkOwner":{"__isSmartRef__":true,"id":2032},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"2042":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2043":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2044":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2045":{"morph":{"__isSmartRef__":true,"id":2032},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2046":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2047":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2048":{"position":{"__isSmartRef__":true,"id":2049},"_Extent":{"__isSmartRef__":true,"id":2050},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2051},"_Fill":{"__isSmartRef__":true,"id":2052},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2057},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2058},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2049":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2050":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2051":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2052":{"stops":[{"__isSmartRef__":true,"id":2053},{"__isSmartRef__":true,"id":2055}],"vector":{"__isSmartRef__":true,"id":1386},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2053":{"offset":0,"color":{"__isSmartRef__":true,"id":2054}},"2054":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2055":{"offset":1,"color":{"__isSmartRef__":true,"id":2056}},"2056":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"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"},"2058":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2059":{"x":0,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2060":{"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"},"2061":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","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":2031},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2063":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2064":{"resizeWidth":true},"2065":{"onTouchStart":{"__isSmartRef__":true,"id":1984},"onTouchMove":{"__isSmartRef__":true,"id":1988},"onTouchEnd":{"__isSmartRef__":true,"id":1992}},"2066":{"submorphs":[{"__isSmartRef__":true,"id":2067}],"scripts":[],"id":"871A4387-A049-4740-8F3D-47976812B664","shape":{"__isSmartRef__":true,"id":2083},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2094},"showsHalos":false,"name":"Rectangle26","partsBinMetaInfo":{"__isSmartRef__":true,"id":2095},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2096},"eventHandler":{"__isSmartRef__":true,"id":2097},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"FCFF7273-3FC0-49A9-834F-DFF58B9E3FF6","FEEF1313-EED1-494F-84FE-89FE1D26D72D"],"index":3,"priorExtent":{"__isSmartRef__":true,"id":2098},"layout":{"__isSmartRef__":true,"id":2099},"owner":{"__isSmartRef__":true,"id":1948},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2100},"__LivelyClassName__":"lively.morphic.Box"},"2067":{"submorphs":[],"scripts":[],"id":"C3C96422-865A-472C-ACC5-1D2621B8D0F3","shape":{"__isSmartRef__":true,"id":2068},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2074},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2071},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text28","partsBinMetaInfo":{"__isSmartRef__":true,"id":2075},"textChunks":[{"__isSmartRef__":true,"id":2076}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2078},"renderContextTable":{"__isSmartRef__":true,"id":2079},"eventHandler":{"__isSmartRef__":true,"id":2080},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2081},"_ClipMode":"visible","derivationIds":[355,"0FCDC636-66D9-47E4-9E65-3B78C2FC6B9E","ABA75C06-FCA9-4F44-889F-029F6D20D748"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2082},"owner":{"__isSmartRef__":true,"id":2066},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2068":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2069},"_Extent":{"__isSmartRef__":true,"id":2070},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2071},"renderContextTable":{"__isSmartRef__":true,"id":2072},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2073},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2069":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2070":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2071":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2072":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2073":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2074":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2075":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2076":{"style":{"__isSmartRef__":true,"id":2077},"chunkOwner":{"__isSmartRef__":true,"id":2067},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"2077":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2078":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2079":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2080":{"morph":{"__isSmartRef__":true,"id":2067},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2081":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2082":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2083":{"position":{"__isSmartRef__":true,"id":2084},"_Extent":{"__isSmartRef__":true,"id":2085},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2086},"_Fill":{"__isSmartRef__":true,"id":2087},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2092},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2093},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2084":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2085":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2086":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2087":{"stops":[{"__isSmartRef__":true,"id":2088},{"__isSmartRef__":true,"id":2090}],"vector":{"__isSmartRef__":true,"id":1386},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2088":{"offset":0,"color":{"__isSmartRef__":true,"id":2089}},"2089":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2090":{"offset":1,"color":{"__isSmartRef__":true,"id":2091}},"2091":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2092":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2093":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2094":{"x":0,"y":129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2095":{"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"},"2096":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2097":{"morph":{"__isSmartRef__":true,"id":2066},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2098":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2099":{"resizeWidth":true},"2100":{"onTouchStart":{"__isSmartRef__":true,"id":1984},"onTouchMove":{"__isSmartRef__":true,"id":1988},"onTouchEnd":{"__isSmartRef__":true,"id":1992}},"2101":{"submorphs":[{"__isSmartRef__":true,"id":2102}],"scripts":[],"id":"DBAB88F7-EDFF-48CE-B2FC-11E62D05F011","shape":{"__isSmartRef__":true,"id":2118},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2129},"showsHalos":false,"name":"Rectangle27","partsBinMetaInfo":{"__isSmartRef__":true,"id":2130},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2131},"eventHandler":{"__isSmartRef__":true,"id":2132},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"D7BB4244-7EFE-4A55-8582-4BA9AFAF2D87","8136BACB-CAC3-40CF-BC00-74857C636354"],"index":4,"priorExtent":{"__isSmartRef__":true,"id":2133},"layout":{"__isSmartRef__":true,"id":2134},"owner":{"__isSmartRef__":true,"id":1948},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2135},"__LivelyClassName__":"lively.morphic.Box"},"2102":{"submorphs":[],"scripts":[],"id":"52764EA1-16EB-44B0-9718-2D2AD09BA18E","shape":{"__isSmartRef__":true,"id":2103},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2109},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2106},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text29","partsBinMetaInfo":{"__isSmartRef__":true,"id":2110},"textChunks":[{"__isSmartRef__":true,"id":2111}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2113},"renderContextTable":{"__isSmartRef__":true,"id":2114},"eventHandler":{"__isSmartRef__":true,"id":2115},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2116},"_ClipMode":"visible","derivationIds":[355,"4DC3DC87-FD20-4075-8A52-7F336EDA08AF","49920DDD-AEEA-4250-9342-081F9894010F"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2117},"owner":{"__isSmartRef__":true,"id":2101},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2103":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2104},"_Extent":{"__isSmartRef__":true,"id":2105},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2106},"renderContextTable":{"__isSmartRef__":true,"id":2107},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2108},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2104":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2105":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2106":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2107":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2108":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2109":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2110":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2111":{"style":{"__isSmartRef__":true,"id":2112},"chunkOwner":{"__isSmartRef__":true,"id":2102},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"2112":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2113":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2114":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2115":{"morph":{"__isSmartRef__":true,"id":2102},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2116":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2117":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2118":{"position":{"__isSmartRef__":true,"id":2119},"_Extent":{"__isSmartRef__":true,"id":2120},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2121},"_Fill":{"__isSmartRef__":true,"id":2122},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2127},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2128},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2119":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2120":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2121":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2122":{"stops":[{"__isSmartRef__":true,"id":2123},{"__isSmartRef__":true,"id":2125}],"vector":{"__isSmartRef__":true,"id":1386},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2123":{"offset":0,"color":{"__isSmartRef__":true,"id":2124}},"2124":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2125":{"offset":1,"color":{"__isSmartRef__":true,"id":2126}},"2126":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2127":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2128":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2129":{"x":0,"y":172,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2130":{"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"},"2131":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2132":{"morph":{"__isSmartRef__":true,"id":2101},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2133":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2134":{"resizeWidth":true},"2135":{"onTouchStart":{"__isSmartRef__":true,"id":1984},"onTouchMove":{"__isSmartRef__":true,"id":1988},"onTouchEnd":{"__isSmartRef__":true,"id":1992}},"2136":{"position":{"__isSmartRef__":true,"id":2137},"_Extent":{"__isSmartRef__":true,"id":2138},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2139},"_Fill":{"__isSmartRef__":true,"id":2140},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2141},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2142},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2137":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2138":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2139":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2140":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2141":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2142":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2143":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2144":{"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"},"2145":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2146":{"morph":{"__isSmartRef__":true,"id":1948},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2147":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2148":{"resizeWidth":true,"adjustForNewBounds":true},"2149":{"Parts":{"__isSmartRef__":true,"id":2150}},"2150":{"submorphs":[{"__isSmartRef__":true,"id":2151}],"scripts":[],"id":"B93F122D-B016-4AF4-92C9-4B1A33D0DDC5","shape":{"__isSmartRef__":true,"id":2526},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2533},"showsHalos":false,"name":"TouchList1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2534},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2543},"eventHandler":{"__isSmartRef__":true,"id":2544},"attributeConnections":[{"__isSmartRef__":true,"id":2545}],"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":2546},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":2547},"itemList":[{"__isSmartRef__":true,"id":2152},{"__isSmartRef__":true,"id":2200},{"__isSmartRef__":true,"id":2235},{"__isSmartRef__":true,"id":2270},{"__isSmartRef__":true,"id":2305},{"__isSmartRef__":true,"id":2340},{"__isSmartRef__":true,"id":2375},{"__isSmartRef__":true,"id":2410},{"__isSmartRef__":true,"id":2445}],"_ClipMode":"hidden","selectedMorph":null,"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":2548},"owner":{"__isSmartRef__":true,"id":2549},"_Rotation":0,"_Scale":1,"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2585},"__LivelyClassName__":"lively.morphic.Box"},"2151":{"submorphs":[{"__isSmartRef__":true,"id":2152},{"__isSmartRef__":true,"id":2200},{"__isSmartRef__":true,"id":2235},{"__isSmartRef__":true,"id":2270},{"__isSmartRef__":true,"id":2305},{"__isSmartRef__":true,"id":2340},{"__isSmartRef__":true,"id":2375},{"__isSmartRef__":true,"id":2410},{"__isSmartRef__":true,"id":2445}],"scripts":[],"id":"ED945231-5F92-4EB9-9EE7-1612C0FC1249","shape":{"__isSmartRef__":true,"id":2480},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2487},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":2488},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2489},"eventHandler":{"__isSmartRef__":true,"id":2490},"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":2150},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":2491},"layout":{"__isSmartRef__":true,"id":2492},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2493},"__LivelyClassName__":"lively.morphic.Box"},"2152":{"submorphs":[{"__isSmartRef__":true,"id":2153}],"scripts":[],"id":"24E50215-5D49-47BB-A7A6-BB3EE2C2E222","shape":{"__isSmartRef__":true,"id":2169},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2181},"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":2182},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2183},"eventHandler":{"__isSmartRef__":true,"id":2184},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"FE6EF7FA-1F27-401C-8A09-0C3585F4CE1F","27C4A9A5-0C3C-4AF4-B30E-4128270B1ADD"],"index":0,"priorExtent":{"__isSmartRef__":true,"id":2185},"layout":{"__isSmartRef__":true,"id":2186},"owner":{"__isSmartRef__":true,"id":2151},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2187},"__LivelyClassName__":"lively.morphic.Box"},"2153":{"submorphs":[],"scripts":[],"id":"9A2AD62A-C9F3-458C-B8E6-CE5E53CA21D8","shape":{"__isSmartRef__":true,"id":2154},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2160},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2157},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":2161},"textChunks":[{"__isSmartRef__":true,"id":2162}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2164},"renderContextTable":{"__isSmartRef__":true,"id":2165},"eventHandler":{"__isSmartRef__":true,"id":2166},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2167},"_ClipMode":"visible","derivationIds":[355,"97CB562D-C68D-4E75-8C5E-E5D0CEA45A40","FB93AF85-38E5-49B2-81AB-E504A1A5E830"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2168},"owner":{"__isSmartRef__":true,"id":2152},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2154":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2155},"_Extent":{"__isSmartRef__":true,"id":2156},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2157},"renderContextTable":{"__isSmartRef__":true,"id":2158},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2159},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2155":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2156":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2157":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2158":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2159":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2160":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2161":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2162":{"style":{"__isSmartRef__":true,"id":2163},"chunkOwner":{"__isSmartRef__":true,"id":2153},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"2163":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2164":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2165":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2166":{"morph":{"__isSmartRef__":true,"id":2153},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2167":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2168":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2169":{"position":{"__isSmartRef__":true,"id":2170},"_Extent":{"__isSmartRef__":true,"id":2171},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2172},"_Fill":{"__isSmartRef__":true,"id":2173},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2179},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2180},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2170":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2171":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2172":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2173":{"stops":[{"__isSmartRef__":true,"id":2174},{"__isSmartRef__":true,"id":2176}],"vector":{"__isSmartRef__":true,"id":2178},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2174":{"offset":0,"color":{"__isSmartRef__":true,"id":2175}},"2175":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2176":{"offset":1,"color":{"__isSmartRef__":true,"id":2177}},"2177":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2178":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2179":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2180":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2181":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2182":{"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"},"2183":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2184":{"morph":{"__isSmartRef__":true,"id":2152},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2185":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2186":{"resizeWidth":true},"2187":{"onTouchStart":{"__isSmartRef__":true,"id":2188},"onTouchMove":{"__isSmartRef__":true,"id":2192},"onTouchEnd":{"__isSmartRef__":true,"id":2196}},"2188":{"varMapping":{"__isSmartRef__":true,"id":2189},"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":2190},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2189":{"this":{"__isSmartRef__":true,"id":2150}},"2190":{"timestamp":{"__isSmartRef__":true,"id":2191},"user":"sstamm","tags":[]},"2191":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (Mitteleuropäische Zeit)"},"2192":{"varMapping":{"__isSmartRef__":true,"id":2193},"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":2194},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2193":{"this":{"__isSmartRef__":true,"id":2150}},"2194":{"timestamp":{"__isSmartRef__":true,"id":2195},"user":"sstamm","tags":[]},"2195":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (Mitteleuropäische Zeit)"},"2196":{"varMapping":{"__isSmartRef__":true,"id":2197},"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":2198},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2197":{"this":{"__isSmartRef__":true,"id":2150}},"2198":{"timestamp":{"__isSmartRef__":true,"id":2199},"user":"sstamm","tags":[]},"2199":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (Mitteleuropäische Zeit)"},"2200":{"submorphs":[{"__isSmartRef__":true,"id":2201}],"scripts":[],"id":"7F86DED1-9952-46AC-B7C1-303FD1E79FF1","shape":{"__isSmartRef__":true,"id":2217},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2228},"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2229},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2230},"eventHandler":{"__isSmartRef__":true,"id":2231},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"835F3BC8-D36A-49E4-BFAF-6554B4148F66","F469617C-6F84-4FC6-81C2-A6646611401C"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":2232},"layout":{"__isSmartRef__":true,"id":2233},"owner":{"__isSmartRef__":true,"id":2151},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2234},"__LivelyClassName__":"lively.morphic.Box"},"2201":{"submorphs":[],"scripts":[],"id":"D6AD4A43-30FD-4C23-B873-DBD3417965B1","shape":{"__isSmartRef__":true,"id":2202},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2208},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2205},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2209},"textChunks":[{"__isSmartRef__":true,"id":2210}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2212},"renderContextTable":{"__isSmartRef__":true,"id":2213},"eventHandler":{"__isSmartRef__":true,"id":2214},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2215},"_ClipMode":"visible","derivationIds":[355,"E0F8F56D-E4DC-4441-A85E-5428558C130F","5731094C-BBF4-4176-A602-BA3C4079B890"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2216},"owner":{"__isSmartRef__":true,"id":2200},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2202":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2203},"_Extent":{"__isSmartRef__":true,"id":2204},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2205},"renderContextTable":{"__isSmartRef__":true,"id":2206},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2207},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2203":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2204":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2205":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2206":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2207":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2208":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2209":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2210":{"style":{"__isSmartRef__":true,"id":2211},"chunkOwner":{"__isSmartRef__":true,"id":2201},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"2211":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2212":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2213":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2214":{"morph":{"__isSmartRef__":true,"id":2201},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2215":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2216":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2217":{"position":{"__isSmartRef__":true,"id":2218},"_Extent":{"__isSmartRef__":true,"id":2219},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2220},"_Fill":{"__isSmartRef__":true,"id":2221},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2226},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2227},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2218":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2219":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2220":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2221":{"stops":[{"__isSmartRef__":true,"id":2222},{"__isSmartRef__":true,"id":2224}],"vector":{"__isSmartRef__":true,"id":2178},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2222":{"offset":0,"color":{"__isSmartRef__":true,"id":2223}},"2223":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2224":{"offset":1,"color":{"__isSmartRef__":true,"id":2225}},"2225":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2226":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2227":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2228":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2229":{"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"},"2230":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2231":{"morph":{"__isSmartRef__":true,"id":2200},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2232":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2233":{"resizeWidth":true},"2234":{"onTouchStart":{"__isSmartRef__":true,"id":2188},"onTouchMove":{"__isSmartRef__":true,"id":2192},"onTouchEnd":{"__isSmartRef__":true,"id":2196}},"2235":{"submorphs":[{"__isSmartRef__":true,"id":2236}],"scripts":[],"id":"8BCCB5E2-9571-4A48-8FF6-5151898E8779","shape":{"__isSmartRef__":true,"id":2252},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2263},"showsHalos":false,"name":"Rectangle2","partsBinMetaInfo":{"__isSmartRef__":true,"id":2264},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2265},"eventHandler":{"__isSmartRef__":true,"id":2266},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"006661A6-4211-48D6-ABEF-15F43153C2F2","7E813F1E-E127-4B22-B92B-49ABFA4BD168"],"index":2,"priorExtent":{"__isSmartRef__":true,"id":2267},"layout":{"__isSmartRef__":true,"id":2268},"owner":{"__isSmartRef__":true,"id":2151},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2269},"__LivelyClassName__":"lively.morphic.Box"},"2236":{"submorphs":[],"scripts":[],"id":"B36DE922-DC2B-4402-96E0-3AB1D569ECE0","shape":{"__isSmartRef__":true,"id":2237},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2243},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2240},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text2","partsBinMetaInfo":{"__isSmartRef__":true,"id":2244},"textChunks":[{"__isSmartRef__":true,"id":2245}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2247},"renderContextTable":{"__isSmartRef__":true,"id":2248},"eventHandler":{"__isSmartRef__":true,"id":2249},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2250},"_ClipMode":"visible","derivationIds":[355,"88E6F0AC-F183-4785-8583-CADBB7B9F34D","9854C347-679E-49A4-98CF-E5567FE449BA"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2251},"owner":{"__isSmartRef__":true,"id":2235},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2237":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2238},"_Extent":{"__isSmartRef__":true,"id":2239},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2240},"renderContextTable":{"__isSmartRef__":true,"id":2241},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2242},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2238":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2239":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2240":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2241":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2242":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2243":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2244":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2245":{"style":{"__isSmartRef__":true,"id":2246},"chunkOwner":{"__isSmartRef__":true,"id":2236},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"2246":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2247":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2248":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2249":{"morph":{"__isSmartRef__":true,"id":2236},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2250":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2251":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2252":{"position":{"__isSmartRef__":true,"id":2253},"_Extent":{"__isSmartRef__":true,"id":2254},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2255},"_Fill":{"__isSmartRef__":true,"id":2256},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2261},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2262},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2253":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2254":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2255":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2256":{"stops":[{"__isSmartRef__":true,"id":2257},{"__isSmartRef__":true,"id":2259}],"vector":{"__isSmartRef__":true,"id":2178},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2257":{"offset":0,"color":{"__isSmartRef__":true,"id":2258}},"2258":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2259":{"offset":1,"color":{"__isSmartRef__":true,"id":2260}},"2260":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2261":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2262":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2263":{"x":0,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2264":{"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"},"2265":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2266":{"morph":{"__isSmartRef__":true,"id":2235},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2267":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2268":{"resizeWidth":true},"2269":{"onTouchStart":{"__isSmartRef__":true,"id":2188},"onTouchMove":{"__isSmartRef__":true,"id":2192},"onTouchEnd":{"__isSmartRef__":true,"id":2196}},"2270":{"submorphs":[{"__isSmartRef__":true,"id":2271}],"scripts":[],"id":"39B2E2A0-D8A7-4DB7-B021-AAE86780F60E","shape":{"__isSmartRef__":true,"id":2287},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2298},"showsHalos":false,"name":"Rectangle3","partsBinMetaInfo":{"__isSmartRef__":true,"id":2299},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2300},"eventHandler":{"__isSmartRef__":true,"id":2301},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"CE7C3712-8701-4C03-8E3B-5CB3344EB8C8","7598210A-69B5-4120-A438-4AB508482572"],"index":3,"priorExtent":{"__isSmartRef__":true,"id":2302},"layout":{"__isSmartRef__":true,"id":2303},"owner":{"__isSmartRef__":true,"id":2151},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2304},"__LivelyClassName__":"lively.morphic.Box"},"2271":{"submorphs":[],"scripts":[],"id":"61F8C798-53F1-4BE2-B6DE-7591C03C3120","shape":{"__isSmartRef__":true,"id":2272},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2278},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2275},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text3","partsBinMetaInfo":{"__isSmartRef__":true,"id":2279},"textChunks":[{"__isSmartRef__":true,"id":2280}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2282},"renderContextTable":{"__isSmartRef__":true,"id":2283},"eventHandler":{"__isSmartRef__":true,"id":2284},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2285},"_ClipMode":"visible","derivationIds":[355,"DF65E85F-CF63-4D38-B6FB-53EDD47FF17F","A15DAD3C-38C1-418A-8954-77F27DDE77BA"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2286},"owner":{"__isSmartRef__":true,"id":2270},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2272":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2273},"_Extent":{"__isSmartRef__":true,"id":2274},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2275},"renderContextTable":{"__isSmartRef__":true,"id":2276},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2277},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2273":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2274":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2275":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2276":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2277":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2278":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2279":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2280":{"style":{"__isSmartRef__":true,"id":2281},"chunkOwner":{"__isSmartRef__":true,"id":2271},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"2281":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2282":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2283":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2284":{"morph":{"__isSmartRef__":true,"id":2271},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2285":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2286":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2287":{"position":{"__isSmartRef__":true,"id":2288},"_Extent":{"__isSmartRef__":true,"id":2289},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2290},"_Fill":{"__isSmartRef__":true,"id":2291},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2296},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2297},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2288":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2289":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2290":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2291":{"stops":[{"__isSmartRef__":true,"id":2292},{"__isSmartRef__":true,"id":2294}],"vector":{"__isSmartRef__":true,"id":2178},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2292":{"offset":0,"color":{"__isSmartRef__":true,"id":2293}},"2293":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2294":{"offset":1,"color":{"__isSmartRef__":true,"id":2295}},"2295":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2296":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2297":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2298":{"x":0,"y":129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2299":{"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"},"2300":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2301":{"morph":{"__isSmartRef__":true,"id":2270},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2302":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2303":{"resizeWidth":true},"2304":{"onTouchStart":{"__isSmartRef__":true,"id":2188},"onTouchMove":{"__isSmartRef__":true,"id":2192},"onTouchEnd":{"__isSmartRef__":true,"id":2196}},"2305":{"submorphs":[{"__isSmartRef__":true,"id":2306}],"scripts":[],"id":"7D10DDBF-67C3-4470-8CAD-6DB44EC583FD","shape":{"__isSmartRef__":true,"id":2322},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2333},"showsHalos":false,"name":"Rectangle4","partsBinMetaInfo":{"__isSmartRef__":true,"id":2334},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2335},"eventHandler":{"__isSmartRef__":true,"id":2336},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"92F752E8-9991-4E69-82FC-8A505739298E","36935FDF-9046-4666-B31C-E79044FDEE98"],"index":4,"priorExtent":{"__isSmartRef__":true,"id":2337},"layout":{"__isSmartRef__":true,"id":2338},"owner":{"__isSmartRef__":true,"id":2151},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2339},"__LivelyClassName__":"lively.morphic.Box"},"2306":{"submorphs":[],"scripts":[],"id":"85DF3FD2-18C5-40F9-8AE7-FBD159B89FF7","shape":{"__isSmartRef__":true,"id":2307},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2313},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2310},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text4","partsBinMetaInfo":{"__isSmartRef__":true,"id":2314},"textChunks":[{"__isSmartRef__":true,"id":2315}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2317},"renderContextTable":{"__isSmartRef__":true,"id":2318},"eventHandler":{"__isSmartRef__":true,"id":2319},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2320},"_ClipMode":"visible","derivationIds":[355,"C2E55D13-869F-49B5-BFDE-442283D77A9A","22F2AE17-5547-4A16-A121-29178506528C"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2321},"owner":{"__isSmartRef__":true,"id":2305},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2307":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2308},"_Extent":{"__isSmartRef__":true,"id":2309},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2310},"renderContextTable":{"__isSmartRef__":true,"id":2311},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2312},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2308":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2309":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2310":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2311":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2312":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2313":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2314":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2315":{"style":{"__isSmartRef__":true,"id":2316},"chunkOwner":{"__isSmartRef__":true,"id":2306},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"2316":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2317":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2318":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2319":{"morph":{"__isSmartRef__":true,"id":2306},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2320":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2321":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2322":{"position":{"__isSmartRef__":true,"id":2323},"_Extent":{"__isSmartRef__":true,"id":2324},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2325},"_Fill":{"__isSmartRef__":true,"id":2326},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2331},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2332},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2323":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2324":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2325":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2326":{"stops":[{"__isSmartRef__":true,"id":2327},{"__isSmartRef__":true,"id":2329}],"vector":{"__isSmartRef__":true,"id":2178},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2327":{"offset":0,"color":{"__isSmartRef__":true,"id":2328}},"2328":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2329":{"offset":1,"color":{"__isSmartRef__":true,"id":2330}},"2330":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2331":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2332":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2333":{"x":0,"y":172,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2334":{"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"},"2335":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2336":{"morph":{"__isSmartRef__":true,"id":2305},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2337":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2338":{"resizeWidth":true},"2339":{"onTouchStart":{"__isSmartRef__":true,"id":2188},"onTouchMove":{"__isSmartRef__":true,"id":2192},"onTouchEnd":{"__isSmartRef__":true,"id":2196}},"2340":{"submorphs":[{"__isSmartRef__":true,"id":2341}],"scripts":[],"id":"6FF5D970-D596-4B75-85CC-6F4E7E869BA4","shape":{"__isSmartRef__":true,"id":2357},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2368},"showsHalos":false,"name":"Rectangle5","partsBinMetaInfo":{"__isSmartRef__":true,"id":2369},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2370},"eventHandler":{"__isSmartRef__":true,"id":2371},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"7AF04980-152D-46AF-ACA3-DC063EC310D4","7F43F051-7271-4DC0-8084-C50B5E51ECCC"],"index":5,"priorExtent":{"__isSmartRef__":true,"id":2372},"layout":{"__isSmartRef__":true,"id":2373},"owner":{"__isSmartRef__":true,"id":2151},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2374},"__LivelyClassName__":"lively.morphic.Box"},"2341":{"submorphs":[],"scripts":[],"id":"9383151B-3614-4258-8F7A-5657C7F0585F","shape":{"__isSmartRef__":true,"id":2342},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2348},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2345},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text5","partsBinMetaInfo":{"__isSmartRef__":true,"id":2349},"textChunks":[{"__isSmartRef__":true,"id":2350}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2352},"renderContextTable":{"__isSmartRef__":true,"id":2353},"eventHandler":{"__isSmartRef__":true,"id":2354},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2355},"_ClipMode":"visible","derivationIds":[355,"76B5ADFA-B211-41B1-AA34-734C07C5687E","0FC4CA04-9D61-4E58-91DC-4B20C751F7AA"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2356},"owner":{"__isSmartRef__":true,"id":2340},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2342":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2343},"_Extent":{"__isSmartRef__":true,"id":2344},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2345},"renderContextTable":{"__isSmartRef__":true,"id":2346},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2347},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2343":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2344":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2345":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2346":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2347":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2348":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2349":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2350":{"style":{"__isSmartRef__":true,"id":2351},"chunkOwner":{"__isSmartRef__":true,"id":2341},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"2351":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2352":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2353":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2354":{"morph":{"__isSmartRef__":true,"id":2341},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2355":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2356":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2357":{"position":{"__isSmartRef__":true,"id":2358},"_Extent":{"__isSmartRef__":true,"id":2359},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2360},"_Fill":{"__isSmartRef__":true,"id":2361},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2366},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2367},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2358":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2359":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2360":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2361":{"stops":[{"__isSmartRef__":true,"id":2362},{"__isSmartRef__":true,"id":2364}],"vector":{"__isSmartRef__":true,"id":2178},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2362":{"offset":0,"color":{"__isSmartRef__":true,"id":2363}},"2363":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2364":{"offset":1,"color":{"__isSmartRef__":true,"id":2365}},"2365":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2366":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2367":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2368":{"x":0,"y":215,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2369":{"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"},"2370":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2371":{"morph":{"__isSmartRef__":true,"id":2340},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2372":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2373":{"resizeWidth":true},"2374":{"onTouchStart":{"__isSmartRef__":true,"id":2188},"onTouchMove":{"__isSmartRef__":true,"id":2192},"onTouchEnd":{"__isSmartRef__":true,"id":2196}},"2375":{"submorphs":[{"__isSmartRef__":true,"id":2376}],"scripts":[],"id":"4D6597FC-ABE4-4E59-A3CF-611EB5256202","shape":{"__isSmartRef__":true,"id":2392},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2403},"showsHalos":false,"name":"Rectangle6","partsBinMetaInfo":{"__isSmartRef__":true,"id":2404},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2405},"eventHandler":{"__isSmartRef__":true,"id":2406},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"1D70B9CA-F9A2-4EF6-B83A-245FF295A5B3","833874B8-69F2-4C3E-98D8-F51869A60FA2"],"index":6,"priorExtent":{"__isSmartRef__":true,"id":2407},"layout":{"__isSmartRef__":true,"id":2408},"owner":{"__isSmartRef__":true,"id":2151},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2409},"__LivelyClassName__":"lively.morphic.Box"},"2376":{"submorphs":[],"scripts":[],"id":"2101EDDA-05FA-4C8E-9887-8E29ED9EB5B7","shape":{"__isSmartRef__":true,"id":2377},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2383},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2380},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text6","partsBinMetaInfo":{"__isSmartRef__":true,"id":2384},"textChunks":[{"__isSmartRef__":true,"id":2385}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2387},"renderContextTable":{"__isSmartRef__":true,"id":2388},"eventHandler":{"__isSmartRef__":true,"id":2389},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2390},"_ClipMode":"visible","derivationIds":[355,"56DF7BB4-9968-4A6A-9DE0-7AD05DB362A7","7F83A85D-002B-4CE3-9905-6E7156973964"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2391},"owner":{"__isSmartRef__":true,"id":2375},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2377":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2378},"_Extent":{"__isSmartRef__":true,"id":2379},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2380},"renderContextTable":{"__isSmartRef__":true,"id":2381},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2382},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2378":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2379":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2380":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2381":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2382":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2383":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2384":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2385":{"style":{"__isSmartRef__":true,"id":2386},"chunkOwner":{"__isSmartRef__":true,"id":2376},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"2386":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2387":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2388":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2389":{"morph":{"__isSmartRef__":true,"id":2376},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2390":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2391":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2392":{"position":{"__isSmartRef__":true,"id":2393},"_Extent":{"__isSmartRef__":true,"id":2394},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2395},"_Fill":{"__isSmartRef__":true,"id":2396},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2401},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2402},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2393":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2394":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2395":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2396":{"stops":[{"__isSmartRef__":true,"id":2397},{"__isSmartRef__":true,"id":2399}],"vector":{"__isSmartRef__":true,"id":2178},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2397":{"offset":0,"color":{"__isSmartRef__":true,"id":2398}},"2398":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2399":{"offset":1,"color":{"__isSmartRef__":true,"id":2400}},"2400":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2401":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2402":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2403":{"x":0,"y":258,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2404":{"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"},"2405":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2406":{"morph":{"__isSmartRef__":true,"id":2375},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2407":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2408":{"resizeWidth":true},"2409":{"onTouchStart":{"__isSmartRef__":true,"id":2188},"onTouchMove":{"__isSmartRef__":true,"id":2192},"onTouchEnd":{"__isSmartRef__":true,"id":2196}},"2410":{"submorphs":[{"__isSmartRef__":true,"id":2411}],"scripts":[],"id":"E58E6670-BC41-40C7-A6BC-A0407FE95BA2","shape":{"__isSmartRef__":true,"id":2427},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2438},"showsHalos":false,"name":"Rectangle7","partsBinMetaInfo":{"__isSmartRef__":true,"id":2439},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2440},"eventHandler":{"__isSmartRef__":true,"id":2441},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"5461F5D2-20BC-4BBA-9EBC-6C583FF7CB5E","8B72ABA7-C28D-49CA-90F3-DCE8600A0B80"],"index":7,"priorExtent":{"__isSmartRef__":true,"id":2442},"layout":{"__isSmartRef__":true,"id":2443},"owner":{"__isSmartRef__":true,"id":2151},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2444},"__LivelyClassName__":"lively.morphic.Box"},"2411":{"submorphs":[],"scripts":[],"id":"5E8A8CA1-3423-433D-BE81-711FDC7F64DA","shape":{"__isSmartRef__":true,"id":2412},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2418},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2415},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text7","partsBinMetaInfo":{"__isSmartRef__":true,"id":2419},"textChunks":[{"__isSmartRef__":true,"id":2420}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2422},"renderContextTable":{"__isSmartRef__":true,"id":2423},"eventHandler":{"__isSmartRef__":true,"id":2424},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2425},"_ClipMode":"visible","derivationIds":[355,"2CECDAFF-91E7-4156-85A1-79E736BD2E3C","E95C4DC4-7329-4F4E-8091-544F345437B7"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2426},"owner":{"__isSmartRef__":true,"id":2410},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2412":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2413},"_Extent":{"__isSmartRef__":true,"id":2414},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2415},"renderContextTable":{"__isSmartRef__":true,"id":2416},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2417},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2413":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2414":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2415":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2416":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2417":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2418":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2419":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2420":{"style":{"__isSmartRef__":true,"id":2421},"chunkOwner":{"__isSmartRef__":true,"id":2411},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"2421":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2422":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2423":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2424":{"morph":{"__isSmartRef__":true,"id":2411},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2425":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2426":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2427":{"position":{"__isSmartRef__":true,"id":2428},"_Extent":{"__isSmartRef__":true,"id":2429},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2430},"_Fill":{"__isSmartRef__":true,"id":2431},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2436},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2437},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2428":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2429":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2430":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2431":{"stops":[{"__isSmartRef__":true,"id":2432},{"__isSmartRef__":true,"id":2434}],"vector":{"__isSmartRef__":true,"id":2178},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2432":{"offset":0,"color":{"__isSmartRef__":true,"id":2433}},"2433":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2434":{"offset":1,"color":{"__isSmartRef__":true,"id":2435}},"2435":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2436":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2437":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2438":{"x":0,"y":301,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2439":{"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"},"2440":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2441":{"morph":{"__isSmartRef__":true,"id":2410},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2442":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2443":{"resizeWidth":true},"2444":{"onTouchStart":{"__isSmartRef__":true,"id":2188},"onTouchMove":{"__isSmartRef__":true,"id":2192},"onTouchEnd":{"__isSmartRef__":true,"id":2196}},"2445":{"submorphs":[{"__isSmartRef__":true,"id":2446}],"scripts":[],"id":"E51D9334-9A1B-4A38-8D6F-031F0B4F9180","shape":{"__isSmartRef__":true,"id":2462},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2473},"showsHalos":false,"name":"Rectangle8","partsBinMetaInfo":{"__isSmartRef__":true,"id":2474},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2475},"eventHandler":{"__isSmartRef__":true,"id":2476},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"B5A43E89-F4B2-4246-AD8F-42CC79E44CC1","027529C9-3D57-4629-84C2-5D71A73C024D"],"index":8,"priorExtent":{"__isSmartRef__":true,"id":2477},"layout":{"__isSmartRef__":true,"id":2478},"owner":{"__isSmartRef__":true,"id":2151},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2479},"__LivelyClassName__":"lively.morphic.Box"},"2446":{"submorphs":[],"scripts":[],"id":"EA11FD13-57EE-48F8-8017-C2703D6FE322","shape":{"__isSmartRef__":true,"id":2447},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2453},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2450},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text8","partsBinMetaInfo":{"__isSmartRef__":true,"id":2454},"textChunks":[{"__isSmartRef__":true,"id":2455}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2457},"renderContextTable":{"__isSmartRef__":true,"id":2458},"eventHandler":{"__isSmartRef__":true,"id":2459},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2460},"_ClipMode":"visible","derivationIds":[355,"FD82442F-F0AC-49B9-B80A-9053AD062D61","A15D7E6E-A88B-4E24-AEE9-3E7ED020CD95"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2461},"owner":{"__isSmartRef__":true,"id":2445},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2447":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2448},"_Extent":{"__isSmartRef__":true,"id":2449},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2450},"renderContextTable":{"__isSmartRef__":true,"id":2451},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2452},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2448":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2449":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2450":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2451":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2452":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2453":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2454":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2455":{"style":{"__isSmartRef__":true,"id":2456},"chunkOwner":{"__isSmartRef__":true,"id":2446},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"2456":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2457":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2458":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2459":{"morph":{"__isSmartRef__":true,"id":2446},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2460":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2461":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2462":{"position":{"__isSmartRef__":true,"id":2463},"_Extent":{"__isSmartRef__":true,"id":2464},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2465},"_Fill":{"__isSmartRef__":true,"id":2466},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2471},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2472},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2463":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2464":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2465":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2466":{"stops":[{"__isSmartRef__":true,"id":2467},{"__isSmartRef__":true,"id":2469}],"vector":{"__isSmartRef__":true,"id":2178},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2467":{"offset":0,"color":{"__isSmartRef__":true,"id":2468}},"2468":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2469":{"offset":1,"color":{"__isSmartRef__":true,"id":2470}},"2470":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2471":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2472":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2473":{"x":0,"y":344,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2474":{"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"},"2475":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2476":{"morph":{"__isSmartRef__":true,"id":2445},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2477":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2478":{"resizeWidth":true},"2479":{"onTouchStart":{"__isSmartRef__":true,"id":2188},"onTouchMove":{"__isSmartRef__":true,"id":2192},"onTouchEnd":{"__isSmartRef__":true,"id":2196}},"2480":{"position":{"__isSmartRef__":true,"id":2481},"_Extent":{"__isSmartRef__":true,"id":2482},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2483},"_Fill":{"__isSmartRef__":true,"id":2484},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2485},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2486},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2481":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2482":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2483":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2484":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2485":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2486":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2487":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2488":{"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"},"2489":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2490":{"morph":{"__isSmartRef__":true,"id":2151},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2491":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2492":{"resizeWidth":true,"adjustForNewBounds":true},"2493":{"onTouchStart":{"__isSmartRef__":true,"id":2494},"onTouchMove":{"__isSmartRef__":true,"id":2502},"onTouchEnd":{"__isSmartRef__":true,"id":2510},"stayInBounds":{"__isSmartRef__":true,"id":2518},"isInBounds":{"__isSmartRef__":true,"id":2522}},"2494":{"varMapping":{"__isSmartRef__":true,"id":2495},"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":2500},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2495":{"this":{"__isSmartRef__":true,"id":2151},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2496}},"2496":{"$super":{"__isSmartRef__":true,"id":2497}},"2497":{"varMapping":{"__isSmartRef__":true,"id":2498},"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":2499},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2498":{"obj":{"__isSmartRef__":true,"id":2151},"name":"onTouchStart"},"2499":{},"2500":{"timestamp":{"__isSmartRef__":true,"id":2501},"user":"sstamm","tags":[]},"2501":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (Mitteleuropäische Zeit)"},"2502":{"varMapping":{"__isSmartRef__":true,"id":2503},"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":2508},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2503":{"this":{"__isSmartRef__":true,"id":2151},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2504}},"2504":{"$super":{"__isSmartRef__":true,"id":2505}},"2505":{"varMapping":{"__isSmartRef__":true,"id":2506},"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":2507},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2506":{"obj":{"__isSmartRef__":true,"id":2151},"name":"onTouchMove"},"2507":{},"2508":{"timestamp":{"__isSmartRef__":true,"id":2509},"user":"sstamm","tags":[]},"2509":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:54:39 GMT+0100 (Mitteleuropäische Zeit)"},"2510":{"varMapping":{"__isSmartRef__":true,"id":2511},"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":2516},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2511":{"this":{"__isSmartRef__":true,"id":2151},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2512}},"2512":{"$super":{"__isSmartRef__":true,"id":2513}},"2513":{"varMapping":{"__isSmartRef__":true,"id":2514},"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":2515},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2514":{"obj":{"__isSmartRef__":true,"id":2151},"name":"onTouchEnd"},"2515":{},"2516":{"timestamp":{"__isSmartRef__":true,"id":2517},"user":"sstamm","tags":[]},"2517":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (Mitteleuropäische Zeit)"},"2518":{"varMapping":{"__isSmartRef__":true,"id":2519},"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":2520},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2519":{"this":{"__isSmartRef__":true,"id":2151}},"2520":{"timestamp":{"__isSmartRef__":true,"id":2521},"user":"sstamm","tags":[]},"2521":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (Mitteleuropäische Zeit)"},"2522":{"varMapping":{"__isSmartRef__":true,"id":2523},"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":2524},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2523":{"this":{"__isSmartRef__":true,"id":2151}},"2524":{"timestamp":{"__isSmartRef__":true,"id":2525},"user":"sstamm","tags":[]},"2525":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (Mitteleuropäische Zeit)"},"2526":{"position":{"__isSmartRef__":true,"id":2527},"_Extent":{"__isSmartRef__":true,"id":2528},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2529},"_Fill":{"__isSmartRef__":true,"id":2530},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2531},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2532},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2527":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2528":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2529":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2530":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2531":{},"2532":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2533":{"x":1,"y":-42,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2534":{"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":2535},{"__isSmartRef__":true,"id":2537},{"__isSmartRef__":true,"id":2539},{"__isSmartRef__":true,"id":2541}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2535":{"date":{"__isSmartRef__":true,"id":2536},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"2536":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (Mitteleuropäische Zeit)"},"2537":{"date":{"__isSmartRef__":true,"id":2538},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"2538":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (Mitteleuropäische Zeit)"},"2539":{"date":{"__isSmartRef__":true,"id":2540},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"2540":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (Mitteleuropäische Zeit)"},"2541":{"date":{"__isSmartRef__":true,"id":2542},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"2542":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (Mitteleuropäische Zeit)"},"2543":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2544":{"morph":{"__isSmartRef__":true,"id":2150},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2545":{"sourceObj":{"__isSmartRef__":true,"id":2150},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":2150},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2546":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2547":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"2548":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2549":{"submorphs":[{"__isSmartRef__":true,"id":2550},{"__isSmartRef__":true,"id":2150}],"scripts":[],"id":"C727DE20-4AA7-4FDD-B4A9-BC9ED2A62972","shape":{"__isSmartRef__":true,"id":2566},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2578},"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2579},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2580},"eventHandler":{"__isSmartRef__":true,"id":2581},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"835F3BC8-D36A-49E4-BFAF-6554B4148F66"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":2582},"layout":{"__isSmartRef__":true,"id":2583},"owner":null,"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2584},"__LivelyClassName__":"lively.morphic.Box"},"2550":{"submorphs":[],"scripts":[],"id":"F9A264B8-01DF-406D-AA0B-30E5E147A7AD","shape":{"__isSmartRef__":true,"id":2551},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2557},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2554},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2558},"textChunks":[{"__isSmartRef__":true,"id":2559}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2561},"renderContextTable":{"__isSmartRef__":true,"id":2562},"eventHandler":{"__isSmartRef__":true,"id":2563},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2564},"_ClipMode":"visible","derivationIds":[355,"E0F8F56D-E4DC-4441-A85E-5428558C130F"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2565},"owner":{"__isSmartRef__":true,"id":2549},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2551":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2552},"_Extent":{"__isSmartRef__":true,"id":2553},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2554},"renderContextTable":{"__isSmartRef__":true,"id":2555},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2556},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2552":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2553":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2554":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2555":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2556":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2557":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2558":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2559":{"style":{"__isSmartRef__":true,"id":2560},"chunkOwner":{"__isSmartRef__":true,"id":2550},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"2560":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2561":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2562":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2563":{"morph":{"__isSmartRef__":true,"id":2550},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2564":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2565":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2566":{"position":{"__isSmartRef__":true,"id":2567},"_Extent":{"__isSmartRef__":true,"id":2568},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2569},"_Fill":{"__isSmartRef__":true,"id":2570},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2576},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2577},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2567":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2568":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2569":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2570":{"stops":[{"__isSmartRef__":true,"id":2571},{"__isSmartRef__":true,"id":2573}],"vector":{"__isSmartRef__":true,"id":2575},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2571":{"offset":0,"color":{"__isSmartRef__":true,"id":2572}},"2572":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2573":{"offset":1,"color":{"__isSmartRef__":true,"id":2574}},"2574":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2575":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2576":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2577":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2578":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2579":{"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"},"2580":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2581":{"morph":{"__isSmartRef__":true,"id":2549},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2582":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2583":{"resizeWidth":true},"2584":{"onTouchStart":{"__isSmartRef__":true,"id":1984},"onTouchMove":{"__isSmartRef__":true,"id":1988},"onTouchEnd":{"__isSmartRef__":true,"id":1992}},"2585":{"onrestore":{"__isSmartRef__":true,"id":2586},"initialize":{"__isSmartRef__":true,"id":2594},"addItem":{"__isSmartRef__":true,"id":2602},"createListItem":{"__isSmartRef__":true,"id":2606},"touchstartCallback":{"__isSmartRef__":true,"id":2188},"touchmoveCallback":{"__isSmartRef__":true,"id":2192},"touchendCallback":{"__isSmartRef__":true,"id":2196},"updateSelection":{"__isSmartRef__":true,"id":2610},"handleClick":{"__isSmartRef__":true,"id":2614},"openSubmenuWith":{"__isSmartRef__":true,"id":2618},"initializeListEntries":{"__isSmartRef__":true,"id":2622}},"2586":{"varMapping":{"__isSmartRef__":true,"id":2587},"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":2592},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2587":{"this":{"__isSmartRef__":true,"id":2150},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2588}},"2588":{"$super":{"__isSmartRef__":true,"id":2589}},"2589":{"varMapping":{"__isSmartRef__":true,"id":2590},"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":2591},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2590":{"obj":{"__isSmartRef__":true,"id":2150},"name":"onrestore"},"2591":{},"2592":{"timestamp":{"__isSmartRef__":true,"id":2593},"user":"sstamm","tags":[]},"2593":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (Mitteleuropäische Zeit)"},"2594":{"varMapping":{"__isSmartRef__":true,"id":2595},"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":2600},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2595":{"this":{"__isSmartRef__":true,"id":2150},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2596}},"2596":{"$super":{"__isSmartRef__":true,"id":2597}},"2597":{"varMapping":{"__isSmartRef__":true,"id":2598},"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":2599},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2598":{"obj":{"__isSmartRef__":true,"id":2150},"name":"initialize"},"2599":{},"2600":{"timestamp":{"__isSmartRef__":true,"id":2601},"user":"sstamm","tags":[]},"2601":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (Mitteleuropäische Zeit)"},"2602":{"varMapping":{"__isSmartRef__":true,"id":2603},"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":2604},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2603":{"this":{"__isSmartRef__":true,"id":2150}},"2604":{"timestamp":{"__isSmartRef__":true,"id":2605},"user":"sstamm","tags":[]},"2605":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (Mitteleuropäische Zeit)"},"2606":{"varMapping":{"__isSmartRef__":true,"id":2607},"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":2608},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2607":{"this":{"__isSmartRef__":true,"id":2150}},"2608":{"timestamp":{"__isSmartRef__":true,"id":2609},"user":"sstamm","tags":[]},"2609":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (Mitteleuropäische Zeit)"},"2610":{"varMapping":{"__isSmartRef__":true,"id":2611},"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":2612},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2611":{"this":{"__isSmartRef__":true,"id":2150}},"2612":{"timestamp":{"__isSmartRef__":true,"id":2613},"user":"sstamm","tags":[]},"2613":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (Mitteleuropäische Zeit)"},"2614":{"varMapping":{"__isSmartRef__":true,"id":2615},"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":2616},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2615":{"this":{"__isSmartRef__":true,"id":2150}},"2616":{"timestamp":{"__isSmartRef__":true,"id":2617},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"2617":{"isSerializedDate":true,"string":"Mon Jan 30 2012 19:31:03 GMT+0100 (Mitteleuropäische Zeit)"},"2618":{"varMapping":{"__isSmartRef__":true,"id":2619},"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":2620},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2619":{"this":{"__isSmartRef__":true,"id":2150}},"2620":{"timestamp":{"__isSmartRef__":true,"id":2621},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"2621":{"isSerializedDate":true,"string":"Mon Jan 30 2012 19:31:28 GMT+0100 (Mitteleuropäische Zeit)"},"2622":{"varMapping":{"__isSmartRef__":true,"id":2623},"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":2624},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2623":{"this":{"__isSmartRef__":true,"id":2150}},"2624":{"timestamp":{"__isSmartRef__":true,"id":2625},"user":"conradcalmez","tags":[]},"2625":{"isSerializedDate":true,"string":"Tue Jan 31 2012 10:32:29 GMT+0100 (Mitteleuropäische Zeit)"},"2626":{"onTouchStart":{"__isSmartRef__":true,"id":2627},"onTouchMove":{"__isSmartRef__":true,"id":2635},"onTouchEnd":{"__isSmartRef__":true,"id":2643},"stayInBounds":{"__isSmartRef__":true,"id":2651},"isInBounds":{"__isSmartRef__":true,"id":2655}},"2627":{"varMapping":{"__isSmartRef__":true,"id":2628},"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":2633},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2628":{"this":{"__isSmartRef__":true,"id":1948},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2629}},"2629":{"$super":{"__isSmartRef__":true,"id":2630}},"2630":{"varMapping":{"__isSmartRef__":true,"id":2631},"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":2632},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2631":{"obj":{"__isSmartRef__":true,"id":1948},"name":"onTouchStart"},"2632":{},"2633":{"timestamp":{"__isSmartRef__":true,"id":2634},"user":"sstamm","tags":[]},"2634":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (Mitteleuropäische Zeit)"},"2635":{"varMapping":{"__isSmartRef__":true,"id":2636},"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":2641},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2636":{"this":{"__isSmartRef__":true,"id":1948},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2637}},"2637":{"$super":{"__isSmartRef__":true,"id":2638}},"2638":{"varMapping":{"__isSmartRef__":true,"id":2639},"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":2640},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2639":{"obj":{"__isSmartRef__":true,"id":1948},"name":"onTouchMove"},"2640":{},"2641":{"timestamp":{"__isSmartRef__":true,"id":2642},"user":"sstamm","tags":[]},"2642":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:54:39 GMT+0100 (Mitteleuropäische Zeit)"},"2643":{"varMapping":{"__isSmartRef__":true,"id":2644},"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":2649},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2644":{"this":{"__isSmartRef__":true,"id":1948},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2645}},"2645":{"$super":{"__isSmartRef__":true,"id":2646}},"2646":{"varMapping":{"__isSmartRef__":true,"id":2647},"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":2648},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2647":{"obj":{"__isSmartRef__":true,"id":1948},"name":"onTouchEnd"},"2648":{},"2649":{"timestamp":{"__isSmartRef__":true,"id":2650},"user":"sstamm","tags":[]},"2650":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (Mitteleuropäische Zeit)"},"2651":{"varMapping":{"__isSmartRef__":true,"id":2652},"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":2653},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2652":{"this":{"__isSmartRef__":true,"id":1948}},"2653":{"timestamp":{"__isSmartRef__":true,"id":2654},"user":"sstamm","tags":[]},"2654":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (Mitteleuropäische Zeit)"},"2655":{"varMapping":{"__isSmartRef__":true,"id":2656},"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":2657},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2656":{"this":{"__isSmartRef__":true,"id":1948}},"2657":{"timestamp":{"__isSmartRef__":true,"id":2658},"user":"sstamm","tags":[]},"2658":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (Mitteleuropäische Zeit)"},"2659":{"position":{"__isSmartRef__":true,"id":2660},"_Extent":{"__isSmartRef__":true,"id":2661},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2662},"_Fill":{"__isSmartRef__":true,"id":2663},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2664},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2665},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2660":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2661":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2662":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2663":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2664":{},"2665":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2666":{"x":7,"y":29,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2667":{"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":2668},{"__isSmartRef__":true,"id":2670},{"__isSmartRef__":true,"id":2672},{"__isSmartRef__":true,"id":2674}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2668":{"date":{"__isSmartRef__":true,"id":2669},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"2669":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (Mitteleuropäische Zeit)"},"2670":{"date":{"__isSmartRef__":true,"id":2671},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"2671":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (Mitteleuropäische Zeit)"},"2672":{"date":{"__isSmartRef__":true,"id":2673},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"2673":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (Mitteleuropäische Zeit)"},"2674":{"date":{"__isSmartRef__":true,"id":2675},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"2675":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (Mitteleuropäische Zeit)"},"2676":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2677":{"morph":{"__isSmartRef__":true,"id":1947},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2678":{"sourceObj":{"__isSmartRef__":true,"id":1947},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1947},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2679":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2680":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"2681":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2682":{"onrestore":{"__isSmartRef__":true,"id":2683},"initialize":{"__isSmartRef__":true,"id":2691},"addItem":{"__isSmartRef__":true,"id":2699},"createListItem":{"__isSmartRef__":true,"id":2703},"touchstartCallback":{"__isSmartRef__":true,"id":1984},"touchmoveCallback":{"__isSmartRef__":true,"id":1988},"touchendCallback":{"__isSmartRef__":true,"id":1992},"updateSelection":{"__isSmartRef__":true,"id":2707},"handleClick":{"__isSmartRef__":true,"id":2711},"initializeListEntries":{"__isSmartRef__":true,"id":2715}},"2683":{"varMapping":{"__isSmartRef__":true,"id":2684},"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":2689},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2684":{"this":{"__isSmartRef__":true,"id":1947},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2685}},"2685":{"$super":{"__isSmartRef__":true,"id":2686}},"2686":{"varMapping":{"__isSmartRef__":true,"id":2687},"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":2688},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2687":{"obj":{"__isSmartRef__":true,"id":1947},"name":"onrestore"},"2688":{},"2689":{"timestamp":{"__isSmartRef__":true,"id":2690},"user":"sstamm","tags":[]},"2690":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (Mitteleuropäische Zeit)"},"2691":{"varMapping":{"__isSmartRef__":true,"id":2692},"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":2697},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2692":{"this":{"__isSmartRef__":true,"id":1947},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2693}},"2693":{"$super":{"__isSmartRef__":true,"id":2694}},"2694":{"varMapping":{"__isSmartRef__":true,"id":2695},"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":2696},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2695":{"obj":{"__isSmartRef__":true,"id":1947},"name":"initialize"},"2696":{},"2697":{"timestamp":{"__isSmartRef__":true,"id":2698},"user":"sstamm","tags":[]},"2698":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (Mitteleuropäische Zeit)"},"2699":{"varMapping":{"__isSmartRef__":true,"id":2700},"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":2701},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2700":{"this":{"__isSmartRef__":true,"id":1947}},"2701":{"timestamp":{"__isSmartRef__":true,"id":2702},"user":"sstamm","tags":[]},"2702":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (Mitteleuropäische Zeit)"},"2703":{"varMapping":{"__isSmartRef__":true,"id":2704},"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":2705},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2704":{"this":{"__isSmartRef__":true,"id":1947}},"2705":{"timestamp":{"__isSmartRef__":true,"id":2706},"user":"sstamm","tags":[]},"2706":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (Mitteleuropäische Zeit)"},"2707":{"varMapping":{"__isSmartRef__":true,"id":2708},"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":2709},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2708":{"this":{"__isSmartRef__":true,"id":1947}},"2709":{"timestamp":{"__isSmartRef__":true,"id":2710},"user":"sstamm","tags":[]},"2710":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (Mitteleuropäische Zeit)"},"2711":{"varMapping":{"__isSmartRef__":true,"id":2712},"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":2713},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2712":{"this":{"__isSmartRef__":true,"id":1947}},"2713":{"timestamp":{"__isSmartRef__":true,"id":2714},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"2714":{"isSerializedDate":true,"string":"Tue Jan 31 2012 13:26:26 GMT+0100 (Mitteleuropäische Zeit)"},"2715":{"varMapping":{"__isSmartRef__":true,"id":2716},"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":2717},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2716":{"this":{"__isSmartRef__":true,"id":1947}},"2717":{"timestamp":{"__isSmartRef__":true,"id":2718},"user":"conradcalmez","tags":[]},"2718":{"isSerializedDate":true,"string":"Tue Jan 31 2012 11:56:56 GMT+0100 (Mitteleuropäische Zeit)"},"2719":{"submorphs":[{"__isSmartRef__":true,"id":2720}],"scripts":[],"id":"FB6435C6-113E-4366-A2E2-C7BFF9D42C5F","shape":{"__isSmartRef__":true,"id":3361},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3368},"showsHalos":false,"name":"TouchList3","partsBinMetaInfo":{"__isSmartRef__":true,"id":3369},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3378},"eventHandler":{"__isSmartRef__":true,"id":3379},"attributeConnections":[{"__isSmartRef__":true,"id":3380}],"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":3381},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":3382},"itemList":[{"__isSmartRef__":true,"id":2721},{"__isSmartRef__":true,"id":2768},{"__isSmartRef__":true,"id":2803}],"_ClipMode":"hidden","selectedMorph":null,"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":3383},"owner":null,"_Visible":false,"_Rotation":0,"_Scale":1,"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3384},"__LivelyClassName__":"lively.morphic.Box"},"2720":{"submorphs":[{"__isSmartRef__":true,"id":2721},{"__isSmartRef__":true,"id":2768},{"__isSmartRef__":true,"id":2803}],"scripts":[],"id":"6715D9DF-AA25-4143-9239-42E08A5FA017","shape":{"__isSmartRef__":true,"id":2838},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2845},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":2846},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2847},"eventHandler":{"__isSmartRef__":true,"id":2848},"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":2719},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":2849},"layout":{"__isSmartRef__":true,"id":2850},"lists":{"__isSmartRef__":true,"id":2851},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3328},"__LivelyClassName__":"lively.morphic.Box"},"2721":{"submorphs":[{"__isSmartRef__":true,"id":2722}],"scripts":[],"id":"877B3CA2-DC02-462F-BA0E-EECA3F8D0E33","shape":{"__isSmartRef__":true,"id":2738},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2749},"showsHalos":false,"name":"Rectangle28","partsBinMetaInfo":{"__isSmartRef__":true,"id":2750},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2751},"eventHandler":{"__isSmartRef__":true,"id":2752},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"906A9BCF-51D0-438C-8320-8BD4E34EC6FB","D42614B5-1431-4E60-8BE4-CB51E5D5EB1A"],"index":0,"priorExtent":{"__isSmartRef__":true,"id":2753},"layout":{"__isSmartRef__":true,"id":2754},"owner":{"__isSmartRef__":true,"id":2720},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2755},"__LivelyClassName__":"lively.morphic.Box"},"2722":{"submorphs":[],"scripts":[],"id":"3042DECB-4713-4658-A320-C26C9C6A9D30","shape":{"__isSmartRef__":true,"id":2723},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2729},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2726},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text30","partsBinMetaInfo":{"__isSmartRef__":true,"id":2730},"textChunks":[{"__isSmartRef__":true,"id":2731}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2733},"renderContextTable":{"__isSmartRef__":true,"id":2734},"eventHandler":{"__isSmartRef__":true,"id":2735},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2736},"_ClipMode":"visible","derivationIds":[355,"1A35CB1C-1BAE-45DF-8864-F5DCA0AA95CF","376943B8-CBE8-4A72-A79B-50A3C775973D"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2737},"owner":{"__isSmartRef__":true,"id":2721},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2723":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2724},"_Extent":{"__isSmartRef__":true,"id":2725},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2726},"renderContextTable":{"__isSmartRef__":true,"id":2727},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2728},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2724":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2725":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2726":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2727":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2728":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2729":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2730":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2731":{"style":{"__isSmartRef__":true,"id":2732},"chunkOwner":{"__isSmartRef__":true,"id":2722},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"2732":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2733":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2734":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2735":{"morph":{"__isSmartRef__":true,"id":2722},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2736":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2737":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2738":{"position":{"__isSmartRef__":true,"id":2739},"_Extent":{"__isSmartRef__":true,"id":2740},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2741},"_Fill":{"__isSmartRef__":true,"id":2742},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2747},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2748},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2739":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2740":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2741":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2742":{"stops":[{"__isSmartRef__":true,"id":2743},{"__isSmartRef__":true,"id":2745}],"vector":{"__isSmartRef__":true,"id":1386},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2743":{"offset":0,"color":{"__isSmartRef__":true,"id":2744}},"2744":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2745":{"offset":1,"color":{"__isSmartRef__":true,"id":2746}},"2746":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2747":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2748":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2749":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2750":{"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"},"2751":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2752":{"morph":{"__isSmartRef__":true,"id":2721},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2753":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2754":{"resizeWidth":true},"2755":{"onTouchStart":{"__isSmartRef__":true,"id":2756},"onTouchMove":{"__isSmartRef__":true,"id":2760},"onTouchEnd":{"__isSmartRef__":true,"id":2764}},"2756":{"varMapping":{"__isSmartRef__":true,"id":2757},"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":2758},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2757":{"this":{"__isSmartRef__":true,"id":2719}},"2758":{"timestamp":{"__isSmartRef__":true,"id":2759},"user":"sstamm","tags":[]},"2759":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (Mitteleuropäische Zeit)"},"2760":{"varMapping":{"__isSmartRef__":true,"id":2761},"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":2762},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2761":{"this":{"__isSmartRef__":true,"id":2719}},"2762":{"timestamp":{"__isSmartRef__":true,"id":2763},"user":"sstamm","tags":[]},"2763":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (Mitteleuropäische Zeit)"},"2764":{"varMapping":{"__isSmartRef__":true,"id":2765},"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":2766},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2765":{"this":{"__isSmartRef__":true,"id":2719}},"2766":{"timestamp":{"__isSmartRef__":true,"id":2767},"user":"sstamm","tags":[]},"2767":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (Mitteleuropäische Zeit)"},"2768":{"submorphs":[{"__isSmartRef__":true,"id":2769}],"scripts":[],"id":"F9E3C07E-A5CE-48CC-9DD6-2FDCB8F4B3CE","shape":{"__isSmartRef__":true,"id":2785},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2796},"showsHalos":false,"name":"Rectangle29","partsBinMetaInfo":{"__isSmartRef__":true,"id":2797},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2798},"eventHandler":{"__isSmartRef__":true,"id":2799},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"D099016F-C81D-4758-A900-6E151D077005","94225991-45A0-4BDD-9EEB-6CCD2911946E"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":2800},"layout":{"__isSmartRef__":true,"id":2801},"owner":{"__isSmartRef__":true,"id":2720},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2802},"__LivelyClassName__":"lively.morphic.Box"},"2769":{"submorphs":[],"scripts":[],"id":"C847B9BD-481B-4EDA-B49B-5813A89F1ED5","shape":{"__isSmartRef__":true,"id":2770},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2776},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2773},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text31","partsBinMetaInfo":{"__isSmartRef__":true,"id":2777},"textChunks":[{"__isSmartRef__":true,"id":2778}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2780},"renderContextTable":{"__isSmartRef__":true,"id":2781},"eventHandler":{"__isSmartRef__":true,"id":2782},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2783},"_ClipMode":"visible","derivationIds":[355,"EC02F7EF-9F82-4461-90D3-D64BAEBE2F92","54D677F5-F750-4ACD-84B2-93B4B2F0D9D5"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2784},"owner":{"__isSmartRef__":true,"id":2768},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2770":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2771},"_Extent":{"__isSmartRef__":true,"id":2772},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2773},"renderContextTable":{"__isSmartRef__":true,"id":2774},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2775},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2771":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2772":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2773":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2774":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2775":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2776":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2777":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2778":{"style":{"__isSmartRef__":true,"id":2779},"chunkOwner":{"__isSmartRef__":true,"id":2769},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"2779":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2780":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2781":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2782":{"morph":{"__isSmartRef__":true,"id":2769},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2783":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2784":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2785":{"position":{"__isSmartRef__":true,"id":2786},"_Extent":{"__isSmartRef__":true,"id":2787},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2788},"_Fill":{"__isSmartRef__":true,"id":2789},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2794},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2795},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2786":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2787":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2788":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2789":{"stops":[{"__isSmartRef__":true,"id":2790},{"__isSmartRef__":true,"id":2792}],"vector":{"__isSmartRef__":true,"id":1386},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2790":{"offset":0,"color":{"__isSmartRef__":true,"id":2791}},"2791":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2792":{"offset":1,"color":{"__isSmartRef__":true,"id":2793}},"2793":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2794":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2795":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2796":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2797":{"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"},"2798":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2799":{"morph":{"__isSmartRef__":true,"id":2768},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2800":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2801":{"resizeWidth":true},"2802":{"onTouchStart":{"__isSmartRef__":true,"id":2756},"onTouchMove":{"__isSmartRef__":true,"id":2760},"onTouchEnd":{"__isSmartRef__":true,"id":2764}},"2803":{"submorphs":[{"__isSmartRef__":true,"id":2804}],"scripts":[],"id":"2C19CCB7-6241-40C5-BCFD-F7E48881B3AD","shape":{"__isSmartRef__":true,"id":2820},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2831},"showsHalos":false,"name":"Rectangle30","partsBinMetaInfo":{"__isSmartRef__":true,"id":2832},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2833},"eventHandler":{"__isSmartRef__":true,"id":2834},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"E426E645-C249-48BF-B95F-28644560EC15","8C915910-1FDF-4D9E-AFA8-604BBCDF5364"],"index":2,"priorExtent":{"__isSmartRef__":true,"id":2835},"layout":{"__isSmartRef__":true,"id":2836},"owner":{"__isSmartRef__":true,"id":2720},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2837},"__LivelyClassName__":"lively.morphic.Box"},"2804":{"submorphs":[],"scripts":[],"id":"CB0D3E7F-9C9A-4030-9054-C70D8873373C","shape":{"__isSmartRef__":true,"id":2805},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2811},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2808},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text32","partsBinMetaInfo":{"__isSmartRef__":true,"id":2812},"textChunks":[{"__isSmartRef__":true,"id":2813}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2815},"renderContextTable":{"__isSmartRef__":true,"id":2816},"eventHandler":{"__isSmartRef__":true,"id":2817},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2818},"_ClipMode":"visible","derivationIds":[355,"686A5DFC-B9D4-42E6-84F1-E233432C19C5","24EE8841-1EE7-4C5D-AB69-4B7664A96EE9"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":2819},"owner":{"__isSmartRef__":true,"id":2803},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2805":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2806},"_Extent":{"__isSmartRef__":true,"id":2807},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2808},"renderContextTable":{"__isSmartRef__":true,"id":2809},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2810},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2806":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2807":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2808":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2809":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2810":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2811":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2812":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2813":{"style":{"__isSmartRef__":true,"id":2814},"chunkOwner":{"__isSmartRef__":true,"id":2804},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"2814":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2815":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2816":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2817":{"morph":{"__isSmartRef__":true,"id":2804},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2818":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2819":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2820":{"position":{"__isSmartRef__":true,"id":2821},"_Extent":{"__isSmartRef__":true,"id":2822},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2823},"_Fill":{"__isSmartRef__":true,"id":2824},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2829},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2830},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2821":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2822":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2823":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2824":{"stops":[{"__isSmartRef__":true,"id":2825},{"__isSmartRef__":true,"id":2827}],"vector":{"__isSmartRef__":true,"id":1386},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2825":{"offset":0,"color":{"__isSmartRef__":true,"id":2826}},"2826":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2827":{"offset":1,"color":{"__isSmartRef__":true,"id":2828}},"2828":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2829":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2830":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2831":{"x":0,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2832":{"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"},"2833":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2834":{"morph":{"__isSmartRef__":true,"id":2803},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2835":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2836":{"resizeWidth":true},"2837":{"onTouchStart":{"__isSmartRef__":true,"id":2756},"onTouchMove":{"__isSmartRef__":true,"id":2760},"onTouchEnd":{"__isSmartRef__":true,"id":2764}},"2838":{"position":{"__isSmartRef__":true,"id":2839},"_Extent":{"__isSmartRef__":true,"id":2840},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2841},"_Fill":{"__isSmartRef__":true,"id":2842},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2843},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2844},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2839":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2840":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2841":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2842":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2843":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2844":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2845":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2846":{"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"},"2847":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2848":{"morph":{"__isSmartRef__":true,"id":2720},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2849":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2850":{"resizeWidth":true,"adjustForNewBounds":true},"2851":{"Parts":{"__isSmartRef__":true,"id":2852}},"2852":{"submorphs":[{"__isSmartRef__":true,"id":2853}],"scripts":[],"id":"3F84A349-52E2-4C32-931A-8EC950A3BBA5","shape":{"__isSmartRef__":true,"id":3228},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3235},"showsHalos":false,"name":"TouchList1","partsBinMetaInfo":{"__isSmartRef__":true,"id":3236},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3245},"eventHandler":{"__isSmartRef__":true,"id":3246},"attributeConnections":[{"__isSmartRef__":true,"id":3247}],"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":3248},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":3249},"itemList":[{"__isSmartRef__":true,"id":2854},{"__isSmartRef__":true,"id":2902},{"__isSmartRef__":true,"id":2937},{"__isSmartRef__":true,"id":2972},{"__isSmartRef__":true,"id":3007},{"__isSmartRef__":true,"id":3042},{"__isSmartRef__":true,"id":3077},{"__isSmartRef__":true,"id":3112},{"__isSmartRef__":true,"id":3147}],"_ClipMode":"hidden","selectedMorph":null,"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":3250},"owner":{"__isSmartRef__":true,"id":3251},"_Rotation":0,"_Scale":1,"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3287},"__LivelyClassName__":"lively.morphic.Box"},"2853":{"submorphs":[{"__isSmartRef__":true,"id":2854},{"__isSmartRef__":true,"id":2902},{"__isSmartRef__":true,"id":2937},{"__isSmartRef__":true,"id":2972},{"__isSmartRef__":true,"id":3007},{"__isSmartRef__":true,"id":3042},{"__isSmartRef__":true,"id":3077},{"__isSmartRef__":true,"id":3112},{"__isSmartRef__":true,"id":3147}],"scripts":[],"id":"9B5CCF0C-E6FF-4E23-8290-3CFABD86AC33","shape":{"__isSmartRef__":true,"id":3182},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3189},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":3190},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3191},"eventHandler":{"__isSmartRef__":true,"id":3192},"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":2852},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":3193},"layout":{"__isSmartRef__":true,"id":3194},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3195},"__LivelyClassName__":"lively.morphic.Box"},"2854":{"submorphs":[{"__isSmartRef__":true,"id":2855}],"scripts":[],"id":"B0B606BC-5900-44EE-9BD3-9D745694811E","shape":{"__isSmartRef__":true,"id":2871},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2883},"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":2884},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2885},"eventHandler":{"__isSmartRef__":true,"id":2886},"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":2887},"layout":{"__isSmartRef__":true,"id":2888},"owner":{"__isSmartRef__":true,"id":2853},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2889},"__LivelyClassName__":"lively.morphic.Box"},"2855":{"submorphs":[],"scripts":[],"id":"0434817E-3970-4CB8-B8A0-CC669232784A","shape":{"__isSmartRef__":true,"id":2856},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2862},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2859},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":2863},"textChunks":[{"__isSmartRef__":true,"id":2864}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2866},"renderContextTable":{"__isSmartRef__":true,"id":2867},"eventHandler":{"__isSmartRef__":true,"id":2868},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2869},"_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":2870},"owner":{"__isSmartRef__":true,"id":2854},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2856":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2857},"_Extent":{"__isSmartRef__":true,"id":2858},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2859},"renderContextTable":{"__isSmartRef__":true,"id":2860},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2861},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2857":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2858":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2859":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2860":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2861":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2862":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2863":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2864":{"style":{"__isSmartRef__":true,"id":2865},"chunkOwner":{"__isSmartRef__":true,"id":2855},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"2865":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2866":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2867":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2868":{"morph":{"__isSmartRef__":true,"id":2855},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2869":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2870":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2871":{"position":{"__isSmartRef__":true,"id":2872},"_Extent":{"__isSmartRef__":true,"id":2873},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2874},"_Fill":{"__isSmartRef__":true,"id":2875},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2881},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2882},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2872":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2873":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2874":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2875":{"stops":[{"__isSmartRef__":true,"id":2876},{"__isSmartRef__":true,"id":2878}],"vector":{"__isSmartRef__":true,"id":2880},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2876":{"offset":0,"color":{"__isSmartRef__":true,"id":2877}},"2877":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2878":{"offset":1,"color":{"__isSmartRef__":true,"id":2879}},"2879":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2880":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2881":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2882":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2883":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2884":{"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"},"2885":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2886":{"morph":{"__isSmartRef__":true,"id":2854},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2887":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2888":{"resizeWidth":true},"2889":{"onTouchStart":{"__isSmartRef__":true,"id":2890},"onTouchMove":{"__isSmartRef__":true,"id":2894},"onTouchEnd":{"__isSmartRef__":true,"id":2898}},"2890":{"varMapping":{"__isSmartRef__":true,"id":2891},"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":2892},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2891":{"this":{"__isSmartRef__":true,"id":2852}},"2892":{"timestamp":{"__isSmartRef__":true,"id":2893},"user":"sstamm","tags":[]},"2893":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (Mitteleuropäische Zeit)"},"2894":{"varMapping":{"__isSmartRef__":true,"id":2895},"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":2896},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2895":{"this":{"__isSmartRef__":true,"id":2852}},"2896":{"timestamp":{"__isSmartRef__":true,"id":2897},"user":"sstamm","tags":[]},"2897":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (Mitteleuropäische Zeit)"},"2898":{"varMapping":{"__isSmartRef__":true,"id":2899},"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":2900},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2899":{"this":{"__isSmartRef__":true,"id":2852}},"2900":{"timestamp":{"__isSmartRef__":true,"id":2901},"user":"sstamm","tags":[]},"2901":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (Mitteleuropäische Zeit)"},"2902":{"submorphs":[{"__isSmartRef__":true,"id":2903}],"scripts":[],"id":"462E64AA-D52F-418A-8764-B811BEE40622","shape":{"__isSmartRef__":true,"id":2919},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2930},"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2931},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2932},"eventHandler":{"__isSmartRef__":true,"id":2933},"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":2934},"layout":{"__isSmartRef__":true,"id":2935},"owner":{"__isSmartRef__":true,"id":2853},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2936},"__LivelyClassName__":"lively.morphic.Box"},"2903":{"submorphs":[],"scripts":[],"id":"C7D10E82-D903-48DF-B43C-148D5CC312FC","shape":{"__isSmartRef__":true,"id":2904},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2910},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2907},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2911},"textChunks":[{"__isSmartRef__":true,"id":2912}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2914},"renderContextTable":{"__isSmartRef__":true,"id":2915},"eventHandler":{"__isSmartRef__":true,"id":2916},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2917},"_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":2918},"owner":{"__isSmartRef__":true,"id":2902},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2904":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2905},"_Extent":{"__isSmartRef__":true,"id":2906},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2907},"renderContextTable":{"__isSmartRef__":true,"id":2908},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2909},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2905":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2906":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2907":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2908":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2909":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2910":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2911":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2912":{"style":{"__isSmartRef__":true,"id":2913},"chunkOwner":{"__isSmartRef__":true,"id":2903},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"2913":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2914":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2915":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2916":{"morph":{"__isSmartRef__":true,"id":2903},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2917":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2918":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2919":{"position":{"__isSmartRef__":true,"id":2920},"_Extent":{"__isSmartRef__":true,"id":2921},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2922},"_Fill":{"__isSmartRef__":true,"id":2923},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2928},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2929},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2920":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2921":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2922":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2923":{"stops":[{"__isSmartRef__":true,"id":2924},{"__isSmartRef__":true,"id":2926}],"vector":{"__isSmartRef__":true,"id":2880},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2924":{"offset":0,"color":{"__isSmartRef__":true,"id":2925}},"2925":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2926":{"offset":1,"color":{"__isSmartRef__":true,"id":2927}},"2927":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2928":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2929":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2930":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2931":{"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"},"2932":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2933":{"morph":{"__isSmartRef__":true,"id":2902},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2934":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2935":{"resizeWidth":true},"2936":{"onTouchStart":{"__isSmartRef__":true,"id":2890},"onTouchMove":{"__isSmartRef__":true,"id":2894},"onTouchEnd":{"__isSmartRef__":true,"id":2898}},"2937":{"submorphs":[{"__isSmartRef__":true,"id":2938}],"scripts":[],"id":"2C80C10D-7530-49A4-80D8-8195CE6314FB","shape":{"__isSmartRef__":true,"id":2954},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2965},"showsHalos":false,"name":"Rectangle2","partsBinMetaInfo":{"__isSmartRef__":true,"id":2966},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2967},"eventHandler":{"__isSmartRef__":true,"id":2968},"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":2969},"layout":{"__isSmartRef__":true,"id":2970},"owner":{"__isSmartRef__":true,"id":2853},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2971},"__LivelyClassName__":"lively.morphic.Box"},"2938":{"submorphs":[],"scripts":[],"id":"15D249DA-D25A-4787-922F-C215E450C3FF","shape":{"__isSmartRef__":true,"id":2939},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2945},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2942},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text2","partsBinMetaInfo":{"__isSmartRef__":true,"id":2946},"textChunks":[{"__isSmartRef__":true,"id":2947}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2949},"renderContextTable":{"__isSmartRef__":true,"id":2950},"eventHandler":{"__isSmartRef__":true,"id":2951},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2952},"_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":2953},"owner":{"__isSmartRef__":true,"id":2937},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2939":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2940},"_Extent":{"__isSmartRef__":true,"id":2941},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2942},"renderContextTable":{"__isSmartRef__":true,"id":2943},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2944},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2940":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2941":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2942":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2943":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2944":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2945":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2946":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2947":{"style":{"__isSmartRef__":true,"id":2948},"chunkOwner":{"__isSmartRef__":true,"id":2938},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"2948":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2949":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2950":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2951":{"morph":{"__isSmartRef__":true,"id":2938},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2952":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2953":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2954":{"position":{"__isSmartRef__":true,"id":2955},"_Extent":{"__isSmartRef__":true,"id":2956},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2957},"_Fill":{"__isSmartRef__":true,"id":2958},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2963},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2964},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2955":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2956":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2957":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2958":{"stops":[{"__isSmartRef__":true,"id":2959},{"__isSmartRef__":true,"id":2961}],"vector":{"__isSmartRef__":true,"id":2880},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2959":{"offset":0,"color":{"__isSmartRef__":true,"id":2960}},"2960":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2961":{"offset":1,"color":{"__isSmartRef__":true,"id":2962}},"2962":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2963":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2964":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2965":{"x":0,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2966":{"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"},"2967":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2968":{"morph":{"__isSmartRef__":true,"id":2937},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2969":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2970":{"resizeWidth":true},"2971":{"onTouchStart":{"__isSmartRef__":true,"id":2890},"onTouchMove":{"__isSmartRef__":true,"id":2894},"onTouchEnd":{"__isSmartRef__":true,"id":2898}},"2972":{"submorphs":[{"__isSmartRef__":true,"id":2973}],"scripts":[],"id":"AE422775-DEBE-4779-B4F5-060649F5F3DA","shape":{"__isSmartRef__":true,"id":2989},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3000},"showsHalos":false,"name":"Rectangle3","partsBinMetaInfo":{"__isSmartRef__":true,"id":3001},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3002},"eventHandler":{"__isSmartRef__":true,"id":3003},"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":3004},"layout":{"__isSmartRef__":true,"id":3005},"owner":{"__isSmartRef__":true,"id":2853},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3006},"__LivelyClassName__":"lively.morphic.Box"},"2973":{"submorphs":[],"scripts":[],"id":"51D5DB89-BD9A-428E-BDE4-5B13CA2850E9","shape":{"__isSmartRef__":true,"id":2974},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2980},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2977},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text3","partsBinMetaInfo":{"__isSmartRef__":true,"id":2981},"textChunks":[{"__isSmartRef__":true,"id":2982}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2984},"renderContextTable":{"__isSmartRef__":true,"id":2985},"eventHandler":{"__isSmartRef__":true,"id":2986},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2987},"_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":2988},"owner":{"__isSmartRef__":true,"id":2972},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2974":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2975},"_Extent":{"__isSmartRef__":true,"id":2976},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2977},"renderContextTable":{"__isSmartRef__":true,"id":2978},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2979},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2975":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2976":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2977":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2978":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2979":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2980":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2981":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2982":{"style":{"__isSmartRef__":true,"id":2983},"chunkOwner":{"__isSmartRef__":true,"id":2973},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"2983":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2984":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2985":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2986":{"morph":{"__isSmartRef__":true,"id":2973},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2987":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2988":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2989":{"position":{"__isSmartRef__":true,"id":2990},"_Extent":{"__isSmartRef__":true,"id":2991},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2992},"_Fill":{"__isSmartRef__":true,"id":2993},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2998},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2999},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2990":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2991":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2992":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2993":{"stops":[{"__isSmartRef__":true,"id":2994},{"__isSmartRef__":true,"id":2996}],"vector":{"__isSmartRef__":true,"id":2880},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2994":{"offset":0,"color":{"__isSmartRef__":true,"id":2995}},"2995":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2996":{"offset":1,"color":{"__isSmartRef__":true,"id":2997}},"2997":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2998":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2999":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3000":{"x":0,"y":129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3001":{"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"},"3002":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3003":{"morph":{"__isSmartRef__":true,"id":2972},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3004":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3005":{"resizeWidth":true},"3006":{"onTouchStart":{"__isSmartRef__":true,"id":2890},"onTouchMove":{"__isSmartRef__":true,"id":2894},"onTouchEnd":{"__isSmartRef__":true,"id":2898}},"3007":{"submorphs":[{"__isSmartRef__":true,"id":3008}],"scripts":[],"id":"D94022B4-90E9-42DD-A213-8812B1F48579","shape":{"__isSmartRef__":true,"id":3024},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3035},"showsHalos":false,"name":"Rectangle4","partsBinMetaInfo":{"__isSmartRef__":true,"id":3036},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3037},"eventHandler":{"__isSmartRef__":true,"id":3038},"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":3039},"layout":{"__isSmartRef__":true,"id":3040},"owner":{"__isSmartRef__":true,"id":2853},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3041},"__LivelyClassName__":"lively.morphic.Box"},"3008":{"submorphs":[],"scripts":[],"id":"F0C9DB90-AFCB-4717-A54E-55E7DD0053F7","shape":{"__isSmartRef__":true,"id":3009},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3015},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3012},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text4","partsBinMetaInfo":{"__isSmartRef__":true,"id":3016},"textChunks":[{"__isSmartRef__":true,"id":3017}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3019},"renderContextTable":{"__isSmartRef__":true,"id":3020},"eventHandler":{"__isSmartRef__":true,"id":3021},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3022},"_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":3023},"owner":{"__isSmartRef__":true,"id":3007},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3009":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3010},"_Extent":{"__isSmartRef__":true,"id":3011},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3012},"renderContextTable":{"__isSmartRef__":true,"id":3013},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3014},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3010":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3011":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3012":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3013":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3014":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3015":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3016":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3017":{"style":{"__isSmartRef__":true,"id":3018},"chunkOwner":{"__isSmartRef__":true,"id":3008},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3018":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3019":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3020":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3021":{"morph":{"__isSmartRef__":true,"id":3008},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3022":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3023":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3024":{"position":{"__isSmartRef__":true,"id":3025},"_Extent":{"__isSmartRef__":true,"id":3026},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3027},"_Fill":{"__isSmartRef__":true,"id":3028},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3033},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3034},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3025":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3026":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3027":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3028":{"stops":[{"__isSmartRef__":true,"id":3029},{"__isSmartRef__":true,"id":3031}],"vector":{"__isSmartRef__":true,"id":2880},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3029":{"offset":0,"color":{"__isSmartRef__":true,"id":3030}},"3030":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3031":{"offset":1,"color":{"__isSmartRef__":true,"id":3032}},"3032":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3033":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3034":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3035":{"x":0,"y":172,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3036":{"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"},"3037":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3038":{"morph":{"__isSmartRef__":true,"id":3007},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3039":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3040":{"resizeWidth":true},"3041":{"onTouchStart":{"__isSmartRef__":true,"id":2890},"onTouchMove":{"__isSmartRef__":true,"id":2894},"onTouchEnd":{"__isSmartRef__":true,"id":2898}},"3042":{"submorphs":[{"__isSmartRef__":true,"id":3043}],"scripts":[],"id":"233B46E4-E328-475D-AF31-96FE4BA279BB","shape":{"__isSmartRef__":true,"id":3059},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3070},"showsHalos":false,"name":"Rectangle5","partsBinMetaInfo":{"__isSmartRef__":true,"id":3071},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3072},"eventHandler":{"__isSmartRef__":true,"id":3073},"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":3074},"layout":{"__isSmartRef__":true,"id":3075},"owner":{"__isSmartRef__":true,"id":2853},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3076},"__LivelyClassName__":"lively.morphic.Box"},"3043":{"submorphs":[],"scripts":[],"id":"5DD8451B-FD4A-4499-B471-6447121EA923","shape":{"__isSmartRef__":true,"id":3044},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3050},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3047},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text5","partsBinMetaInfo":{"__isSmartRef__":true,"id":3051},"textChunks":[{"__isSmartRef__":true,"id":3052}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3054},"renderContextTable":{"__isSmartRef__":true,"id":3055},"eventHandler":{"__isSmartRef__":true,"id":3056},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3057},"_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":3058},"owner":{"__isSmartRef__":true,"id":3042},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3044":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3045},"_Extent":{"__isSmartRef__":true,"id":3046},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3047},"renderContextTable":{"__isSmartRef__":true,"id":3048},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3049},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3045":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3046":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3047":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3048":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3049":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3050":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3051":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3052":{"style":{"__isSmartRef__":true,"id":3053},"chunkOwner":{"__isSmartRef__":true,"id":3043},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3053":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3054":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3055":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3056":{"morph":{"__isSmartRef__":true,"id":3043},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3057":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3058":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3059":{"position":{"__isSmartRef__":true,"id":3060},"_Extent":{"__isSmartRef__":true,"id":3061},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3062},"_Fill":{"__isSmartRef__":true,"id":3063},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3068},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3069},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3060":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3061":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3062":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3063":{"stops":[{"__isSmartRef__":true,"id":3064},{"__isSmartRef__":true,"id":3066}],"vector":{"__isSmartRef__":true,"id":2880},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3064":{"offset":0,"color":{"__isSmartRef__":true,"id":3065}},"3065":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3066":{"offset":1,"color":{"__isSmartRef__":true,"id":3067}},"3067":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3068":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3069":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3070":{"x":0,"y":215,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3071":{"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"},"3072":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3073":{"morph":{"__isSmartRef__":true,"id":3042},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3074":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3075":{"resizeWidth":true},"3076":{"onTouchStart":{"__isSmartRef__":true,"id":2890},"onTouchMove":{"__isSmartRef__":true,"id":2894},"onTouchEnd":{"__isSmartRef__":true,"id":2898}},"3077":{"submorphs":[{"__isSmartRef__":true,"id":3078}],"scripts":[],"id":"EE82D661-A41E-4784-903E-30C21D9BB525","shape":{"__isSmartRef__":true,"id":3094},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3105},"showsHalos":false,"name":"Rectangle6","partsBinMetaInfo":{"__isSmartRef__":true,"id":3106},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3107},"eventHandler":{"__isSmartRef__":true,"id":3108},"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":3109},"layout":{"__isSmartRef__":true,"id":3110},"owner":{"__isSmartRef__":true,"id":2853},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3111},"__LivelyClassName__":"lively.morphic.Box"},"3078":{"submorphs":[],"scripts":[],"id":"DBE74BB9-4F8D-4A5B-B6F7-A17A5867A0B0","shape":{"__isSmartRef__":true,"id":3079},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3085},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3082},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text6","partsBinMetaInfo":{"__isSmartRef__":true,"id":3086},"textChunks":[{"__isSmartRef__":true,"id":3087}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3089},"renderContextTable":{"__isSmartRef__":true,"id":3090},"eventHandler":{"__isSmartRef__":true,"id":3091},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3092},"_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":3093},"owner":{"__isSmartRef__":true,"id":3077},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3079":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3080},"_Extent":{"__isSmartRef__":true,"id":3081},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3082},"renderContextTable":{"__isSmartRef__":true,"id":3083},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3084},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3080":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3081":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3082":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3083":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3084":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3085":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3086":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3087":{"style":{"__isSmartRef__":true,"id":3088},"chunkOwner":{"__isSmartRef__":true,"id":3078},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3088":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3089":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3090":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3091":{"morph":{"__isSmartRef__":true,"id":3078},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3092":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3093":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3094":{"position":{"__isSmartRef__":true,"id":3095},"_Extent":{"__isSmartRef__":true,"id":3096},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3097},"_Fill":{"__isSmartRef__":true,"id":3098},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3103},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3104},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3095":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3096":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3097":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3098":{"stops":[{"__isSmartRef__":true,"id":3099},{"__isSmartRef__":true,"id":3101}],"vector":{"__isSmartRef__":true,"id":2880},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3099":{"offset":0,"color":{"__isSmartRef__":true,"id":3100}},"3100":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3101":{"offset":1,"color":{"__isSmartRef__":true,"id":3102}},"3102":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3103":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3104":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3105":{"x":0,"y":258,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3106":{"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"},"3107":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3108":{"morph":{"__isSmartRef__":true,"id":3077},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3109":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3110":{"resizeWidth":true},"3111":{"onTouchStart":{"__isSmartRef__":true,"id":2890},"onTouchMove":{"__isSmartRef__":true,"id":2894},"onTouchEnd":{"__isSmartRef__":true,"id":2898}},"3112":{"submorphs":[{"__isSmartRef__":true,"id":3113}],"scripts":[],"id":"5F3D0DCB-1BB2-4392-B256-02560611507A","shape":{"__isSmartRef__":true,"id":3129},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3140},"showsHalos":false,"name":"Rectangle7","partsBinMetaInfo":{"__isSmartRef__":true,"id":3141},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3142},"eventHandler":{"__isSmartRef__":true,"id":3143},"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":3144},"layout":{"__isSmartRef__":true,"id":3145},"owner":{"__isSmartRef__":true,"id":2853},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3146},"__LivelyClassName__":"lively.morphic.Box"},"3113":{"submorphs":[],"scripts":[],"id":"09094987-4588-4283-A213-A6783A58BD45","shape":{"__isSmartRef__":true,"id":3114},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3120},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3117},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text7","partsBinMetaInfo":{"__isSmartRef__":true,"id":3121},"textChunks":[{"__isSmartRef__":true,"id":3122}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3124},"renderContextTable":{"__isSmartRef__":true,"id":3125},"eventHandler":{"__isSmartRef__":true,"id":3126},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3127},"_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":3128},"owner":{"__isSmartRef__":true,"id":3112},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3114":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3115},"_Extent":{"__isSmartRef__":true,"id":3116},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3117},"renderContextTable":{"__isSmartRef__":true,"id":3118},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3119},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3115":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3116":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3117":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3118":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3119":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3120":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3121":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3122":{"style":{"__isSmartRef__":true,"id":3123},"chunkOwner":{"__isSmartRef__":true,"id":3113},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3123":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3124":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3125":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3126":{"morph":{"__isSmartRef__":true,"id":3113},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3127":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3128":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3129":{"position":{"__isSmartRef__":true,"id":3130},"_Extent":{"__isSmartRef__":true,"id":3131},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3132},"_Fill":{"__isSmartRef__":true,"id":3133},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3138},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3139},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3130":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3131":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3132":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3133":{"stops":[{"__isSmartRef__":true,"id":3134},{"__isSmartRef__":true,"id":3136}],"vector":{"__isSmartRef__":true,"id":2880},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3134":{"offset":0,"color":{"__isSmartRef__":true,"id":3135}},"3135":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3136":{"offset":1,"color":{"__isSmartRef__":true,"id":3137}},"3137":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3138":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3139":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3140":{"x":0,"y":301,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3141":{"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"},"3142":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3143":{"morph":{"__isSmartRef__":true,"id":3112},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3144":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3145":{"resizeWidth":true},"3146":{"onTouchStart":{"__isSmartRef__":true,"id":2890},"onTouchMove":{"__isSmartRef__":true,"id":2894},"onTouchEnd":{"__isSmartRef__":true,"id":2898}},"3147":{"submorphs":[{"__isSmartRef__":true,"id":3148}],"scripts":[],"id":"A556A6CB-0453-443B-8610-D73169A6726C","shape":{"__isSmartRef__":true,"id":3164},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3175},"showsHalos":false,"name":"Rectangle8","partsBinMetaInfo":{"__isSmartRef__":true,"id":3176},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3177},"eventHandler":{"__isSmartRef__":true,"id":3178},"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":3179},"layout":{"__isSmartRef__":true,"id":3180},"owner":{"__isSmartRef__":true,"id":2853},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3181},"__LivelyClassName__":"lively.morphic.Box"},"3148":{"submorphs":[],"scripts":[],"id":"38840F11-D643-47C7-9175-392609DE1987","shape":{"__isSmartRef__":true,"id":3149},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3155},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3152},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text8","partsBinMetaInfo":{"__isSmartRef__":true,"id":3156},"textChunks":[{"__isSmartRef__":true,"id":3157}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3159},"renderContextTable":{"__isSmartRef__":true,"id":3160},"eventHandler":{"__isSmartRef__":true,"id":3161},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3162},"_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":3163},"owner":{"__isSmartRef__":true,"id":3147},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3149":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3150},"_Extent":{"__isSmartRef__":true,"id":3151},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3152},"renderContextTable":{"__isSmartRef__":true,"id":3153},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3154},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3150":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3151":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3152":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3153":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3154":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3155":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3156":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3157":{"style":{"__isSmartRef__":true,"id":3158},"chunkOwner":{"__isSmartRef__":true,"id":3148},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3158":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3159":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3160":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3161":{"morph":{"__isSmartRef__":true,"id":3148},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3162":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3163":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3164":{"position":{"__isSmartRef__":true,"id":3165},"_Extent":{"__isSmartRef__":true,"id":3166},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3167},"_Fill":{"__isSmartRef__":true,"id":3168},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3173},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3174},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3165":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3166":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3167":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3168":{"stops":[{"__isSmartRef__":true,"id":3169},{"__isSmartRef__":true,"id":3171}],"vector":{"__isSmartRef__":true,"id":2880},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3169":{"offset":0,"color":{"__isSmartRef__":true,"id":3170}},"3170":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3171":{"offset":1,"color":{"__isSmartRef__":true,"id":3172}},"3172":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3173":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3174":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3175":{"x":0,"y":344,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3176":{"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"},"3177":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3178":{"morph":{"__isSmartRef__":true,"id":3147},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3179":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3180":{"resizeWidth":true},"3181":{"onTouchStart":{"__isSmartRef__":true,"id":2890},"onTouchMove":{"__isSmartRef__":true,"id":2894},"onTouchEnd":{"__isSmartRef__":true,"id":2898}},"3182":{"position":{"__isSmartRef__":true,"id":3183},"_Extent":{"__isSmartRef__":true,"id":3184},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3185},"_Fill":{"__isSmartRef__":true,"id":3186},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3187},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3188},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3183":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3184":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3185":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3186":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3187":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3188":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3189":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3190":{"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"},"3191":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3192":{"morph":{"__isSmartRef__":true,"id":2853},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3193":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3194":{"resizeWidth":true,"adjustForNewBounds":true},"3195":{"onTouchStart":{"__isSmartRef__":true,"id":3196},"onTouchMove":{"__isSmartRef__":true,"id":3204},"onTouchEnd":{"__isSmartRef__":true,"id":3212},"stayInBounds":{"__isSmartRef__":true,"id":3220},"isInBounds":{"__isSmartRef__":true,"id":3224}},"3196":{"varMapping":{"__isSmartRef__":true,"id":3197},"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":3202},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3197":{"this":{"__isSmartRef__":true,"id":2853},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3198}},"3198":{"$super":{"__isSmartRef__":true,"id":3199}},"3199":{"varMapping":{"__isSmartRef__":true,"id":3200},"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":3201},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3200":{"obj":{"__isSmartRef__":true,"id":2853},"name":"onTouchStart"},"3201":{},"3202":{"timestamp":{"__isSmartRef__":true,"id":3203},"user":"sstamm","tags":[]},"3203":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (Mitteleuropäische Zeit)"},"3204":{"varMapping":{"__isSmartRef__":true,"id":3205},"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":3210},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3205":{"this":{"__isSmartRef__":true,"id":2853},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3206}},"3206":{"$super":{"__isSmartRef__":true,"id":3207}},"3207":{"varMapping":{"__isSmartRef__":true,"id":3208},"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":3209},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3208":{"obj":{"__isSmartRef__":true,"id":2853},"name":"onTouchMove"},"3209":{},"3210":{"timestamp":{"__isSmartRef__":true,"id":3211},"user":"sstamm","tags":[]},"3211":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:54:39 GMT+0100 (Mitteleuropäische Zeit)"},"3212":{"varMapping":{"__isSmartRef__":true,"id":3213},"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":3218},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3213":{"this":{"__isSmartRef__":true,"id":2853},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3214}},"3214":{"$super":{"__isSmartRef__":true,"id":3215}},"3215":{"varMapping":{"__isSmartRef__":true,"id":3216},"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":3217},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3216":{"obj":{"__isSmartRef__":true,"id":2853},"name":"onTouchEnd"},"3217":{},"3218":{"timestamp":{"__isSmartRef__":true,"id":3219},"user":"sstamm","tags":[]},"3219":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (Mitteleuropäische Zeit)"},"3220":{"varMapping":{"__isSmartRef__":true,"id":3221},"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":3222},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3221":{"this":{"__isSmartRef__":true,"id":2853}},"3222":{"timestamp":{"__isSmartRef__":true,"id":3223},"user":"sstamm","tags":[]},"3223":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (Mitteleuropäische Zeit)"},"3224":{"varMapping":{"__isSmartRef__":true,"id":3225},"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":3226},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3225":{"this":{"__isSmartRef__":true,"id":2853}},"3226":{"timestamp":{"__isSmartRef__":true,"id":3227},"user":"sstamm","tags":[]},"3227":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (Mitteleuropäische Zeit)"},"3228":{"position":{"__isSmartRef__":true,"id":3229},"_Extent":{"__isSmartRef__":true,"id":3230},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3231},"_Fill":{"__isSmartRef__":true,"id":3232},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3233},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3234},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3229":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3230":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3231":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3232":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3233":{},"3234":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3235":{"x":1,"y":-42,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3236":{"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":3237},{"__isSmartRef__":true,"id":3239},{"__isSmartRef__":true,"id":3241},{"__isSmartRef__":true,"id":3243}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3237":{"date":{"__isSmartRef__":true,"id":3238},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"3238":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (Mitteleuropäische Zeit)"},"3239":{"date":{"__isSmartRef__":true,"id":3240},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"3240":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (Mitteleuropäische Zeit)"},"3241":{"date":{"__isSmartRef__":true,"id":3242},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"3242":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (Mitteleuropäische Zeit)"},"3243":{"date":{"__isSmartRef__":true,"id":3244},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"3244":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (Mitteleuropäische Zeit)"},"3245":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3246":{"morph":{"__isSmartRef__":true,"id":2852},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3247":{"sourceObj":{"__isSmartRef__":true,"id":2852},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":2852},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3248":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3249":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"3250":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3251":{"submorphs":[{"__isSmartRef__":true,"id":3252},{"__isSmartRef__":true,"id":2852}],"scripts":[],"id":"42E052F8-BF9E-40EA-90D0-797670BBD241","shape":{"__isSmartRef__":true,"id":3268},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3280},"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":3281},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3282},"eventHandler":{"__isSmartRef__":true,"id":3283},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"835F3BC8-D36A-49E4-BFAF-6554B4148F66","C727DE20-4AA7-4FDD-B4A9-BC9ED2A62972"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":3284},"layout":{"__isSmartRef__":true,"id":3285},"owner":null,"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3286},"__LivelyClassName__":"lively.morphic.Box"},"3252":{"submorphs":[],"scripts":[],"id":"47E766AB-D2C4-4325-A846-3F5066EE2E1A","shape":{"__isSmartRef__":true,"id":3253},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3259},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3256},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":3260},"textChunks":[{"__isSmartRef__":true,"id":3261}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3263},"renderContextTable":{"__isSmartRef__":true,"id":3264},"eventHandler":{"__isSmartRef__":true,"id":3265},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3266},"_ClipMode":"visible","derivationIds":[355,"E0F8F56D-E4DC-4441-A85E-5428558C130F","F9A264B8-01DF-406D-AA0B-30E5E147A7AD"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3267},"owner":{"__isSmartRef__":true,"id":3251},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3253":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3254},"_Extent":{"__isSmartRef__":true,"id":3255},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3256},"renderContextTable":{"__isSmartRef__":true,"id":3257},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3258},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3254":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3255":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3256":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3257":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3258":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3259":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3260":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3261":{"style":{"__isSmartRef__":true,"id":3262},"chunkOwner":{"__isSmartRef__":true,"id":3252},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3262":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3263":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3264":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3265":{"morph":{"__isSmartRef__":true,"id":3252},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3266":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3267":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3268":{"position":{"__isSmartRef__":true,"id":3269},"_Extent":{"__isSmartRef__":true,"id":3270},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3271},"_Fill":{"__isSmartRef__":true,"id":3272},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3278},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3279},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3269":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3270":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3271":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3272":{"stops":[{"__isSmartRef__":true,"id":3273},{"__isSmartRef__":true,"id":3275}],"vector":{"__isSmartRef__":true,"id":3277},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3273":{"offset":0,"color":{"__isSmartRef__":true,"id":3274}},"3274":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3275":{"offset":1,"color":{"__isSmartRef__":true,"id":3276}},"3276":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3277":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3278":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3279":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3280":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3281":{"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"},"3282":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3283":{"morph":{"__isSmartRef__":true,"id":3251},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3284":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3285":{"resizeWidth":true},"3286":{"onTouchStart":{"__isSmartRef__":true,"id":2756},"onTouchMove":{"__isSmartRef__":true,"id":2760},"onTouchEnd":{"__isSmartRef__":true,"id":2764}},"3287":{"onrestore":{"__isSmartRef__":true,"id":3288},"initialize":{"__isSmartRef__":true,"id":3296},"addItem":{"__isSmartRef__":true,"id":3304},"createListItem":{"__isSmartRef__":true,"id":3308},"touchstartCallback":{"__isSmartRef__":true,"id":2890},"touchmoveCallback":{"__isSmartRef__":true,"id":2894},"touchendCallback":{"__isSmartRef__":true,"id":2898},"updateSelection":{"__isSmartRef__":true,"id":3312},"handleClick":{"__isSmartRef__":true,"id":3316},"openSubmenuWith":{"__isSmartRef__":true,"id":3320},"initializeListEntries":{"__isSmartRef__":true,"id":3324}},"3288":{"varMapping":{"__isSmartRef__":true,"id":3289},"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":3294},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3289":{"this":{"__isSmartRef__":true,"id":2852},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3290}},"3290":{"$super":{"__isSmartRef__":true,"id":3291}},"3291":{"varMapping":{"__isSmartRef__":true,"id":3292},"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":3293},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3292":{"obj":{"__isSmartRef__":true,"id":2852},"name":"onrestore"},"3293":{},"3294":{"timestamp":{"__isSmartRef__":true,"id":3295},"user":"sstamm","tags":[]},"3295":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (Mitteleuropäische Zeit)"},"3296":{"varMapping":{"__isSmartRef__":true,"id":3297},"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":3302},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3297":{"this":{"__isSmartRef__":true,"id":2852},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3298}},"3298":{"$super":{"__isSmartRef__":true,"id":3299}},"3299":{"varMapping":{"__isSmartRef__":true,"id":3300},"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":3301},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3300":{"obj":{"__isSmartRef__":true,"id":2852},"name":"initialize"},"3301":{},"3302":{"timestamp":{"__isSmartRef__":true,"id":3303},"user":"sstamm","tags":[]},"3303":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (Mitteleuropäische Zeit)"},"3304":{"varMapping":{"__isSmartRef__":true,"id":3305},"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":3306},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3305":{"this":{"__isSmartRef__":true,"id":2852}},"3306":{"timestamp":{"__isSmartRef__":true,"id":3307},"user":"sstamm","tags":[]},"3307":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (Mitteleuropäische Zeit)"},"3308":{"varMapping":{"__isSmartRef__":true,"id":3309},"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":3310},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3309":{"this":{"__isSmartRef__":true,"id":2852}},"3310":{"timestamp":{"__isSmartRef__":true,"id":3311},"user":"sstamm","tags":[]},"3311":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (Mitteleuropäische Zeit)"},"3312":{"varMapping":{"__isSmartRef__":true,"id":3313},"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":3314},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3313":{"this":{"__isSmartRef__":true,"id":2852}},"3314":{"timestamp":{"__isSmartRef__":true,"id":3315},"user":"sstamm","tags":[]},"3315":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (Mitteleuropäische Zeit)"},"3316":{"varMapping":{"__isSmartRef__":true,"id":3317},"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":3318},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3317":{"this":{"__isSmartRef__":true,"id":2852}},"3318":{"timestamp":{"__isSmartRef__":true,"id":3319},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"3319":{"isSerializedDate":true,"string":"Mon Jan 30 2012 19:31:03 GMT+0100 (Mitteleuropäische Zeit)"},"3320":{"varMapping":{"__isSmartRef__":true,"id":3321},"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":3322},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3321":{"this":{"__isSmartRef__":true,"id":2852}},"3322":{"timestamp":{"__isSmartRef__":true,"id":3323},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"3323":{"isSerializedDate":true,"string":"Mon Jan 30 2012 19:31:28 GMT+0100 (Mitteleuropäische Zeit)"},"3324":{"varMapping":{"__isSmartRef__":true,"id":3325},"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":3326},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3325":{"this":{"__isSmartRef__":true,"id":2852}},"3326":{"timestamp":{"__isSmartRef__":true,"id":3327},"user":"conradcalmez","tags":[]},"3327":{"isSerializedDate":true,"string":"Tue Jan 31 2012 10:32:29 GMT+0100 (Mitteleuropäische Zeit)"},"3328":{"onTouchStart":{"__isSmartRef__":true,"id":3329},"onTouchMove":{"__isSmartRef__":true,"id":3337},"onTouchEnd":{"__isSmartRef__":true,"id":3345},"stayInBounds":{"__isSmartRef__":true,"id":3353},"isInBounds":{"__isSmartRef__":true,"id":3357}},"3329":{"varMapping":{"__isSmartRef__":true,"id":3330},"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":3335},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3330":{"this":{"__isSmartRef__":true,"id":2720},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3331}},"3331":{"$super":{"__isSmartRef__":true,"id":3332}},"3332":{"varMapping":{"__isSmartRef__":true,"id":3333},"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":3334},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3333":{"obj":{"__isSmartRef__":true,"id":2720},"name":"onTouchStart"},"3334":{},"3335":{"timestamp":{"__isSmartRef__":true,"id":3336},"user":"sstamm","tags":[]},"3336":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (Mitteleuropäische Zeit)"},"3337":{"varMapping":{"__isSmartRef__":true,"id":3338},"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":3343},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3338":{"this":{"__isSmartRef__":true,"id":2720},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3339}},"3339":{"$super":{"__isSmartRef__":true,"id":3340}},"3340":{"varMapping":{"__isSmartRef__":true,"id":3341},"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":3342},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3341":{"obj":{"__isSmartRef__":true,"id":2720},"name":"onTouchMove"},"3342":{},"3343":{"timestamp":{"__isSmartRef__":true,"id":3344},"user":"sstamm","tags":[]},"3344":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:54:39 GMT+0100 (Mitteleuropäische Zeit)"},"3345":{"varMapping":{"__isSmartRef__":true,"id":3346},"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":3351},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3346":{"this":{"__isSmartRef__":true,"id":2720},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3347}},"3347":{"$super":{"__isSmartRef__":true,"id":3348}},"3348":{"varMapping":{"__isSmartRef__":true,"id":3349},"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":3350},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3349":{"obj":{"__isSmartRef__":true,"id":2720},"name":"onTouchEnd"},"3350":{},"3351":{"timestamp":{"__isSmartRef__":true,"id":3352},"user":"sstamm","tags":[]},"3352":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (Mitteleuropäische Zeit)"},"3353":{"varMapping":{"__isSmartRef__":true,"id":3354},"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":3355},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3354":{"this":{"__isSmartRef__":true,"id":2720}},"3355":{"timestamp":{"__isSmartRef__":true,"id":3356},"user":"sstamm","tags":[]},"3356":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (Mitteleuropäische Zeit)"},"3357":{"varMapping":{"__isSmartRef__":true,"id":3358},"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":3359},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3358":{"this":{"__isSmartRef__":true,"id":2720}},"3359":{"timestamp":{"__isSmartRef__":true,"id":3360},"user":"sstamm","tags":[]},"3360":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (Mitteleuropäische Zeit)"},"3361":{"position":{"__isSmartRef__":true,"id":3362},"_Extent":{"__isSmartRef__":true,"id":3363},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3364},"_Fill":{"__isSmartRef__":true,"id":3365},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3366},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3367},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3362":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3363":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3364":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3365":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3366":{},"3367":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3368":{"x":7,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3369":{"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":3370},{"__isSmartRef__":true,"id":3372},{"__isSmartRef__":true,"id":3374},{"__isSmartRef__":true,"id":3376}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3370":{"date":{"__isSmartRef__":true,"id":3371},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"3371":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (Mitteleuropäische Zeit)"},"3372":{"date":{"__isSmartRef__":true,"id":3373},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"3373":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (Mitteleuropäische Zeit)"},"3374":{"date":{"__isSmartRef__":true,"id":3375},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"3375":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (Mitteleuropäische Zeit)"},"3376":{"date":{"__isSmartRef__":true,"id":3377},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"3377":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (Mitteleuropäische Zeit)"},"3378":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3379":{"morph":{"__isSmartRef__":true,"id":2719},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3380":{"sourceObj":{"__isSmartRef__":true,"id":2719},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":2719},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3381":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3382":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"3383":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3384":{"onrestore":{"__isSmartRef__":true,"id":3385},"initialize":{"__isSmartRef__":true,"id":3393},"addItem":{"__isSmartRef__":true,"id":3401},"createListItem":{"__isSmartRef__":true,"id":3405},"touchstartCallback":{"__isSmartRef__":true,"id":2756},"touchmoveCallback":{"__isSmartRef__":true,"id":2760},"touchendCallback":{"__isSmartRef__":true,"id":2764},"updateSelection":{"__isSmartRef__":true,"id":3409},"handleClick":{"__isSmartRef__":true,"id":3413},"initializeListEntries":{"__isSmartRef__":true,"id":3417}},"3385":{"varMapping":{"__isSmartRef__":true,"id":3386},"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":3391},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3386":{"this":{"__isSmartRef__":true,"id":2719},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3387}},"3387":{"$super":{"__isSmartRef__":true,"id":3388}},"3388":{"varMapping":{"__isSmartRef__":true,"id":3389},"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":3390},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3389":{"obj":{"__isSmartRef__":true,"id":2719},"name":"onrestore"},"3390":{},"3391":{"timestamp":{"__isSmartRef__":true,"id":3392},"user":"sstamm","tags":[]},"3392":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (Mitteleuropäische Zeit)"},"3393":{"varMapping":{"__isSmartRef__":true,"id":3394},"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":3399},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3394":{"this":{"__isSmartRef__":true,"id":2719},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3395}},"3395":{"$super":{"__isSmartRef__":true,"id":3396}},"3396":{"varMapping":{"__isSmartRef__":true,"id":3397},"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":3398},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3397":{"obj":{"__isSmartRef__":true,"id":2719},"name":"initialize"},"3398":{},"3399":{"timestamp":{"__isSmartRef__":true,"id":3400},"user":"sstamm","tags":[]},"3400":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (Mitteleuropäische Zeit)"},"3401":{"varMapping":{"__isSmartRef__":true,"id":3402},"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":3403},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3402":{"this":{"__isSmartRef__":true,"id":2719}},"3403":{"timestamp":{"__isSmartRef__":true,"id":3404},"user":"sstamm","tags":[]},"3404":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (Mitteleuropäische Zeit)"},"3405":{"varMapping":{"__isSmartRef__":true,"id":3406},"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":3407},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3406":{"this":{"__isSmartRef__":true,"id":2719}},"3407":{"timestamp":{"__isSmartRef__":true,"id":3408},"user":"sstamm","tags":[]},"3408":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (Mitteleuropäische Zeit)"},"3409":{"varMapping":{"__isSmartRef__":true,"id":3410},"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":3411},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3410":{"this":{"__isSmartRef__":true,"id":2719}},"3411":{"timestamp":{"__isSmartRef__":true,"id":3412},"user":"sstamm","tags":[]},"3412":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (Mitteleuropäische Zeit)"},"3413":{"varMapping":{"__isSmartRef__":true,"id":3414},"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":3415},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3414":{"this":{"__isSmartRef__":true,"id":2719}},"3415":{"timestamp":{"__isSmartRef__":true,"id":3416},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"3416":{"isSerializedDate":true,"string":"Tue Jan 31 2012 13:26:57 GMT+0100 (Mitteleuropäische Zeit)"},"3417":{"varMapping":{"__isSmartRef__":true,"id":3418},"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":3419},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3418":{"this":{"__isSmartRef__":true,"id":2719}},"3419":{"timestamp":{"__isSmartRef__":true,"id":3420},"user":"conradcalmez","tags":[]},"3420":{"isSerializedDate":true,"string":"Tue Jan 31 2012 11:57:16 GMT+0100 (Mitteleuropäische Zeit)"},"3421":{"submorphs":[{"__isSmartRef__":true,"id":3422}],"scripts":[],"id":"1A8C0B17-0CC4-410D-BB8B-77F0B043ABA6","shape":{"__isSmartRef__":true,"id":4168},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4175},"showsHalos":false,"name":"TouchList4","partsBinMetaInfo":{"__isSmartRef__":true,"id":4176},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4185},"eventHandler":{"__isSmartRef__":true,"id":4186},"attributeConnections":[{"__isSmartRef__":true,"id":4187}],"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":4188},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":4189},"itemList":[{"__isSmartRef__":true,"id":3423},{"__isSmartRef__":true,"id":3470},{"__isSmartRef__":true,"id":3505},{"__isSmartRef__":true,"id":3540},{"__isSmartRef__":true,"id":3575},{"__isSmartRef__":true,"id":3610}],"_ClipMode":"hidden","selectedMorph":null,"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":4190},"owner":null,"_Visible":false,"_Rotation":0,"_Scale":1,"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4191},"__LivelyClassName__":"lively.morphic.Box"},"3422":{"submorphs":[{"__isSmartRef__":true,"id":3423},{"__isSmartRef__":true,"id":3470},{"__isSmartRef__":true,"id":3505},{"__isSmartRef__":true,"id":3540},{"__isSmartRef__":true,"id":3575},{"__isSmartRef__":true,"id":3610}],"scripts":[],"id":"CB4934CC-E041-43B8-81BA-6406AFFFC063","shape":{"__isSmartRef__":true,"id":3645},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3652},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":3653},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3654},"eventHandler":{"__isSmartRef__":true,"id":3655},"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":3421},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":3656},"layout":{"__isSmartRef__":true,"id":3657},"lists":{"__isSmartRef__":true,"id":3658},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4135},"__LivelyClassName__":"lively.morphic.Box"},"3423":{"submorphs":[{"__isSmartRef__":true,"id":3424}],"scripts":[],"id":"44E88060-A469-4712-B715-E26D608AEF9B","shape":{"__isSmartRef__":true,"id":3440},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3451},"showsHalos":false,"name":"Rectangle31","partsBinMetaInfo":{"__isSmartRef__":true,"id":3452},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3453},"eventHandler":{"__isSmartRef__":true,"id":3454},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"B4BE4C69-0EAF-46DC-8361-95B99DECF8EF","13C7A5E6-AEBB-4EDF-992A-2406433FE981"],"index":0,"priorExtent":{"__isSmartRef__":true,"id":3455},"layout":{"__isSmartRef__":true,"id":3456},"owner":{"__isSmartRef__":true,"id":3422},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3457},"__LivelyClassName__":"lively.morphic.Box"},"3424":{"submorphs":[],"scripts":[],"id":"E291E18E-8CD3-468B-82A0-E10189AB5C3D","shape":{"__isSmartRef__":true,"id":3425},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3431},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3428},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text33","partsBinMetaInfo":{"__isSmartRef__":true,"id":3432},"textChunks":[{"__isSmartRef__":true,"id":3433}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3435},"renderContextTable":{"__isSmartRef__":true,"id":3436},"eventHandler":{"__isSmartRef__":true,"id":3437},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3438},"_ClipMode":"visible","derivationIds":[355,"E5A54EBB-DA61-493F-8E77-0896D17C9A20","E8936EBB-97A4-468F-88EA-713BC1930B56"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3439},"owner":{"__isSmartRef__":true,"id":3423},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3425":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3426},"_Extent":{"__isSmartRef__":true,"id":3427},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3428},"renderContextTable":{"__isSmartRef__":true,"id":3429},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3430},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3426":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3427":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3428":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3429":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3430":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3431":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3432":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3433":{"style":{"__isSmartRef__":true,"id":3434},"chunkOwner":{"__isSmartRef__":true,"id":3424},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3434":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3435":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3436":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3437":{"morph":{"__isSmartRef__":true,"id":3424},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3438":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3439":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3440":{"position":{"__isSmartRef__":true,"id":3441},"_Extent":{"__isSmartRef__":true,"id":3442},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3443},"_Fill":{"__isSmartRef__":true,"id":3444},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3449},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3450},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3441":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3442":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3443":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3444":{"stops":[{"__isSmartRef__":true,"id":3445},{"__isSmartRef__":true,"id":3447}],"vector":{"__isSmartRef__":true,"id":1386},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3445":{"offset":0,"color":{"__isSmartRef__":true,"id":3446}},"3446":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3447":{"offset":1,"color":{"__isSmartRef__":true,"id":3448}},"3448":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3449":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3450":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3451":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3452":{"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"},"3453":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3454":{"morph":{"__isSmartRef__":true,"id":3423},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3455":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3456":{"resizeWidth":true},"3457":{"onTouchStart":{"__isSmartRef__":true,"id":3458},"onTouchMove":{"__isSmartRef__":true,"id":3462},"onTouchEnd":{"__isSmartRef__":true,"id":3466}},"3458":{"varMapping":{"__isSmartRef__":true,"id":3459},"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":3460},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3459":{"this":{"__isSmartRef__":true,"id":3421}},"3460":{"timestamp":{"__isSmartRef__":true,"id":3461},"user":"sstamm","tags":[]},"3461":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (Mitteleuropäische Zeit)"},"3462":{"varMapping":{"__isSmartRef__":true,"id":3463},"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":3464},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3463":{"this":{"__isSmartRef__":true,"id":3421}},"3464":{"timestamp":{"__isSmartRef__":true,"id":3465},"user":"sstamm","tags":[]},"3465":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (Mitteleuropäische Zeit)"},"3466":{"varMapping":{"__isSmartRef__":true,"id":3467},"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":3468},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3467":{"this":{"__isSmartRef__":true,"id":3421}},"3468":{"timestamp":{"__isSmartRef__":true,"id":3469},"user":"sstamm","tags":[]},"3469":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (Mitteleuropäische Zeit)"},"3470":{"submorphs":[{"__isSmartRef__":true,"id":3471}],"scripts":[],"id":"74504D77-94C9-428C-AF84-42F154478E03","shape":{"__isSmartRef__":true,"id":3487},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3498},"showsHalos":false,"name":"Rectangle32","partsBinMetaInfo":{"__isSmartRef__":true,"id":3499},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3500},"eventHandler":{"__isSmartRef__":true,"id":3501},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"6022201C-3C3A-4B00-9FE2-018982DF5875","468B34A2-D3BE-44BE-95DC-2283E8A1C2FA"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":3502},"layout":{"__isSmartRef__":true,"id":3503},"owner":{"__isSmartRef__":true,"id":3422},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3504},"__LivelyClassName__":"lively.morphic.Box"},"3471":{"submorphs":[],"scripts":[],"id":"FEC96B80-083F-48E5-9255-C1D0F2ACD4AD","shape":{"__isSmartRef__":true,"id":3472},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3478},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3475},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text34","partsBinMetaInfo":{"__isSmartRef__":true,"id":3479},"textChunks":[{"__isSmartRef__":true,"id":3480}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3482},"renderContextTable":{"__isSmartRef__":true,"id":3483},"eventHandler":{"__isSmartRef__":true,"id":3484},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3485},"_ClipMode":"visible","derivationIds":[355,"279FC044-90B9-460A-B855-6AF77AB6BDE1","4AEF7E0F-D43E-4E35-A31D-141F63086412"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3486},"owner":{"__isSmartRef__":true,"id":3470},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3472":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3473},"_Extent":{"__isSmartRef__":true,"id":3474},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3475},"renderContextTable":{"__isSmartRef__":true,"id":3476},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3477},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3473":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3474":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3475":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3476":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3477":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3478":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3479":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3480":{"style":{"__isSmartRef__":true,"id":3481},"chunkOwner":{"__isSmartRef__":true,"id":3471},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3481":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3482":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3483":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3484":{"morph":{"__isSmartRef__":true,"id":3471},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3485":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3486":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3487":{"position":{"__isSmartRef__":true,"id":3488},"_Extent":{"__isSmartRef__":true,"id":3489},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3490},"_Fill":{"__isSmartRef__":true,"id":3491},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3496},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3497},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3488":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3489":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3490":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3491":{"stops":[{"__isSmartRef__":true,"id":3492},{"__isSmartRef__":true,"id":3494}],"vector":{"__isSmartRef__":true,"id":1386},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3492":{"offset":0,"color":{"__isSmartRef__":true,"id":3493}},"3493":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3494":{"offset":1,"color":{"__isSmartRef__":true,"id":3495}},"3495":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3496":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3497":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3498":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3499":{"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"},"3500":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3501":{"morph":{"__isSmartRef__":true,"id":3470},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3502":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3503":{"resizeWidth":true},"3504":{"onTouchStart":{"__isSmartRef__":true,"id":3458},"onTouchMove":{"__isSmartRef__":true,"id":3462},"onTouchEnd":{"__isSmartRef__":true,"id":3466}},"3505":{"submorphs":[{"__isSmartRef__":true,"id":3506}],"scripts":[],"id":"F66ECFCA-B180-4A8C-9F4D-44E40E0D24B2","shape":{"__isSmartRef__":true,"id":3522},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3533},"showsHalos":false,"name":"Rectangle33","partsBinMetaInfo":{"__isSmartRef__":true,"id":3534},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3535},"eventHandler":{"__isSmartRef__":true,"id":3536},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"0CE50E43-28C2-4D5E-9DEC-9EFC8069E39E","DDEE4A88-5658-4A19-8AE5-6DD75F55B917"],"index":2,"priorExtent":{"__isSmartRef__":true,"id":3537},"layout":{"__isSmartRef__":true,"id":3538},"owner":{"__isSmartRef__":true,"id":3422},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3539},"__LivelyClassName__":"lively.morphic.Box"},"3506":{"submorphs":[],"scripts":[],"id":"E00FE889-1A8A-45B1-AE5F-40571FE8EE33","shape":{"__isSmartRef__":true,"id":3507},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3513},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3510},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text35","partsBinMetaInfo":{"__isSmartRef__":true,"id":3514},"textChunks":[{"__isSmartRef__":true,"id":3515}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3517},"renderContextTable":{"__isSmartRef__":true,"id":3518},"eventHandler":{"__isSmartRef__":true,"id":3519},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3520},"_ClipMode":"visible","derivationIds":[355,"67E78A88-7098-47F3-9F4C-D62EE52D1E44","4BFC58D6-FF37-4781-8FDD-96EA888002D0"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3521},"owner":{"__isSmartRef__":true,"id":3505},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3507":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3508},"_Extent":{"__isSmartRef__":true,"id":3509},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3510},"renderContextTable":{"__isSmartRef__":true,"id":3511},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3512},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3508":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3509":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3510":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3511":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3512":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3513":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3514":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3515":{"style":{"__isSmartRef__":true,"id":3516},"chunkOwner":{"__isSmartRef__":true,"id":3506},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3516":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3517":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3518":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3519":{"morph":{"__isSmartRef__":true,"id":3506},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3520":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3521":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3522":{"position":{"__isSmartRef__":true,"id":3523},"_Extent":{"__isSmartRef__":true,"id":3524},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3525},"_Fill":{"__isSmartRef__":true,"id":3526},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3531},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3532},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3523":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3524":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3525":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3526":{"stops":[{"__isSmartRef__":true,"id":3527},{"__isSmartRef__":true,"id":3529}],"vector":{"__isSmartRef__":true,"id":1386},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3527":{"offset":0,"color":{"__isSmartRef__":true,"id":3528}},"3528":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3529":{"offset":1,"color":{"__isSmartRef__":true,"id":3530}},"3530":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3531":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3532":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3533":{"x":0,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3534":{"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"},"3535":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3536":{"morph":{"__isSmartRef__":true,"id":3505},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3537":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3538":{"resizeWidth":true},"3539":{"onTouchStart":{"__isSmartRef__":true,"id":3458},"onTouchMove":{"__isSmartRef__":true,"id":3462},"onTouchEnd":{"__isSmartRef__":true,"id":3466}},"3540":{"submorphs":[{"__isSmartRef__":true,"id":3541}],"scripts":[],"id":"E8F903A9-458C-4894-9D56-8069BD0D6EC9","shape":{"__isSmartRef__":true,"id":3557},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3568},"showsHalos":false,"name":"Rectangle34","partsBinMetaInfo":{"__isSmartRef__":true,"id":3569},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3570},"eventHandler":{"__isSmartRef__":true,"id":3571},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"FDB08C34-4086-4ECA-B371-FEAB3E319CF9","815D99FC-E51B-403B-A056-1693C8A342F8"],"index":3,"priorExtent":{"__isSmartRef__":true,"id":3572},"layout":{"__isSmartRef__":true,"id":3573},"owner":{"__isSmartRef__":true,"id":3422},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3574},"__LivelyClassName__":"lively.morphic.Box"},"3541":{"submorphs":[],"scripts":[],"id":"801CBCFE-24B6-4C44-BD1D-DD175F27FEFF","shape":{"__isSmartRef__":true,"id":3542},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3548},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3545},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text36","partsBinMetaInfo":{"__isSmartRef__":true,"id":3549},"textChunks":[{"__isSmartRef__":true,"id":3550}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3552},"renderContextTable":{"__isSmartRef__":true,"id":3553},"eventHandler":{"__isSmartRef__":true,"id":3554},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3555},"_ClipMode":"visible","derivationIds":[355,"81D59C0E-77D6-46E2-BDDF-EBCD01CCC97F","77CF5D5B-5971-4A40-A995-D5BE4CE37747"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3556},"owner":{"__isSmartRef__":true,"id":3540},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3542":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3543},"_Extent":{"__isSmartRef__":true,"id":3544},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3545},"renderContextTable":{"__isSmartRef__":true,"id":3546},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3547},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3543":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3544":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3545":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3546":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3547":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3548":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3549":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3550":{"style":{"__isSmartRef__":true,"id":3551},"chunkOwner":{"__isSmartRef__":true,"id":3541},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3551":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3552":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3553":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3554":{"morph":{"__isSmartRef__":true,"id":3541},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3555":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3556":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3557":{"position":{"__isSmartRef__":true,"id":3558},"_Extent":{"__isSmartRef__":true,"id":3559},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3560},"_Fill":{"__isSmartRef__":true,"id":3561},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3566},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3567},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3558":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3559":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3560":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3561":{"stops":[{"__isSmartRef__":true,"id":3562},{"__isSmartRef__":true,"id":3564}],"vector":{"__isSmartRef__":true,"id":1386},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3562":{"offset":0,"color":{"__isSmartRef__":true,"id":3563}},"3563":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3564":{"offset":1,"color":{"__isSmartRef__":true,"id":3565}},"3565":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3566":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3567":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3568":{"x":0,"y":129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3569":{"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"},"3570":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3571":{"morph":{"__isSmartRef__":true,"id":3540},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3572":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3573":{"resizeWidth":true},"3574":{"onTouchStart":{"__isSmartRef__":true,"id":3458},"onTouchMove":{"__isSmartRef__":true,"id":3462},"onTouchEnd":{"__isSmartRef__":true,"id":3466}},"3575":{"submorphs":[{"__isSmartRef__":true,"id":3576}],"scripts":[],"id":"428BE5F6-E522-48E1-8867-DBCA70AFCF72","shape":{"__isSmartRef__":true,"id":3592},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3603},"showsHalos":false,"name":"Rectangle35","partsBinMetaInfo":{"__isSmartRef__":true,"id":3604},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3605},"eventHandler":{"__isSmartRef__":true,"id":3606},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"337C2879-ED42-4A58-9069-82477BB469EE","E2E355DC-74A8-4B84-AEF8-6464865DCE33"],"index":4,"priorExtent":{"__isSmartRef__":true,"id":3607},"layout":{"__isSmartRef__":true,"id":3608},"owner":{"__isSmartRef__":true,"id":3422},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3609},"__LivelyClassName__":"lively.morphic.Box"},"3576":{"submorphs":[],"scripts":[],"id":"06C094D0-AEC1-46EB-B570-A4BC61736842","shape":{"__isSmartRef__":true,"id":3577},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3583},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3580},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text37","partsBinMetaInfo":{"__isSmartRef__":true,"id":3584},"textChunks":[{"__isSmartRef__":true,"id":3585}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3587},"renderContextTable":{"__isSmartRef__":true,"id":3588},"eventHandler":{"__isSmartRef__":true,"id":3589},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3590},"_ClipMode":"visible","derivationIds":[355,"738B71EA-C417-40F2-BE6E-7D1B6D4D4895","59BD476C-EE38-4B90-B2DE-FC8F48361319"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3591},"owner":{"__isSmartRef__":true,"id":3575},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3577":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3578},"_Extent":{"__isSmartRef__":true,"id":3579},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3580},"renderContextTable":{"__isSmartRef__":true,"id":3581},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3582},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3578":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3579":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3580":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3581":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3582":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3583":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3584":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3585":{"style":{"__isSmartRef__":true,"id":3586},"chunkOwner":{"__isSmartRef__":true,"id":3576},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3586":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3587":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3588":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3589":{"morph":{"__isSmartRef__":true,"id":3576},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3590":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3591":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3592":{"position":{"__isSmartRef__":true,"id":3593},"_Extent":{"__isSmartRef__":true,"id":3594},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3595},"_Fill":{"__isSmartRef__":true,"id":3596},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3601},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3602},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3593":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3594":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3595":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3596":{"stops":[{"__isSmartRef__":true,"id":3597},{"__isSmartRef__":true,"id":3599}],"vector":{"__isSmartRef__":true,"id":1386},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3597":{"offset":0,"color":{"__isSmartRef__":true,"id":3598}},"3598":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3599":{"offset":1,"color":{"__isSmartRef__":true,"id":3600}},"3600":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3601":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3602":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3603":{"x":0,"y":172,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3604":{"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"},"3605":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3606":{"morph":{"__isSmartRef__":true,"id":3575},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3607":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3608":{"resizeWidth":true},"3609":{"onTouchStart":{"__isSmartRef__":true,"id":3458},"onTouchMove":{"__isSmartRef__":true,"id":3462},"onTouchEnd":{"__isSmartRef__":true,"id":3466}},"3610":{"submorphs":[{"__isSmartRef__":true,"id":3611}],"scripts":[],"id":"A479461F-9425-4AE0-AB92-3B2FC81CBD1B","shape":{"__isSmartRef__":true,"id":3627},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3638},"showsHalos":false,"name":"Rectangle36","partsBinMetaInfo":{"__isSmartRef__":true,"id":3639},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3640},"eventHandler":{"__isSmartRef__":true,"id":3641},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"5C2BAD42-DBE7-4B29-BF43-759B1FD917C4","13282C1E-1E23-4D22-9F5B-36E1E27C2986"],"index":5,"priorExtent":{"__isSmartRef__":true,"id":3642},"layout":{"__isSmartRef__":true,"id":3643},"owner":{"__isSmartRef__":true,"id":3422},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3644},"__LivelyClassName__":"lively.morphic.Box"},"3611":{"submorphs":[],"scripts":[],"id":"AE19F814-C403-4E9A-80A3-00B47FEB5F75","shape":{"__isSmartRef__":true,"id":3612},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3618},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3615},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text38","partsBinMetaInfo":{"__isSmartRef__":true,"id":3619},"textChunks":[{"__isSmartRef__":true,"id":3620}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3622},"renderContextTable":{"__isSmartRef__":true,"id":3623},"eventHandler":{"__isSmartRef__":true,"id":3624},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3625},"_ClipMode":"visible","derivationIds":[355,"DB079735-6860-4BAC-958F-5B320587E9F2","F6030E70-21DF-4505-8704-B2DE96DA6307"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":3626},"owner":{"__isSmartRef__":true,"id":3610},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3612":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3613},"_Extent":{"__isSmartRef__":true,"id":3614},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3615},"renderContextTable":{"__isSmartRef__":true,"id":3616},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3617},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3613":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3614":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3615":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3616":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3617":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3618":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3619":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3620":{"style":{"__isSmartRef__":true,"id":3621},"chunkOwner":{"__isSmartRef__":true,"id":3611},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3621":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3622":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3623":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3624":{"morph":{"__isSmartRef__":true,"id":3611},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3625":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3626":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3627":{"position":{"__isSmartRef__":true,"id":3628},"_Extent":{"__isSmartRef__":true,"id":3629},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3630},"_Fill":{"__isSmartRef__":true,"id":3631},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3636},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3637},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3628":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3629":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3630":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3631":{"stops":[{"__isSmartRef__":true,"id":3632},{"__isSmartRef__":true,"id":3634}],"vector":{"__isSmartRef__":true,"id":1386},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3632":{"offset":0,"color":{"__isSmartRef__":true,"id":3633}},"3633":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3634":{"offset":1,"color":{"__isSmartRef__":true,"id":3635}},"3635":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3636":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3637":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3638":{"x":0,"y":215,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3639":{"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"},"3640":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3641":{"morph":{"__isSmartRef__":true,"id":3610},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3642":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3643":{"resizeWidth":true},"3644":{"onTouchStart":{"__isSmartRef__":true,"id":3458},"onTouchMove":{"__isSmartRef__":true,"id":3462},"onTouchEnd":{"__isSmartRef__":true,"id":3466}},"3645":{"position":{"__isSmartRef__":true,"id":3646},"_Extent":{"__isSmartRef__":true,"id":3647},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3648},"_Fill":{"__isSmartRef__":true,"id":3649},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3650},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3651},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3646":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3647":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3648":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3649":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3650":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3651":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3652":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3653":{"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"},"3654":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3655":{"morph":{"__isSmartRef__":true,"id":3422},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3656":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3657":{"resizeWidth":true,"adjustForNewBounds":true},"3658":{"Parts":{"__isSmartRef__":true,"id":3659}},"3659":{"submorphs":[{"__isSmartRef__":true,"id":3660}],"scripts":[],"id":"D5F132C4-D6AC-4195-BC33-4811A4DD5A1B","shape":{"__isSmartRef__":true,"id":4035},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4042},"showsHalos":false,"name":"TouchList1","partsBinMetaInfo":{"__isSmartRef__":true,"id":4043},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4052},"eventHandler":{"__isSmartRef__":true,"id":4053},"attributeConnections":[{"__isSmartRef__":true,"id":4054}],"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":4055},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":4056},"itemList":[{"__isSmartRef__":true,"id":3661},{"__isSmartRef__":true,"id":3709},{"__isSmartRef__":true,"id":3744},{"__isSmartRef__":true,"id":3779},{"__isSmartRef__":true,"id":3814},{"__isSmartRef__":true,"id":3849},{"__isSmartRef__":true,"id":3884},{"__isSmartRef__":true,"id":3919},{"__isSmartRef__":true,"id":3954}],"_ClipMode":"hidden","selectedMorph":null,"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":4057},"owner":{"__isSmartRef__":true,"id":4058},"_Rotation":0,"_Scale":1,"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4094},"__LivelyClassName__":"lively.morphic.Box"},"3660":{"submorphs":[{"__isSmartRef__":true,"id":3661},{"__isSmartRef__":true,"id":3709},{"__isSmartRef__":true,"id":3744},{"__isSmartRef__":true,"id":3779},{"__isSmartRef__":true,"id":3814},{"__isSmartRef__":true,"id":3849},{"__isSmartRef__":true,"id":3884},{"__isSmartRef__":true,"id":3919},{"__isSmartRef__":true,"id":3954}],"scripts":[],"id":"BCE75999-1D38-4C36-9F4B-4F0780419271","shape":{"__isSmartRef__":true,"id":3989},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3996},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":3997},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3998},"eventHandler":{"__isSmartRef__":true,"id":3999},"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":3659},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":4000},"layout":{"__isSmartRef__":true,"id":4001},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4002},"__LivelyClassName__":"lively.morphic.Box"},"3661":{"submorphs":[{"__isSmartRef__":true,"id":3662}],"scripts":[],"id":"496F21D4-167C-45A3-9BE0-FAA1F9C1490E","shape":{"__isSmartRef__":true,"id":3678},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3690},"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":3691},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3692},"eventHandler":{"__isSmartRef__":true,"id":3693},"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":3694},"layout":{"__isSmartRef__":true,"id":3695},"owner":{"__isSmartRef__":true,"id":3660},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3696},"__LivelyClassName__":"lively.morphic.Box"},"3662":{"submorphs":[],"scripts":[],"id":"A483A1DD-2AD9-47BB-A008-0EA8AD8AC1B6","shape":{"__isSmartRef__":true,"id":3663},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3669},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3666},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":3670},"textChunks":[{"__isSmartRef__":true,"id":3671}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3673},"renderContextTable":{"__isSmartRef__":true,"id":3674},"eventHandler":{"__isSmartRef__":true,"id":3675},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3676},"_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":3677},"owner":{"__isSmartRef__":true,"id":3661},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3663":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3664},"_Extent":{"__isSmartRef__":true,"id":3665},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3666},"renderContextTable":{"__isSmartRef__":true,"id":3667},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3668},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3664":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3665":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3666":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3667":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3668":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3669":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3670":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3671":{"style":{"__isSmartRef__":true,"id":3672},"chunkOwner":{"__isSmartRef__":true,"id":3662},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3672":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3673":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3674":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3675":{"morph":{"__isSmartRef__":true,"id":3662},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3676":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3677":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3678":{"position":{"__isSmartRef__":true,"id":3679},"_Extent":{"__isSmartRef__":true,"id":3680},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3681},"_Fill":{"__isSmartRef__":true,"id":3682},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3688},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3689},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3679":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3680":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3681":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3682":{"stops":[{"__isSmartRef__":true,"id":3683},{"__isSmartRef__":true,"id":3685}],"vector":{"__isSmartRef__":true,"id":3687},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3683":{"offset":0,"color":{"__isSmartRef__":true,"id":3684}},"3684":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3685":{"offset":1,"color":{"__isSmartRef__":true,"id":3686}},"3686":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3687":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3688":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3689":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3690":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3691":{"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"},"3692":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3693":{"morph":{"__isSmartRef__":true,"id":3661},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3694":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3695":{"resizeWidth":true},"3696":{"onTouchStart":{"__isSmartRef__":true,"id":3697},"onTouchMove":{"__isSmartRef__":true,"id":3701},"onTouchEnd":{"__isSmartRef__":true,"id":3705}},"3697":{"varMapping":{"__isSmartRef__":true,"id":3698},"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":3699},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3698":{"this":{"__isSmartRef__":true,"id":3659}},"3699":{"timestamp":{"__isSmartRef__":true,"id":3700},"user":"sstamm","tags":[]},"3700":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (Mitteleuropäische Zeit)"},"3701":{"varMapping":{"__isSmartRef__":true,"id":3702},"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":3703},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3702":{"this":{"__isSmartRef__":true,"id":3659}},"3703":{"timestamp":{"__isSmartRef__":true,"id":3704},"user":"sstamm","tags":[]},"3704":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (Mitteleuropäische Zeit)"},"3705":{"varMapping":{"__isSmartRef__":true,"id":3706},"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":3707},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3706":{"this":{"__isSmartRef__":true,"id":3659}},"3707":{"timestamp":{"__isSmartRef__":true,"id":3708},"user":"sstamm","tags":[]},"3708":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (Mitteleuropäische Zeit)"},"3709":{"submorphs":[{"__isSmartRef__":true,"id":3710}],"scripts":[],"id":"598FC1D8-7F2C-41D6-B2F7-3724BA72461D","shape":{"__isSmartRef__":true,"id":3726},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3737},"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":3738},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3739},"eventHandler":{"__isSmartRef__":true,"id":3740},"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":3741},"layout":{"__isSmartRef__":true,"id":3742},"owner":{"__isSmartRef__":true,"id":3660},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3743},"__LivelyClassName__":"lively.morphic.Box"},"3710":{"submorphs":[],"scripts":[],"id":"0F09D8DF-74E4-4C3B-BE03-7A11864F14CB","shape":{"__isSmartRef__":true,"id":3711},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3717},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3714},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":3718},"textChunks":[{"__isSmartRef__":true,"id":3719}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3721},"renderContextTable":{"__isSmartRef__":true,"id":3722},"eventHandler":{"__isSmartRef__":true,"id":3723},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3724},"_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":3725},"owner":{"__isSmartRef__":true,"id":3709},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3711":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3712},"_Extent":{"__isSmartRef__":true,"id":3713},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3714},"renderContextTable":{"__isSmartRef__":true,"id":3715},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3716},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3712":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3713":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3714":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3715":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3716":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3717":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3718":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3719":{"style":{"__isSmartRef__":true,"id":3720},"chunkOwner":{"__isSmartRef__":true,"id":3710},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3720":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3721":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3722":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3723":{"morph":{"__isSmartRef__":true,"id":3710},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3724":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3725":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3726":{"position":{"__isSmartRef__":true,"id":3727},"_Extent":{"__isSmartRef__":true,"id":3728},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3729},"_Fill":{"__isSmartRef__":true,"id":3730},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3735},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3736},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3727":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3728":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3729":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3730":{"stops":[{"__isSmartRef__":true,"id":3731},{"__isSmartRef__":true,"id":3733}],"vector":{"__isSmartRef__":true,"id":3687},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3731":{"offset":0,"color":{"__isSmartRef__":true,"id":3732}},"3732":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3733":{"offset":1,"color":{"__isSmartRef__":true,"id":3734}},"3734":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3735":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3736":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3737":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3738":{"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"},"3739":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3740":{"morph":{"__isSmartRef__":true,"id":3709},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3741":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3742":{"resizeWidth":true},"3743":{"onTouchStart":{"__isSmartRef__":true,"id":3697},"onTouchMove":{"__isSmartRef__":true,"id":3701},"onTouchEnd":{"__isSmartRef__":true,"id":3705}},"3744":{"submorphs":[{"__isSmartRef__":true,"id":3745}],"scripts":[],"id":"688D6D03-BC55-45A6-8489-F8B26EBA655B","shape":{"__isSmartRef__":true,"id":3761},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3772},"showsHalos":false,"name":"Rectangle2","partsBinMetaInfo":{"__isSmartRef__":true,"id":3773},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3774},"eventHandler":{"__isSmartRef__":true,"id":3775},"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":3776},"layout":{"__isSmartRef__":true,"id":3777},"owner":{"__isSmartRef__":true,"id":3660},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3778},"__LivelyClassName__":"lively.morphic.Box"},"3745":{"submorphs":[],"scripts":[],"id":"EEE9195F-55C3-4BC4-854A-90277DF5FBC1","shape":{"__isSmartRef__":true,"id":3746},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3752},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3749},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text2","partsBinMetaInfo":{"__isSmartRef__":true,"id":3753},"textChunks":[{"__isSmartRef__":true,"id":3754}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3756},"renderContextTable":{"__isSmartRef__":true,"id":3757},"eventHandler":{"__isSmartRef__":true,"id":3758},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3759},"_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":3760},"owner":{"__isSmartRef__":true,"id":3744},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3746":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3747},"_Extent":{"__isSmartRef__":true,"id":3748},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3749},"renderContextTable":{"__isSmartRef__":true,"id":3750},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3751},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3747":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3748":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3749":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3750":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3751":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3752":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3753":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3754":{"style":{"__isSmartRef__":true,"id":3755},"chunkOwner":{"__isSmartRef__":true,"id":3745},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3755":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3756":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3757":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3758":{"morph":{"__isSmartRef__":true,"id":3745},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3759":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3760":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3761":{"position":{"__isSmartRef__":true,"id":3762},"_Extent":{"__isSmartRef__":true,"id":3763},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3764},"_Fill":{"__isSmartRef__":true,"id":3765},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3770},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3771},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3762":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3763":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3764":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3765":{"stops":[{"__isSmartRef__":true,"id":3766},{"__isSmartRef__":true,"id":3768}],"vector":{"__isSmartRef__":true,"id":3687},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3766":{"offset":0,"color":{"__isSmartRef__":true,"id":3767}},"3767":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3768":{"offset":1,"color":{"__isSmartRef__":true,"id":3769}},"3769":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3770":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3771":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3772":{"x":0,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3773":{"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"},"3774":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3775":{"morph":{"__isSmartRef__":true,"id":3744},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3776":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3777":{"resizeWidth":true},"3778":{"onTouchStart":{"__isSmartRef__":true,"id":3697},"onTouchMove":{"__isSmartRef__":true,"id":3701},"onTouchEnd":{"__isSmartRef__":true,"id":3705}},"3779":{"submorphs":[{"__isSmartRef__":true,"id":3780}],"scripts":[],"id":"DD187FF9-CADF-4B9C-88FB-E1350BC59D7C","shape":{"__isSmartRef__":true,"id":3796},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3807},"showsHalos":false,"name":"Rectangle3","partsBinMetaInfo":{"__isSmartRef__":true,"id":3808},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3809},"eventHandler":{"__isSmartRef__":true,"id":3810},"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":3811},"layout":{"__isSmartRef__":true,"id":3812},"owner":{"__isSmartRef__":true,"id":3660},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3813},"__LivelyClassName__":"lively.morphic.Box"},"3780":{"submorphs":[],"scripts":[],"id":"E5C56BA7-3FB1-404A-A174-E96227525957","shape":{"__isSmartRef__":true,"id":3781},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3787},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3784},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text3","partsBinMetaInfo":{"__isSmartRef__":true,"id":3788},"textChunks":[{"__isSmartRef__":true,"id":3789}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3791},"renderContextTable":{"__isSmartRef__":true,"id":3792},"eventHandler":{"__isSmartRef__":true,"id":3793},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3794},"_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":3795},"owner":{"__isSmartRef__":true,"id":3779},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3781":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3782},"_Extent":{"__isSmartRef__":true,"id":3783},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3784},"renderContextTable":{"__isSmartRef__":true,"id":3785},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3786},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3782":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3783":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3784":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3785":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3786":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3787":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3788":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3789":{"style":{"__isSmartRef__":true,"id":3790},"chunkOwner":{"__isSmartRef__":true,"id":3780},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3790":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3791":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3792":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3793":{"morph":{"__isSmartRef__":true,"id":3780},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3794":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3795":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3796":{"position":{"__isSmartRef__":true,"id":3797},"_Extent":{"__isSmartRef__":true,"id":3798},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3799},"_Fill":{"__isSmartRef__":true,"id":3800},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3805},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3806},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3797":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3798":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3799":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3800":{"stops":[{"__isSmartRef__":true,"id":3801},{"__isSmartRef__":true,"id":3803}],"vector":{"__isSmartRef__":true,"id":3687},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3801":{"offset":0,"color":{"__isSmartRef__":true,"id":3802}},"3802":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3803":{"offset":1,"color":{"__isSmartRef__":true,"id":3804}},"3804":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3805":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3806":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3807":{"x":0,"y":129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3808":{"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"},"3809":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3810":{"morph":{"__isSmartRef__":true,"id":3779},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3811":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3812":{"resizeWidth":true},"3813":{"onTouchStart":{"__isSmartRef__":true,"id":3697},"onTouchMove":{"__isSmartRef__":true,"id":3701},"onTouchEnd":{"__isSmartRef__":true,"id":3705}},"3814":{"submorphs":[{"__isSmartRef__":true,"id":3815}],"scripts":[],"id":"1D123B80-4843-4AB9-91F5-B09B20FE9457","shape":{"__isSmartRef__":true,"id":3831},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3842},"showsHalos":false,"name":"Rectangle4","partsBinMetaInfo":{"__isSmartRef__":true,"id":3843},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3844},"eventHandler":{"__isSmartRef__":true,"id":3845},"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":3846},"layout":{"__isSmartRef__":true,"id":3847},"owner":{"__isSmartRef__":true,"id":3660},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3848},"__LivelyClassName__":"lively.morphic.Box"},"3815":{"submorphs":[],"scripts":[],"id":"C356AB43-51DF-4364-BE64-72CA33F97D4E","shape":{"__isSmartRef__":true,"id":3816},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3822},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3819},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text4","partsBinMetaInfo":{"__isSmartRef__":true,"id":3823},"textChunks":[{"__isSmartRef__":true,"id":3824}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3826},"renderContextTable":{"__isSmartRef__":true,"id":3827},"eventHandler":{"__isSmartRef__":true,"id":3828},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3829},"_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":3830},"owner":{"__isSmartRef__":true,"id":3814},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3816":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3817},"_Extent":{"__isSmartRef__":true,"id":3818},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3819},"renderContextTable":{"__isSmartRef__":true,"id":3820},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3821},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3817":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3818":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3819":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3820":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3821":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3822":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3823":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3824":{"style":{"__isSmartRef__":true,"id":3825},"chunkOwner":{"__isSmartRef__":true,"id":3815},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3825":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3826":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3827":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3828":{"morph":{"__isSmartRef__":true,"id":3815},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3829":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3830":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3831":{"position":{"__isSmartRef__":true,"id":3832},"_Extent":{"__isSmartRef__":true,"id":3833},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3834},"_Fill":{"__isSmartRef__":true,"id":3835},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3840},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3841},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3832":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3833":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3834":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3835":{"stops":[{"__isSmartRef__":true,"id":3836},{"__isSmartRef__":true,"id":3838}],"vector":{"__isSmartRef__":true,"id":3687},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3836":{"offset":0,"color":{"__isSmartRef__":true,"id":3837}},"3837":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3838":{"offset":1,"color":{"__isSmartRef__":true,"id":3839}},"3839":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3840":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3841":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3842":{"x":0,"y":172,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3843":{"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"},"3844":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3845":{"morph":{"__isSmartRef__":true,"id":3814},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3846":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3847":{"resizeWidth":true},"3848":{"onTouchStart":{"__isSmartRef__":true,"id":3697},"onTouchMove":{"__isSmartRef__":true,"id":3701},"onTouchEnd":{"__isSmartRef__":true,"id":3705}},"3849":{"submorphs":[{"__isSmartRef__":true,"id":3850}],"scripts":[],"id":"1E2BFA0F-F16B-4622-8D6B-AA6574C21724","shape":{"__isSmartRef__":true,"id":3866},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3877},"showsHalos":false,"name":"Rectangle5","partsBinMetaInfo":{"__isSmartRef__":true,"id":3878},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3879},"eventHandler":{"__isSmartRef__":true,"id":3880},"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":3881},"layout":{"__isSmartRef__":true,"id":3882},"owner":{"__isSmartRef__":true,"id":3660},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3883},"__LivelyClassName__":"lively.morphic.Box"},"3850":{"submorphs":[],"scripts":[],"id":"62203988-ED85-425D-B764-F8A0ABF50191","shape":{"__isSmartRef__":true,"id":3851},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3857},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3854},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text5","partsBinMetaInfo":{"__isSmartRef__":true,"id":3858},"textChunks":[{"__isSmartRef__":true,"id":3859}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3861},"renderContextTable":{"__isSmartRef__":true,"id":3862},"eventHandler":{"__isSmartRef__":true,"id":3863},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3864},"_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":3865},"owner":{"__isSmartRef__":true,"id":3849},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3851":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3852},"_Extent":{"__isSmartRef__":true,"id":3853},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3854},"renderContextTable":{"__isSmartRef__":true,"id":3855},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3856},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3852":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3853":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3854":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3855":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3856":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3857":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3858":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3859":{"style":{"__isSmartRef__":true,"id":3860},"chunkOwner":{"__isSmartRef__":true,"id":3850},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3860":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3861":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3862":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3863":{"morph":{"__isSmartRef__":true,"id":3850},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3864":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3865":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3866":{"position":{"__isSmartRef__":true,"id":3867},"_Extent":{"__isSmartRef__":true,"id":3868},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3869},"_Fill":{"__isSmartRef__":true,"id":3870},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3875},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3876},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3867":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3868":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3869":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3870":{"stops":[{"__isSmartRef__":true,"id":3871},{"__isSmartRef__":true,"id":3873}],"vector":{"__isSmartRef__":true,"id":3687},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3871":{"offset":0,"color":{"__isSmartRef__":true,"id":3872}},"3872":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3873":{"offset":1,"color":{"__isSmartRef__":true,"id":3874}},"3874":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3875":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3876":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3877":{"x":0,"y":215,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3878":{"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"},"3879":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3880":{"morph":{"__isSmartRef__":true,"id":3849},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3881":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3882":{"resizeWidth":true},"3883":{"onTouchStart":{"__isSmartRef__":true,"id":3697},"onTouchMove":{"__isSmartRef__":true,"id":3701},"onTouchEnd":{"__isSmartRef__":true,"id":3705}},"3884":{"submorphs":[{"__isSmartRef__":true,"id":3885}],"scripts":[],"id":"2D04143B-DDB7-43A2-943D-A4D914F3FCB3","shape":{"__isSmartRef__":true,"id":3901},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3912},"showsHalos":false,"name":"Rectangle6","partsBinMetaInfo":{"__isSmartRef__":true,"id":3913},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3914},"eventHandler":{"__isSmartRef__":true,"id":3915},"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":3916},"layout":{"__isSmartRef__":true,"id":3917},"owner":{"__isSmartRef__":true,"id":3660},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3918},"__LivelyClassName__":"lively.morphic.Box"},"3885":{"submorphs":[],"scripts":[],"id":"79DDC60C-A2FB-446C-961F-240951428B7E","shape":{"__isSmartRef__":true,"id":3886},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3892},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3889},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text6","partsBinMetaInfo":{"__isSmartRef__":true,"id":3893},"textChunks":[{"__isSmartRef__":true,"id":3894}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3896},"renderContextTable":{"__isSmartRef__":true,"id":3897},"eventHandler":{"__isSmartRef__":true,"id":3898},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3899},"_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":3900},"owner":{"__isSmartRef__":true,"id":3884},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3886":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3887},"_Extent":{"__isSmartRef__":true,"id":3888},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3889},"renderContextTable":{"__isSmartRef__":true,"id":3890},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3891},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3887":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3888":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3889":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3890":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3891":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3892":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3893":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3894":{"style":{"__isSmartRef__":true,"id":3895},"chunkOwner":{"__isSmartRef__":true,"id":3885},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3895":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3896":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3897":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3898":{"morph":{"__isSmartRef__":true,"id":3885},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3899":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3900":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3901":{"position":{"__isSmartRef__":true,"id":3902},"_Extent":{"__isSmartRef__":true,"id":3903},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3904},"_Fill":{"__isSmartRef__":true,"id":3905},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3910},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3911},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3902":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3903":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3904":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3905":{"stops":[{"__isSmartRef__":true,"id":3906},{"__isSmartRef__":true,"id":3908}],"vector":{"__isSmartRef__":true,"id":3687},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3906":{"offset":0,"color":{"__isSmartRef__":true,"id":3907}},"3907":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3908":{"offset":1,"color":{"__isSmartRef__":true,"id":3909}},"3909":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3910":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3911":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3912":{"x":0,"y":258,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3913":{"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"},"3914":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3915":{"morph":{"__isSmartRef__":true,"id":3884},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3916":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3917":{"resizeWidth":true},"3918":{"onTouchStart":{"__isSmartRef__":true,"id":3697},"onTouchMove":{"__isSmartRef__":true,"id":3701},"onTouchEnd":{"__isSmartRef__":true,"id":3705}},"3919":{"submorphs":[{"__isSmartRef__":true,"id":3920}],"scripts":[],"id":"6A81D2C1-2AD5-41FE-A42C-5A4D756BE786","shape":{"__isSmartRef__":true,"id":3936},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3947},"showsHalos":false,"name":"Rectangle7","partsBinMetaInfo":{"__isSmartRef__":true,"id":3948},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3949},"eventHandler":{"__isSmartRef__":true,"id":3950},"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":3951},"layout":{"__isSmartRef__":true,"id":3952},"owner":{"__isSmartRef__":true,"id":3660},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3953},"__LivelyClassName__":"lively.morphic.Box"},"3920":{"submorphs":[],"scripts":[],"id":"FB815A1D-A960-431A-8037-0FEE0D9D9744","shape":{"__isSmartRef__":true,"id":3921},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3927},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3924},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text7","partsBinMetaInfo":{"__isSmartRef__":true,"id":3928},"textChunks":[{"__isSmartRef__":true,"id":3929}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3931},"renderContextTable":{"__isSmartRef__":true,"id":3932},"eventHandler":{"__isSmartRef__":true,"id":3933},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3934},"_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":3935},"owner":{"__isSmartRef__":true,"id":3919},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3921":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3922},"_Extent":{"__isSmartRef__":true,"id":3923},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3924},"renderContextTable":{"__isSmartRef__":true,"id":3925},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3926},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3922":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3923":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3924":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3925":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3926":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3927":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3928":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3929":{"style":{"__isSmartRef__":true,"id":3930},"chunkOwner":{"__isSmartRef__":true,"id":3920},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3930":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3931":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3932":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3933":{"morph":{"__isSmartRef__":true,"id":3920},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3934":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3935":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3936":{"position":{"__isSmartRef__":true,"id":3937},"_Extent":{"__isSmartRef__":true,"id":3938},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3939},"_Fill":{"__isSmartRef__":true,"id":3940},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3945},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3946},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3937":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3938":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3939":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3940":{"stops":[{"__isSmartRef__":true,"id":3941},{"__isSmartRef__":true,"id":3943}],"vector":{"__isSmartRef__":true,"id":3687},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3941":{"offset":0,"color":{"__isSmartRef__":true,"id":3942}},"3942":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3943":{"offset":1,"color":{"__isSmartRef__":true,"id":3944}},"3944":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3945":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3946":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3947":{"x":0,"y":301,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3948":{"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"},"3949":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3950":{"morph":{"__isSmartRef__":true,"id":3919},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3951":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3952":{"resizeWidth":true},"3953":{"onTouchStart":{"__isSmartRef__":true,"id":3697},"onTouchMove":{"__isSmartRef__":true,"id":3701},"onTouchEnd":{"__isSmartRef__":true,"id":3705}},"3954":{"submorphs":[{"__isSmartRef__":true,"id":3955}],"scripts":[],"id":"A6F5FB82-215D-4F43-A9BC-2054ACA34AA3","shape":{"__isSmartRef__":true,"id":3971},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3982},"showsHalos":false,"name":"Rectangle8","partsBinMetaInfo":{"__isSmartRef__":true,"id":3983},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3984},"eventHandler":{"__isSmartRef__":true,"id":3985},"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":3986},"layout":{"__isSmartRef__":true,"id":3987},"owner":{"__isSmartRef__":true,"id":3660},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3988},"__LivelyClassName__":"lively.morphic.Box"},"3955":{"submorphs":[],"scripts":[],"id":"3EA81108-1F88-4CA3-8B72-87B29DA12A2B","shape":{"__isSmartRef__":true,"id":3956},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3962},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3959},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text8","partsBinMetaInfo":{"__isSmartRef__":true,"id":3963},"textChunks":[{"__isSmartRef__":true,"id":3964}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3966},"renderContextTable":{"__isSmartRef__":true,"id":3967},"eventHandler":{"__isSmartRef__":true,"id":3968},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":3969},"_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":3970},"owner":{"__isSmartRef__":true,"id":3954},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3956":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3957},"_Extent":{"__isSmartRef__":true,"id":3958},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3959},"renderContextTable":{"__isSmartRef__":true,"id":3960},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3961},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3957":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3958":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3959":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3960":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3961":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3962":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3963":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3964":{"style":{"__isSmartRef__":true,"id":3965},"chunkOwner":{"__isSmartRef__":true,"id":3955},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3965":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3966":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3967":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3968":{"morph":{"__isSmartRef__":true,"id":3955},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3969":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3970":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3971":{"position":{"__isSmartRef__":true,"id":3972},"_Extent":{"__isSmartRef__":true,"id":3973},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3974},"_Fill":{"__isSmartRef__":true,"id":3975},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3980},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3981},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3972":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3973":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3974":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3975":{"stops":[{"__isSmartRef__":true,"id":3976},{"__isSmartRef__":true,"id":3978}],"vector":{"__isSmartRef__":true,"id":3687},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3976":{"offset":0,"color":{"__isSmartRef__":true,"id":3977}},"3977":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3978":{"offset":1,"color":{"__isSmartRef__":true,"id":3979}},"3979":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3980":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3981":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3982":{"x":0,"y":344,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3983":{"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"},"3984":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3985":{"morph":{"__isSmartRef__":true,"id":3954},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3986":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3987":{"resizeWidth":true},"3988":{"onTouchStart":{"__isSmartRef__":true,"id":3697},"onTouchMove":{"__isSmartRef__":true,"id":3701},"onTouchEnd":{"__isSmartRef__":true,"id":3705}},"3989":{"position":{"__isSmartRef__":true,"id":3990},"_Extent":{"__isSmartRef__":true,"id":3991},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3992},"_Fill":{"__isSmartRef__":true,"id":3993},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3994},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3995},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3990":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3991":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3992":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3993":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3994":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3995":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3996":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3997":{"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"},"3998":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3999":{"morph":{"__isSmartRef__":true,"id":3660},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4000":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4001":{"resizeWidth":true,"adjustForNewBounds":true},"4002":{"onTouchStart":{"__isSmartRef__":true,"id":4003},"onTouchMove":{"__isSmartRef__":true,"id":4011},"onTouchEnd":{"__isSmartRef__":true,"id":4019},"stayInBounds":{"__isSmartRef__":true,"id":4027},"isInBounds":{"__isSmartRef__":true,"id":4031}},"4003":{"varMapping":{"__isSmartRef__":true,"id":4004},"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":4009},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4004":{"this":{"__isSmartRef__":true,"id":3660},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4005}},"4005":{"$super":{"__isSmartRef__":true,"id":4006}},"4006":{"varMapping":{"__isSmartRef__":true,"id":4007},"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":4008},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4007":{"obj":{"__isSmartRef__":true,"id":3660},"name":"onTouchStart"},"4008":{},"4009":{"timestamp":{"__isSmartRef__":true,"id":4010},"user":"sstamm","tags":[]},"4010":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (Mitteleuropäische Zeit)"},"4011":{"varMapping":{"__isSmartRef__":true,"id":4012},"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":4017},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4012":{"this":{"__isSmartRef__":true,"id":3660},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4013}},"4013":{"$super":{"__isSmartRef__":true,"id":4014}},"4014":{"varMapping":{"__isSmartRef__":true,"id":4015},"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":4016},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4015":{"obj":{"__isSmartRef__":true,"id":3660},"name":"onTouchMove"},"4016":{},"4017":{"timestamp":{"__isSmartRef__":true,"id":4018},"user":"sstamm","tags":[]},"4018":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:54:39 GMT+0100 (Mitteleuropäische Zeit)"},"4019":{"varMapping":{"__isSmartRef__":true,"id":4020},"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":4025},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4020":{"this":{"__isSmartRef__":true,"id":3660},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4021}},"4021":{"$super":{"__isSmartRef__":true,"id":4022}},"4022":{"varMapping":{"__isSmartRef__":true,"id":4023},"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":4024},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4023":{"obj":{"__isSmartRef__":true,"id":3660},"name":"onTouchEnd"},"4024":{},"4025":{"timestamp":{"__isSmartRef__":true,"id":4026},"user":"sstamm","tags":[]},"4026":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (Mitteleuropäische Zeit)"},"4027":{"varMapping":{"__isSmartRef__":true,"id":4028},"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":4029},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4028":{"this":{"__isSmartRef__":true,"id":3660}},"4029":{"timestamp":{"__isSmartRef__":true,"id":4030},"user":"sstamm","tags":[]},"4030":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (Mitteleuropäische Zeit)"},"4031":{"varMapping":{"__isSmartRef__":true,"id":4032},"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":4033},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4032":{"this":{"__isSmartRef__":true,"id":3660}},"4033":{"timestamp":{"__isSmartRef__":true,"id":4034},"user":"sstamm","tags":[]},"4034":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (Mitteleuropäische Zeit)"},"4035":{"position":{"__isSmartRef__":true,"id":4036},"_Extent":{"__isSmartRef__":true,"id":4037},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4038},"_Fill":{"__isSmartRef__":true,"id":4039},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4040},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":4041},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4036":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4037":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4038":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4039":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4040":{},"4041":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4042":{"x":1,"y":-42,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4043":{"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":4044},{"__isSmartRef__":true,"id":4046},{"__isSmartRef__":true,"id":4048},{"__isSmartRef__":true,"id":4050}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4044":{"date":{"__isSmartRef__":true,"id":4045},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"4045":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (Mitteleuropäische Zeit)"},"4046":{"date":{"__isSmartRef__":true,"id":4047},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"4047":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (Mitteleuropäische Zeit)"},"4048":{"date":{"__isSmartRef__":true,"id":4049},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"4049":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (Mitteleuropäische Zeit)"},"4050":{"date":{"__isSmartRef__":true,"id":4051},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"4051":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (Mitteleuropäische Zeit)"},"4052":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4053":{"morph":{"__isSmartRef__":true,"id":3659},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4054":{"sourceObj":{"__isSmartRef__":true,"id":3659},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":3659},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4055":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4056":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"4057":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4058":{"submorphs":[{"__isSmartRef__":true,"id":4059},{"__isSmartRef__":true,"id":3659}],"scripts":[],"id":"DF1DBFA6-598A-4507-BF20-68EF01EC237D","shape":{"__isSmartRef__":true,"id":4075},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4087},"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":4088},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4089},"eventHandler":{"__isSmartRef__":true,"id":4090},"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":4091},"layout":{"__isSmartRef__":true,"id":4092},"owner":null,"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4093},"__LivelyClassName__":"lively.morphic.Box"},"4059":{"submorphs":[],"scripts":[],"id":"31BADBEA-7E0C-40B3-B758-055163D9F4CE","shape":{"__isSmartRef__":true,"id":4060},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4066},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4063},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":4067},"textChunks":[{"__isSmartRef__":true,"id":4068}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4070},"renderContextTable":{"__isSmartRef__":true,"id":4071},"eventHandler":{"__isSmartRef__":true,"id":4072},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4073},"_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":4074},"owner":{"__isSmartRef__":true,"id":4058},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4060":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4061},"_Extent":{"__isSmartRef__":true,"id":4062},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4063},"renderContextTable":{"__isSmartRef__":true,"id":4064},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4065},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4061":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4062":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4063":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4064":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4065":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4066":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4067":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4068":{"style":{"__isSmartRef__":true,"id":4069},"chunkOwner":{"__isSmartRef__":true,"id":4059},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"4069":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4070":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4071":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4072":{"morph":{"__isSmartRef__":true,"id":4059},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4073":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4074":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4075":{"position":{"__isSmartRef__":true,"id":4076},"_Extent":{"__isSmartRef__":true,"id":4077},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4078},"_Fill":{"__isSmartRef__":true,"id":4079},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4085},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4086},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4076":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4077":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4078":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4079":{"stops":[{"__isSmartRef__":true,"id":4080},{"__isSmartRef__":true,"id":4082}],"vector":{"__isSmartRef__":true,"id":4084},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4080":{"offset":0,"color":{"__isSmartRef__":true,"id":4081}},"4081":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4082":{"offset":1,"color":{"__isSmartRef__":true,"id":4083}},"4083":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4084":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4085":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4086":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4087":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4088":{"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"},"4089":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4090":{"morph":{"__isSmartRef__":true,"id":4058},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4091":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4092":{"resizeWidth":true},"4093":{"onTouchStart":{"__isSmartRef__":true,"id":3458},"onTouchMove":{"__isSmartRef__":true,"id":3462},"onTouchEnd":{"__isSmartRef__":true,"id":3466}},"4094":{"onrestore":{"__isSmartRef__":true,"id":4095},"initialize":{"__isSmartRef__":true,"id":4103},"addItem":{"__isSmartRef__":true,"id":4111},"createListItem":{"__isSmartRef__":true,"id":4115},"touchstartCallback":{"__isSmartRef__":true,"id":3697},"touchmoveCallback":{"__isSmartRef__":true,"id":3701},"touchendCallback":{"__isSmartRef__":true,"id":3705},"updateSelection":{"__isSmartRef__":true,"id":4119},"handleClick":{"__isSmartRef__":true,"id":4123},"openSubmenuWith":{"__isSmartRef__":true,"id":4127},"initializeListEntries":{"__isSmartRef__":true,"id":4131}},"4095":{"varMapping":{"__isSmartRef__":true,"id":4096},"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":4101},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4096":{"this":{"__isSmartRef__":true,"id":3659},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4097}},"4097":{"$super":{"__isSmartRef__":true,"id":4098}},"4098":{"varMapping":{"__isSmartRef__":true,"id":4099},"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":4100},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4099":{"obj":{"__isSmartRef__":true,"id":3659},"name":"onrestore"},"4100":{},"4101":{"timestamp":{"__isSmartRef__":true,"id":4102},"user":"sstamm","tags":[]},"4102":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (Mitteleuropäische Zeit)"},"4103":{"varMapping":{"__isSmartRef__":true,"id":4104},"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":4109},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4104":{"this":{"__isSmartRef__":true,"id":3659},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4105}},"4105":{"$super":{"__isSmartRef__":true,"id":4106}},"4106":{"varMapping":{"__isSmartRef__":true,"id":4107},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4108},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4107":{"obj":{"__isSmartRef__":true,"id":3659},"name":"initialize"},"4108":{},"4109":{"timestamp":{"__isSmartRef__":true,"id":4110},"user":"sstamm","tags":[]},"4110":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (Mitteleuropäische Zeit)"},"4111":{"varMapping":{"__isSmartRef__":true,"id":4112},"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":4113},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4112":{"this":{"__isSmartRef__":true,"id":3659}},"4113":{"timestamp":{"__isSmartRef__":true,"id":4114},"user":"sstamm","tags":[]},"4114":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (Mitteleuropäische Zeit)"},"4115":{"varMapping":{"__isSmartRef__":true,"id":4116},"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":4117},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4116":{"this":{"__isSmartRef__":true,"id":3659}},"4117":{"timestamp":{"__isSmartRef__":true,"id":4118},"user":"sstamm","tags":[]},"4118":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (Mitteleuropäische Zeit)"},"4119":{"varMapping":{"__isSmartRef__":true,"id":4120},"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":4121},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4120":{"this":{"__isSmartRef__":true,"id":3659}},"4121":{"timestamp":{"__isSmartRef__":true,"id":4122},"user":"sstamm","tags":[]},"4122":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (Mitteleuropäische Zeit)"},"4123":{"varMapping":{"__isSmartRef__":true,"id":4124},"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":4125},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4124":{"this":{"__isSmartRef__":true,"id":3659}},"4125":{"timestamp":{"__isSmartRef__":true,"id":4126},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"4126":{"isSerializedDate":true,"string":"Mon Jan 30 2012 19:31:03 GMT+0100 (Mitteleuropäische Zeit)"},"4127":{"varMapping":{"__isSmartRef__":true,"id":4128},"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":4129},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4128":{"this":{"__isSmartRef__":true,"id":3659}},"4129":{"timestamp":{"__isSmartRef__":true,"id":4130},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"4130":{"isSerializedDate":true,"string":"Mon Jan 30 2012 19:31:28 GMT+0100 (Mitteleuropäische Zeit)"},"4131":{"varMapping":{"__isSmartRef__":true,"id":4132},"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":4133},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4132":{"this":{"__isSmartRef__":true,"id":3659}},"4133":{"timestamp":{"__isSmartRef__":true,"id":4134},"user":"conradcalmez","tags":[]},"4134":{"isSerializedDate":true,"string":"Tue Jan 31 2012 10:32:29 GMT+0100 (Mitteleuropäische Zeit)"},"4135":{"onTouchStart":{"__isSmartRef__":true,"id":4136},"onTouchMove":{"__isSmartRef__":true,"id":4144},"onTouchEnd":{"__isSmartRef__":true,"id":4152},"stayInBounds":{"__isSmartRef__":true,"id":4160},"isInBounds":{"__isSmartRef__":true,"id":4164}},"4136":{"varMapping":{"__isSmartRef__":true,"id":4137},"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":4142},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4137":{"this":{"__isSmartRef__":true,"id":3422},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4138}},"4138":{"$super":{"__isSmartRef__":true,"id":4139}},"4139":{"varMapping":{"__isSmartRef__":true,"id":4140},"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":4141},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4140":{"obj":{"__isSmartRef__":true,"id":3422},"name":"onTouchStart"},"4141":{},"4142":{"timestamp":{"__isSmartRef__":true,"id":4143},"user":"sstamm","tags":[]},"4143":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (Mitteleuropäische Zeit)"},"4144":{"varMapping":{"__isSmartRef__":true,"id":4145},"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":4150},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4145":{"this":{"__isSmartRef__":true,"id":3422},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4146}},"4146":{"$super":{"__isSmartRef__":true,"id":4147}},"4147":{"varMapping":{"__isSmartRef__":true,"id":4148},"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":4149},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4148":{"obj":{"__isSmartRef__":true,"id":3422},"name":"onTouchMove"},"4149":{},"4150":{"timestamp":{"__isSmartRef__":true,"id":4151},"user":"sstamm","tags":[]},"4151":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:54:39 GMT+0100 (Mitteleuropäische Zeit)"},"4152":{"varMapping":{"__isSmartRef__":true,"id":4153},"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":4158},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4153":{"this":{"__isSmartRef__":true,"id":3422},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4154}},"4154":{"$super":{"__isSmartRef__":true,"id":4155}},"4155":{"varMapping":{"__isSmartRef__":true,"id":4156},"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":4157},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4156":{"obj":{"__isSmartRef__":true,"id":3422},"name":"onTouchEnd"},"4157":{},"4158":{"timestamp":{"__isSmartRef__":true,"id":4159},"user":"sstamm","tags":[]},"4159":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (Mitteleuropäische Zeit)"},"4160":{"varMapping":{"__isSmartRef__":true,"id":4161},"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":4162},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4161":{"this":{"__isSmartRef__":true,"id":3422}},"4162":{"timestamp":{"__isSmartRef__":true,"id":4163},"user":"sstamm","tags":[]},"4163":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (Mitteleuropäische Zeit)"},"4164":{"varMapping":{"__isSmartRef__":true,"id":4165},"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":4166},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4165":{"this":{"__isSmartRef__":true,"id":3422}},"4166":{"timestamp":{"__isSmartRef__":true,"id":4167},"user":"sstamm","tags":[]},"4167":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (Mitteleuropäische Zeit)"},"4168":{"position":{"__isSmartRef__":true,"id":4169},"_Extent":{"__isSmartRef__":true,"id":4170},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4171},"_Fill":{"__isSmartRef__":true,"id":4172},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4173},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":4174},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4169":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4170":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4171":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4172":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4173":{},"4174":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4175":{"x":6,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4176":{"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":4177},{"__isSmartRef__":true,"id":4179},{"__isSmartRef__":true,"id":4181},{"__isSmartRef__":true,"id":4183}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4177":{"date":{"__isSmartRef__":true,"id":4178},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"4178":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (Mitteleuropäische Zeit)"},"4179":{"date":{"__isSmartRef__":true,"id":4180},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"4180":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (Mitteleuropäische Zeit)"},"4181":{"date":{"__isSmartRef__":true,"id":4182},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"4182":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (Mitteleuropäische Zeit)"},"4183":{"date":{"__isSmartRef__":true,"id":4184},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"4184":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (Mitteleuropäische Zeit)"},"4185":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4186":{"morph":{"__isSmartRef__":true,"id":3421},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4187":{"sourceObj":{"__isSmartRef__":true,"id":3421},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":3421},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4188":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4189":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"4190":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4191":{"onrestore":{"__isSmartRef__":true,"id":4192},"initialize":{"__isSmartRef__":true,"id":4200},"addItem":{"__isSmartRef__":true,"id":4208},"createListItem":{"__isSmartRef__":true,"id":4212},"touchstartCallback":{"__isSmartRef__":true,"id":3458},"touchmoveCallback":{"__isSmartRef__":true,"id":3462},"touchendCallback":{"__isSmartRef__":true,"id":3466},"updateSelection":{"__isSmartRef__":true,"id":4216},"handleClick":{"__isSmartRef__":true,"id":4220},"initializeListEntries":{"__isSmartRef__":true,"id":4224}},"4192":{"varMapping":{"__isSmartRef__":true,"id":4193},"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":4198},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4193":{"this":{"__isSmartRef__":true,"id":3421},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4194}},"4194":{"$super":{"__isSmartRef__":true,"id":4195}},"4195":{"varMapping":{"__isSmartRef__":true,"id":4196},"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":4197},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4196":{"obj":{"__isSmartRef__":true,"id":3421},"name":"onrestore"},"4197":{},"4198":{"timestamp":{"__isSmartRef__":true,"id":4199},"user":"sstamm","tags":[]},"4199":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (Mitteleuropäische Zeit)"},"4200":{"varMapping":{"__isSmartRef__":true,"id":4201},"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":4206},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4201":{"this":{"__isSmartRef__":true,"id":3421},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4202}},"4202":{"$super":{"__isSmartRef__":true,"id":4203}},"4203":{"varMapping":{"__isSmartRef__":true,"id":4204},"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":4205},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4204":{"obj":{"__isSmartRef__":true,"id":3421},"name":"initialize"},"4205":{},"4206":{"timestamp":{"__isSmartRef__":true,"id":4207},"user":"sstamm","tags":[]},"4207":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (Mitteleuropäische Zeit)"},"4208":{"varMapping":{"__isSmartRef__":true,"id":4209},"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":4210},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4209":{"this":{"__isSmartRef__":true,"id":3421}},"4210":{"timestamp":{"__isSmartRef__":true,"id":4211},"user":"sstamm","tags":[]},"4211":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (Mitteleuropäische Zeit)"},"4212":{"varMapping":{"__isSmartRef__":true,"id":4213},"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":4214},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4213":{"this":{"__isSmartRef__":true,"id":3421}},"4214":{"timestamp":{"__isSmartRef__":true,"id":4215},"user":"sstamm","tags":[]},"4215":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (Mitteleuropäische Zeit)"},"4216":{"varMapping":{"__isSmartRef__":true,"id":4217},"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":4218},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4217":{"this":{"__isSmartRef__":true,"id":3421}},"4218":{"timestamp":{"__isSmartRef__":true,"id":4219},"user":"sstamm","tags":[]},"4219":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (Mitteleuropäische Zeit)"},"4220":{"varMapping":{"__isSmartRef__":true,"id":4221},"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":4222},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4221":{"this":{"__isSmartRef__":true,"id":3421}},"4222":{"timestamp":{"__isSmartRef__":true,"id":4223},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"4223":{"isSerializedDate":true,"string":"Tue Jan 31 2012 13:27:28 GMT+0100 (Mitteleuropäische Zeit)"},"4224":{"varMapping":{"__isSmartRef__":true,"id":4225},"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":4226},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4225":{"this":{"__isSmartRef__":true,"id":3421}},"4226":{"timestamp":{"__isSmartRef__":true,"id":4227},"user":"conradcalmez","tags":[]},"4227":{"isSerializedDate":true,"string":"Tue Jan 31 2012 11:52:04 GMT+0100 (Mitteleuropäische Zeit)"},"4228":{"submorphs":[{"__isSmartRef__":true,"id":4229}],"scripts":[],"id":"5E06DF87-6FDA-4111-B094-3CCC75B5A1A1","shape":{"__isSmartRef__":true,"id":4463},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4470},"showsHalos":false,"name":"TouchList5","partsBinMetaInfo":{"__isSmartRef__":true,"id":4471},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4480},"eventHandler":{"__isSmartRef__":true,"id":4481},"attributeConnections":[{"__isSmartRef__":true,"id":4482}],"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":4483},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":4484},"itemList":[{"__isSmartRef__":true,"id":4230},{"__isSmartRef__":true,"id":4277},{"__isSmartRef__":true,"id":4312},{"__isSmartRef__":true,"id":4347},{"__isSmartRef__":true,"id":4382}],"_ClipMode":"hidden","selectedMorph":null,"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":4485},"owner":null,"_Visible":false,"_Rotation":0,"_Scale":1,"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4486},"__LivelyClassName__":"lively.morphic.Box"},"4229":{"submorphs":[{"__isSmartRef__":true,"id":4230},{"__isSmartRef__":true,"id":4277},{"__isSmartRef__":true,"id":4312},{"__isSmartRef__":true,"id":4347},{"__isSmartRef__":true,"id":4382}],"scripts":[],"id":"6694B0E7-E4FD-485A-B126-67821AB1347B","shape":{"__isSmartRef__":true,"id":4417},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4424},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":4425},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4426},"eventHandler":{"__isSmartRef__":true,"id":4427},"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":4228},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":4428},"layout":{"__isSmartRef__":true,"id":4429},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4430},"__LivelyClassName__":"lively.morphic.Box"},"4230":{"submorphs":[{"__isSmartRef__":true,"id":4231}],"scripts":[],"id":"49191EEE-0A98-41CA-B5DB-9791EBF84094","shape":{"__isSmartRef__":true,"id":4247},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4258},"showsHalos":false,"name":"Rectangle37","partsBinMetaInfo":{"__isSmartRef__":true,"id":4259},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4260},"eventHandler":{"__isSmartRef__":true,"id":4261},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"89165BCA-BD71-4F8F-B689-2FA19EAC88D9","C6D23B90-8B34-4A37-9EE7-3E1A2958E0FA"],"index":0,"priorExtent":{"__isSmartRef__":true,"id":4262},"layout":{"__isSmartRef__":true,"id":4263},"owner":{"__isSmartRef__":true,"id":4229},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4264},"__LivelyClassName__":"lively.morphic.Box"},"4231":{"submorphs":[],"scripts":[],"id":"0E337776-B4AE-4550-86AE-6105272F88AC","shape":{"__isSmartRef__":true,"id":4232},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4238},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4235},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text39","partsBinMetaInfo":{"__isSmartRef__":true,"id":4239},"textChunks":[{"__isSmartRef__":true,"id":4240}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4242},"renderContextTable":{"__isSmartRef__":true,"id":4243},"eventHandler":{"__isSmartRef__":true,"id":4244},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4245},"_ClipMode":"visible","derivationIds":[355,"434C38AC-CFA2-4389-821E-6C766D34ACB1","2F305FA7-5C13-4809-82AD-232764ED66D4"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":4246},"owner":{"__isSmartRef__":true,"id":4230},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4232":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4233},"_Extent":{"__isSmartRef__":true,"id":4234},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4235},"renderContextTable":{"__isSmartRef__":true,"id":4236},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4237},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4233":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4234":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4235":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4236":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4237":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4238":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4239":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4240":{"style":{"__isSmartRef__":true,"id":4241},"chunkOwner":{"__isSmartRef__":true,"id":4231},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"4241":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4242":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4243":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4244":{"morph":{"__isSmartRef__":true,"id":4231},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4245":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4246":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4247":{"position":{"__isSmartRef__":true,"id":4248},"_Extent":{"__isSmartRef__":true,"id":4249},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4250},"_Fill":{"__isSmartRef__":true,"id":4251},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4256},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4257},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4248":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4249":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4250":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4251":{"stops":[{"__isSmartRef__":true,"id":4252},{"__isSmartRef__":true,"id":4254}],"vector":{"__isSmartRef__":true,"id":1386},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4252":{"offset":0,"color":{"__isSmartRef__":true,"id":4253}},"4253":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4254":{"offset":1,"color":{"__isSmartRef__":true,"id":4255}},"4255":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4256":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4257":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4258":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4259":{"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"},"4260":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4261":{"morph":{"__isSmartRef__":true,"id":4230},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4262":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4263":{"resizeWidth":true},"4264":{"onTouchStart":{"__isSmartRef__":true,"id":4265},"onTouchMove":{"__isSmartRef__":true,"id":4269},"onTouchEnd":{"__isSmartRef__":true,"id":4273}},"4265":{"varMapping":{"__isSmartRef__":true,"id":4266},"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":4267},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4266":{"this":{"__isSmartRef__":true,"id":4228}},"4267":{"timestamp":{"__isSmartRef__":true,"id":4268},"user":"sstamm","tags":[]},"4268":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (Mitteleuropäische Zeit)"},"4269":{"varMapping":{"__isSmartRef__":true,"id":4270},"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":4271},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4270":{"this":{"__isSmartRef__":true,"id":4228}},"4271":{"timestamp":{"__isSmartRef__":true,"id":4272},"user":"sstamm","tags":[]},"4272":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (Mitteleuropäische Zeit)"},"4273":{"varMapping":{"__isSmartRef__":true,"id":4274},"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":4275},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4274":{"this":{"__isSmartRef__":true,"id":4228}},"4275":{"timestamp":{"__isSmartRef__":true,"id":4276},"user":"sstamm","tags":[]},"4276":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (Mitteleuropäische Zeit)"},"4277":{"submorphs":[{"__isSmartRef__":true,"id":4278}],"scripts":[],"id":"AA8CBB02-082A-4267-B9DA-BD6182E844EF","shape":{"__isSmartRef__":true,"id":4294},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4305},"showsHalos":false,"name":"Rectangle38","partsBinMetaInfo":{"__isSmartRef__":true,"id":4306},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4307},"eventHandler":{"__isSmartRef__":true,"id":4308},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"9BD1831E-6048-4E72-AB37-7E959A83A779","91C6F559-A2AC-4F6E-B50F-8627A7EDF92D"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":4309},"layout":{"__isSmartRef__":true,"id":4310},"owner":{"__isSmartRef__":true,"id":4229},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4311},"__LivelyClassName__":"lively.morphic.Box"},"4278":{"submorphs":[],"scripts":[],"id":"96EC2C9C-690C-47E4-BB70-40E6540C6809","shape":{"__isSmartRef__":true,"id":4279},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4285},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4282},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text40","partsBinMetaInfo":{"__isSmartRef__":true,"id":4286},"textChunks":[{"__isSmartRef__":true,"id":4287}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4289},"renderContextTable":{"__isSmartRef__":true,"id":4290},"eventHandler":{"__isSmartRef__":true,"id":4291},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4292},"_ClipMode":"visible","derivationIds":[355,"0ABAE073-B7C4-40C7-93D5-24867B2AAB5A","DA2FE612-9AC1-451B-872D-3586F048FA51"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":4293},"owner":{"__isSmartRef__":true,"id":4277},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4279":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4280},"_Extent":{"__isSmartRef__":true,"id":4281},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4282},"renderContextTable":{"__isSmartRef__":true,"id":4283},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4284},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4280":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4281":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4282":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4283":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4284":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4285":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4286":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4287":{"style":{"__isSmartRef__":true,"id":4288},"chunkOwner":{"__isSmartRef__":true,"id":4278},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"4288":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4289":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4290":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4291":{"morph":{"__isSmartRef__":true,"id":4278},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4292":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4293":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4294":{"position":{"__isSmartRef__":true,"id":4295},"_Extent":{"__isSmartRef__":true,"id":4296},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4297},"_Fill":{"__isSmartRef__":true,"id":4298},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4303},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4304},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4295":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4296":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4297":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4298":{"stops":[{"__isSmartRef__":true,"id":4299},{"__isSmartRef__":true,"id":4301}],"vector":{"__isSmartRef__":true,"id":1386},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4299":{"offset":0,"color":{"__isSmartRef__":true,"id":4300}},"4300":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4301":{"offset":1,"color":{"__isSmartRef__":true,"id":4302}},"4302":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4303":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4304":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4305":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4306":{"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"},"4307":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4308":{"morph":{"__isSmartRef__":true,"id":4277},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4309":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4310":{"resizeWidth":true},"4311":{"onTouchStart":{"__isSmartRef__":true,"id":4265},"onTouchMove":{"__isSmartRef__":true,"id":4269},"onTouchEnd":{"__isSmartRef__":true,"id":4273}},"4312":{"submorphs":[{"__isSmartRef__":true,"id":4313}],"scripts":[],"id":"DEEFDC37-F8EF-4975-86D7-73375A00328C","shape":{"__isSmartRef__":true,"id":4329},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4340},"showsHalos":false,"name":"Rectangle39","partsBinMetaInfo":{"__isSmartRef__":true,"id":4341},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4342},"eventHandler":{"__isSmartRef__":true,"id":4343},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"4EA6E453-37A8-49EB-BE9C-F62ADF5A3249","E49AD35E-5AE5-4528-B402-E38B280561EA"],"index":2,"priorExtent":{"__isSmartRef__":true,"id":4344},"layout":{"__isSmartRef__":true,"id":4345},"owner":{"__isSmartRef__":true,"id":4229},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4346},"__LivelyClassName__":"lively.morphic.Box"},"4313":{"submorphs":[],"scripts":[],"id":"6D11D50A-CB67-46CA-B81F-6BB8B87CBFC8","shape":{"__isSmartRef__":true,"id":4314},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4320},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4317},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text41","partsBinMetaInfo":{"__isSmartRef__":true,"id":4321},"textChunks":[{"__isSmartRef__":true,"id":4322}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4324},"renderContextTable":{"__isSmartRef__":true,"id":4325},"eventHandler":{"__isSmartRef__":true,"id":4326},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4327},"_ClipMode":"visible","derivationIds":[355,"B0915DC3-42BB-4F4C-B1E1-E20FE39C51FE","81C19F63-6CCC-46F1-96C4-0723D9906BB2"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":4328},"owner":{"__isSmartRef__":true,"id":4312},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4314":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4315},"_Extent":{"__isSmartRef__":true,"id":4316},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4317},"renderContextTable":{"__isSmartRef__":true,"id":4318},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4319},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4315":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4316":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4317":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4318":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4319":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4320":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4321":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4322":{"style":{"__isSmartRef__":true,"id":4323},"chunkOwner":{"__isSmartRef__":true,"id":4313},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"4323":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4324":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4325":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4326":{"morph":{"__isSmartRef__":true,"id":4313},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4327":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4328":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4329":{"position":{"__isSmartRef__":true,"id":4330},"_Extent":{"__isSmartRef__":true,"id":4331},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4332},"_Fill":{"__isSmartRef__":true,"id":4333},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4338},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4339},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4330":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4331":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4332":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4333":{"stops":[{"__isSmartRef__":true,"id":4334},{"__isSmartRef__":true,"id":4336}],"vector":{"__isSmartRef__":true,"id":1386},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4334":{"offset":0,"color":{"__isSmartRef__":true,"id":4335}},"4335":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4336":{"offset":1,"color":{"__isSmartRef__":true,"id":4337}},"4337":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4338":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4339":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4340":{"x":0,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4341":{"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"},"4342":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4343":{"morph":{"__isSmartRef__":true,"id":4312},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4344":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4345":{"resizeWidth":true},"4346":{"onTouchStart":{"__isSmartRef__":true,"id":4265},"onTouchMove":{"__isSmartRef__":true,"id":4269},"onTouchEnd":{"__isSmartRef__":true,"id":4273}},"4347":{"submorphs":[{"__isSmartRef__":true,"id":4348}],"scripts":[],"id":"2CCB8235-9172-4766-986D-0A226D75488D","shape":{"__isSmartRef__":true,"id":4364},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4375},"showsHalos":false,"name":"Rectangle40","partsBinMetaInfo":{"__isSmartRef__":true,"id":4376},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4377},"eventHandler":{"__isSmartRef__":true,"id":4378},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"ABD1B8D0-5D9F-4D03-8B96-85912C6D5634","BA3F705B-6BF9-4529-B31B-09CD90EF32F5"],"index":3,"priorExtent":{"__isSmartRef__":true,"id":4379},"layout":{"__isSmartRef__":true,"id":4380},"owner":{"__isSmartRef__":true,"id":4229},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4381},"__LivelyClassName__":"lively.morphic.Box"},"4348":{"submorphs":[],"scripts":[],"id":"28120EA0-4D85-4094-8AC6-55E415F79921","shape":{"__isSmartRef__":true,"id":4349},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4355},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4352},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text42","partsBinMetaInfo":{"__isSmartRef__":true,"id":4356},"textChunks":[{"__isSmartRef__":true,"id":4357}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4359},"renderContextTable":{"__isSmartRef__":true,"id":4360},"eventHandler":{"__isSmartRef__":true,"id":4361},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4362},"_ClipMode":"visible","derivationIds":[355,"E45E0647-86A7-4DA6-ABDF-CD719FABA778","4928D086-53FF-4849-8481-CF63524F2011"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":4363},"owner":{"__isSmartRef__":true,"id":4347},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4349":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4350},"_Extent":{"__isSmartRef__":true,"id":4351},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4352},"renderContextTable":{"__isSmartRef__":true,"id":4353},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4354},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4350":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4351":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4352":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4353":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4354":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4355":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4356":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4357":{"style":{"__isSmartRef__":true,"id":4358},"chunkOwner":{"__isSmartRef__":true,"id":4348},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"4358":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4359":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4360":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4361":{"morph":{"__isSmartRef__":true,"id":4348},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4362":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4363":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4364":{"position":{"__isSmartRef__":true,"id":4365},"_Extent":{"__isSmartRef__":true,"id":4366},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4367},"_Fill":{"__isSmartRef__":true,"id":4368},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4373},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4374},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4365":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4366":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4367":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4368":{"stops":[{"__isSmartRef__":true,"id":4369},{"__isSmartRef__":true,"id":4371}],"vector":{"__isSmartRef__":true,"id":1386},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4369":{"offset":0,"color":{"__isSmartRef__":true,"id":4370}},"4370":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4371":{"offset":1,"color":{"__isSmartRef__":true,"id":4372}},"4372":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4373":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4374":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4375":{"x":0,"y":129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4376":{"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"},"4377":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4378":{"morph":{"__isSmartRef__":true,"id":4347},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4379":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4380":{"resizeWidth":true},"4381":{"onTouchStart":{"__isSmartRef__":true,"id":4265},"onTouchMove":{"__isSmartRef__":true,"id":4269},"onTouchEnd":{"__isSmartRef__":true,"id":4273}},"4382":{"submorphs":[{"__isSmartRef__":true,"id":4383}],"scripts":[],"id":"9A41A4D4-0D8E-4C7F-BA5C-6D3FFD400854","shape":{"__isSmartRef__":true,"id":4399},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4410},"showsHalos":false,"name":"Rectangle41","partsBinMetaInfo":{"__isSmartRef__":true,"id":4411},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4412},"eventHandler":{"__isSmartRef__":true,"id":4413},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"9BE58B5C-4A36-43CA-AB82-726832DA0ED6","E502A963-46CC-4A5E-89EB-8FFC6153856C"],"index":4,"priorExtent":{"__isSmartRef__":true,"id":4414},"layout":{"__isSmartRef__":true,"id":4415},"owner":{"__isSmartRef__":true,"id":4229},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4416},"__LivelyClassName__":"lively.morphic.Box"},"4383":{"submorphs":[],"scripts":[],"id":"153FF022-83D7-4889-869D-3E5B34197203","shape":{"__isSmartRef__":true,"id":4384},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4390},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4387},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text43","partsBinMetaInfo":{"__isSmartRef__":true,"id":4391},"textChunks":[{"__isSmartRef__":true,"id":4392}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4394},"renderContextTable":{"__isSmartRef__":true,"id":4395},"eventHandler":{"__isSmartRef__":true,"id":4396},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4397},"_ClipMode":"visible","derivationIds":[355,"112F807F-1B5D-4FA2-A310-938A34381AA8","7EBE441C-4AE5-4917-9847-4AF30B28F7A3"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":4398},"owner":{"__isSmartRef__":true,"id":4382},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4384":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4385},"_Extent":{"__isSmartRef__":true,"id":4386},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4387},"renderContextTable":{"__isSmartRef__":true,"id":4388},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4389},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4385":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4386":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4387":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4388":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4389":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4390":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4391":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4392":{"style":{"__isSmartRef__":true,"id":4393},"chunkOwner":{"__isSmartRef__":true,"id":4383},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"4393":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4394":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4395":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4396":{"morph":{"__isSmartRef__":true,"id":4383},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4397":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4398":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4399":{"position":{"__isSmartRef__":true,"id":4400},"_Extent":{"__isSmartRef__":true,"id":4401},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4402},"_Fill":{"__isSmartRef__":true,"id":4403},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4408},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4409},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4400":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4401":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4402":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4403":{"stops":[{"__isSmartRef__":true,"id":4404},{"__isSmartRef__":true,"id":4406}],"vector":{"__isSmartRef__":true,"id":1386},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4404":{"offset":0,"color":{"__isSmartRef__":true,"id":4405}},"4405":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4406":{"offset":1,"color":{"__isSmartRef__":true,"id":4407}},"4407":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4408":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4409":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4410":{"x":0,"y":172,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4411":{"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"},"4412":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4413":{"morph":{"__isSmartRef__":true,"id":4382},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4414":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4415":{"resizeWidth":true},"4416":{"onTouchStart":{"__isSmartRef__":true,"id":4265},"onTouchMove":{"__isSmartRef__":true,"id":4269},"onTouchEnd":{"__isSmartRef__":true,"id":4273}},"4417":{"position":{"__isSmartRef__":true,"id":4418},"_Extent":{"__isSmartRef__":true,"id":4419},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4420},"_Fill":{"__isSmartRef__":true,"id":4421},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4422},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4423},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4418":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4419":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4420":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4421":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4422":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4423":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4424":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4425":{"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"},"4426":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4427":{"morph":{"__isSmartRef__":true,"id":4229},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4428":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4429":{"resizeWidth":true,"adjustForNewBounds":true},"4430":{"onTouchStart":{"__isSmartRef__":true,"id":4431},"onTouchMove":{"__isSmartRef__":true,"id":4439},"onTouchEnd":{"__isSmartRef__":true,"id":4447},"stayInBounds":{"__isSmartRef__":true,"id":4455},"isInBounds":{"__isSmartRef__":true,"id":4459}},"4431":{"varMapping":{"__isSmartRef__":true,"id":4432},"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":4437},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4432":{"this":{"__isSmartRef__":true,"id":4229},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4433}},"4433":{"$super":{"__isSmartRef__":true,"id":4434}},"4434":{"varMapping":{"__isSmartRef__":true,"id":4435},"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":4436},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4435":{"obj":{"__isSmartRef__":true,"id":4229},"name":"onTouchStart"},"4436":{},"4437":{"timestamp":{"__isSmartRef__":true,"id":4438},"user":"sstamm","tags":[]},"4438":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (Mitteleuropäische Zeit)"},"4439":{"varMapping":{"__isSmartRef__":true,"id":4440},"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":4445},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4440":{"this":{"__isSmartRef__":true,"id":4229},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4441}},"4441":{"$super":{"__isSmartRef__":true,"id":4442}},"4442":{"varMapping":{"__isSmartRef__":true,"id":4443},"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":4444},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4443":{"obj":{"__isSmartRef__":true,"id":4229},"name":"onTouchMove"},"4444":{},"4445":{"timestamp":{"__isSmartRef__":true,"id":4446},"user":"sstamm","tags":[]},"4446":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:54:39 GMT+0100 (Mitteleuropäische Zeit)"},"4447":{"varMapping":{"__isSmartRef__":true,"id":4448},"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":4453},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4448":{"this":{"__isSmartRef__":true,"id":4229},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4449}},"4449":{"$super":{"__isSmartRef__":true,"id":4450}},"4450":{"varMapping":{"__isSmartRef__":true,"id":4451},"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":4452},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4451":{"obj":{"__isSmartRef__":true,"id":4229},"name":"onTouchEnd"},"4452":{},"4453":{"timestamp":{"__isSmartRef__":true,"id":4454},"user":"sstamm","tags":[]},"4454":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (Mitteleuropäische Zeit)"},"4455":{"varMapping":{"__isSmartRef__":true,"id":4456},"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":4457},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4456":{"this":{"__isSmartRef__":true,"id":4229}},"4457":{"timestamp":{"__isSmartRef__":true,"id":4458},"user":"sstamm","tags":[]},"4458":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (Mitteleuropäische Zeit)"},"4459":{"varMapping":{"__isSmartRef__":true,"id":4460},"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":4461},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4460":{"this":{"__isSmartRef__":true,"id":4229}},"4461":{"timestamp":{"__isSmartRef__":true,"id":4462},"user":"sstamm","tags":[]},"4462":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (Mitteleuropäische Zeit)"},"4463":{"position":{"__isSmartRef__":true,"id":4464},"_Extent":{"__isSmartRef__":true,"id":4465},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4466},"_Fill":{"__isSmartRef__":true,"id":4467},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4468},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":4469},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4464":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4465":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4466":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4467":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4468":{},"4469":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4470":{"x":7,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4471":{"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":4472},{"__isSmartRef__":true,"id":4474},{"__isSmartRef__":true,"id":4476},{"__isSmartRef__":true,"id":4478}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4472":{"date":{"__isSmartRef__":true,"id":4473},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"4473":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (Mitteleuropäische Zeit)"},"4474":{"date":{"__isSmartRef__":true,"id":4475},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"4475":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (Mitteleuropäische Zeit)"},"4476":{"date":{"__isSmartRef__":true,"id":4477},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"4477":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (Mitteleuropäische Zeit)"},"4478":{"date":{"__isSmartRef__":true,"id":4479},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"4479":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (Mitteleuropäische Zeit)"},"4480":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4481":{"morph":{"__isSmartRef__":true,"id":4228},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4482":{"sourceObj":{"__isSmartRef__":true,"id":4228},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":4228},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4483":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4484":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"4485":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4486":{"onrestore":{"__isSmartRef__":true,"id":4487},"initialize":{"__isSmartRef__":true,"id":4495},"addItem":{"__isSmartRef__":true,"id":4503},"createListItem":{"__isSmartRef__":true,"id":4507},"touchstartCallback":{"__isSmartRef__":true,"id":4265},"touchmoveCallback":{"__isSmartRef__":true,"id":4269},"touchendCallback":{"__isSmartRef__":true,"id":4273},"updateSelection":{"__isSmartRef__":true,"id":4511},"handleClick":{"__isSmartRef__":true,"id":4515},"initializeListEntries":{"__isSmartRef__":true,"id":4519}},"4487":{"varMapping":{"__isSmartRef__":true,"id":4488},"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":4493},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4488":{"this":{"__isSmartRef__":true,"id":4228},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4489}},"4489":{"$super":{"__isSmartRef__":true,"id":4490}},"4490":{"varMapping":{"__isSmartRef__":true,"id":4491},"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":4492},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4491":{"obj":{"__isSmartRef__":true,"id":4228},"name":"onrestore"},"4492":{},"4493":{"timestamp":{"__isSmartRef__":true,"id":4494},"user":"sstamm","tags":[]},"4494":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (Mitteleuropäische Zeit)"},"4495":{"varMapping":{"__isSmartRef__":true,"id":4496},"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":4501},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4496":{"this":{"__isSmartRef__":true,"id":4228},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4497}},"4497":{"$super":{"__isSmartRef__":true,"id":4498}},"4498":{"varMapping":{"__isSmartRef__":true,"id":4499},"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":4500},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4499":{"obj":{"__isSmartRef__":true,"id":4228},"name":"initialize"},"4500":{},"4501":{"timestamp":{"__isSmartRef__":true,"id":4502},"user":"sstamm","tags":[]},"4502":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (Mitteleuropäische Zeit)"},"4503":{"varMapping":{"__isSmartRef__":true,"id":4504},"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":4505},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4504":{"this":{"__isSmartRef__":true,"id":4228}},"4505":{"timestamp":{"__isSmartRef__":true,"id":4506},"user":"sstamm","tags":[]},"4506":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (Mitteleuropäische Zeit)"},"4507":{"varMapping":{"__isSmartRef__":true,"id":4508},"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":4509},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4508":{"this":{"__isSmartRef__":true,"id":4228}},"4509":{"timestamp":{"__isSmartRef__":true,"id":4510},"user":"sstamm","tags":[]},"4510":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (Mitteleuropäische Zeit)"},"4511":{"varMapping":{"__isSmartRef__":true,"id":4512},"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":4513},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4512":{"this":{"__isSmartRef__":true,"id":4228}},"4513":{"timestamp":{"__isSmartRef__":true,"id":4514},"user":"sstamm","tags":[]},"4514":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (Mitteleuropäische Zeit)"},"4515":{"varMapping":{"__isSmartRef__":true,"id":4516},"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":4517},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4516":{"this":{"__isSmartRef__":true,"id":4228}},"4517":{"timestamp":{"__isSmartRef__":true,"id":4518},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"4518":{"isSerializedDate":true,"string":"Tue Jan 31 2012 13:27:43 GMT+0100 (Mitteleuropäische Zeit)"},"4519":{"varMapping":{"__isSmartRef__":true,"id":4520},"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":4521},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4520":{"this":{"__isSmartRef__":true,"id":4228}},"4521":{"timestamp":{"__isSmartRef__":true,"id":4522},"user":"conradcalmez","tags":[]},"4522":{"isSerializedDate":true,"string":"Tue Jan 31 2012 12:01:23 GMT+0100 (Mitteleuropäische Zeit)"},"4523":{"submorphs":[{"__isSmartRef__":true,"id":4524}],"scripts":[],"id":"46C8CBF8-15B2-48B4-A8BA-5F802071FFF6","shape":{"__isSmartRef__":true,"id":4723},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4730},"showsHalos":false,"name":"TouchList6","partsBinMetaInfo":{"__isSmartRef__":true,"id":4731},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4740},"eventHandler":{"__isSmartRef__":true,"id":4741},"attributeConnections":[{"__isSmartRef__":true,"id":4742}],"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":4743},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":4744},"itemList":[{"__isSmartRef__":true,"id":4525},{"__isSmartRef__":true,"id":4572},{"__isSmartRef__":true,"id":4607},{"__isSmartRef__":true,"id":4642}],"_ClipMode":"hidden","selectedMorph":null,"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":4745},"owner":null,"prevScroll":[0,0],"_Visible":false,"_Rotation":0,"_Scale":1,"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4746},"__LivelyClassName__":"lively.morphic.Box"},"4524":{"submorphs":[{"__isSmartRef__":true,"id":4525},{"__isSmartRef__":true,"id":4572},{"__isSmartRef__":true,"id":4607},{"__isSmartRef__":true,"id":4642}],"scripts":[],"id":"2C0A20C0-20D0-4DBC-9834-92B205941E64","shape":{"__isSmartRef__":true,"id":4677},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4684},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":4685},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4686},"eventHandler":{"__isSmartRef__":true,"id":4687},"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":4523},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":4688},"layout":{"__isSmartRef__":true,"id":4689},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4690},"__LivelyClassName__":"lively.morphic.Box"},"4525":{"submorphs":[{"__isSmartRef__":true,"id":4526}],"scripts":[],"id":"725580FD-704D-4E38-92E9-09C8A9CBDA1A","shape":{"__isSmartRef__":true,"id":4542},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4553},"showsHalos":false,"name":"Rectangle","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,"AA74CF26-9868-4EAD-A706-CA51AEC249E7","557F1598-AC9B-4B2A-A42C-CE35A4AE82CC"],"index":0,"priorExtent":{"__isSmartRef__":true,"id":4557},"layout":{"__isSmartRef__":true,"id":4558},"owner":{"__isSmartRef__":true,"id":4524},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4559},"__LivelyClassName__":"lively.morphic.Box"},"4526":{"submorphs":[],"scripts":[],"id":"DFE4C238-A302-4EB3-AD50-ADF23E1308A6","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":"Text","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,"EAD31862-E8F1-4BF3-A40E-51D774AEA3C0","52C032B7-0A9D-41A9-937B-91E48541C70C"],"_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},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__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","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"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":1386},"__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":0,"__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":4560},"onTouchMove":{"__isSmartRef__":true,"id":4564},"onTouchEnd":{"__isSmartRef__":true,"id":4568}},"4560":{"varMapping":{"__isSmartRef__":true,"id":4561},"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":4562},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4561":{"this":{"__isSmartRef__":true,"id":4523}},"4562":{"timestamp":{"__isSmartRef__":true,"id":4563},"user":"sstamm","tags":[]},"4563":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (Mitteleuropäische Zeit)"},"4564":{"varMapping":{"__isSmartRef__":true,"id":4565},"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":4566},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4565":{"this":{"__isSmartRef__":true,"id":4523}},"4566":{"timestamp":{"__isSmartRef__":true,"id":4567},"user":"sstamm","tags":[]},"4567":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (Mitteleuropäische Zeit)"},"4568":{"varMapping":{"__isSmartRef__":true,"id":4569},"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":4570},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4569":{"this":{"__isSmartRef__":true,"id":4523}},"4570":{"timestamp":{"__isSmartRef__":true,"id":4571},"user":"sstamm","tags":[]},"4571":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (Mitteleuropäische Zeit)"},"4572":{"submorphs":[{"__isSmartRef__":true,"id":4573}],"scripts":[],"id":"06CEE1DC-3679-46E5-85BA-C5EB6DCFF7E2","shape":{"__isSmartRef__":true,"id":4589},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4600},"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":4601},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4602},"eventHandler":{"__isSmartRef__":true,"id":4603},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"199024B2-928D-4DD8-8366-DDFF15055604","DFE8DB5F-7F3D-4F98-9310-61C440E5278F"],"index":1,"priorExtent":{"__isSmartRef__":true,"id":4604},"layout":{"__isSmartRef__":true,"id":4605},"owner":{"__isSmartRef__":true,"id":4524},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4606},"__LivelyClassName__":"lively.morphic.Box"},"4573":{"submorphs":[],"scripts":[],"id":"9ACADE75-C79D-444E-B489-5D38DF2FFF57","shape":{"__isSmartRef__":true,"id":4574},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4580},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4577},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":4581},"textChunks":[{"__isSmartRef__":true,"id":4582}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4584},"renderContextTable":{"__isSmartRef__":true,"id":4585},"eventHandler":{"__isSmartRef__":true,"id":4586},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4587},"_ClipMode":"visible","derivationIds":[355,"0D2E8EB5-34B3-49E8-9C32-C208D029B76F","B8B72AC4-DD40-4607-8F56-4CFCCBC2D460"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":4588},"owner":{"__isSmartRef__":true,"id":4572},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4574":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4575},"_Extent":{"__isSmartRef__":true,"id":4576},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4577},"renderContextTable":{"__isSmartRef__":true,"id":4578},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4579},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4575":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4576":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4577":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4578":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4579":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4580":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4581":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4582":{"style":{"__isSmartRef__":true,"id":4583},"chunkOwner":{"__isSmartRef__":true,"id":4573},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"4583":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4584":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4585":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4586":{"morph":{"__isSmartRef__":true,"id":4573},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4587":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4588":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4589":{"position":{"__isSmartRef__":true,"id":4590},"_Extent":{"__isSmartRef__":true,"id":4591},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4592},"_Fill":{"__isSmartRef__":true,"id":4593},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4598},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4599},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4590":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4591":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4592":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4593":{"stops":[{"__isSmartRef__":true,"id":4594},{"__isSmartRef__":true,"id":4596}],"vector":{"__isSmartRef__":true,"id":1386},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4594":{"offset":0,"color":{"__isSmartRef__":true,"id":4595}},"4595":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4596":{"offset":1,"color":{"__isSmartRef__":true,"id":4597}},"4597":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4598":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4599":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4600":{"x":0,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4601":{"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"},"4602":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4603":{"morph":{"__isSmartRef__":true,"id":4572},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4604":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4605":{"resizeWidth":true},"4606":{"onTouchStart":{"__isSmartRef__":true,"id":4560},"onTouchMove":{"__isSmartRef__":true,"id":4564},"onTouchEnd":{"__isSmartRef__":true,"id":4568}},"4607":{"submorphs":[{"__isSmartRef__":true,"id":4608}],"scripts":[],"id":"4F132FB8-1AB7-43AD-93AB-34A6B727ECF8","shape":{"__isSmartRef__":true,"id":4624},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4635},"showsHalos":false,"name":"Rectangle2","partsBinMetaInfo":{"__isSmartRef__":true,"id":4636},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4637},"eventHandler":{"__isSmartRef__":true,"id":4638},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"E1E9BD1A-32D8-472D-A786-C56050BCCFEC","7C757784-FF1D-461D-8700-617CB426738C"],"index":2,"priorExtent":{"__isSmartRef__":true,"id":4639},"layout":{"__isSmartRef__":true,"id":4640},"owner":{"__isSmartRef__":true,"id":4524},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4641},"__LivelyClassName__":"lively.morphic.Box"},"4608":{"submorphs":[],"scripts":[],"id":"FF9CE818-D75D-4D96-AF20-C3CC629473D8","shape":{"__isSmartRef__":true,"id":4609},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4615},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4612},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text2","partsBinMetaInfo":{"__isSmartRef__":true,"id":4616},"textChunks":[{"__isSmartRef__":true,"id":4617}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4619},"renderContextTable":{"__isSmartRef__":true,"id":4620},"eventHandler":{"__isSmartRef__":true,"id":4621},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4622},"_ClipMode":"visible","derivationIds":[355,"D523E8F5-D82D-45E3-AE94-B952974C1AE5","1BA573B1-4C11-462C-B983-76858B50A942"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":4623},"owner":{"__isSmartRef__":true,"id":4607},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4609":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4610},"_Extent":{"__isSmartRef__":true,"id":4611},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4612},"renderContextTable":{"__isSmartRef__":true,"id":4613},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4614},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4610":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4611":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4612":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4613":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4614":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4615":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4616":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4617":{"style":{"__isSmartRef__":true,"id":4618},"chunkOwner":{"__isSmartRef__":true,"id":4608},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"4618":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4619":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4620":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4621":{"morph":{"__isSmartRef__":true,"id":4608},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4622":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4623":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4624":{"position":{"__isSmartRef__":true,"id":4625},"_Extent":{"__isSmartRef__":true,"id":4626},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4627},"_Fill":{"__isSmartRef__":true,"id":4628},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4633},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4634},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4625":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4626":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4627":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4628":{"stops":[{"__isSmartRef__":true,"id":4629},{"__isSmartRef__":true,"id":4631}],"vector":{"__isSmartRef__":true,"id":1386},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4629":{"offset":0,"color":{"__isSmartRef__":true,"id":4630}},"4630":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4631":{"offset":1,"color":{"__isSmartRef__":true,"id":4632}},"4632":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4633":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4634":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4635":{"x":0,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4636":{"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"},"4637":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4638":{"morph":{"__isSmartRef__":true,"id":4607},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4639":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4640":{"resizeWidth":true},"4641":{"onTouchStart":{"__isSmartRef__":true,"id":4560},"onTouchMove":{"__isSmartRef__":true,"id":4564},"onTouchEnd":{"__isSmartRef__":true,"id":4568}},"4642":{"submorphs":[{"__isSmartRef__":true,"id":4643}],"scripts":[],"id":"21D54EAD-0EF7-46E0-AA31-EF2D0FE5CFE7","shape":{"__isSmartRef__":true,"id":4659},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4670},"showsHalos":false,"name":"Rectangle3","partsBinMetaInfo":{"__isSmartRef__":true,"id":4671},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4672},"eventHandler":{"__isSmartRef__":true,"id":4673},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"63CCF500-5C53-42D9-8216-3994B4B25648","23BC4018-D611-4CFA-8ABE-46D71C417C09"],"index":3,"priorExtent":{"__isSmartRef__":true,"id":4674},"layout":{"__isSmartRef__":true,"id":4675},"owner":{"__isSmartRef__":true,"id":4524},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4676},"__LivelyClassName__":"lively.morphic.Box"},"4643":{"submorphs":[],"scripts":[],"id":"415EA4D1-E1FC-4D37-9BC9-58110B93F5AA","shape":{"__isSmartRef__":true,"id":4644},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica, Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4650},"_MaxTextWidth":476,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4647},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text3","partsBinMetaInfo":{"__isSmartRef__":true,"id":4651},"textChunks":[{"__isSmartRef__":true,"id":4652}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[6,6],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4654},"renderContextTable":{"__isSmartRef__":true,"id":4655},"eventHandler":{"__isSmartRef__":true,"id":4656},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4657},"_ClipMode":"visible","derivationIds":[355,"B11B4429-8EA5-4803-8DDA-9A5ECFBAFA29","756D781B-875C-4489-8795-18195BED2CE6"],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":4658},"owner":{"__isSmartRef__":true,"id":4642},"_MinTextWidth":476,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4644":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4645},"_Extent":{"__isSmartRef__":true,"id":4646},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4647},"renderContextTable":{"__isSmartRef__":true,"id":4648},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4649},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4645":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4646":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4647":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4648":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4649":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4650":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4651":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4652":{"style":{"__isSmartRef__":true,"id":4653},"chunkOwner":{"__isSmartRef__":true,"id":4643},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"4653":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4654":{"x":476,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4655":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4656":{"morph":{"__isSmartRef__":true,"id":4643},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4657":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4658":{"r":0.1843137254901961,"g":0.1843137254901961,"b":0.1843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4659":{"position":{"__isSmartRef__":true,"id":4660},"_Extent":{"__isSmartRef__":true,"id":4661},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4662},"_Fill":{"__isSmartRef__":true,"id":4663},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4668},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4669},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4660":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4661":{"x":277,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4662":{"r":0.5411764705882353,"g":0.5411764705882353,"b":0.5411764705882353,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4663":{"stops":[{"__isSmartRef__":true,"id":4664},{"__isSmartRef__":true,"id":4666}],"vector":{"__isSmartRef__":true,"id":1386},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4664":{"offset":0,"color":{"__isSmartRef__":true,"id":4665}},"4665":{"r":0.9921568627450981,"g":0.9921568627450981,"b":0.9921568627450981,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4666":{"offset":1,"color":{"__isSmartRef__":true,"id":4667}},"4667":{"r":0.9333333333333333,"g":0.9333333333333333,"b":0.9333333333333333,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4668":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4669":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4670":{"x":0,"y":129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4671":{"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"},"4672":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4673":{"morph":{"__isSmartRef__":true,"id":4642},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4674":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4675":{"resizeWidth":true},"4676":{"onTouchStart":{"__isSmartRef__":true,"id":4560},"onTouchMove":{"__isSmartRef__":true,"id":4564},"onTouchEnd":{"__isSmartRef__":true,"id":4568}},"4677":{"position":{"__isSmartRef__":true,"id":4678},"_Extent":{"__isSmartRef__":true,"id":4679},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4680},"_Fill":{"__isSmartRef__":true,"id":4681},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4682},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4683},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4678":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4679":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4680":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4681":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4682":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4683":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4684":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4685":{"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"},"4686":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4687":{"morph":{"__isSmartRef__":true,"id":4524},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4688":{"x":277,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4689":{"resizeWidth":true,"adjustForNewBounds":true},"4690":{"onTouchStart":{"__isSmartRef__":true,"id":4691},"onTouchMove":{"__isSmartRef__":true,"id":4699},"onTouchEnd":{"__isSmartRef__":true,"id":4707},"stayInBounds":{"__isSmartRef__":true,"id":4715},"isInBounds":{"__isSmartRef__":true,"id":4719}},"4691":{"varMapping":{"__isSmartRef__":true,"id":4692},"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":4697},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4692":{"this":{"__isSmartRef__":true,"id":4524},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4693}},"4693":{"$super":{"__isSmartRef__":true,"id":4694}},"4694":{"varMapping":{"__isSmartRef__":true,"id":4695},"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":4696},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4695":{"obj":{"__isSmartRef__":true,"id":4524},"name":"onTouchStart"},"4696":{},"4697":{"timestamp":{"__isSmartRef__":true,"id":4698},"user":"sstamm","tags":[]},"4698":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:19:34 GMT+0100 (Mitteleuropäische Zeit)"},"4699":{"varMapping":{"__isSmartRef__":true,"id":4700},"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":4705},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4700":{"this":{"__isSmartRef__":true,"id":4524},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4701}},"4701":{"$super":{"__isSmartRef__":true,"id":4702}},"4702":{"varMapping":{"__isSmartRef__":true,"id":4703},"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":4704},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4703":{"obj":{"__isSmartRef__":true,"id":4524},"name":"onTouchMove"},"4704":{},"4705":{"timestamp":{"__isSmartRef__":true,"id":4706},"user":"sstamm","tags":[]},"4706":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:54:39 GMT+0100 (Mitteleuropäische Zeit)"},"4707":{"varMapping":{"__isSmartRef__":true,"id":4708},"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":4713},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4708":{"this":{"__isSmartRef__":true,"id":4524},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4709}},"4709":{"$super":{"__isSmartRef__":true,"id":4710}},"4710":{"varMapping":{"__isSmartRef__":true,"id":4711},"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":4712},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4711":{"obj":{"__isSmartRef__":true,"id":4524},"name":"onTouchEnd"},"4712":{},"4713":{"timestamp":{"__isSmartRef__":true,"id":4714},"user":"sstamm","tags":[]},"4714":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:00:30 GMT+0100 (Mitteleuropäische Zeit)"},"4715":{"varMapping":{"__isSmartRef__":true,"id":4716},"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":4717},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4716":{"this":{"__isSmartRef__":true,"id":4524}},"4717":{"timestamp":{"__isSmartRef__":true,"id":4718},"user":"sstamm","tags":[]},"4718":{"isSerializedDate":true,"string":"Thu Jan 19 2012 17:36:41 GMT+0100 (Mitteleuropäische Zeit)"},"4719":{"varMapping":{"__isSmartRef__":true,"id":4720},"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":4721},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4720":{"this":{"__isSmartRef__":true,"id":4524}},"4721":{"timestamp":{"__isSmartRef__":true,"id":4722},"user":"sstamm","tags":[]},"4722":{"isSerializedDate":true,"string":"Fri Jan 20 2012 15:17:35 GMT+0100 (Mitteleuropäische Zeit)"},"4723":{"position":{"__isSmartRef__":true,"id":4724},"_Extent":{"__isSmartRef__":true,"id":4725},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4726},"_Fill":{"__isSmartRef__":true,"id":4727},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4728},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":4729},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4724":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4725":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4726":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4727":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4728":{},"4729":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4730":{"x":7,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4731":{"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":4732},{"__isSmartRef__":true,"id":4734},{"__isSmartRef__":true,"id":4736},{"__isSmartRef__":true,"id":4738}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4732":{"date":{"__isSmartRef__":true,"id":4733},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"4733":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (Mitteleuropäische Zeit)"},"4734":{"date":{"__isSmartRef__":true,"id":4735},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"4735":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (Mitteleuropäische Zeit)"},"4736":{"date":{"__isSmartRef__":true,"id":4737},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"4737":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (Mitteleuropäische Zeit)"},"4738":{"date":{"__isSmartRef__":true,"id":4739},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"4739":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (Mitteleuropäische Zeit)"},"4740":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4741":{"morph":{"__isSmartRef__":true,"id":4523},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4742":{"sourceObj":{"__isSmartRef__":true,"id":4523},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":4523},"targetMethodName":"handleClick","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4743":{"x":277,"y":281,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4744":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"4745":{"x":188,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4746":{"onrestore":{"__isSmartRef__":true,"id":4747},"initialize":{"__isSmartRef__":true,"id":4755},"addItem":{"__isSmartRef__":true,"id":4763},"createListItem":{"__isSmartRef__":true,"id":4767},"touchstartCallback":{"__isSmartRef__":true,"id":4560},"touchmoveCallback":{"__isSmartRef__":true,"id":4564},"touchendCallback":{"__isSmartRef__":true,"id":4568},"updateSelection":{"__isSmartRef__":true,"id":4771},"handleClick":{"__isSmartRef__":true,"id":4775},"initializeListEntries":{"__isSmartRef__":true,"id":4779}},"4747":{"varMapping":{"__isSmartRef__":true,"id":4748},"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":4753},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4748":{"this":{"__isSmartRef__":true,"id":4523},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4749}},"4749":{"$super":{"__isSmartRef__":true,"id":4750}},"4750":{"varMapping":{"__isSmartRef__":true,"id":4751},"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":4752},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4751":{"obj":{"__isSmartRef__":true,"id":4523},"name":"onrestore"},"4752":{},"4753":{"timestamp":{"__isSmartRef__":true,"id":4754},"user":"sstamm","tags":[]},"4754":{"isSerializedDate":true,"string":"Thu Jan 19 2012 10:24:24 GMT+0100 (Mitteleuropäische Zeit)"},"4755":{"varMapping":{"__isSmartRef__":true,"id":4756},"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":4761},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4756":{"this":{"__isSmartRef__":true,"id":4523},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4757}},"4757":{"$super":{"__isSmartRef__":true,"id":4758}},"4758":{"varMapping":{"__isSmartRef__":true,"id":4759},"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":4760},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4759":{"obj":{"__isSmartRef__":true,"id":4523},"name":"initialize"},"4760":{},"4761":{"timestamp":{"__isSmartRef__":true,"id":4762},"user":"sstamm","tags":[]},"4762":{"isSerializedDate":true,"string":"Fri Jan 20 2012 16:32:12 GMT+0100 (Mitteleuropäische Zeit)"},"4763":{"varMapping":{"__isSmartRef__":true,"id":4764},"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":4765},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4764":{"this":{"__isSmartRef__":true,"id":4523}},"4765":{"timestamp":{"__isSmartRef__":true,"id":4766},"user":"sstamm","tags":[]},"4766":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (Mitteleuropäische Zeit)"},"4767":{"varMapping":{"__isSmartRef__":true,"id":4768},"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":4769},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4768":{"this":{"__isSmartRef__":true,"id":4523}},"4769":{"timestamp":{"__isSmartRef__":true,"id":4770},"user":"sstamm","tags":[]},"4770":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:46:47 GMT+0100 (Mitteleuropäische Zeit)"},"4771":{"varMapping":{"__isSmartRef__":true,"id":4772},"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":4773},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4772":{"this":{"__isSmartRef__":true,"id":4523}},"4773":{"timestamp":{"__isSmartRef__":true,"id":4774},"user":"sstamm","tags":[]},"4774":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (Mitteleuropäische Zeit)"},"4775":{"varMapping":{"__isSmartRef__":true,"id":4776},"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":4777},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4776":{"this":{"__isSmartRef__":true,"id":4523}},"4777":{"timestamp":{"__isSmartRef__":true,"id":4778},"user":"conradcalmez","tags":["WorldMenuFunctionality"]},"4778":{"isSerializedDate":true,"string":"Tue Jan 31 2012 13:28:04 GMT+0100 (Mitteleuropäische Zeit)"},"4779":{"varMapping":{"__isSmartRef__":true,"id":4780},"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":4781},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4780":{"this":{"__isSmartRef__":true,"id":4523}},"4781":{"timestamp":{"__isSmartRef__":true,"id":4782},"user":"conradcalmez","tags":[]},"4782":{"isSerializedDate":true,"string":"Tue Jan 31 2012 12:05:15 GMT+0100 (Mitteleuropäische Zeit)"},"4783":{"x":200,"y":-68,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4784":{"reset":{"__isSmartRef__":true,"id":4785},"setup":{"__isSmartRef__":true,"id":4789}},"4785":{"varMapping":{"__isSmartRef__":true,"id":4786},"source":"function reset() {\n this.get(\"BackButton\").setVisible(false);\n this.get(\"MenuPosition\").textString = \"\";\n this.submorphs.invoke('reset');\n this.setName(\"TouchMenu\");\n}","funcProperties":{"__isSmartRef__":true,"id":4787},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4786":{"this":{"__isSmartRef__":true,"id":1178}},"4787":{"timestamp":{"__isSmartRef__":true,"id":4788},"user":"conradcalmez","tags":[]},"4788":{"isSerializedDate":true,"string":"Mon Feb 13 2012 12:28:18 GMT+0100 (Mitteleuropäische Zeit)"},"4789":{"varMapping":{"__isSmartRef__":true,"id":4790},"source":"function setup(itemList) {\n this.get(\"TouchList\").setup(itemList);\n this.get(\"BackButton\").setVisible(false);\n this.get(\"MenuPosition\").textString = \"\";\n}","funcProperties":{"__isSmartRef__":true,"id":4791},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4790":{"this":{"__isSmartRef__":true,"id":1178}},"4791":{"timestamp":{"__isSmartRef__":true,"id":4792},"user":"conradcalmez","tags":[]},"4792":{"isSerializedDate":true,"string":"Tue Feb 07 2012 15:44:39 GMT+0100 (Mitteleuropäische Zeit)"},"4793":{"x":1403,"y":2916,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4794":{"submorphs":[],"scripts":[],"id":"1295B60D-BA52-487A-B049-1A395A485ADE","shape":{"__isSmartRef__":true,"id":4795},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4801},"showsHalos":false,"name":"Marker","partsBinMetaInfo":{"__isSmartRef__":true,"id":4802},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4805},"eventHandler":{"__isSmartRef__":true,"id":4806},"priorExtent":{"__isSmartRef__":true,"id":4811},"derivationIds":[2933,"A1B9E815-01DD-4564-92EC-9A251B49E828"],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4812},"__LivelyClassName__":"lively.morphic.Box"},"4795":{"position":{"__isSmartRef__":true,"id":4796},"_Extent":{"__isSmartRef__":true,"id":4797},"_BorderWidth":3.664,"_BorderColor":{"__isSmartRef__":true,"id":4798},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4799},"_BorderRadius":0,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4800},"_Opacity":1,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4796":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4797":{"x":173,"y":161,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4798":{"r":0.8,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4799":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4800":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4801":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4802":{"partsSpaceName":"PartsBin/iPad Widgets","__SourceModuleName__":"Global.lively.PartsBin","comment":"A rectangular shaped marker morph, that allows for clicking through","migrationLevel":4,"partName":"Marker","changes":[{"__isSmartRef__":true,"id":4803}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4803":{"date":{"__isSmartRef__":true,"id":4804},"author":"athomschke","message":"indicates that a morph is selected","id":"07F7DAF0-EEDB-44A0-8721-FF2310BCB3C5"},"4804":{"isSerializedDate":true,"string":"Fri Feb 10 2012 14:03:29 GMT+0100 (Mitteleuropäische Zeit)"},"4805":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4806":{"morph":{"__isSmartRef__":true,"id":4794},"__SourceModuleName__":"Global.lively.morphic.Events","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4807},"__LivelyClassName__":"lively.morphic.RelayEventHandler"},"4807":{"relayFunc":{"__isSmartRef__":true,"id":4808}},"4808":{"varMapping":{"__isSmartRef__":true,"id":4809},"source":"function relayToMorphBeneath(evt, target) {\n if (evt.isCommandKey()) return false;\n var morphBeneath = target.morphBeneath(evt.getPosition());\n morphBeneath && morphBeneath.triggerEvent(evt);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":4810},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4809":{},"4810":{},"4811":{"x":173,"y":160,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4812":{"onMouseMove":{"__isSmartRef__":true,"id":4813},"onDoubleClick":{"__isSmartRef__":true,"id":4816},"onMouseWheel":{"__isSmartRef__":true,"id":4819}},"4813":{"varMapping":{"__isSmartRef__":true,"id":4814},"source":"function (evt) { /*alert('Handling ' + name + ' in ' + this)*/ }","funcProperties":{"__isSmartRef__":true,"id":4815},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4814":{"this":{"__isSmartRef__":true,"id":4794},"name":"onMouseMove"},"4815":{},"4816":{"varMapping":{"__isSmartRef__":true,"id":4817},"source":"function (evt) { /*alert('Handling ' + name + ' in ' + this)*/ }","funcProperties":{"__isSmartRef__":true,"id":4818},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4817":{"this":{"__isSmartRef__":true,"id":4794},"name":"onDoubleClick"},"4818":{},"4819":{"varMapping":{"__isSmartRef__":true,"id":4820},"source":"function (evt) { /*alert('Handling ' + name + ' in ' + this)*/ }","funcProperties":{"__isSmartRef__":true,"id":4825},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4820":{"this":{"__isSmartRef__":true,"id":4794},"name":"onMouseWheel","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4821}},"4821":{"$super":{"__isSmartRef__":true,"id":4822}},"4822":{"varMapping":{"__isSmartRef__":true,"id":4823},"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":4824},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4823":{"obj":{"__isSmartRef__":true,"id":4794},"name":"onMouseWheel"},"4824":{},"4825":{},"4826":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/projects/BP2012/InteractionWithIPad/touchStacking.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"isSimplifiedRegistry":true}}]]>