{"id":0,"registry":{"0":{"submorphs":[{"__isSmartRef__":true,"id":1},{"__isSmartRef__":true,"id":37},{"__isSmartRef__":true,"id":62},{"__isSmartRef__":true,"id":110}],"scripts":[],"shape":{"__isSmartRef__":true,"id":135},"eventHandler":{"__isSmartRef__":true,"id":136},"_ClipMode":"visible","derivationIds":[],"id":"A12A3AE2-5220-46C5-A4CC-8534A1B8500E","droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":137},"LK2":true,"__serializedExpressions__":["_Position","contentOffset","prevDragPos"],"targetMorph":{"__isSmartRef__":true,"id":1},"reframeHandle":{"__isSmartRef__":true,"id":138},"bottomReframeHandle":{"__isSmartRef__":true,"id":110},"rightReframeHandle":{"__isSmartRef__":true,"id":37},"titleBar":{"__isSmartRef__":true,"id":62},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"_PreviousBorderWidth":0,"highlighted":false,"isBeingDragged":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":163},"name":"LivelysPartsBin","_Scale":1,"cameForward":false,"showsHalos":false,"__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets","withoutLayers":["Global.lively.morphic.GrabbingLayer"],"_Position":"lively.pt(0.0,0.0)","contentOffset":"lively.pt(4.0,22.0)","prevDragPos":"lively.pt(792.0,197.0)"},"1":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3},{"__isSmartRef__":true,"id":5},{"__isSmartRef__":true,"id":7},{"__isSmartRef__":true,"id":9},{"__isSmartRef__":true,"id":11},{"__isSmartRef__":true,"id":13},{"__isSmartRef__":true,"id":15},{"__isSmartRef__":true,"id":17},{"__isSmartRef__":true,"id":19},{"__isSmartRef__":true,"id":21},{"__isSmartRef__":true,"id":23},{"__isSmartRef__":true,"id":25},{"__isSmartRef__":true,"id":27},{"__isSmartRef__":true,"id":29},{"__isSmartRef__":true,"id":31},{"__isSmartRef__":true,"id":33}],"eventHandler":{"__isSmartRef__":true,"id":35},"_ClipMode":"auto","derivationIds":[],"id":"EED6E598-288C-4D61-A0E2-49F5770268CA","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":true,"_HandStyle":null,"allowInput":true,"_FontFamily":"Monaco,monospace","_FontSize":12,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":0},"layout":{"__isSmartRef__":true,"id":36},"syntaxHighlightingWhileTyping":false,"accessibleInInactiveWindow":true,"parseErrors":null,"_lastSyntaxHighlightTime":4,"showsHalos":false,"charsReplaced":"What is the PartsBin?\n\nThe Lively PartsBin is a repository of active components. It is a collaboration space in which users can find, alter, create and share new content. Parts are morphs that are either directly useful as, for example, editing tools or basic building blocks as, for example, simple input elements.\nThe PartsBin is organized into categories that we call Parts spaces.\n\nWhat is the PartsBin Browser?\n\nThe PartsBin Browser is a tool to explore, search, and load parts from Lively's PartsBin. It allows searching for a part by the part's name, browsing categories of grouped parts, and exploring the latest changes.\n\nHow to open the PartsBin Browser?\n\nTo open the browser, either use the world's menu's \"PartsBin\" entry or the keyboard short cut \"cmd/ctrl - p\". \n\nHow to use the PartsBin Browser?\n\nOnce the browser is open, use the list on the left side or the search on the top to find a part. When you click on a category or search by name previews of the actual parts appear in the browser's main pane. You can drag the actual versions out – click on one, hold that click and pull it right into your world.\n\nAll parts are under version control. If you want to access the history you can click on the \"more\" button in the top-right corner of the browser. It shows all versions, associated commit messages, and a few buttons to load, copy or remove the part. Click on a specific version and then on the \"load\" button to get a part in a preceding version. \n\nHow to publish morphs as parts to the PartsBin?\n\nOnce you have built a new part or finished altering an existing part you can upload your version to the PartsBin. Right-click on the morph you want to share with all users to get its halo buttons. The \"M\" button opens a menu that holds a \"publish\" entry. Click it to get a publish dialog up. There you can specify where to publish the part (category), under which name (name), and a comment that describes the part in general. You can also commit a part with a commit message to describe how you changed it.\n\nHow to load a part programmatically?\n\nTo load a part from the PartsBin use the\n\n    lively.PartsBin.getPart(partName, partsSpaceName)\n\nfunction or call the\n\n    $world.loadPartItem(partName, partsSpaceName)\n\nfunction. Both load the parts from the shared repository. After loading, you can open them in your world. Or do it in one step. Try:\n\n    $world.openPartItem('Triangle', 'PartsBin/Triangle');\n\nWhy and how do we cache Parts?\n\nThe PartsBin is a central repository of parts. That is, it's part of the Lively Wiki versioning system and, therefore, a retrieving a part means requesting information over the network, which is a quite costly operations (unless your Lively instance is deployed locally).\nFor this reason, we cache parts that are used frequently as, for example, development tools or basic parts. To be more specific, loading parts from the current world ($world.loadPartItem/$world.openPartItem) can return cached versions. That is, the first time you load a part it's always retrieved from the central repository, but a copy is stored locally to speed up the next retrieval. \n\nThe part cache is not used by the PartsBin browser – loading a version of a part with the browser returns and caches that specific version.\nUploading a part invalids the cache for that part – you will get a fresh version the next time you load it.\n\nIn addition to these simple rules, you can disable part caching (world menu, preferences) or clear the cache manually (world menu, debugging).","lastFindLoc":3516,"isBeingDragged":false,"priorSelectionRange":[150,148],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(4.0,22.0)"},"2":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(592.0,258.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(95,94,95)","_Fill":"Color.rgb(255,255,255)"},"3":{"style":{"__isSmartRef__":true,"id":4},"chunkOwner":{"__isSmartRef__":true,"id":1},"_id":"_7633","storedString":"What is the PartsBin?","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4":{"color":"rgb(0,0,0)","fontFamily":"Arial,sans-serif","fontSize":"19px","textAlign":"start","backgroundColor":"rgb(255,255,255)","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5":{"_id":"_7666","style":{"__isSmartRef__":true,"id":6},"chunkOwner":{"__isSmartRef__":true,"id":1},"storedString":"\n\nThe Lively PartsBin is a repository of active components. It is a collaboration space in which users can find, alter, create and share new content. Parts are morphs that are either directly useful as, for example, editing tools or basic building blocks as, for example, simple input elements.\nThe PartsBin is organized into categories that we call Parts spaces.\n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6":{"color":"rgb(0,0,0)","fontFamily":"Arial,sans-serif","fontSize":"19px","fontWeight":"normal","textAlign":"start","backgroundColor":"rgb(255,255,255)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7":{"_id":"_7667","style":{"__isSmartRef__":true,"id":8},"chunkOwner":{"__isSmartRef__":true,"id":1},"storedString":"What is the PartsBin Browser?\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8":{"color":"rgb(0,0,0)","fontFamily":"Arial,sans-serif","fontSize":"19px","textAlign":"start","backgroundColor":"rgb(255,255,255)","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9":{"_id":"_7668","style":{"__isSmartRef__":true,"id":10},"chunkOwner":{"__isSmartRef__":true,"id":1},"storedString":"\nThe PartsBin Browser is a tool to explore, search, and load parts from Lively's PartsBin. It allows searching for a part by the part's name, browsing categories of grouped parts, and exploring the latest changes.\n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10":{"color":"rgb(0,0,0)","fontFamily":"Arial,sans-serif","fontSize":"19px","fontWeight":"normal","textAlign":"start","backgroundColor":"rgb(255,255,255)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11":{"_id":"_7669","style":{"__isSmartRef__":true,"id":12},"chunkOwner":{"__isSmartRef__":true,"id":1},"storedString":"How to open the PartsBin Browser?\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12":{"color":"rgb(0,0,0)","fontFamily":"Arial,sans-serif","fontSize":"19px","textAlign":"start","backgroundColor":"rgb(255,255,255)","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13":{"_id":"_7670","style":{"__isSmartRef__":true,"id":14},"chunkOwner":{"__isSmartRef__":true,"id":1},"storedString":"\nTo open the browser, either use the world's menu's \"PartsBin\" entry or the keyboard short cut \"cmd/ctrl - p\". \n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14":{"color":"rgb(0,0,0)","fontFamily":"Arial,sans-serif","fontSize":"19px","fontWeight":"normal","textAlign":"start","backgroundColor":"rgb(255,255,255)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15":{"_id":"_7671","style":{"__isSmartRef__":true,"id":16},"chunkOwner":{"__isSmartRef__":true,"id":1},"storedString":"How to use the PartsBin Browser?\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16":{"color":"rgb(0,0,0)","fontFamily":"Arial,sans-serif","fontSize":"19px","textAlign":"start","backgroundColor":"rgb(255,255,255)","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"17":{"_id":"_7672","style":{"__isSmartRef__":true,"id":18},"chunkOwner":{"__isSmartRef__":true,"id":1},"storedString":"\nOnce the browser is open, use the list on the left side or the search on the top to find a part. When you click on a category or search by name previews of the actual parts appear in the browser's main pane. You can drag the actual versions out – click on one, hold that click and pull it right into your world.\n\nAll parts are under version control. If you want to access the history you can click on the \"more\" button in the top-right corner of the browser. It shows all versions, associated commit messages, and a few buttons to load, copy or remove the part. Click on a specific version and then on the \"load\" button to get a part in a preceding version. \n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"18":{"color":"rgb(0,0,0)","fontFamily":"Arial,sans-serif","fontSize":"19px","fontWeight":"normal","textAlign":"start","backgroundColor":"rgb(255,255,255)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"19":{"_id":"_7673","style":{"__isSmartRef__":true,"id":20},"chunkOwner":{"__isSmartRef__":true,"id":1},"storedString":"How to publish morphs as parts to the PartsBin?\n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"20":{"color":"rgb(0,0,0)","fontFamily":"Arial,sans-serif","fontSize":"19px","textAlign":"start","backgroundColor":"rgb(255,255,255)","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"21":{"_id":"_7674","style":{"__isSmartRef__":true,"id":22},"chunkOwner":{"__isSmartRef__":true,"id":1},"storedString":"Once you have built a new part or finished altering an existing part you can upload your version to the PartsBin. Right-click on the morph you want to share with all users to get its halo buttons. The \"M\" button opens a menu that holds a \"publish\" entry. Click it to get a publish dialog up. There you can specify where to publish the part (category), under which name (name), and a comment that describes the part in general. You can also commit a part with a commit message to describe how you changed it.\n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"22":{"color":"rgb(0,0,0)","fontFamily":"Arial,sans-serif","fontSize":"19px","fontWeight":"normal","textAlign":"start","backgroundColor":"rgb(255,255,255)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"23":{"_id":"_7675","style":{"__isSmartRef__":true,"id":24},"chunkOwner":{"__isSmartRef__":true,"id":1},"storedString":"How to load a part programmatically?\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"24":{"color":"rgb(0,0,0)","fontFamily":"Arial,sans-serif","fontSize":"19px","textAlign":"start","backgroundColor":"rgb(255,255,255)","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"25":{"_id":"_7676","style":{"__isSmartRef__":true,"id":26},"chunkOwner":{"__isSmartRef__":true,"id":1},"storedString":"\nTo load a part from the PartsBin use the\n\n    lively.PartsBin.getPart(partName, partsSpaceName)\n\nfunction or call the\n\n    $world.loadPartItem(partName, partsSpaceName)\n\nfunction. Both load the parts from the shared repository. After loading, you can open them in your world. Or do it in one step. Try:\n\n    ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"26":{"color":"rgb(0,0,0)","fontFamily":"Arial,sans-serif","fontSize":"19px","fontWeight":"normal","textAlign":"start","backgroundColor":"rgb(255,255,255)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"27":{"_id":"_7682","style":{"__isSmartRef__":true,"id":28},"chunkOwner":{"__isSmartRef__":true,"id":1},"storedString":"$world.openPartItem('Triangle', 'PartsBin/Triangle');","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"28":{"color":"rgb(0,0,0)","fontFamily":"Arial,sans-serif","fontSize":"19px","fontWeight":"normal","textAlign":"-webkit-auto","backgroundColor":"rgb(255,255,255)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"29":{"_id":"_7683","style":{"__isSmartRef__":true,"id":30},"chunkOwner":{"__isSmartRef__":true,"id":1},"storedString":"\n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"30":{"color":"rgb(0,0,0)","fontFamily":"Arial,sans-serif","fontSize":"19px","fontWeight":"normal","textAlign":"start","backgroundColor":"rgb(255,255,255)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"31":{"_id":"_7685","style":{"__isSmartRef__":true,"id":32},"chunkOwner":{"__isSmartRef__":true,"id":1},"storedString":"Why and how do we cache Parts?\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"32":{"color":"rgb(0,0,0)","fontFamily":"Arial,sans-serif","fontSize":"19px","textAlign":"start","backgroundColor":"rgb(255,255,255)","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"33":{"_id":"_7686","style":{"__isSmartRef__":true,"id":34},"chunkOwner":{"__isSmartRef__":true,"id":1},"storedString":"\nThe PartsBin is a central repository of parts. That is, it's part of the Lively Wiki versioning system and, therefore, a retrieving a part means requesting information over the network, which is a quite costly operations (unless your Lively instance is deployed locally).\nFor this reason, we cache parts that are used frequently as, for example, development tools or basic parts. To be more specific, loading parts from the current world ($world.loadPartItem/$world.openPartItem) can return cached versions. That is, the first time you load a part it's always retrieved from the central repository, but a copy is stored locally to speed up the next retrieval. \n\nThe part cache is not used by the PartsBin browser – loading a version of a part with the browser returns and caches that specific version.\nUploading a part invalids the cache for that part – you will get a fresh version the next time you load it.\n\nIn addition to these simple rules, you can disable part caching (world menu, preferences) or clear the cache manually (world menu, debugging).","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"34":{"color":"rgb(0,0,0)","fontFamily":"Arial,sans-serif","fontSize":"19px","fontWeight":"normal","textAlign":"start","backgroundColor":"rgb(255,255,255)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"35":{"morph":{"__isSmartRef__":true,"id":1},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"36":{"resizeWidth":true,"resizeHeight":true},"37":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":38},"eventHandler":{"__isSmartRef__":true,"id":39},"_ClipMode":"visible","derivationIds":[],"id":"2C07C479-1FA3-4E4B-BFF6-86FEEBDAAF20","droppingEnabled":true,"halosEnabled":true,"__serializedExpressions__":["_Position"],"_StyleClassNames":["reframe-handle right"],"owner":{"__isSmartRef__":true,"id":0},"dragStartPoint":null,"originalTargetExtent":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":40},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(596.0,0.0)"},"38":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(4.0,270.0)","_Padding":"lively.rect(0,0,0,0)"},"39":{"morph":{"__isSmartRef__":true,"id":37},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"40":{"onDragStart":{"__isSmartRef__":true,"id":41},"onDrag":{"__isSmartRef__":true,"id":48},"onDragEnd":{"__isSmartRef__":true,"id":55}},"41":{"varMapping":{"__isSmartRef__":true,"id":42},"source":"function onDragStart(evt) {\n            this.dragStartPoint = evt.mousePoint;\n            this.originalTargetExtent = this.owner.getExtent();\n        }","funcProperties":{"__isSmartRef__":true,"id":47},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"42":{"this":{"__isSmartRef__":true,"id":37},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":43}},"43":{"$super":{"__isSmartRef__":true,"id":44}},"44":{"varMapping":{"__isSmartRef__":true,"id":45},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":46},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"45":{"obj":{"__isSmartRef__":true,"id":37},"name":"onDragStart"},"46":{},"47":{},"48":{"varMapping":{"__isSmartRef__":true,"id":49},"source":"function onDrag(evt) {\n            var moveDelta = pt(evt.mousePoint.subPt(this.dragStartPoint).x,0);\n            var newExtent = this.originalTargetExtent.addPt(moveDelta);\n            if (newExtent.x < this.owner.minWidth) newExtent.x = this.owner.minWidth;\n\n            this.owner.setExtent(newExtent);\n            this.align(this.bounds().topRight(), pt(this.owner.getExtent().x,0));\n        }","funcProperties":{"__isSmartRef__":true,"id":54},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"49":{"this":{"__isSmartRef__":true,"id":37},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":50}},"50":{"$super":{"__isSmartRef__":true,"id":51}},"51":{"varMapping":{"__isSmartRef__":true,"id":52},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":53},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"52":{"obj":{"__isSmartRef__":true,"id":37},"name":"onDrag"},"53":{},"54":{},"55":{"varMapping":{"__isSmartRef__":true,"id":56},"source":"function onDragEnd(evt) {\n            this.dragStartPoint = null;\n            this.originalTargetExtent = null;\n            this.owner.alignReframeHandle();\n            this.owner.alignBottomReframeHandle();\n        }","funcProperties":{"__isSmartRef__":true,"id":61},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"56":{"this":{"__isSmartRef__":true,"id":37},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":57}},"57":{"$super":{"__isSmartRef__":true,"id":58}},"58":{"varMapping":{"__isSmartRef__":true,"id":59},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":60},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"59":{"obj":{"__isSmartRef__":true,"id":37},"name":"onDragEnd"},"60":{},"61":{},"62":{"submorphs":[{"__isSmartRef__":true,"id":63},{"__isSmartRef__":true,"id":69},{"__isSmartRef__":true,"id":82},{"__isSmartRef__":true,"id":94}],"scripts":[],"shape":{"__isSmartRef__":true,"id":107},"eventHandler":{"__isSmartRef__":true,"id":108},"_ClipMode":"visible","derivationIds":[],"id":"B3B32091-26F6-4EB7-92C8-AEF6D43AE3B2","droppingEnabled":false,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":109},"__serializedExpressions__":["_Position"],"windowMorph":{"__isSmartRef__":true,"id":0},"label":{"__isSmartRef__":true,"id":63},"closeButton":{"__isSmartRef__":true,"id":69},"menuButton":{"__isSmartRef__":true,"id":82},"collapseButton":{"__isSmartRef__":true,"id":94},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":0},"showsHalos":false,"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,0.0)"},"63":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":64},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":65}],"eventHandler":{"__isSmartRef__":true,"id":67},"_ClipMode":"hidden","derivationIds":[],"id":"F9DA573E-B918-498B-899E-017EE22EB9BB","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"isLabel":true,"layout":{"__isSmartRef__":true,"id":68},"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":62},"_StyleClassNames":["window-title"],"_TextStylingMode":true,"showsHalos":false,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(21.0,3.0)"},"64":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(540.0,18.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"65":{"style":{"__isSmartRef__":true,"id":66},"chunkOwner":{"__isSmartRef__":true,"id":63},"_id":"_8258","storedString":"Lively's PartsBin","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"66":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"67":{"morph":{"__isSmartRef__":true,"id":63},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"68":{"resizeWidth":true},"69":{"submorphs":[{"__isSmartRef__":true,"id":70}],"scripts":[],"shape":{"__isSmartRef__":true,"id":75},"eventHandler":{"__isSmartRef__":true,"id":76},"_ClipMode":"visible","derivationIds":[],"id":"ECF58738-9654-4013-9956-A9B4D40A810D","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":70},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":62},"layout":{"__isSmartRef__":true,"id":77},"_StyleClassNames":["close"],"attributeConnections":[{"__isSmartRef__":true,"id":78},{"__isSmartRef__":true,"id":80}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"isPressed":false,"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(580.0,3.0)"},"70":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":71},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":72}],"eventHandler":{"__isSmartRef__":true,"id":74},"_ClipMode":"hidden","derivationIds":[],"id":"6256BA0D-2B5D-4560-9C0D-75BAE01A8172","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WordBreak":null,"fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":69},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,-1.0)"},"71":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"72":{"style":{"__isSmartRef__":true,"id":73},"chunkOwner":{"__isSmartRef__":true,"id":70},"_id":"_7520","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"73":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"74":{"morph":{"__isSmartRef__":true,"id":70},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"75":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"76":{"morph":{"__isSmartRef__":true,"id":69},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"77":{"moveHorizontal":true},"78":{"sourceObj":{"__isSmartRef__":true,"id":69},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"getCloseHelp","varMapping":{"__isSmartRef__":true,"id":79},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"79":{"source":{"__isSmartRef__":true,"id":69},"target":{"__isSmartRef__":true,"id":0}},"80":{"sourceObj":{"__isSmartRef__":true,"id":69},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"initiateShutdown","varMapping":{"__isSmartRef__":true,"id":81},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"81":{"source":{"__isSmartRef__":true,"id":69},"target":{"__isSmartRef__":true,"id":0}},"82":{"submorphs":[{"__isSmartRef__":true,"id":83}],"scripts":[],"shape":{"__isSmartRef__":true,"id":88},"eventHandler":{"__isSmartRef__":true,"id":89},"_ClipMode":"visible","derivationIds":[],"id":"DF5DB5C9-99E7-4605-8F06-E43DA1738204","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":83},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":62},"attributeConnections":[{"__isSmartRef__":true,"id":90},{"__isSmartRef__":true,"id":92}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"isPressed":false,"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(3.0,3.0)"},"83":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":84},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":85}],"eventHandler":{"__isSmartRef__":true,"id":87},"_ClipMode":"hidden","derivationIds":[],"id":"D1558DFA-662B-437E-9513-185C0378CFF3","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WordBreak":null,"fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":82},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,0.0)"},"84":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(18.0,17.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"85":{"style":{"__isSmartRef__":true,"id":86},"chunkOwner":{"__isSmartRef__":true,"id":83},"_id":"_7522","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"86":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"87":{"morph":{"__isSmartRef__":true,"id":83},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"88":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"89":{"morph":{"__isSmartRef__":true,"id":82},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"90":{"sourceObj":{"__isSmartRef__":true,"id":82},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"getMenuHelp","varMapping":{"__isSmartRef__":true,"id":91},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"91":{"source":{"__isSmartRef__":true,"id":82},"target":{"__isSmartRef__":true,"id":0}},"92":{"sourceObj":{"__isSmartRef__":true,"id":82},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"showTargetMorphMenu","varMapping":{"__isSmartRef__":true,"id":93},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"93":{"source":{"__isSmartRef__":true,"id":82},"target":{"__isSmartRef__":true,"id":0}},"94":{"submorphs":[{"__isSmartRef__":true,"id":95}],"scripts":[],"shape":{"__isSmartRef__":true,"id":100},"eventHandler":{"__isSmartRef__":true,"id":101},"_ClipMode":"visible","derivationIds":[],"id":"CF43D92C-434C-4A4A-8F4C-091CA6D03872","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":95},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":62},"layout":{"__isSmartRef__":true,"id":102},"attributeConnections":[{"__isSmartRef__":true,"id":103},{"__isSmartRef__":true,"id":105}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"isPressed":false,"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(561.0,3.0)"},"95":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":96},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":97}],"eventHandler":{"__isSmartRef__":true,"id":99},"_ClipMode":"hidden","derivationIds":[],"id":"D9452905-7B58-48BA-B7A4-DEF526BAA613","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WordBreak":null,"fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":94},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,1.0)"},"96":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"97":{"style":{"__isSmartRef__":true,"id":98},"chunkOwner":{"__isSmartRef__":true,"id":95},"_id":"_7524","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"98":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"99":{"morph":{"__isSmartRef__":true,"id":95},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"100":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"101":{"morph":{"__isSmartRef__":true,"id":94},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"102":{"moveHorizontal":true},"103":{"sourceObj":{"__isSmartRef__":true,"id":94},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"getCollapseHelp","varMapping":{"__isSmartRef__":true,"id":104},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"104":{"source":{"__isSmartRef__":true,"id":94},"target":{"__isSmartRef__":true,"id":0}},"105":{"sourceObj":{"__isSmartRef__":true,"id":94},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"toggleCollapse","varMapping":{"__isSmartRef__":true,"id":106},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"106":{"source":{"__isSmartRef__":true,"id":94},"target":{"__isSmartRef__":true,"id":0}},"107":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"_AppearanceStylingMode":true,"_BorderStylingMode":true,"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(600.0,22.0)","_Padding":"lively.rect(0,0,0,0)"},"108":{"morph":{"__isSmartRef__":true,"id":62},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"109":{"resizeWidth":true,"adjustForNewBounds":true},"110":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":111},"eventHandler":{"__isSmartRef__":true,"id":112},"_ClipMode":"visible","derivationIds":[],"id":"E0FF72DC-9AE4-46B4-94C7-E3CC474B55B9","droppingEnabled":true,"halosEnabled":true,"__serializedExpressions__":["_Position"],"_StyleClassNames":["reframe-handle bottom"],"owner":{"__isSmartRef__":true,"id":0},"dragStartPoint":null,"originalTargetExtent":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":113},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,280.0)"},"111":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(586.0,4.0)","_Padding":"lively.rect(0,0,0,0)"},"112":{"morph":{"__isSmartRef__":true,"id":110},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"113":{"onDragStart":{"__isSmartRef__":true,"id":114},"onDrag":{"__isSmartRef__":true,"id":121},"onDragEnd":{"__isSmartRef__":true,"id":128}},"114":{"varMapping":{"__isSmartRef__":true,"id":115},"source":"function onDragStart(evt) {\n            this.dragStartPoint = evt.mousePoint;\n            this.originalTargetExtent = this.owner.getExtent();\n        }","funcProperties":{"__isSmartRef__":true,"id":120},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"115":{"this":{"__isSmartRef__":true,"id":110},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":116}},"116":{"$super":{"__isSmartRef__":true,"id":117}},"117":{"varMapping":{"__isSmartRef__":true,"id":118},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":119},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"118":{"obj":{"__isSmartRef__":true,"id":110},"name":"onDragStart"},"119":{},"120":{},"121":{"varMapping":{"__isSmartRef__":true,"id":122},"source":"function onDrag(evt) {\n            var moveDelta = pt(0,evt.mousePoint.subPt(this.dragStartPoint).y);\n            var newExtent = this.originalTargetExtent.addPt(moveDelta);\n            if (newExtent.y < this.owner.minHeight) newExtent.y = this.owner.minHeight;\n            this.owner.setExtent(newExtent);\n\n            this.align(this.bounds().bottomLeft(), pt(0,this.owner.getExtent().y));\n        }","funcProperties":{"__isSmartRef__":true,"id":127},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"122":{"this":{"__isSmartRef__":true,"id":110},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":123}},"123":{"$super":{"__isSmartRef__":true,"id":124}},"124":{"varMapping":{"__isSmartRef__":true,"id":125},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":126},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"125":{"obj":{"__isSmartRef__":true,"id":110},"name":"onDrag"},"126":{},"127":{},"128":{"varMapping":{"__isSmartRef__":true,"id":129},"source":"function onDragEnd(evt) {\n            this.dragStartPoint = null;\n            this.originalTargetExtent = null;\n            this.owner.alignReframeHandle();\n            this.owner.alignRightReframeHandle();\n        }","funcProperties":{"__isSmartRef__":true,"id":134},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"129":{"this":{"__isSmartRef__":true,"id":110},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":130}},"130":{"$super":{"__isSmartRef__":true,"id":131}},"131":{"varMapping":{"__isSmartRef__":true,"id":132},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":133},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"132":{"obj":{"__isSmartRef__":true,"id":110},"name":"onDragEnd"},"133":{},"134":{},"135":{"__serializedExpressions__":["_Padding","_Extent"],"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Padding":"lively.rect(0,0,0,0)","_Extent":"lively.pt(600.0,284.0)"},"136":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"137":{"adjustForNewBounds":true},"138":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":139},"eventHandler":{"__isSmartRef__":true,"id":140},"_ClipMode":"visible","derivationIds":[],"id":"77E65540-401B-4FE2-B113-B45F2F5D820A","droppingEnabled":true,"halosEnabled":true,"__serializedExpressions__":["_Position"],"_StyleClassNames":["reframe-handle corner"],"owner":null,"dragStartPoint":null,"originalTargetExtent":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":141},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(586.0,270.0)"},"139":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(14.0,14.0)","_Padding":"lively.rect(0,0,0,0)"},"140":{"morph":{"__isSmartRef__":true,"id":138},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"141":{"onDragStart":{"__isSmartRef__":true,"id":142},"onDrag":{"__isSmartRef__":true,"id":149},"onDragEnd":{"__isSmartRef__":true,"id":156}},"142":{"varMapping":{"__isSmartRef__":true,"id":143},"source":"function onDragStart(evt) {\n            this.dragStartPoint = evt.mousePoint;\n            this.originalTargetExtent = this.owner.getExtent();\n        }","funcProperties":{"__isSmartRef__":true,"id":148},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"143":{"this":{"__isSmartRef__":true,"id":138},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":144}},"144":{"$super":{"__isSmartRef__":true,"id":145}},"145":{"varMapping":{"__isSmartRef__":true,"id":146},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":147},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"146":{"obj":{"__isSmartRef__":true,"id":138},"name":"onDragStart"},"147":{},"148":{},"149":{"varMapping":{"__isSmartRef__":true,"id":150},"source":"function onDrag(evt) {\n            var moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n            var newExtent = this.originalTargetExtent.addPt(moveDelta);\n            if (newExtent.x < this.owner.minWidth) newExtent.x = this.owner.minWidth;\n            if (newExtent.y < this.owner.minHeight) newExtent.y = this.owner.minHeight;\n            this.owner.setExtent(newExtent);\n            //console.log(\"WindowExtent: \"+this.owner.getExtent().x+\" ,  \"+this.owner.getExtent().y);\n            this.align(this.bounds().bottomRight(), this.owner.getExtent());\n        }","funcProperties":{"__isSmartRef__":true,"id":155},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"150":{"this":{"__isSmartRef__":true,"id":138},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":151}},"151":{"$super":{"__isSmartRef__":true,"id":152}},"152":{"varMapping":{"__isSmartRef__":true,"id":153},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":154},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"153":{"obj":{"__isSmartRef__":true,"id":138},"name":"onDrag"},"154":{},"155":{},"156":{"varMapping":{"__isSmartRef__":true,"id":157},"source":"function onDragEnd(evt) {\n            this.dragStartPoint = null;\n            this.originalTargetExtent = null;\n            this.owner.alignBottomReframeHandle();\n            this.owner.alignRightReframeHandle();\n        }","funcProperties":{"__isSmartRef__":true,"id":162},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"157":{"this":{"__isSmartRef__":true,"id":138},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":158}},"158":{"$super":{"__isSmartRef__":true,"id":159}},"159":{"varMapping":{"__isSmartRef__":true,"id":160},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":161},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"160":{"obj":{"__isSmartRef__":true,"id":138},"name":"onDragEnd"},"161":{},"162":{},"163":{"partName":"LivelysPartsBin","requiredModules":[],"partsSpaceName":"PartsBin/Documentation","comment":"from http://www.lively-kernel.org/repository/webwerkstatt/documentation/PartsBin.xhtml","changes":[{"__isSmartRef__":true,"id":164},{"__isSmartRef__":true,"id":166}],"migrationLevel":4,"lastModifiedDate":{"__isSmartRef__":true,"id":168},"revisionOnLoad":185145,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"164":{"date":{"__isSmartRef__":true,"id":165},"author":"jenslincke","message":"replaced with new workspace","id":"14C3C657-A280-46C2-B5A3-B4A89BCE3E2F"},"165":{"isSerializedDate":true,"string":"Thu Nov 29 2012 10:15:20 GMT+0100 (CET)"},"166":{"date":{"__isSmartRef__":true,"id":167},"author":"jenslincke","message":"title\n","id":"6EDFEFD6-6D47-41EB-970F-42997AFF6512"},"167":{"isSerializedDate":true,"string":"Thu Nov 29 2012 10:15:58 GMT+0100 (CET)"},"168":{"isSerializedDate":true,"string":"Thu Nov 29 2012 10:12:25 GMT+0100 (CET)"},"isSimplifiedRegistry":true}}